/* Custom styles for Amy's Eddie's Cove */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #8fb892;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4a7a4e;
}

/* Selection color */
::selection {
    background: #dce8df;
    color: #1c3a27;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Navbar styles */
.nav-scrolled {
    background: rgba(253, 251, 247, 0.92) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(45, 90, 61, 0.08);
}

.nav-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

/* Card hover effects */
.menu-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2D5A3D, #6a9a6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative divider */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2D5A3D, #8fb892);
    border-radius: 2px;
}

/* Mobile menu transitions */
.mobile-menu-open {
    transform: translateX(0) !important;
}

.mobile-menu-closed {
    transform: translateX(100%) !important;
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

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