/* ==========================================================================
   BREW HAVEN — "Midnight Roast" theme (Professional Refined)
   Separate stylesheet — load AFTER the template's original CSS so these
   rules win. Add this line to includes/head-tags.php, right before </head>:

   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
   <link rel="stylesheet" href="assets/css/coffee-theme.css">
   ========================================================================== */

:root {
    /* ---- Palette ---- */
    --espresso: #1A120B;
    --espresso-deep: #100B07;
    --forest: #26332A;
    --forest-light: #34443A;
    --cherry: #8B3A2B;
    --gold: #C9973D;
    --gold-light: #E3B15C;
    --parchment: #F3EAD8;
    --parchment-dim: #D4C9B3;
    --ink: #201812;

    /* ---- Type ---- */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* ---- Elevation ---- */
    --shadow-soft: 0 10px 30px rgba(16, 11, 7, 0.25);
    --shadow-deep: 0 25px 60px rgba(16, 11, 7, 0.45);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);

    /* ---- Transitions ---- */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    color-scheme: dark;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body.restaurant-website {
    background: var(--espresso);
    color: var(--parchment-dim);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.restaurant-website h1,
body.restaurant-website h2,
body.restaurant-website h3,
body.restaurant-website h4,
body.restaurant-website h5,
body.restaurant-website h6 {
    font-family: var(--font-display);
    color: var(--parchment);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Section Title Refined */
.section-title {
    margin-bottom: 3rem;
}

.section-title .sub-title {
    font-family: var(--font-mono);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 600;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--cherry));
    border-radius: 2px;
}

.section-title p {
    color: var(--parchment-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Links & Buttons */
a {
    transition: color 0.3s var(--ease-smooth);
}

/* WhatsApp Button Styling */
a.theme-btn.style-one.whatsapp-btn {
    background: #25D366; /* WhatsApp green */
    color: #ffffff !important;
    font-family: var(--font-body);
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 15px 35px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.4s var(--ease-bounce);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

a.theme-btn.style-one.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

a.theme-btn.style-one.whatsapp-btn:hover {
    background: #20bd5a; /* Darker WhatsApp green on hover */
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    color: #ffffff !important;
}

a.theme-btn.style-one.whatsapp-btn:hover::before {
    left: 100%;
}

/* WhatsApp icon inside button */
a.theme-btn.style-one.whatsapp-btn i {
    font-size: 1.2rem;
}

/* Alternative: Outlined WhatsApp Button */
a.theme-btn.style-one.whatsapp-outline {
    background: transparent;
    color: #25D366 !important;
    border: 2px solid #25D366;
    box-shadow: none;
}

a.theme-btn.style-one.whatsapp-outline:hover {
    background: #25D366;
    color: #ffffff !important;
    border-color: #25D366;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.cs-hero-sec {
    background-blend-mode: multiply;
    min-height: 100vh;
    display: flex;
    align-items: center;
    isolation: isolate;
    position: relative;
}

.cs-hero-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    rgba(16, 11, 7, 0.9) 0%,
    rgba(26, 18, 11, 0.7) 50%,
    rgba(16, 11, 7, 0.9) 100%);
    z-index: 1;
}

.cs-hero-sec::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5%;
    width: 500px;
    height: 500px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 2px solid rgba(201, 151, 61, 0.15);
    z-index: 0;
    animation: crema-spin 30s linear infinite;
}

@keyframes crema-spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
        border-color: rgba(201, 151, 61, 0.15);
    }
    50% {
        border-color: rgba(201, 151, 61, 0.3);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
        border-color: rgba(201, 151, 61, 0.15);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--parchment);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .text-box p {
    color: var(--parchment-dim);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 40ch;
    opacity: 0.9;
}

.play-button {
    position: absolute;
    bottom: 10%;
    right: 10%;
    z-index: 2;
}

.play-button a {
    width: 80px;
    height: 80px;
    background: var(--gold) !important;
    color: var(--espresso-deep) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 0 15px rgba(201, 151, 61, 0.1);
    transition: all 0.4s var(--ease-smooth);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 151, 61, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(201, 151, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 151, 61, 0);
    }
}

.play-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 25px rgba(201, 151, 61, 0.15);
    animation: none;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.cs-about-sec {
    background: var(--espresso);
    padding: 100px 0;
}

.bistly-content-box h2 {
    color: var(--parchment);
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.bistly-content-box p {
    color: var(--parchment-dim);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.text-box .position {
    font-family: var(--font-mono);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}

.bistly-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-deep);
    transition: transform 0.6s var(--ease-smooth);
    width: 100%;
}

.bistly-image:hover img {
    transform: scale(1.02) rotate(-0.5deg);
}

/* ==========================================================================
   Enjoy Coffee Section
   ========================================================================== */
.cs-enjoy-coffee {
    background: linear-gradient(180deg, var(--forest) 0%, var(--espresso-deep) 100%);
    position: relative;
    overflow: hidden;
}

.cs-enjoy-coffee::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201, 151, 61, 0.05) 0%, transparent 70%);
}

.cs-enjoy-coffee .bistly-image {
    transition: opacity 0.3s ease;
}

.cs-enjoy-coffee .bistly-image:hover {
    opacity: 0.2;
}

/* ==========================================================================
   3D Tilt Card System
   ========================================================================== */
.tilt-card {
    --rx: 0deg;
    --ry: 0deg;
    --tz: 0px;
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth), border-color 0.6s var(--ease-smooth);
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: var(--shadow-deep);
}

.tilt-card > * {
    transform: translateZ(25px);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.cs-why-choose {
    background: var(--espresso);
    padding: 100px 0;
    position: relative;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.why-card {
    background: linear-gradient(165deg, rgba(38, 51, 42, 0.5) 0%, rgba(16, 11, 7, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 151, 61, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.4s var(--ease-smooth);
}

.why-card:hover {
    border-color: rgba(201, 151, 61, 0.5);
    background: linear-gradient(165deg, rgba(38, 51, 42, 0.7) 0%, rgba(16, 11, 7, 0.9) 100%);
    transform: translateY(-5px);
}

.why-card .why-num {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.why-card .why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201, 151, 61, 0.15) 0%, rgba(201, 151, 61, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--gold-light);
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, rgba(201, 151, 61, 0.25) 0%, rgba(201, 151, 61, 0.1) 100%);
    transform: scale(1.05);
}

.why-card h4 {
    color: var(--parchment);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--parchment-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Popular Items Section
   ========================================================================== */
.popular-section {
    background: var(--espresso-deep);
    padding: 100px 0 60px;
}

.bistly-popular-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(38, 51, 42, 0.3);
    border: 1px solid rgba(243, 234, 216, 0.05);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(5px);
    transition: all 0.3s var(--ease-smooth);
}

.bistly-popular-item:hover {
    background: rgba(38, 51, 42, 0.6);
    border-color: rgba(201, 151, 61, 0.3);
    transform: translateX(5px);
}

.bistly-popular-item .icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--cherry) 100%);
    color: var(--parchment);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(201, 151, 61, 0.2);
}

.bistly-popular-item .content h4 {
    color: var(--parchment);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.bistly-popular-item .content p {
    color: var(--parchment-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Process Section (From Bean to Cup)
   ========================================================================== */
.cs-process-sec {
    background: var(--espresso);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.process-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 151, 61, 0.2) 20%,
    rgba(201, 151, 61, 0.4) 50%,
    rgba(201, 151, 61, 0.2) 80%,
    transparent 100%);
    z-index: 0;
}

@media (max-width: 991px) {
    .process-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .process-track::before {
        display: none;
    }
}

@media (max-width: 575px) {
    .process-track {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: rgba(38, 51, 42, 0.2);
    transition: all 0.3s var(--ease-smooth);
}

.process-step:hover {
    background: rgba(38, 51, 42, 0.4);
    transform: translateY(-3px);
}

.process-step .step-index {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--espresso-deep);
    border: 2px solid var(--gold);
    color: var(--gold-light);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.process-step:hover .step-index {
    background: var(--gold);
    color: var(--espresso-deep);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(201, 151, 61, 0.3);
}

.process-step h4 {
    color: var(--parchment);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--parchment-dim);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.rs-gallery {
    background: var(--espresso-deep);
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease-smooth);
}

.gallery-item img {
    transition: transform 0.6s var(--ease-smooth), filter 0.4s ease;
    display: block;
}

.gallery-item:hover {
    box-shadow: var(--shadow-deep);
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* ==========================================================================
   Menu Section (if present)
   ========================================================================== */
.bistly-menu-sec {
    background-color: var(--forest) !important;
    background-blend-mode: multiply;
    position: relative;
}

.bistly-menu-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 11, 7, 0.8), rgba(16, 11, 7, 0.95));
    z-index: 0;
}

.bistly-menu-sec .container {
    position: relative;
    z-index: 1;
}

.menu-item-list .title {
    color: var(--gold-light);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    border-bottom: 2px solid rgba(201, 151, 61, 0.3);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.bistly-menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(26, 18, 11, 0.6);
    border: 1px solid rgba(243, 234, 216, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-smooth);
}

.bistly-menu-item:hover {
    border-color: rgba(201, 151, 61, 0.5);
    background: rgba(26, 18, 11, 0.8);
    transform: translateY(-2px);
}

.bistly-menu-item .thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.content-price-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.bistly-menu-item .content h4 a {
    color: var(--parchment);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bistly-menu-item .content h4 a:hover {
    color: var(--gold-light);
}

.bistly-menu-item .content p {
    color: var(--parchment-dim);
    font-size: 0.88rem;
    margin: 5px 0 0;
    line-height: 1.5;
}

.price-wrap .price {
    font-family: var(--font-mono);
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ==========================================================================
   Footer (Dark Theme)
   ========================================================================== */
footer {
    background: var(--espresso-deep) !important;
    border-top: 1px solid rgba(201, 151, 61, 0.1);
}

/* ==========================================================================
   Accessibility & Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .tilt-card {
        transform: none !important;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Selection Styling */
::selection {
    background: var(--gold);
    color: var(--espresso-deep);
}

::-moz-selection {
    background: var(--gold);
    color: var(--espresso-deep);
}

/* ==========================================================================
   ABOUT PAGE STYLES (Professional Refined)
   ========================================================================== */

/* Inner Hero / Page Banner */
.cs-inner-hero {
    background-blend-mode: multiply;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
}

.cs-inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
    rgba(16, 11, 7, 0.9) 0%,
    rgba(26, 18, 11, 0.7) 50%,
    rgba(16, 11, 7, 0.9) 100%);
    z-index: 0;
}

.cs-inner-hero .container {
    position: relative;
    z-index: 1;
}

.inner-hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--parchment);
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.inner-hero-content p {
    color: var(--parchment-dim);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Our Story Section */
.cs-about-story {
    background: var(--espresso);
    padding: 100px 0;
}

.story-wrapper .sub-title {
    font-family: var(--font-mono);
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

.story-wrapper h2 {
    color: var(--parchment);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1.2;
}

.story-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    max-width: 900px;
    margin: 0 auto;
}

.story-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(16, 11, 7, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.story-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s var(--ease-smooth);
}

.story-image-wrapper:hover img {
    transform: scale(1.05);
}

.story-text {
    max-width: 800px;
}

.story-text p {
    color: var(--parchment-dim);
    font-size: 1.08rem;
    line-height: 1.9;
}

/* Core Values Section */
.cs-core-values {
    background: linear-gradient(180deg, var(--forest) 0%, var(--espresso-deep) 100%);
    padding: 100px 0;
    position: relative;
}

.value-card {
    background: linear-gradient(165deg, rgba(38, 51, 42, 0.6) 0%, rgba(16, 11, 7, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 151, 61, 0.15);
    border-radius: 20px;
    height: 100%;
    transition: all 0.4s var(--ease-smooth);
    padding: 40px 30px;
}

.value-card:hover {
    border-color: rgba(201, 151, 61, 0.5);
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 151, 61, 0.2) 0%, rgba(201, 151, 61, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-light);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, rgba(201, 151, 61, 0.3) 0%, rgba(201, 151, 61, 0.1) 100%);
    transform: scale(1.1) rotate(5deg);
}

.value-card h4 {
    color: var(--parchment);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--parchment-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Gallery Section */
.cs-about-gallery {
    background: var(--espresso);
    padding: 100px 0;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 991px) {
    .about-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .about-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.about-gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth), filter 0.4s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 11, 7, 0.5);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    backdrop-filter: blur(3px);
}

.about-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--parchment);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.4s var(--ease-bounce);
}

.about-gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Call to Action */
.cs-about-cta {
    background: var(--espresso-deep);
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg,
    rgba(201, 151, 61, 0.08) 0%,
    rgba(139, 58, 43, 0.08) 100%);
    border: 1px solid rgba(201, 151, 61, 0.25);
    border-radius: 24px;
    padding: 60px 40px;
    transition: all 0.3s ease;
}

.cta-box:hover {
    border-color: rgba(201, 151, 61, 0.4);
    background: linear-gradient(135deg,
    rgba(201, 151, 61, 0.12) 0%,
    rgba(139, 58, 43, 0.12) 100%);
}

.cta-box h2 {
    color: var(--parchment);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--parchment-dim);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 550px;
    margin: 0 auto 30px;
}

/* ==========================================================================
   Scrollbar Styling (Webkit)
   ========================================================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--espresso-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-light);
    border-radius: 5px;
    border: 2px solid var(--espresso-deep);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ==========================================================================
   Smooth Loading Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s var(--ease-smooth) forwards;
}



