/* Window Styles Page Styling */

/* Service Hero - Dark Background */
.service-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 8rem 2rem 5rem;
    text-align: center;
    color: white;
}

.service-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.service-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.service-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button overrides for dark hero background */
.service-hero-cta .btn-primary {
    background: var(--green);
    color: white;
    border: 2px solid var(--green);
}

.service-hero-cta .btn-primary:hover {
    background: #7a8a4b;
    border-color: #7a8a4b;
}

.service-hero-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.service-hero-cta .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 2.5rem 0;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.8);
}

/* Comparison Section */
.styles-comparison-section {
    padding: 4rem 2rem;
    background: white;
}

.styles-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-dark);
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Window Cards */
.window-card {
    background: white;
    border-radius: 16px;
    border: 2px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.window-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: var(--green);
}

.window-card.featured-card {
    border-color: var(--green);
    box-shadow: 0 4px 16px rgba(139, 154, 91, 0.2);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    color: white;
}

.badge-blue { background: #2196f3; }
.badge-purple { background: #9c27b0; }
.badge-green { background: #4caf50; }
.badge-orange { background: #ff9800; }
.badge-pink { background: #e91e63; }
.badge-purple-dark { background: #673ab7; }

.card-image {
    height: 220px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.card-image img {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.card-content p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    width: 100%;
    transition: gap 0.2s;
}

.card-btn:hover {
    gap: 0.5rem;
}

/* Social Proof */
.social-proof-section {
    padding: 3rem 2rem;
    background: white;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.social-proof-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.proof-item {
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.proof-text {
    font-size: 1rem;
    color: var(--gray-dark);
}

/* Final CTA */
.final-cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--green) 0%, #7a9647 100%);
    text-align: center;
    color: white;
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.final-cta-container p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .hero-stat {
        flex: 1;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .service-hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .service-hero-cta .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
        flex: 1;
        max-width: 180px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .styles-grid {
        grid-template-columns: 1fr;
    }
    
    .social-proof-container {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .proof-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .btn-xl {
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .service-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-hero-cta .btn {
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
