﻿/* ==================== CSS VARIABLES ==================== */
:root {
    --gold: #D4AF37;
    --gold-light: #F4E5C2;
    --gold-dark: #B8941C;
    --black: #1a1a1a;
    --black-light: #2d2d2d;
    --white: #ffffff;
    --gray: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    line-height: 1.7;
    background: var(--gray);
    overflow-x: hidden;
}

/* ==================== UTILITY CLASSES ==================== */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* ==================== NAVBAR (STICKY) ==================== */
.navbar {
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}

    .navbar.scrolled {
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        padding: 0.7rem 0;
    }

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(212, 175, 55, 0.5);
}

    .navbar-brand i {
        color: var(--gold);
    }

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 100%;
    }

.navbar-toggler {
    border: 2px solid var(--gold);
    color: var(--gold);
}

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    }

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 45, 45, 0.92) 100%), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
        animation: pulseGlow 10s ease-in-out infinite;
    }

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

    .hero-title .highlight {
        color: var(--gold);
        display: inline-block;
        animation: shimmer 3s ease-in-out infinite;
    }

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

    .hero-subtitle strong {
        color: var(--gold);
        font-weight: 700;
    }

/* ==================== GLASS CARD ==================== */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    will-change: transform;
}

    .glass-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 50px rgba(212, 175, 55, 0.25);
        border-color: var(--gold);
    }

    .glass-card h3 {
        color: var(--white);
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .glass-card ul li {
        color: var(--white);
        margin-bottom: 1rem;
        font-weight: 400;
    }

        .glass-card ul li i {
            color: var(--gold);
        }

/* ==================== CTA BUTTONS ==================== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-gold:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
        color: var(--white);
    }

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-outline-gold:hover {
        background: var(--gold);
        color: var(--black);
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    }

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

.scroll-indicator i {
    font-size: 2.5rem;
    color: var(--gold);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    padding: 5rem 0;
    color: var(--white);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--gold-light);
    font-weight: 400;
}

/* ==================== FEATURE CARDS ==================== */
.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    border: 2px solid transparent;
}

    .feature-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
        border-color: var(--gold);
    }

.feature-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.feature-card p {
    color: #6c757d;
    line-height: 1.8;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
}

    .cta-section h2 {
        font-size: 3.5rem;
        font-weight: 900;
        margin-bottom: 1.5rem;
    }

    .cta-section p {
        font-size: 1.3rem;
        color: var(--gold-light);
        margin-bottom: 3rem;
    }

/* ==================== FOOTER ==================== */
footer {
    background: var(--black);
    color: var(--gold-light);
    padding: 4rem 0 2rem;
}

    footer h6 {
        color: var(--gold);
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    footer a {
        color: var(--gold-light);
        text-decoration: none;
        transition: var(--transition);
        display: block;
        margin-bottom: 0.8rem;
    }

        footer a:hover {
            color: var(--gold);
            padding-left: 5px;
        }

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links a {
    color: var(--gold);
    font-size: 1.8rem;
    margin-right: 1.5rem;
    transition: var(--transition);
}

    .social-links a:hover {
        color: var(--gold-light);
        transform: scale(1.2);
    }

/* ==================== BACK TO TOP ==================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    z-index: 9998;
}

    #backToTop.show {
        opacity: 1;
        visibility: visible;
    }

    #backToTop:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 40px rgba(212, 175, 55, 0.7);
    }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .btn-gold, .btn-outline-gold {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
img {
    content-visibility: auto;
}

.lazy-load {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
