/* Custom Styles for The Neve Seibert Team */

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

body {
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: #872d44;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a33851;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.mobile-nav-link:hover {
    padding-left: 12px;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::before {
    width: 4px;
}

/* Hero Animations */
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Section Styles */
.section-label {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out 0.1s;
}

.section-divider {
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.6s ease-out 0.2s;
}

.section-label.visible,
.section-title.visible,
.section-divider.visible {
    opacity: 1;
    transform: translateY(0) scaleX(1);
}

/* Service Cards */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

/* About Section */
.about-image-container {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.about-image-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out 0.2s;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-stat {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.about-stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-stat:nth-child(1) { transition-delay: 0.3s; }
.about-stat:nth-child(2) { transition-delay: 0.4s; }
.about-stat:nth-child(3) { transition-delay: 0.5s; }

/* Approach Section */
.approach-step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.approach-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.approach-step:nth-child(1) { transition-delay: 0.1s; }
.approach-step:nth-child(2) { transition-delay: 0.2s; }
.approach-step:nth-child(3) { transition-delay: 0.3s; }

/* Contact Form */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #872d44;
    box-shadow: 0 0 0 3px rgba(135, 45, 68, 0.1);
}

.form-submit {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

/* Back to Top Button */
.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(135, 45, 68, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-title,
    .contact-title {
        font-size: 2rem;
    }
    
    .approach-number {
        font-size: 4rem !important;
    }
}

/* Print Styles */
@media print {
    .fixed,
    .back-to-top,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-burgundy-950,
    .bg-burgundy-900 {
        background: #fff !important;
        color: #000 !important;
    }
}
