/* 
    Custom styles for The Bermuda Beach House
    Palette: Forest Green (#2C4A3B), Off-White (#F5F5F0), Gold Accent (#D4A373)
*/

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Base Typography Overrides */
body {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Navbar Transition */
#navbar {
    transition: background-color 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(245, 245, 240, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-image {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-image.visible {
    opacity: 1;
    transform: scale(1);
}

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

/* Form Focus States */
input:focus, textarea:focus {
    border-bottom-width: 2px;
    padding-bottom: 1px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #2C4A3B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3328;
}

/* Asymmetric Grid Adjustments */
@media (max-width: 767px) {
    .md\:col-span-5 {
        order: 2;
    }
    .md\:col-span-7 {
        order: 1;
        height: 400px;
    }
}
