/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #FDFCFA;
    color: #0B1D3A;
}

/* Navbar */
.nav {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(11, 29, 58, 0.97);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(178, 245, 220, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: #5EEAD4;
}

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

.nav-cta {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0B1D3A;
    background: #5EEAD4;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-cta:hover {
    background: #3DD6A0;
    transform: translateY(-1px);
}

.nav-menu-btn {
    background: none;
    border: none;
    color: #D8FDF0;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.nav-menu-btn:hover {
    color: #5EEAD4;
}

.mobile-menu {
    background: rgba(11, 29, 58, 0.98);
    backdrop-filter: blur(20px);
}

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

.mobile-menu-link {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: #D8FDF0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #5EEAD4;
}

.mobile-menu-cta {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7CE8C0;
    text-decoration: none;
}

/* Hero */
.hero {
    position: relative;
}

.hero-img {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        to right,
        rgba(11, 29, 58, 0.95) 0%,
        rgba(11, 29, 58, 0.85) 40%,
        rgba(11, 29, 58, 0.6) 60%,
        rgba(11, 29, 58, 0.4) 100%
    );
}

.hero-eyebrow {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-headline {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.hero-sub {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

.hero-portrait {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.9s;
}

.hero-scroll-indicator {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1.2s;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #5EEAD4;
    color: #0B1D3A;
    padding: 14px 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-primary:hover {
    background: #3DD6A0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(94, 234, 212, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #D8FDF0;
    padding: 14px 28px;
    border: 1px solid rgba(94, 234, 212, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
}

.btn-secondary:hover {
    background: rgba(94, 234, 212, 0.1);
    border-color: #5EEAD4;
}

.btn-mint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0B1D3A;
    color: #D8FDF0;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', system-ui, sans-serif;
    text-decoration: none;
}

.btn-mint:hover {
    background: #091830;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 29, 58, 0.3);
}

/* Section Headers */
.section-eyebrow {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #1F996E;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    color: #0B1D3A;
    line-height: 1.1;
}

/* Service Cards */
.service-card {
    transition: all 0.4s ease;
}

.service-icon {
    transition: all 0.4s ease;
}

/* About */
.about-img {
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.02);
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

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

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Contact */
.contact-icon {
    transition: transform 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
}

.form-input {
    background: #FDFCFA;
    border: 1px solid rgba(94, 234, 212, 0.3);
    color: #0B1D3A;
    padding: 12px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
}

.form-input:focus {
    outline: none;
    border-color: #5EEAD4;
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.1);
}

.form-input::placeholder {
    color: #9DB5D9;
}

.form-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239DB5D9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Footer */
.footer {
    background: #030912;
}

.footer-logo {
    text-decoration: none;
}

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

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

/* Mobile Menu */
#mobile-menu {
    background: rgba(11, 29, 58, 0.98);
    backdrop-filter: blur(20px);
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Responsive */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 3rem;
    }

    .hero-portrait {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-img {
        height: 300px !important;
    }

    .about-img-accent {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 4.5rem;
    }

    .about-img {
        height: 450px !important;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 5.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus Styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #5EEAD4;
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2AB886;
}
