/* Custom Styles for Toast on Hill */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-weight: 300;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #97183a;
}

/* Hero Animations */
.hero-subtitle {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-title {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-text {
    animation: slideUp 0.8s ease-out 0.6s both;
}

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

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(40px);
}

/* Navbar Styles */
#navbar {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(127, 22, 53, 0.1);
}

#navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7f1635;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-link {
    position: relative;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #7f1635;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #7f1635;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Menu Item Hover */
.group:hover h4 {
    transform: translateX(8px);
    transition: transform 0.3s ease;
}

/* Button Styles */
a {
    text-decoration: none;
}

/* Image Hover Effects */
.overflow-hidden img {
    transition: transform 0.6s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-title::after {
        content: ' ';
    }
}

/* Reduced Motion */
@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;
    }
}

/* Print Styles */
@media print {
    #navbar,
    #mobile-menu {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
