/* 
 * Custom Styles for Dan's Cottages
 * Editorial Design: Playfair Display + Inter
 * Palette: Emerald Green (#064e3b) + Cream (#FDFCF8)
 */

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

body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FDFCF8;
}
::-webkit-scrollbar-thumb {
    background: #064e3b;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #022c22;
}

/* Editorial Line Decorations */
.editorial-line {
    position: relative;
    display: inline-block;
}
.editorial-line::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background-color: #064e3b;
    opacity: 0.2;
}

/* Image Hover Zoom Effect */
img {
    transition: transform 0.5s ease;
}
.group:hover img {
    transform: scale(1.05);
}

/* Asymmetric Hero Layout Adjustments */
@media (min-width: 1024px) {
    .hero-image-wrapper {
        margin-top: 4rem;
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Form Focus States */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

/* Animation Classes (Progressive Enhancement) */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure text readability on all backgrounds */
.bg-emerald-850 { background-color: #064e3b; }
