/* ===== Base & Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #0a1f3f;
    --navy-950: #050e1c;
    --gold-400: #efc845;
    --gold-500: #d4a017;
    --gold-600: #b07f0e;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--navy-950);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 15%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.shape-triangle-1 {
    top: 40%;
    left: -3%;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid rgba(212, 160, 23, 0.03);
    transform: rotate(15deg);
}

.shape-circle-2 {
    bottom: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(212, 160, 23, 0.06);
    border-radius: 50%;
}

.shape-square-1 {
    top: 60%;
    left: 5%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.04);
    transform: rotate(45deg);
}

.shape-dots {
    top: 20%;
    left: 15%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 160, 23, 0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.6;
}

/* ===== Navbar ===== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav-fixed.scrolled {
    background-color: rgba(5, 14, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

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

/* ===== Buttons ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: var(--navy-900);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(212, 160, 23, 0.3);
}

.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(5, 14, 28, 0.55) 0%,
        rgba(10, 31, 63, 0.65) 50%,
        rgba(5, 14, 28, 0.85) 100%
    );
}

.hero-content {
    opacity: 1;
    transform: none;
}

/* ===== Sections ===== */
.section {
    position: relative;
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: rgba(212, 160, 23, 0.06);
    line-height: 1;
    pointer-events: none;
}

/* ===== Input Fields ===== */
.input-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-field:focus {
    outline: none;
    border-color: var(--gold-500);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

.input-field option {
    background: var(--navy-900);
    color: #fff;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.mobile-menu.open {
    max-height: 500px;
    padding-top: 0;
}

.mobile-menu.open.show {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .font-playfair {
        line-height: 1.1;
    }

    .hero-content {
        padding-top: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet adjustments */
}

/* ===== Focus visible ===== */
*:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #fff;
}
