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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(100, 180, 140, 0.3);
    color: #e3f4ed;
}

/* ========== NAVBAR ========== */
.nav-header {
    background: rgba(6, 13, 32, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(100, 180, 140, 0.08);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-header.scrolled {
    background: rgba(6, 13, 32, 0.96);
    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: 1px;
    background: #63bf94;
    transition: width 0.3s ease;
}

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

/* ========== HERO DECORATIONS ========== */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-deco-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(61, 166, 119, 0.08) 0%, transparent 70%);
}

.hero-deco-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(61, 166, 119, 0.06) 0%, transparent 70%);
}

.hero-deco-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 30%;
    background: radial-gradient(circle, rgba(100, 180, 140, 0.05) 0%, transparent 70%);
    animation: float-slow 8s ease-in-out infinite;
}

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

/* ========== OFFERING CARDS ========== */
.offering-card {
    transform: translateY(0);
}

.offering-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(100, 180, 140, 0.15);
}

/* ========== GALLERY ========== */
.gallery-item {
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 32, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    position: relative;
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .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; }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(45, 69, 128, 0.8);
    border: 1px solid rgba(100, 180, 140, 0.3);
    color: #98d5b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(61, 166, 119, 0.6);
    color: #f4fbf8;
}

/* ========== MOBILE MENU ANIMATION ========== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ========== FORM STYLES ========== */
.contact-input {
    background: rgba(15, 26, 64, 0.6);
    border: 1px solid rgba(100, 180, 140, 0.2);
    color: #e3f4ed;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus {
    outline: none;
    border-color: rgba(100, 180, 140, 0.6);
    box-shadow: 0 0 0 3px rgba(100, 180, 140, 0.1);
}

.contact-input::placeholder {
    color: rgba(152, 213, 184, 0.4);
}

/* ========== UTILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
