/* Base styles and custom overrides */
:root {
    --color-navy-900: #0a1628;
    --color-navy-800: #112240;
    --color-gold-400: #d4a853;
    --color-gold-500: #c9a227;
}

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

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

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #c9a227;
    border-radius: 3px;
}

/* Selection */
::selection {
    background: #d4a853;
    color: #0a1628;
}

/* Hero animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.3s;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll line animation */
.scroll-line-fill {
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(100%); }
    100% { transform: translateY(100%); }
}

/* Service cards */
.service-card {
    transition: background-color 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon {
    transition: transform 0.3s ease, color 0.5s ease;
}

/* Gallery */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.7s ease;
}

/* Contact form inputs */
.contact-input {
    border: none;
    border-bottom: 1px solid rgba(10, 22, 40, 0.15);
    padding: 0.75rem 0;
    outline: none;
    transition: border-color 0.3s ease;
    background: transparent;
    font-family: 'Inter', system-ui, sans-serif;
}

.contact-input:focus {
    border-bottom-color: #d4a853;
}

.contact-input::placeholder {
    color: rgba(10, 22, 40, 0.3);
}

.contact-input select {
    color: rgba(10, 22, 40, 0.5);
}

.contact-input select:focus {
    border-bottom-color: #d4a853;
}

/* Navbar scroll state */
.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.08);
}

.nav.scrolled .nav-text {
    color: #0a1628;
}

.nav.scrolled .nav-link {
    color: #112240;
}

.nav.scrolled .menu-line {
    background: #0a1628;
}

/* Mobile menu */
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    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; }

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}
