/* Custom Styles for YRA HOUSE */

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

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

h1, h2, h3, .font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-200 {
    transition-delay: 200ms;
}

/* Hero Animations */
.hero-title {
    animation: slideUp 1s ease-out forwards 0.2s;
}

.hero-subtitle {
    animation: slideUp 1s ease-out forwards 0.4s;
}

.hero-text {
    animation: slideUp 1s ease-out forwards 0.6s;
}

.hero-btn {
    animation: slideUp 1s ease-out forwards 0.8s;
}

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

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

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

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

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

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

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