/* ===== CUSTOM STYLES ===== */

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Scroll line animation */
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

.animate-scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.92) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(61, 43, 31, 0.08);
}

.nav-scrolled .nav-link {
    color: #3d2b1f;
}

.nav-scrolled #navbar .w-10 {
    background: #e0501e;
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

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

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Smooth focus styles */
input:focus, textarea:focus {
    outline: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8e8;
}
::-webkit-scrollbar-thumb {
    background: #e86d3f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c93a12;
}

/* Image hover zoom wrapper */
.group img {
    will-change: transform;
}

/* Subtle pattern overlay for hero */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232, 109, 63, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Print styles */
@media print {
    #navbar, #menu-toggle, .scroll-indicator { display: none; }
    body { color: #000; background: #fff; }
}
