/* Custom styles for Richards & Lees Cabinet Shop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f4;
}
::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0d9488;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Hero split layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
@media (max-width: 1023px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Services cards */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA button */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.cta-button::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;
}
.cta-button:hover::before {
    left: 100%;
}

/* Image reveal animation */
.image-reveal {
    overflow: hidden;
    position: relative;
}
.image-reveal img {
    transition: transform 0.6s ease;
}
.image-reveal:hover img {
    transform: scale(1.05);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.active {
    transform: translateX(0);
}

/* Fade in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative elements */
.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
}

/* Quote style */
.editorial-quote {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid #0d9488;
}
.editorial-quote::before {
    content: '"';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    color: #0d9488;
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .editorial-headline {
        font-size: 2.5rem;
    }
    
    .hero-split {
        min-height: auto;
    }
    
    .service-card {
        transform: none !important;
    }
    
    .service-card:hover {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .cta-button,
    .mobile-menu,
    .image-reveal {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
