/* Custom styles for Froyo Freeze */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF6F0;
}
::-webkit-scrollbar-thumb {
    background: #d4a056;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c28542;
}

/* Selection color */
::selection {
    background: #d44a28;
    color: #faf5eb;
}

/* Subtle pattern for hero */
.pattern-overlay {
    background-image: radial-gradient(circle, rgba(253,250,240,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Fade-in animation for scroll reveals */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar active state */
.nav-scrolled {
    background: rgba(44, 24, 16, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Image hover zoom */
.overflow-hidden img {
    transition: transform 0.7s ease;
}
.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Form styles */
input, textarea {
    border: 1px solid #ebd5a8;
    background: #faf5eb;
    color: #2C1810;
    transition: border-color 0.3s ease;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #d44a28;
}

/* Success message */
.success-message {
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
