/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: #0f3a2e;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a373;
}

/* Selection */
::selection {
    background: #d4a373;
    color: #fdfbf7;
}

/* Navigation */
.nav-logo {
    letter-spacing: 0.15em;
}

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 1px 0 rgba(15, 58, 46, 0.1);
}

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

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger Animation */
#menu-btn.active #line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
    width: 8px;
}

#menu-btn.active #line2 {
    transform: rotate(45deg);
    width: 8px;
}

/* Hero Animations */
.hero-sub {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-desc {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

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

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Gallery Hover */
#gallery img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#gallery .col-span-2:hover img,
#gallery .row-span-2:hover img {
    transform: scale(1.02);
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #d4a373 !important;
}

/* Menu Item Hover */
.group:hover h4 {
    transform: translateX(8px);
    transition: transform 0.3s ease;
}

/* Button Hover */
button[type="submit"]:active {
    transform: scale(0.98);
}

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print Styles */
@media print {
    nav, #gallery, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
