/* Organic Spray at Deep Creek Lake — Custom Styles */

/* Base */
* { box-sizing: border-box; }
body { margin: 0; }

/* Smooth scrolling for anchor links */
html { scroll-behavior: smooth; }

/* Selection */
::selection { background: #c9a84c; color: #0a1628; }

/* Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: #0a1628;
    background-color: #faf9f7;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

/* Scroll reveal — default visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
}

/* Scroll reveal — animated only when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Line animation */
.line-anim {
    height: 1px;
    background: #c9a84c;
    width: 0;
    transition: width 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .line-anim.visible {
        width: 64px;
    }
}

/* Hero card glassmorphism */
.hero-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Floating animations */
.float-1 { animation: float1 6s ease-in-out infinite; }
.float-2 { animation: float2 7s ease-in-out infinite; }
.float-3 { animation: float3 8s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

@media (prefers-reduced-motion: reduce) {
    .float-1, .float-2, .float-3 { animation: none; }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Service card hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.12);
}

/* Gold button */
.gold-btn {
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.gold-btn:hover {
    transform: translateY(-1px);
}

/* Mobile menu */
.mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
}
.mobile-menu:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Input focus styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #c9a84c !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Image loading placeholder */
img {
    background-color: #ebe8e0;
}

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf9f7;
}
::-webkit-scrollbar-thumb {
    background: #162d55;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1e3a6e;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, #formSuccess { display: none !important; }
    body { color: #000; background: #fff; }
    .bg-navy-900 { background: #0a1628 !important; }
}
