/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(16, 42, 67, 0.08);
    backdrop-filter: blur(12px);
}

#navbar.light-bg .nav-logo-text {
    color: #102a43;
}

#navbar .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

#navbar.scrolled .nav-link,
#navbar.light-bg .nav-link {
    color: #102a43;
}

#navbar .nav-link:hover {
    color: #eab308;
}

#navbar.scrolled .nav-link:hover {
    color: #eab308;
}

#navbar .menu-line {
    background-color: rgba(255, 255, 255, 0.9);
}

#navbar.scrolled .menu-line,
#navbar.light-bg .menu-line {
    background-color: #102a43;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-link {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ========== MENU TABS ========== */
.menu-tab {
    background: transparent;
    border: 2px solid #d9e2ec;
    color: #486581;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    border-color: #102a43;
    color: #102a43;
}

.menu-tab.active {
    background: #102a43;
    border-color: #102a43;
    color: #ffffff;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SMOOTH SCROLL ========== */
html {
    scroll-behavior: smooth;
}

/* ========== SELECTION ========== */
::selection {
    background: #eab308;
    color: #102a43;
}

/* ========== FOCUS ========== */
:focus-visible {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #9fb3c8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #627d98;
}

/* ========== ANIMATIONS ========== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.75rem;
    }
    
    .floating {
        display: none;
    }
}
