/**
 * Washington Home Improvements - Homepage Styles
 * Clean, modern, professional design
 */

/* ========================================
   HERO SECTION - CLEAN & MODERN
   ======================================== */

.hero-home {
    position: relative;
    background: linear-gradient(135deg, #f9f7f2 0%, #ffffff 100%);
    padding: 100px 0 80px 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Floating Tools Graphics - Subtle */
.hero-graphics {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    opacity: 0.15;
}

.tool-graphic {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.3;
    filter: grayscale(20%);
}

.tool-1 {
    top: 10%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

.tool-2 {
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite 1s;
}

.tool-3 {
    top: 70%;
    right: 30%;
    animation: float 8s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ========================================
   SERVICES SECTION - CLEAN CARDS
   ======================================== */

.services-section {
    background: var(--color-white);
    padding: var(--spacing-section) 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-xl) auto;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.section-heading {
    font-size: 2.5rem;
    color: var(--color-grey);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 2px solid var(--color-off-white);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-yellow);
}

.service-card-icon {
    margin-bottom: var(--spacing-lg);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon svg {
    width: 60px;
    height: 60px;
}

.service-card-title {
    font-size: 1.5rem;
    color: var(--color-grey);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.service-card-description {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.service-card-link {
    display: inline-block;
    color: var(--color-yellow);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-card-link:hover {
    color: var(--color-red);
    transform: translateX(5px);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-section {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--color-yellow);
    margin-bottom: var(--spacing-md);
}

.benefit-item h3 {
    font-size: 1.25rem;
    color: var(--color-grey);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.benefit-item p {
    color: var(--color-text);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: var(--spacing-xl) 0;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-xl {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .hero-home {
        padding: 60px 0 40px 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-graphics {
        opacity: 0.08;
    }

    .tool-graphic {
        width: 80px;
        height: 80px;
    }

    .section-heading {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   BACKGROUND UTILITIES
   ======================================== */

.bg-off-white {
    background-color: var(--color-off-white);
}

.bg-yellow {
    background-color: var(--color-yellow);
}

.bg-white {
    background-color: var(--color-white);
}

/* ========================================
   SECTION POSITIONING FOR BACKGROUNDS
   ======================================== */

.seo-content-section,
.power-cta-section {
    position: relative;
    overflow: hidden;
}

/* ========================================
   BACKGROUND GRADIENT DECORATIONS
   ======================================== */

/* Hero Section Backgrounds */
.hero-bg-gradient {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
}

.gradient-top-left {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    animation: gradientFloat1 12s ease-in-out infinite;
}

.gradient-bottom-right {
    bottom: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    animation: gradientFloat2 15s ease-in-out infinite;
}

/* Section Backgrounds */
.section-bg-gradient {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.gradient-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    animation: gradientPulse 10s ease-in-out infinite;
}

.gradient-right {
    top: 20%;
    right: -150px;
    width: 400px;
    height: 400px;
    animation: gradientFloat1 14s ease-in-out infinite;
}

.gradient-left {
    top: 30%;
    left: -120px;
    width: 420px;
    height: 420px;
    animation: gradientFloat2 13s ease-in-out infinite;
}

.gradient-top-right {
    top: -80px;
    right: -80px;
    width: 450px;
    height: 450px;
    animation: gradientFloat1 11s ease-in-out infinite;
}

.gradient-bottom-left {
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    opacity: 0.12;
    animation: gradientFloat2 16s ease-in-out infinite;
}

/* Animations */
@keyframes gradientFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.05);
    }
}

@keyframes gradientFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.08);
    }
}

@keyframes gradientPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.06;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.08;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-bg-gradient {
        opacity: 0.04;
    }

    .gradient-top-left,
    .gradient-bottom-right {
        width: 300px;
        height: 300px;
    }

    .section-bg-gradient {
        opacity: 0.03;
    }

    .gradient-center,
    .gradient-right,
    .gradient-left,
    .gradient-top-right,
    .gradient-bottom-left {
        width: 250px;
        height: 250px;
    }
}
