﻿/* --- GENERAL SETUP & CONTROLS --- */
body {
    transition: background-color 0.5s ease;
    background-color: #EADFCA; /* Mercantile background */
    color: #36454F; /* Mercantile text */
    font-family: 'Merriweather', serif;
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

#page-nav {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #C1B5A3;
    margin-bottom: 2rem;
    display: block; /* Always visible */
}

#page-nav a {
    margin: 0 0.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 0.25rem;
    transition: all 0.2s ease;
    color: #36454F;
    text-transform: uppercase;
    font-family: 'Special Elite', cursive;
}

#page-nav a.active {
    color: #8B4513;
    border-bottom: none;
    background: #DBCDBA;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.page-section {
    display: none; /* All sections hidden initially */
}
.page-section.active {
    display: block; /* Active section is shown */
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* --- Mercantile Style Definitions --- */
h1, h2, h3 {
    font-family: 'Special Elite', cursive;
    font-weight: 400;
    text-transform: none;
}

h1 {
    font-size: 2.2rem;
    text-align: center;
    margin: 0 auto 0.5rem;
    display: block;
    max-width: fit-content;
}
.tagline {
    text-align: center;
    color: #8B4513;
    margin-bottom: 2rem;
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 1.1rem;
}
h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    background-color: #DBCDBA;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border-left: 5px solid #8B4513;
}
h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #36454F;
    border-bottom: 1px dashed #8B4513;
    padding-bottom: 0.25rem;
    display: inline-block;
}
p { margin-bottom: 1rem; }
b, strong {
    font-weight: 700;
    color: #2A343A;
}
a {
    color: #8B4513;
    font-weight: bold;
    text-decoration: none;
}

/* Indented List Style (Default) */
.list-block b { display: block; margin-bottom: 0.5rem; }
.list-block ul {
    list-style: none;
    margin: 0;
    padding-left: 1.5rem;
    position: relative;
}
.list-block ul li::before {
    content: '•';
    color: #8B4513;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
#main-content.list-style-indented .list-block {
    padding-left: 1rem;
    border-left: 3px solid #DBCDBA;
    margin: 1.5rem 0;
}

/* --- Image Styles --- */
.product-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #DBCDBA;
    margin: 1rem auto;
    display: block;
}
.bouquet-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.bouquet-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #DBCDBA;
}

/* --- Carousel Styles --- */
.carousel {
    position: relative;
    margin: 3rem auto 0;
    max-width: 600px;
}
.carousel-viewport {
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #DBCDBA;
}
.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    position: relative;
}
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid #DBCDBA;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #36454F;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}
.carousel-button:hover {
    background-color: white;
}
.carousel-button--left { left: 10px; }
.carousel-button--right { right: 10px; }
.carousel-nav {
    text-align: center;
    margin-top: 1rem;
}
.carousel-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #DBCDBA;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    padding: 0;
}
.carousel-indicator.current-slide {
    background-color: #8B4513;
}

@media (max-width: 768px) {
    #page-nav a { margin: 0 0.25rem; font-size: 0.9rem;}
}
