/* Reset & Base */
:root {
    --gold: #D4AF37;
    --gold-light: #F7E7CE;
    --gold-dark: #B87333;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --white: #ffffff;
    --text-gray: #cccccc;

    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
.text-gold {
    color: var(--gold);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%); */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.logo i {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.btn-login {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--gold) !important;
}

.btn-login:hover {
    background: var(--gold);
    color: var(--black) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    /* Reduced height to crop the bottom (static cards) */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Background Image Handling */
    background-color: var(--black);
    /* Blend with image edges */
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Responsive Hero for Mobile */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
        /* Reduce height on mobile to fit the wide image */
        min-height: auto;
        background-size: contain;
        /* Show full image without cropping */
    }
}

/* Overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 0;
}

.badge-gold {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-family: var(--font-main);
    font-size: 5rem;
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.separator-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--black);
    border: none;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* Feature Grid */
.features {
    margin-top: -100px;
    /* Overlap effect */
    position: relative;
    z-index: 20;
    padding-bottom: 100px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    /* Reduced gap slightly to fit 5 items */
}

.feature-card {
    /* Minimalist Luxury Base */
    background: linear-gradient(145deg, #1a1a1a, #050505);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Gold Gradient Overlay on Hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card::after {
    /* Inner Border */
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
    border-color: var(--gold-light);
}

.feature-card:hover::before {
    opacity: 0.05;
    /* Subtle gold tint on hover */
}

.feature-card:hover::after {
    border-color: var(--gold);
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

.card-content {
    position: relative;
    z-index: 2;
    /* Ensure content is above the gradient overlay */
}

.icon-wrapper {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: block;
    margin: 0 auto 20px;
    font-size: 3rem;
    border: none;
    transition: all 0.4s ease;

    /* Gold Gradient Icon */
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    /* Gold Gradient Text */
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    font-family: var(--font-main);
    font-style: normal;
}

.card-link {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }

    .nav-links {
        display: flex;
        /* Show menu on mobile */
        gap: 15px;
        padding: 10px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.8rem;
        /* Slightly smaller text */
    }

    .hero {
        height: 40vh;
        /* Reduce height on mobile to fit the wide image */
        min-height: auto;
        background-size: contain;
        /* Show full image without cropping */
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features {
        margin-top: 20px;
        /* Remove overlap on mobile */
    }
}

/* Feature Card Link Wrapper */
.feature-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.feature-card-link:hover .feature-card {
    transform: translateY(-10px);
    background: #1a1a1a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.feature-card-link:hover .feature-card::after {
    border-color: var(--gold-light);
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    display: none;
    list-style: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--gold);
    color: var(--black);
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--black);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* Start hidden */
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-out forwards;
    opacity: 0;
}

.animate-zoom-in {
    animation: zoomIn 0.8s ease-out forwards;
    opacity: 0;
}

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

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

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

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Scroll Animation Class */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}