/* =============================================
   BENJI'S CUTS - Homepage Styles
   ============================================= */

/* ---------------------------------------------
   Hero Section
   --------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        var(--black);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--chrome) 0%, var(--silver) 50%, var(--chrome) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray);
}

.hero-stats .stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--silver);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--silver);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--silver), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ---------------------------------------------
   Services Preview
   --------------------------------------------- */
.services-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Popular Services - Booking Buttons */
.popular-services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.popular-service-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--dark);
    border: 1px solid var(--gray);
    border-radius: 12px;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.popular-service-btn:hover {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(201, 162, 39, 0.05) 100%);
    transform: translateX(8px);
}

.popular-service-btn:hover .service-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.popular-service-btn .service-info {
    flex: 1;
}

.popular-service-btn .service-info h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--chrome);
}

.popular-service-btn .service-meta {
    font-size: 0.8125rem;
    color: var(--silver);
}

.popular-service-btn .service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.popular-service-btn .service-arrow {
    width: 24px;
    height: 24px;
    color: var(--silver);
    transition: all var(--transition);
}

.popular-service-btn .service-arrow svg {
    width: 100%;
    height: 100%;
}

.service-card {
    background: var(--dark);
    border: 1px solid var(--gray);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--silver);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--silver);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-name {
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--silver);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray);
}

.service-duration {
    font-size: 0.8125rem;
    color: var(--silver);
}

.service-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.section-cta {
    text-align: center;
}

/* ---------------------------------------------
   Gallery Marquee (Auto-scrolling)
   --------------------------------------------- */
.gallery-marquee {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.gallery-marquee:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-track img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: all var(--transition-slow);
}

.gallery-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 6 - 1rem * 6));
    }
}

/* ---------------------------------------------
   CTA Section
   --------------------------------------------- */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--dark) 100%);
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--silver);
    margin-bottom: 2rem;
}

/* ---------------------------------------------
   Responsive
   --------------------------------------------- */
@media (max-width: 1024px) {
    .services-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 1rem 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 2rem;
    }
    
    .services-preview {
        grid-template-columns: 1fr;
    }
    
    .gallery-track img {
        width: 200px;
        height: 200px;
    }
    
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 6 - 1rem * 6));
        }
    }
    
    .hero-scroll {
        display: none;
    }
}
