:root {
    --color-bg: #050505; 
    --color-gold: #C6A87C;
    --color-gold-dark: #8a714e;
    --color-text-main: #ffffff;
    --color-text-muted: #aab2c7;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* OVERRIDE SWIPER DEFAULTS GLOBALLY */
    --swiper-theme-color: #C6A87C;
    --swiper-navigation-size: 20px;
}

.hero-section * { box-sizing: border-box; }

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; 
    height: auto; 
    background-color: var(--color-bg);
    overflow: hidden;
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
}

/* --- LAYER 0: ATMOSPHERIC BACKGROUND (Left Side) --- */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; 
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(198, 168, 124, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #181818 0%, #000000 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

/* --- LAYER 1: PARTICLES --- */
#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    z-index: 1; 
    pointer-events: none; 
}

/* --- LAYER 2: CONTENT --- */
.hero-swiper {
    width: 100%;
    flex-grow: 1;
    position: relative;
    z-index: 2; 
    height: auto;
}

.swiper-slide { height: auto; }

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh; 
    width: 100%;
    height: auto;
}

/* Hide native cursor inside hero to show the custom dot */
.hero-section { cursor: none; }

/* --- LEFT COLUMN STYLES --- */
.hero-content {
    padding: 8rem 4rem 6rem 6rem; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: transparent; 
}

.swiper-no-swiping { cursor: default; }

.hero-brand {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.hero-meta {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.hero-meta .meta-bullet { color: var(--color-text-muted); margin: 0 8px; }

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 1.5rem;
    max-width: 600px;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

@keyframes goldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-title em {
    font-style: normal;
    font-weight: 400;
    background: linear-gradient(90deg, #C6A87C 0%, #F9E7C3 25%, #C6A87C 50%, #dcb881 75%, #C6A87C 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: goldShine 5s linear infinite;
    transition: all 0.3s ease;
}

.hero-title em:hover {
    animation-duration: 1.5s; 
    text-shadow: 0 0 20px rgba(198, 168, 124, 0.6);
}

.hero-excerpt {
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 3rem;
}

.hero-btn {
    display: inline-block;
    width: fit-content;
    background: linear-gradient(90deg, #C6A87C 0%, #d4bf96 100%);
    color: #0d0d0d;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(198, 168, 124, 0.4);
    color: #000;
}

.hero-footer-logos {
    margin-top: auto;
    padding-top: 3rem;
    font-family: var(--font-serif);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.hero-footer-logos span { margin-right: 25px; font-size: 1.3rem; color: #777; cursor: default; transition: 0.3s; }
.hero-footer-logos .logo-mock { color: #777; }
.hero-footer-logos .logo-mock:hover { color: var(--color-gold); }
.hero-footer-logos span:first-child { font-family: var(--font-sans); font-size: 0.7rem; color: var(--color-text-muted); text-transform: uppercase; display: block; margin-bottom: 12px; letter-spacing: 1px; }

/* Ensure links inside featured logos inherit the same hover color (gold) instead of default link colors */
.hero-footer-logos .logo-mock a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 200ms ease !important;
}
.hero-footer-logos .logo-mock a:hover {
    color: var(--color-gold) !important;
}

/* Stronger rules to override theme/browser link styles if necessary */
.hero-footer-logos .logo-mock a,
.hero-footer-logos .logo-mock a:link,
.hero-footer-logos .logo-mock a:visited {
    color: inherit;
}
.hero-footer-logos .logo-mock:hover a,
.hero-footer-logos .logo-mock a:hover,
.hero-footer-logos .logo-mock a:focus {
    color: var(--color-gold) !important;
}

/* --- RIGHT COLUMN & SPOTLIGHT --- */
.hero-image-col {
    position: relative;
    height: 100%;
    min-height: 100%; 
    width: 100%;
    overflow: hidden;
    background-color: #000; 
    --x: 50%;
    --y: 50%;
}

.hero-image-col::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(
        900px circle at var(--x) var(--y), 
        rgba(198, 168, 124, 0.4), 
        transparent 50%
    );
    z-index: 1; 
    opacity: 0; 
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hero-image-col:hover::before { opacity: 1; }

.bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: contain; 
    background-position: center center;
    background-repeat: no-repeat;
    /* Make visible by default so image shows even if Swiper hasn't initialized yet */
    opacity: 1;
    z-index: 2; 
    transition: opacity 1s ease, transform 8s ease;
}

/* Fallback/show image element inside bg-image container when needed */
.bg-image__img {
    display: none; /* hidden on desktop where background-image is used */
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Stylish cursor dot in hero area --- */
.hero-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(198,168,124,0.95); /* gold-ish by default, shows well on dark bg */
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
    transform: translate(-50%, -50%) scale(1);
    pointer-events: none;
    z-index: 30;
    transition: transform 160ms cubic-bezier(.2,.8,.2,1), opacity 180ms ease;
    opacity: 0;
    mix-blend-mode: normal;
}
.hero-cursor.hero-cursor--active { transform: translate(-50%, -50%) scale(0.7); }

.swiper-slide-active .bg-image {
    opacity: 1;
    transform: scale(1); 
}

/* UPDATED: IMAGE MASK (Double Gradient) */
.image-mask {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3;
    pointer-events: none;
    background: 
        linear-gradient(90deg, var(--color-bg) 0%, transparent 20%),
        linear-gradient(to top, var(--color-bg) 0%, transparent 15%);
}

/* --- PAGINATION & NAVIGATION --- */
.swiper-pagination { 
    bottom: 30px !important; 
    left: 6rem !important; 
    text-align: left !important; 
    width: auto !important; 
    z-index: 20; 
}

.swiper-pagination-bullet { 
    background: rgba(255,255,255,0.3) !important; 
    opacity: 1 !important; 
    width: 8px !important; 
    height: 8px !important; 
    margin: 0 8px !important; 
}

.swiper-pagination-bullet-active { 
    background: var(--color-gold) !important; 
    transform: scale(1.2); 
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--color-gold) !important;
    transition: all 0.3s ease;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(198, 168, 124, 0.2);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1rem !important; 
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--color-gold);
    color: #000 !important; 
    border-color: var(--color-gold);
}

@media (max-width: 992px) {
    /* Mobile: stack so image appears above text but inside the same visual frame */
    .hero-container { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; }
    .hero-section::before { width: 100%; }
    /* allow framed image to overflow a bit for visual space */
    .hero-section { overflow: visible; }
    /* Reduce top padding to bring content closer when .hero-brand is hidden on mobile */
    .hero-content { padding: 2rem 1.5rem 1.5rem 1.5rem; order: 1; width: 100%; max-width: 960px; }
    /* Center pagination and ensure it doesn't overlap content
       Use a flow layout on mobile so the dots are centered and have a top margin (5%) */
    .swiper-pagination {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        display: flex !important;
    justify-content: center !important;
    margin: 2% 0 !important; /* 2% top and 2% bottom spacing */
        bottom: auto !important;
        text-align: center !important;
    }
    .swiper-button-next, .swiper-button-prev { display: none !important; }

    /* Place the image visually above the content but keep it as the same logical sibling
       Use a framed, rounded rectangle with a subtle gradient background so the image sits inside it */
    .hero-image-col {
        order: 0;
        width: calc(100% - 3rem);
        max-width: 720px;
        border-radius: 14px;
        overflow: hidden;
    /* Dark gradient background for mobile card (keeps desktop unchanged) */
    background: linear-gradient(180deg, #1C1C1E 0%, #0f0f10 100%);
        padding: 12px 12px 0; /* zero bottom padding as requested */
        box-shadow: 0 10px 30px rgba(0,0,0,0.35);
        margin: 0 auto;
        position: relative;
        height: 240px; /* fixed mobile box height */
        margin-top: 1rem;
    }

    /* Hide the small brand label under the image on mobile to tighten spacing */
    .hero-brand { display: none !important; }

    /* Reduce title size on mobile to fit within ~2 lines */
    .hero-title {
        font-size: 2rem;
        line-height: 1.08;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    /* Show full image inside the framed box: make the source image 300px tall and align from top-center
       The container remains 240px tall so the bottom part of the image is clipped for the desired aesthetic. */
    .bg-image {
        position: relative;
        width: 100%;
        height: 100%;
        background-size: auto 300px; /* set background image height to 300px (width auto) */
        background-position: top center; /* align image from the top */
        background-repeat: no-repeat;
        opacity: 1;
        z-index: 2;
        transition: transform 0.3s ease;
        border-radius: 8px;
        overflow: hidden;
    }

    /* Hide the inline img on mobile: we use the background-image (auto 300px) to create the clipped effect
       Hiding the inline image avoids showing two images stacked (one background + one inline). */
    .bg-image__img {
        display: none !important;
        width: auto;
        height: auto;
        max-width: none;
        margin: 0 auto;
        object-fit: cover;
        object-position: top center;
    }

    /* Keep mask subtle or disabled inside framed image */
    .image-mask { display: none; }
}