:root {
    --primary-gold: #C5A059;
    --primary-gold-dark: #A3803C;
    --accent-bronze: #8C6D46;
    --bg-dark: #0F171E;
    --bg-slate: #18222C;
    --bg-sand: #F7F5EF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --crystal-blue: #00A3E0;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #FFFFFF;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Headings Typography */
h1,
h2,
h3,
h4,
.font-serif {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

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

.bg-dark-custom {
    background-color: var(--bg-dark);
}

.bg-slate-custom {
    background-color: var(--bg-slate);
}

.bg-sand-custom {
    background-color: var(--bg-sand);
}

/* Glassmorphism Navigation */
.navbar-luxury {
    background: rgba(15, 23, 30, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    transition: all 0.3s ease;
}

.nav-link {
    color: #E2E8F0 !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Custom Luxury Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-bronze) 100%);
    color: #FFFFFF;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-bronze) 0%, var(--primary-gold-dark) 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-outline-gold {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 4px;
    padding: 11px 26px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: #FFFFFF;
}

/* Hero Banner */
.hero-section {
    position: relative;
    min-height: 92vh;
    background: linear-gradient(180deg, rgba(15, 23, 30, 0.4) 0%, rgba(15, 23, 30, 0.85) 100%),
        url('../images/Book-Digital-Heritage-Riviera-38.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(197, 160, 89, 0.6);
    background: rgba(15, 23, 30, 0.6);
    backdrop-filter: blur(6px);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-gold);
}

/* Lead Form Card */
.lead-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Video Section Embed Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Feature Cards & Pillars */
.pillar-card {
    background: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-gold);
}

.pillar-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.pillar-card:hover .pillar-img-wrapper img {
    transform: scale(1.06);
}

/* Gallery Filter Pills */
.gallery-nav .nav-link {
    color: var(--text-muted) !important;
    border: 1px solid #CBD5E1;
    border-radius: 50px;
    padding: 8px 20px;
    margin: 4px;
    font-size: 0.85rem;
    text-transform: none;
}

.gallery-nav .nav-link.active,
.gallery-nav .nav-link:hover {
    background-color: var(--primary-gold);
    color: #FFFFFF !important;
    border-color: var(--primary-gold);
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 30, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Floating WhatsApp SEM Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: white;
    transform: scale(1.05);
}

/* Counter Badges */
.stat-box {
    border-left: 2px solid var(--primary-gold);
    padding-left: 1rem;
}

.modal-title {
    margin-right: 10px;
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-bronze) 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 998;
}

.back-to-top i {
    font-size: 1.2rem;
    line-height: 1;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: min(92vw, 420px);
    background: rgba(15, 23, 30, 0.96);
    color: #E2E8F0;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 997;
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-banner__text {
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 16px;
        bottom: 84px;
        width: 42px;
        height: 42px;
    }

    .cookie-banner {
        left: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        padding: 12px;
    }
}