/* Custom styles for Lynn Benson Woodworking */

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

/* Cookie banner custom styles */
.cookie-consent-banner {
    backdrop-filter: blur(10px);
    border: 2px solid #8B4513;
}

/* Hover animations */
.transform {
    transition: transform 0.3s ease;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

/* Button styles */
.btn-woodland {
    background-color: #8B4513;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-woodland:hover {
    background-color: rgba(139, 69, 19, 0.9);
    transform: scale(1.05);
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d6d3d1;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

/* Navigation active state */
.nav-active {
    color: #8B4513;
    border-bottom: 2px solid #8B4513;
}

/* Hero section overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(139, 69, 19, 0.3));
}

/* Card shadows */
.card-shadow {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-shadow:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text shadows for readability */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive image styles */
.img-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.75rem;
}

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

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

::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 4px;
}

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

/* Animation for loading */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Mobile menu styles */
.mobile-menu-transition {
    transition: all 0.3s ease-in-out;
}

/* Contact form success state */
.form-success {
    background-color: #f0f9ff;
    border: 2px solid #22c55e;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #166534;
}

/* Star rating styles */
.star-rating {
    color: #DAA520;
}

/* Testimonial card styles */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Service card styles */
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
    border-color: #8B4513;
}

/* Footer styles */
.footer-link {
    color: #d6d3d1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}