/**
 * Maple Leaf Hotel - Premium Stylesheet (Redesigned)
 * 
 * Design Philosophy:
 * - "Dark Luxury": Immersive, elegant, and sophisticated.
 * - Flat Design: Strict adherence to flat colors (no gradients), relying on contrast and spacing.
 * - Motion: Subtle, meaningful animations to create a "living" website.
 * - Typography: Poppins for modern readability, utilized with varying weights for hierarchy.
 * 
 * @package MapleLeafHotel
 * @version 2.0.0
 */

/* ================================================================
   ROOT VARIABLES - LUXURY PALETTE
   ================================================================ */
:root {
    /* Primary Brand Colors - Based on Maple Leaf Brand Identity */
    --color-brown-primary: #5A1E1E;
    /* Deep Maroon/Wine (Brand Dark) */
    --color-brown-light: #8B4513;
    /* SaddleBrown (Accents) */
    --color-brown-dark: #300B02;
    /* Very Dark Brown (Footer/Dark BGs) */
    --color-gold-accent: #E6A93F;
    /* Maple Gold */

    /* Background System - Dual Tone (Dark & Cream) */
    --color-bg-main: #3E0E0E;
    /* Deep Maroon BG */
    --color-bg-secondary: #FDF9F0;
    /* Cream/Off-White BG */
    --color-bg-tertiary: #1A0505;
    /* Darkest Contrast */
    --color-overlay-dark: rgba(48, 11, 2, 0.9);

    /* Typography Colors */
    --color-text-main: #FFFFFF;
    /* For Dark BGs */
    --color-text-dark: #300B02;
    /* For Light BGs */
    --color-text-muted: #D1D1D1;
    /* For Dark BGs */
    --color-text-muted-dark: #6C5A5A;
    /* For Light BGs */

    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Design Tokens */
    --border-radius-sm: 2px;
    --border-radius-md: 4px;
    /* Flatter look */
    --border-radius-lg: 8px;

    --transition-slow: 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
}

/* ================================================================
   RESET & TYPOGRAPHY
   ================================================================ */

/* Prevent horizontal scroll globally */
html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg-main);
    color: var(--color-text-muted);
    line-height: 1.8;
    font-weight: 300;
    /* Light by default for elegance */
    overflow-x: hidden;
    max-width: 100%;
}

/* Fallback .container widths in case Bootstrap CDN fails to load */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-main);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

/* Light Section Utility */
.bg-cream {
    background-color: var(--color-bg-secondary) !important;
    color: var(--color-text-dark) !important;
}

.bg-cream h1,
.bg-cream h2,
.bg-cream h3,
.bg-cream h4,
.bg-cream h5,
.bg-cream h6 {
    color: var(--color-brown-dark) !important;
}

.bg-cream p,
.bg-cream .text-muted {
    color: var(--color-text-muted-dark) !important;
}

.bg-cream .room-card-premium {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.bg-cream .room-card-premium:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bg-cream .room-title {
    color: var(--color-brown-dark);
}

/* ================================================================
   TYPING ANIMATION CURSOR
   ================================================================ */
.type-line {
    min-height: 1.2em;
    /* Reserve space */
    position: relative;
    display: inline-block;
}

.cursor::after {
    content: '|';
    display: inline-block;
    color: var(--color-gold-accent);
    animation: blink 0.9s infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.bg-cream .room-price-tag {
    color: var(--color-brown-primary);
}

/* Update Navbar for Light sections if needed */
.navbar-light-section .nav-link {
    color: var(--color-brown-dark);
}

/* Elegant Section Titles */
.section-header {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.section-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-gold-accent);
    /* Gold for better visibility */
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

/* ================================================================
   NAVIGATION - GLASSMORPHISM & MINIMALIST
   ================================================================ */
.navbar {
    padding: 1.5rem 0;
    transition: all var(--transition-base);
    background-color: var(--color-bg-secondary);
    /* Light cream background for logo visibility */
    z-index: 1050;
}

.navbar.scrolled {
    background-color: rgba(253, 249, 240, 0.95);
    /* Cream with slight transparency */
    padding: 1rem 0;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(90, 30, 30, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.navbar-logo-img {
    height: 100px;
    max-height: 100px;
    width: auto;
    max-width: 250px;
    display: block;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .navbar-logo-img {
        height: 75px;
        max-height: 75px;
    }
}

.nav-link {
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem !important;
    position: relative;
    opacity: 0.8;
    transition: all 0.3s ease;
    color: var(--color-brown-dark) !important;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--color-brown-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background-color: var(--color-brown-primary);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ================================================================
   BUTTONS - FLAT & PRECISE
   ================================================================ */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 0;
    /* Ultra-flat squared look */
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-brown {
    background-color: var(--color-brown-primary);
    border: 1px solid var(--color-brown-primary);
    color: white;
}

.btn-brown:hover {
    background-color: var(--color-brown-dark);
    border-color: var(--color-brown-dark);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(62, 14, 14, 0.4);
}

.btn-brown:focus,
.btn-brown:active,
.btn-brown:visited {
    color: white !important;
}

a.btn-brown,
a.btn-brown:hover,
a.btn-brown:focus,
a.btn-brown:active,
a.btn-brown:visited {
    color: white !important;
    text-decoration: none;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-bg-main);
}

/* ================================================================
   HERO SECTION - CINEMATIC
   ================================================================ */
.hero-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* ================================================================
   HERO SECTION - CINEMATIC SLIDESHOW
   ================================================================ */
.hero-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: kenBurns 20s ease-in-out infinite;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Ken Burns Effect - Slow Zoom */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Stagger animation for each slide */
.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 4s;
}

.hero-slide:nth-child(3) {
    animation-delay: 8s;
}

.hero-slide:nth-child(4) {
    animation-delay: 12s;
}

.hero-slide:nth-child(5) {
    animation-delay: 16s;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 15, 10, 0.25), rgba(62, 14, 14, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

/* ================================================================
   BOOKING WIDGET - FLOATING
   ================================================================ */
.booking-bar {
    background-color: var(--color-bg-secondary);
    padding: 2rem;
    margin-top: -4rem;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-label-custom {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E0E0E0 !important;
    /* Light grey for visibility on dark */
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.form-control-custom,
.form-select-custom {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: white;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.form-control-custom:focus,
.form-select-custom:focus {
    box-shadow: none;
    background-color: transparent;
    border-bottom-color: var(--color-brown-light);
    color: white;
}

/* ================================================================
   CARDS & ROOMS - MINIMALIST LUXURY
   ================================================================ */
.room-card-premium {
    background-color: var(--color-bg-secondary);
    border: none;
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.room-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.room-card-premium:hover .room-img-wrapper img {
    transform: scale(1.1);
}

.room-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.room-card-premium:hover .room-content {
    border-bottom-color: var(--color-brown-primary);
}

.room-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.room-price-tag {
    color: var(--color-brown-light);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.room-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-subtle);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-top: auto;
}

.room-meta i {
    color: var(--color-brown-primary);
    margin-right: 0.5rem;
}

/* ================================================================
   AMENITIES - GRID LAYOUT (Dark BG)
   ================================================================ */
.amenity-grid-item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amenity-grid-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(230, 169, 63, 0.3);
    transform: translateY(-5px);
}

.amenity-grid-item h4 {
    color: #FFFFFF !important;
    /* White text for visibility */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
    min-height: 2.8rem;
}

.amenity-grid-item p {
    color: #D1D1D1 !important;
    /* Light gray for visibility */
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0;
    min-height: 3.5rem;
    max-width: 320px;
}

.amenity-icon-large {
    font-size: 2.5rem;
    color: var(--color-gold-accent);
    /* Gold icons */
    margin-bottom: 1.5rem;
    opacity: 1;
}

/* ================================================================
   ANIMATIONS - SCROLL REVEAL
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ================================================================
   REVIEWS / TESTIMONIALS - PREMIUM STRIP
   ================================================================ */
.reviews-strip {
    background-color: var(--color-bg-secondary);
    position: relative;
}

.reviews-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #FFFFFF;
}

.reviews-inner {
    position: relative;
    z-index: 1;
}

.review-card-lux {
    background-color: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(48, 11, 2, 0.06);
    box-shadow: 0 18px 45px rgba(48, 11, 2, 0.08);
}

/* ================================================================
   DINING SECTION - NAWAGI (ENHANCED)
   ================================================================ */
.dining-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 500px;
}

/* Dining Slideshow Container */
.dining-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Dining Slides */
.dining-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}

.dining-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Decorative Offset Border */
.dining-card::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 3;
    pointer-events: none;
    transition: all 0.6s ease;
}

.dining-card:hover::after {
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border-color: rgba(255, 255, 255, 0.8);
}



.dining-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    text-align: center;
    z-index: 4;
    padding: 1.5rem 3rem;
    pointer-events: none;
    opacity: 1;
    background: rgba(15, 5, 2, 0.85);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(230, 169, 63, 0.4);
}

.dining-overlay-text h3 {
    color: var(--color-gold-accent) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 4px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 1);
    margin: 0;
    text-transform: uppercase;
}

/* Right Content Typography */
.display-dining {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-brown-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    line-height: 0.9;
    position: relative;
    display: inline-block;
}

/* Animated Underline for Title */
.display-dining::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--color-gold-accent);
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.reveal-right.active .display-dining::after {
    width: 60px;
}

.nawagi-subtitle {
    font-size: 1.1rem;
    color: var(--color-brown-primary);
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nawagi-subtitle::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: var(--color-brown-primary);
}

/* Staggered Text Animation */
.text-stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.active .text-stagger {
    opacity: 1;
    transform: translateY(0);
}

.delay-text-1 {
    transition-delay: 0.2s;
}

.delay-text-2 {
    transition-delay: 0.4s;
}

.delay-text-3 {
    transition-delay: 0.6s;
}

/* Image Decorative Box Behind */
.image-decoration-wrapper {
    position: relative;
    padding: 20px 0 0 20px;
}

.image-decoration-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 70%;
    background-color: var(--color-brown-primary);
    z-index: 0;
    opacity: 0.1;
    transition: all 0.8s ease;
}

.reveal-left.active .image-decoration-wrapper::before {
    opacity: 0.15;
    transform: translate(-10px, -10px);
}


.review-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-brown-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.review-meta small {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: var(--color-text-subtle);
}

.review-quote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-brown-primary);
}

.review-stars i {
    font-size: 0.85rem;
}

@media (max-width: 767.98px) {
    .review-card-lux {
        padding: 1.75rem 1.5rem;
    }

    .review-header {
        flex-direction: row;
        align-items: center;
    }
}

/* ================================================================
   FOOTER - PREMIUM REDESIGN
   ================================================================ */
.footer-premium {
    background-color: var(--color-bg-secondary);
    border-top: 1px solid rgba(90, 30, 30, 0.08);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-brand {
    font-size: 2.25rem;
    color: var(--color-brown-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.footer-description {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(90, 30, 30, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brown-dark);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-icon:hover {
    background-color: var(--color-brown-primary);
    border-color: var(--color-brown-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Footer Headings */
.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-brown-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-brown-primary);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: var(--color-text-muted-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: var(--color-brown-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-brown-primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--color-brown-primary);
    font-size: 0.9rem;
    margin-top: 2px;
    width: 16px;
    flex-shrink: 0;
}

/* Newsletter */
.newsletter-form {
    margin-top: 0;
}

.newsletter-wrapper {
    display: flex;
    border: 1px solid rgba(90, 30, 30, 0.15);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.newsletter-wrapper:focus-within {
    border-color: var(--color-brown-primary);
}

.newsletter-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.25rem;
    color: var(--color-brown-dark);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--color-text-muted-dark);
    opacity: 0.6;
}

.newsletter-btn {
    background-color: var(--color-brown-primary);
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.newsletter-btn:hover {
    background-color: var(--color-brown-dark);
}

.newsletter-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-text-muted-dark);
    opacity: 0.7;
    margin-bottom: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(90, 30, 30, 0.08);
    padding-top: 2rem;
    margin-top: 3rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--color-text-muted-dark);
    margin: 0;
}

.footer-legal {
    color: var(--color-text-muted-dark);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.footer-legal:hover {
    color: var(--color-brown-primary);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-brown-dark) !important;
    box-shadow: none;
    border-color: var(--color-brown-primary);
}

/* Global Poppins enforcement */
* {
    font-family: 'Poppins', sans-serif;
}

/* Text visibility helpers */
.text-brown {
    color: var(--color-brown-primary) !important;
}

.text-gold {
    color: var(--color-gold-accent) !important;
}

/* ================================================================
   ABOUT SECTION - IMAGE COLLAGE
   ================================================================ */
.collage-wrapper {
    position: relative;
    padding-bottom: 40px;
    padding-right: 40px;
}

.collage-img-main {
    width: 85%;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.collage-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    z-index: 2;
    border: 8px solid white;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collage-wrapper:hover .collage-img-secondary {
    transform: translateY(-10px) translateX(-10px);
}

/* ================================================================
   IMAGE COLLAGE INTERACTION
   ================================================================ */
.collage-img-main,
.collage-img-secondary {
    cursor: pointer;
    transition: transform 0.4s ease, z-index 0s;
}

/* This class will be applied to whichever image is clicked to bring it to front */
.collage-img-front {
    z-index: 10 !important;
}

/* When the secondary is active, we might want to adjust its specific styles */
.collage-img-secondary.collage-img-front {
    border-color: white;
    /* Maintain border */
}

/* Interactive hover hint */
.collage-img-main:hover,
.collage-img-secondary:hover {
    transform: scale(1.02);
}

/* ================================================================
   PAGE HEADER - INNER PAGES
   ================================================================ */
.page-header {
    background-color: var(--color-bg-main);
    padding-top: 150px !important;
    padding-bottom: 80px !important;
}

/* ================================================================
   SYMBOLISM CARDS - ABOUT PAGE
   ================================================================ */
.symbolism-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base);
    height: 100%;
}

.symbolism-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(230, 169, 63, 0.3);
    transform: translateY(-5px);
}

.symbolism-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 169, 63, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-accent);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.symbolism-card:hover .symbolism-icon {
    background-color: var(--color-gold-accent);
    color: var(--color-brown-dark);
}

.symbolism-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.symbolism-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Symbolism Summary Box */
.symbolism-summary {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(230, 169, 63, 0.2);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.symbolism-summary::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--color-gold-accent);
}

/* ================================================================
   LETTER SPACING UTILITY
   ================================================================ */
.ls-1 {
    letter-spacing: 0.1em;
}