/* Custom styles for Oxygen Retreat */

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

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

::-webkit-scrollbar-track {
    background: #F5F2EB;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #5a1620;
}

/* Reveal animations */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s ease forwards;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.4s;
}

.reveal-text:nth-child(4) {
    animation-delay: 0.6s;
}

.reveal-image {
    opacity: 0;
    transform: translateX(30px);
    animation: revealRight 0.8s ease 0.4s forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(245, 242, 235, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile menu animations */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #781f2c;
    outline-offset: 2px;
}

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-burgundy {
        background: #781f2c !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
