/* Custom styles for Folloder Texas LLC */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a0a1e;
}
::-webkit-scrollbar-thumb {
    background: #4a1d56;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b2a7a;
}

/* Selection */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(6px); }
}

/* Hero animations */
.hero-anim {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}
.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.25s; }
.hero-anim:nth-child(3) { animation-delay: 0.4s; }
.hero-anim:nth-child(4) { animation-delay: 0.55s; }
.hero-anim:nth-child(5) { animation-delay: 0.7s; }

.hero-visual {
    animation: slideInRight 1s ease 0.5s forwards;
    opacity: 0;
}

/* Scroll line */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Section animations */
.section-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About visual */
.about-visual {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.about-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Navbar transition */
nav.scrolled {
    background: rgba(26, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu */
.mobile-menu-open {
    overflow: hidden;
}

#mobile-menu.menu-open {
    opacity: 1;
    pointer-events: all;
}

/* Mobile link animation */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#mobile-menu.menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
#mobile-menu.menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
#mobile-menu.menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
#mobile-menu.menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }

/* Menu toggle animation */
.menu-open .menu-line-1 {
    transform: rotate(45deg) translate(4px, 4px);
}
.menu-open .menu-line-2 {
    opacity: 0;
}
.menu-open .menu-line-3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

/* Gold shimmer on hover for service cards */
.group:hover .border-amber-400\/30 {
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.15);
}

/* Image hover zoom */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-visual {
        display: none;
    }
    
    #hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, .scroll-line {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
