/* Custom styles for Randy Pepper Millworks */

/* Base */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #020617;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #14b8a6, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Gallery Swiper */
.gallerySwiper {
    padding-bottom: 60px !important;
}

.swiper-pagination-bullet {
    background: #14b8a6 !important;
    opacity: 0.3 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Smooth focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* Selection */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f0fdfa;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem !important;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    #hero h1 {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
    }
}
