/* Custom Styles for Ziggurat Bed & Breakfast */

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

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll State */
#navbar.scrolled {
    background-color: rgba(15, 28, 21, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #c9a86c 0%, #e0c494 50%, #c9a86c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #0f1c15;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #e0c494;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(201, 168, 108, 0.2);
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
    
    button:hover,
    a:hover {
        transition: none;
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-out;
}
