/* Custom styles beyond Tailwind */

/* Smooth focus outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d46838;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Hero image section - ensure it covers full height on mobile too */
#hero {
    min-height: 100vh;
    overflow: hidden;
}

/* Subtle pattern overlay on hero image */
.hero-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58, 21, 12, 0.15) 0%, transparent 60%);
}

.hero-img {
    position: relative;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 252, 250, 0.97) !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(8px);
}

.nav-scrolled .font-serif {
    color: #a14021 !important;
}

.nav-scrolled .text-stone-500 {
    color: #78716c !important;
}

.nav-scrolled a:not(.bg-terracotta-600) {
    color: #57534e !important;
}

/* Mobile menu animation */
#mobileMenu.open {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hamburger animation */
#menuBtn.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active #bar2 {
    opacity: 0;
}
#menuBtn.active #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Decorative serif italic accents */
.serif-accent {
    font-style: italic;
    color: #d46838;
}

/* Testimonial card hover */
#testimonials .bg-white:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Subtle texture on sand backgrounds */
.bg-sand-100,
.bg-sand-50 {
    background-image: radial-gradient(ellipse at 20% 50%, rgba(210, 171, 99, 0.05) 0%, transparent 50%);
}

/* Print styles */
@media print {
    nav, #contactForm, .reveal { display: block !important; opacity: 1 !important; transform: none !important; }
    .hero-img { background: none !important; }
}
