/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background-color: #0A1628;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== GEOMETRIC BACKGROUND SHAPES ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
    top: -100px;
    left: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.04) 0%, transparent 70%);
    bottom: 10%;
    right: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
    border: 2px solid rgba(212, 160, 23, 0.08);
}

.geo-rect--1 {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    top: 30%;
    right: 5%;
    transform: rotate(15deg);
    animation: float-medium 12s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 86px 50px;
    border-color: transparent transparent rgba(212, 160, 23, 0.06) transparent;
    top: 60%;
    left: 3%;
    animation: float-medium 18s ease-in-out infinite;
}

.geo-diamond {
    position: absolute;
    pointer-events: none;
    width: 60px;
    height: 60px;
    background: rgba(212, 160, 23, 0.05);
    border-radius: 8px;
    transform: rotate(45deg);
    bottom: 20%;
    left: 15%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(15deg); }
    50% { transform: translateY(-15px) rotate(20deg); }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(15, 34, 64, 0.85) 40%,
        rgba(21, 46, 84, 0.75) 70%,
        rgba(10, 22, 40, 0.88) 100%
    );
}

/* ===== NAVIGATION ===== */
.nav {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4A017;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #E8B828;
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: linear-gradient(135deg, #D4A017 0%, #E8B828 100%);
    color: #0A1628;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

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

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.btn-navy {
    background: #0F2240;
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-navy:hover {
    background: #152E54;
    transform: translateY(-2px);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    perspective: 1000px;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .scroll-reveal:nth-child(1) { transition-delay: 0.05s; }
    .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
    .scroll-reveal:nth-child(3) { transition-delay: 0.15s; }
    .scroll-reveal:nth-child(4) { transition-delay: 0.2s; }
    .scroll-reveal:nth-child(5) { transition-delay: 0.25s; }
    .scroll-reveal:nth-child(6) { transition-delay: 0.3s; }
}

/* ===== GALLERY HOVER ===== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: #1B3A68;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4A017;
}

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

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 br {
        display: none;
    }
}
