/* =====================================
   CORE VARIABLES & TYPOGRAPHY
   ===================================== */
:root {
    --color-yellow: #f6c358;
    --color-yellow-light: #fef9e6;
    --color-blue: #7cb6c4;
    --color-blue-light: #e6f2f5;
    --color-text-dark: #333333;
    --color-text-muted: #666666;
    --font-sans: 'Jost', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
.font-serif {
    font-family: var(--font-serif);
    color: var(--color-text-dark);
}

/* =====================================
   NAVIGATION & HEADER
   ===================================== */
.top-bar {
    background-color: var(--color-yellow-light);
    color: var(--color-text-dark);
    font-size: 0.85rem;
    font-weight: 500;
}

.navbar {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    border-bottom: 4px solid transparent;
    background-color: white;
}

.navbar.scrolled {
    border-bottom: 4px solid var(--color-yellow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand-logo {
    width: 100px;
    height: 100px;
    background-color: var(--color-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: width 0.4s ease, height 0.4s ease, font-size 0.4s ease;
}

.brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (min-width: 992px) {
    .desktop-logo-wrapper {
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translate(-50%, -75%);
        z-index: 1050;
        pointer-events: none;
        transition: all 0.4s ease-in-out;
    }

    .desktop-logo-wrapper a {
        pointer-events: auto;
        display: block;
    }

    .navbar.scrolled .desktop-logo-wrapper {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .navbar.scrolled .navbar-brand-logo {
        width: 55px;
        height: 55px;
        font-size: 0.8rem;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: var(--color-yellow);
}

.nav-icon {
    width: 24px;
    height: 24px;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: var(--color-yellow);
}

.cart-badge {
    background-color: var(--color-yellow);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* =====================================
   DIVIDERS & SCALLOPS
   ===================================== */
.storefront-awning {
    height: 30px;
    width: 100%;
    position: relative;
    background-color: #ffffff;
    background-image:
        linear-gradient(90deg, rgb(248 212 118 / 51%) 50%, transparent 50%),
        linear-gradient(rgb(255 209 90 / 37%) 50%, #00000000 50%);
    background-size: 25px 25px;
    -webkit-mask-image: linear-gradient(black, black), radial-gradient(circle at 30px 0px, black 29.5px, transparent 30px);
    -webkit-mask-size: 100% calc(100% - 30px), 60px 30px;
    -webkit-mask-position: top left, bottom left;
    -webkit-mask-repeat: no-repeat, repeat-x;
    z-index: 5;
}

.bg-gingham {
    background-color: #ffffff;
    background-image:
        linear-gradient(90deg, rgba(244, 199, 84, 0.45) 50%, transparent 50%),
        linear-gradient(rgba(244, 199, 84, 0.45) 50%, transparent 50%);
    background-size: 60px 60px;
}

/* =====================================
   BUTTONS
   ===================================== */
.btn-yellow,
.btn-blue {
    color: white;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-yellow {
    background-color: var(--color-yellow);
}

.btn-yellow:hover {
    background-color: #e5b447;
    color: white;
}

.btn-blue {
    background-color: var(--color-blue);
}

.btn-blue:hover {
    background-color: #6aa3b0;
    color: white;
}

/* =====================================
   HOMEPAGE COMPONENTS
   ===================================== */
.hero-section {
    position: relative;
    padding: 4rem 0;
}

.hero-tagline {
    color: var(--color-yellow);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--color-blue);
    font-style: italic;
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-yellow);
    margin-right: 1rem;
}

.hero-category-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-text-dark);
    background: #ffffff;
    border-radius: 3.5rem 3.5rem 1rem 1rem;
    padding: 0.4rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid var(--color-yellow-light);
    height: 100%;
}

.hero-category-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--color-yellow);
}

.hero-category-card:hover .hero-category-img {
    transform: scale(1.02);
}

.hero-category-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 3rem 3rem 0.6rem 0.6rem;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.hero-category-text {
    padding: 0.8rem 0.2rem 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-category-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-blue);
    margin-bottom: 0.1rem;
}

@media (min-width: 768px) {
    .hero-category-card {
        border-radius: 6.5rem 6.5rem 1.5rem 1.5rem;
        padding: 0.6rem;
    }

    .hero-category-img {
        height: 280px;
        border-radius: 6rem 6rem 1rem 1rem;
    }

    .hero-category-text {
        padding: 1.2rem 0.5rem 0.8rem;
    }
}

/* =====================================
   PRODUCT CARDS (PLAYFUL)
   ===================================== */
.product-card-playful {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--color-yellow-light);
    border-radius: 1.5rem;
    padding: 0.75rem;
    background-color: #ffffff;
    transition: all 0.4s ease;
    height: 100%;
}

.product-card-playful:hover {
    border-color: var(--color-yellow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background-color: transparent;
    aspect-ratio: 4 / 5;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.product-card-playful:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card-playful:hover .img-overlay {
    opacity: 1;
}

.product-actions-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.product-card-playful:hover .product-actions-right {
    transform: translateX(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--color-yellow);
    color: white;
}

.view-detail-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: white;
    color: var(--color-text-dark);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    z-index: 2;
}

.product-card-playful:hover .view-detail-btn {
    transform: translateX(-50%) translateY(0);
}

.view-detail-btn:hover {
    background: var(--color-blue);
    color: white;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--color-text-dark);
}

/* =====================================
   PRODUCT DETAIL PAGE SPECIFICS
   ===================================== */
.breadcrumb-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--color-yellow);
}

.main-product-img {
    width: 100%;
    border-radius: 1.5rem;
    object-fit: contain;
    /* Shows the full image without cutting it off */
    aspect-ratio: 3/4;
    /* Adjusted from 4/5 to make the viewer slightly shorter */
    background-color: #fdfdfd;
    /* Adds a subtle studio backdrop color for images that don't perfectly fit the ratio */
    padding: 0.5rem;
    /* Optional: gives the image a little breathing room from the edges */
}

.thumbnail-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: contain;
    /* Prevents thumbnails from cropping */
    background-color: #fdfdfd;
    border-radius: 0.8rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    padding: 0.2rem;
}

.thumbnail-img:hover {
    opacity: 1;
}

.thumbnail-img.active {
    border-color: var(--color-yellow);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(246, 195, 88, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(246, 195, 88, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(246, 195, 88, 0);
    }
}

/* Size Selector */
.size-selector {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.size-selector input {
    display: none;
}

.size-selector label {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-yellow-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.9rem;
}

.size-selector label:hover {
    border-color: var(--color-yellow);
}

.size-selector input:checked+label {
    background: var(--color-blue);
    color: white;
    border-color: var(--color-blue);
}

/* Quantity Selector */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-yellow-light);
    border-radius: 50px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: bold;
}

.qty-btn:hover {
    background: var(--color-yellow-light);
    color: var(--color-blue);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    pointer-events: none;
    font-weight: bold;
}

/* Trust Badges */
.trust-badge-icon {
    width: 50px;
    height: 50px;
    background: var(--color-yellow-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.5rem;
    color: var(--color-blue);
}

/* Accordions */
.boutique-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--color-yellow-light);
}

.boutique-accordion .accordion-button {
    background-color: transparent !important;
    color: var(--color-text-dark) !important;
    padding: 1.2rem 0;
    box-shadow: none !important;
}

.boutique-accordion .accordion-button:not(.collapsed) {
    color: var(--color-blue) !important;
}

.boutique-accordion .accordion-body {
    padding: 0 0 1.5rem 0;
}

/* Cart Drawer */
.cart-item {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--color-yellow-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 0.8rem;
}

.cart-item-title {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 600;
    font-family: var(--font-serif);
    transition: color 0.2s;
}

.cart-item-title:hover {
    color: var(--color-blue);
}

.remove-item-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 0.8rem;
    text-decoration: underline;
    padding: 0;
}

/* =====================================
   BRAND LINK (PRODUCT PAGE)
   ===================================== */
.product-brand-link {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.product-brand-link:hover {
    color: var(--color-yellow);
}

/* =====================================
   CUSTOM SIZING CHART MODAL (PRODUCT PAGE)
   ===================================== */
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@700&display=swap');

.custom-size-modal {
    background-color: #fcf8e3;
    /* Creates the yellow gingham plaid background */
    background-image:
        linear-gradient(90deg, rgba(246, 219, 126, 0.4) 50%, transparent 50%),
        linear-gradient(rgba(246, 219, 126, 0.4) 50%, transparent 50%);
    background-size: 50px 50px;
    font-family: 'Balsamiq Sans', cursive;
    border-radius: 1rem;
    position: relative;
    padding: 1rem;
}

.custom-size-title {
    color: #6fb6cf;
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2rem 0;
    /* Adds the subtle white outline seen in the image */
    text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff;
}

.measuring-tape-icon {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.custom-size-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border: 3px dashed #111;
}

.custom-size-table th,
.custom-size-table td {
    border: 2px dashed #111;
    padding: 0.6rem 0.2rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
}

.custom-size-table th {
    background-color: #f7d4c8;
    color: #d8686a;
    font-size: 1.4rem;
    text-transform: uppercase;
    line-height: 1.2;
}

/* First column (SIZE) gets the blue background */
.custom-size-table td:first-child {
    background-color: #79c6ce;
}

/* All other columns get the pale yellow background */
.custom-size-table td:not(:first-child) {
    background-color: #fdf5ce;
}



/* =====================================
   PROMISE & NEWSLETTER (HOMEPAGE)
   ===================================== */
.promise-section {
    background-color: var(--color-yellow-light);
    border-radius: 2rem;
    overflow: hidden;
}

.badge-made-with-love {
    width: 100px;
    height: 100px;
    background-color: var(--color-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: absolute;
    bottom: -20px;
    right: -20px;
}

.newsletter-wrapper {
    border: 10px solid transparent;
    border-image: repeating-linear-gradient(45deg, var(--color-yellow-light), var(--color-yellow-light) 15px, white 15px, white 30px) 10;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
}

.newsletter-input {
    border-radius: 50px 0 0 50px;
    border: 1px solid #e0e0e0;
    padding-left: 1.5rem;
}

.newsletter-btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--color-blue);
    color: white;
    border: none;
    padding: 0 2rem;
}

/* =====================================
   FOOTER SCALLOP & STYLES
   ===================================== */
.footer-scallop {
    height: 30px;
    width: 100%;
    background-color: var(--color-blue-light);
    -webkit-mask-image: radial-gradient(circle at 30px 30px, black 29.5px, transparent 30px);
    mask-image: radial-gradient(circle at 30px 30px, black 29.5px, transparent 30px);
    -webkit-mask-size: 60px 30px;
    mask-size: 60px 30px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.footer-area {
    background-color: var(--color-blue-light);
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--color-blue);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-yellow);
    color: white;
    transform: translateY(-2px);
}

/* Preloader for Product Page */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.preloader-hidden {
    opacity: 0;
    pointer-events: none;
}

/* =====================================
   PRELOADER LOGO ANIMATIONS
   ===================================== */
.preloader-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* Keeps the circular look from your navbar */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    /* Change 'pulse-logo' to 'float-logo' or 'flip-logo' to test others */
    animation: pulse-logo 1.5s ease-in-out infinite;
}

/* Option 1: Smooth Pulse (Grows and shrinks) */
@keyframes pulse-logo {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

/* Option 2: Gentle Float (Moves up and down) */
@keyframes float-logo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Option 3: 3D Flip (Spins on the Y-axis) */
@keyframes flip-logo {
    0% {
        transform: perspective(400px) rotateY(0deg);
    }

    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}


/* =====================================
   BLOG & EXHIBITIONS SPECIFICS
   ===================================== */
/* Blog Cards */
.blog-card {
    background: #fff;
    border: 2px solid var(--color-yellow-light);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--color-yellow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.blog-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* Blog Details */
.blog-details-hero {
    border-radius: 2rem;
    overflow: hidden;
    height: 400px;
    margin-bottom: 3rem;
}

.blog-details-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.blog-pull-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-blue);
    border-left: 4px solid var(--color-yellow);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
}

/* Exhibition Upcoming Tickets */
.event-ticket {
    background: white;
    border: 2px dashed var(--color-blue-light);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-ticket:hover {
    border-color: var(--color-blue);
    box-shadow: 0 10px 25px rgba(124, 182, 196, 0.15);
}

.event-date-box {
    background: var(--color-yellow-light);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    border-right: 2px dashed var(--color-blue-light);
}

.event-date-month {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.event-date-day {
    font-size: 3rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1;
}

.event-date-year {
    font-weight: 600;
    color: var(--color-yellow);
}

@media (max-width: 768px) {
    .event-ticket {
        flex-direction: column;
    }

    .event-date-box {
        border-right: none;
        border-bottom: 2px dashed var(--color-blue-light);
        padding: 1.5rem;
    }
}

/* Polaroid (Reused & Tweaked from Our Story) */
.polaroid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}


/* =====================================
           OUR STORY PAGE SPECIFICS
           ===================================== */
.story-hero {
    background-color: var(--color-yellow-light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 2px dashed var(--color-yellow);
}

.story-hero-text {
    position: relative;
    z-index: 2;
}

.signature-font {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--color-blue);
}

/* Polaroid / Scrapbook Image Style */
.polaroid-wrapper {
    position: relative;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.polaroid-wrapper.right-tilt {
    transform: rotate(3deg);
}

.polaroid-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
    z-index: 5;
}

.polaroid-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0.2rem;
    background-color: #f0f0f0;
    /* Fallback for missing images */
}

.polaroid-caption {
    font-family: 'Jost', sans-serif;
    text-align: center;
    padding-top: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Decorative Elements */
.story-blob {
    position: absolute;
    background: var(--color-blue-light);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    z-index: 0;
}

.quote-section {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url('img/story/pattern-bg.png');
    /* Optional cute pattern */
    background-color: var(--color-blue-light);
    padding: 5rem 0;
    border-radius: 3rem;
    margin: 4rem 0;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--color-yellow);
    opacity: 0.4;
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 1rem;
}




/* =====================================
   HEADER WRAPPER (STICKY & SHADOW LOGIC)
   ===================================== */
.header-wrapper {
    transition: box-shadow 0.4s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    z-index: 1030;
}

.header-wrapper.scrolled {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Ensure the navbar doesn't cast a double-shadow inside the wrapper */
.navbar {
    box-shadow: none !important;
    transition: all 0.4s ease-in-out;
    border-bottom: 4px solid transparent;
    background-color: white;
    z-index: 1000;
}

.navbar.scrolled {
    border-bottom: 4px solid var(--color-yellow);
    box-shadow: none !important;
}

