/**
 * Washington Home Improvements - Hero Section
 * Simple homepage hero
 */

/* ========================================
   HERO SECTION - HOMEPAGE
   ======================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-homepage {
    background: linear-gradient(135deg, #1a2332 0%, #2a3e50 50%, #3d5a6e 100%);
    padding: var(--space-3xl) 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Blueprint pattern overlay */
.hero-homepage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(135, 206, 235, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(135, 206, 235, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

.hero-homepage-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge */
.hero-badge-home {
    display: inline-block;
    background: linear-gradient(135deg, #ff9100 0%, #ff7c00 100%);
    color: white;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-xl);
    box-shadow: 0 4px 15px rgba(255, 145, 0, 0.3);
}

/* Heading */
.hero-homepage-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    letter-spacing: -1px;
}

.title-highlight {
    background: linear-gradient(
        90deg,
        #ff9100 0%,
        #87CEEB 25%,
        #1a2332 50%,
        #87CEEB 75%,
        #ff9100 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowingGradient 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 145, 0, 0.5));
}

@keyframes glowingGradient {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(255, 145, 0, 0.6));
    }
    25% {
        background-position: 25% 50%;
        filter: drop-shadow(0 0 25px rgba(135, 206, 235, 0.6));
    }
    50% {
        background-position: 50% 50%;
        filter: drop-shadow(0 0 30px rgba(26, 35, 50, 0.4));
    }
    75% {
        background-position: 75% 50%;
        filter: drop-shadow(0 0 25px rgba(135, 206, 235, 0.6));
    }
}

/* Subtitle */
.hero-homepage-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    font-weight: 400;
}

/* CTA Buttons */
.hero-homepage-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-home svg,
.btn-home span {
    position: relative;
    z-index: 1;
}

.btn-home-orange {
    background: linear-gradient(135deg, #ff9100 0%, #ff7c00 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 145, 0, 0.3);
}

.btn-home-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 145, 0, 0.5);
}

.btn-home-blue {
    background: linear-gradient(135deg, #87CEEB 0%, #5FA8D3 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.3);
}

.btn-home-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(135, 206, 235, 0.5);
}

/* ========================================
   HORIZONTAL QUOTE BAR
   ======================================== */

.quote-bar {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #87CEEB;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.quote-bar-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr auto;
    gap: var(--space-md);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.quote-bar-form input,
.quote-bar-form select {
    padding: var(--space-md);
    border: 2px solid rgba(135, 206, 235, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quote-bar-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.quote-bar-form select {
    color: rgba(255, 255, 255, 0.7);
}

.quote-bar-form select option {
    background: #1a2332;
    color: white;
}

.quote-bar-form input:focus,
.quote-bar-form select:focus {
    outline: none;
    border-color: #ff9100;
    background: rgba(255, 255, 255, 0.2);
}

.quote-bar-form button {
    padding: var(--space-md) var(--space-xl);
    white-space: nowrap;
    color: white;
    background: linear-gradient(135deg, #ff9100 0%, #ff7c00 100%);
    border: 2px solid #ff9100;
}

.quote-bar-form button:hover {
    background: white;
    border-color: white;
    color: #1a2332;
}


/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 968px) {
    .hero-homepage {
        min-height: 500px;
        padding: var(--space-2xl) var(--space-lg);
    }

    .hero-homepage-content {
        padding: 0 var(--space-md);
    }

    .hero-homepage-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-home {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .quote-bar-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-homepage {
        min-height: 450px;
        padding: var(--space-xl) var(--space-md);
    }

    .hero-badge-home {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-md);
    }

    .hero-homepage-title {
        font-size: 2rem;
    }

    .hero-homepage-subtitle {
        font-size: 0.9375rem;
    }
}
