/* Custom Animations & Utilities */

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

/* Navbar Glass Effect */
.nav-scrolled {
    background-color: rgba(249, 247, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

/* Hero Animation */
.hero-title-line {
    transform: translateY(100%);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.1s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.2s;
}

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

.hero-text {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Scroll Reveal Classes */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-active.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.reveal-active.reveal-left {
    opacity: 1;
    transform: translateX(0);
}

.reveal-active.reveal-right {
    opacity: 1;
    transform: translateX(0);
}

/* Form Focus Styles */
input:focus, select:focus {
    background-color: transparent;
}

/* Selection Color */
::selection {
    background-color: #C27A58;
    color: white;
}
