/* Custom styles for Smokey Mountain Hardwood Floor Service */

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hero background overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(101, 67, 33, 0.9));
}

/* Service cards hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Button animations */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Form styling enhancements */
.form-field {
    position: relative;
}

.form-field input:focus + label,
.form-field textarea:focus + label {
    color: #8B4513;
    transform: translateY(-20px);
    font-size: 0.875rem;
}

/* Cookie banner styling */
.cookie-consent-banner {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.2);
}

/* FAQ accordion styling */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(139, 69, 19, 0.05);
}

.faq-content {
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.faq-content.active {
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(45deg);
}

/* Mobile menu animation */
.mobile-menu {
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.active {
    max-height: 300px;
}

/* Image hover effects */
.portfolio-image {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.portfolio-image:hover img {
    transform: scale(1.05);
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
}

/* Focus styles for accessibility */
.focus-visible:focus {
    outline: 2px solid #8B4513;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .cookie-consent-banner,
    nav,
    .no-print {
        display: none !important;
    }
    
    .print-break {
        page-break-before: always;
    }
}