/* ===== Base & Utilities ===== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

.reveal[data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== Navbar ===== */
.nav-text {
    color: rgba(255, 255, 255, 0.9);
}

#navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Hero ===== */
#hero {
    scroll-margin-top: 0;
}

/* ===== Highlights ===== */
.highlight-item {
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
}

/* ===== Menu Items ===== */
.menu-item {
    transition: all 0.2s ease;
}

.menu-item:hover .menu-item-title {
    color: rgb(13, 148, 136);
}

/* ===== Buttons ===== */
.btn-primary {
    background: white;
    color: rgb(13, 148, 136);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgb(254, 243, 199);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    color: rgb(251, 191, 36);
}

/* ===== Card Hover ===== */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== Scroll Animation (Gallery) ===== */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgb(20, 184, 166);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: rgb(20, 184, 166);
    color: white;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
