/* ===== Custom Properties ===== */
:root {
    --color-dark-950: #0a0a0d;
    --color-dark-900: #121216;
    --color-dark-800: #1a1a1f;
    --color-warm-white: #f5f0eb;
    --color-warm-gray: #a09890;
    --color-gold-300: #f5d68a;
    --color-gold-400: #e8c060;
    --color-gold-500: #d4a037;
    --color-gold-600: #b8860b;
    --color-burgundy-400: #ed748a;
    --color-burgundy-500: #e04260;
    --color-burgundy-600: #cc2547;
    --color-burgundy-800: #8a1932;
    --color-burgundy-900: #73182e;
    --color-burgundy-950: #400a15;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    color: var(--color-warm-white);
    background-color: var(--color-dark-950);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--color-gold-500);
    color: var(--color-dark-950);
}

/* ===== Typography ===== */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ===== Navbar ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--color-gold-400), var(--color-burgundy-400));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Scrolled state */
nav.scrolled {
    background: rgba(10, 10, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 55, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Buttons ===== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-600));
    color: var(--color-dark-950);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 160, 55, 0.3);
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 160, 55, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--color-warm-white);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--color-gold-400);
    color: var(--color-gold-400);
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--color-warm-white);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-warm-white);
    transform: translateY(-2px);
}

/* ===== Stat Cards ===== */
.stat-card {
    animation: float 6s ease-in-out infinite;
}

.stat-card:nth-child(1) {
    animation-delay: 0s;
}

.stat-card:nth-child(2) {
    animation-delay: -1.5s;
}

.stat-card:nth-child(3) {
    animation-delay: -3s;
}

.stat-card:nth-child(4) {
    animation-delay: -4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== Service Cards ===== */
.service-card {
    opacity: 1;
}

.service-card:hover .service-card-inner {
    transform: translateY(-4px);
}

/* ===== Coverage Cards ===== */
.coverage-card {
    opacity: 1;
}

.coverage-card:hover {
    transform: translateY(-4px);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stat-card {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    position: relative;
}

/* ===== Form Styles ===== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a09890' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .stat-card {
        display: none;
    }
}

/* ===== Gold shimmer effect ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.btn-gold {
    background-size: 200% auto;
    background-image: linear-gradient(90deg, var(--color-gold-600), var(--color-gold-400), var(--color-gold-600));
}

.btn-gold:hover {
    animation: shimmer 2s linear infinite;
}
