/* ========================================
   ABOUT US PAGE STYLES
   Silva's Remodeling 2025
   ======================================== */

/* Section Styling */
.about-section {
    padding: 80px 20px;
}

.about-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #014385 0%, #0A5CAA 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #1a1a1a;
    margin: 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   LEGACY SECTION
   ======================================== */

.legacy-content {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

.legacy-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #014385;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.legacy-card.highlight-card {
    background: linear-gradient(135deg, #014385 0%, #0A5CAA 100%);
    color: white;
    border-left: 5px solid #D4A017;
}

.legacy-card.highlight-card h3,
.legacy-card.highlight-card p {
    color: white;
}

.generation-badge {
    display: inline-block;
    background: #D4A017;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.generation-badge.current {
    background: white;
    color: #014385;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.legacy-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 15px 0;
    font-weight: 700;
}

.trade-specialties {
    font-size: 0.95rem;
    color: #D4A017;
    font-weight: 600;
    margin: 10px 0 20px 0;
    letter-spacing: 0.5px;
}

.highlight-card .trade-specialties {
    color: #FFD700;
}

.legacy-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin: 15px 0;
}

.legacy-card p strong {
    color: #014385;
    font-weight: 600;
}

.highlight-card p strong {
    color: #FFD700;
}

/* ========================================
   SERVICES OVERVIEW SECTION
   ======================================== */

.services-overview-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(1, 67, 133, 0.15);
    border-color: #014385;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 15px 0;
    font-weight: 700;
}

.service-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: #014385;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #D4A017;
    transform: translateX(5px);
}

/* ========================================
   SERVICE AREA SECTION
   ======================================== */

.service-area-section {
    background: linear-gradient(135deg, #014385 0%, #0A5CAA 100%);
    color: white;
}

.service-area-section .section-badge {
    background: white;
    color: #014385;
}

.service-area-section .section-header h2,
.service-area-section .section-subtitle {
    color: white;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 40px 0;
}

.city-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 18px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid #D4A017;
    color: #014385;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.city-item:hover {
    background: linear-gradient(135deg, #D4A017 0%, #E8C98F 100%);
    transform: translateY(-3px);
    border-color: #014385;
    color: white;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.service-area-note {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 40px;
    color: #333;
    line-height: 1.6;
}

.service-area-note a {
    color: #014385;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.service-area-note a:hover {
    color: #D4A017;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-section {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(1, 67, 133, 0.15);
    border-color: #D4A017;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin: 15px 0;
    font-weight: 700;
}

.benefit-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* ========================================
   CALL TO ACTION SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #014385 0%, #0A5CAA 100%);
    padding: 100px 20px;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-container h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.cta-container p {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    line-height: 1.7;
    margin: 20px 0;
}

.cta-subtext {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    margin: 30px 0 40px 0;
    color: #FFD700;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-btn-primary,
.cta-btn-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn-primary {
    background: #D4A017;
    color: white;
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.3);
}

.cta-btn-primary:hover {
    background: #B8860B;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: white;
    color: #014385;
    transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .about-section {
        padding: 60px 15px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .legacy-card {
        padding: 30px 20px;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .city-item {
        padding: 14px 10px;
        font-size: 0.95rem;
    }
    
    .service-card,
    .benefit-card {
        padding: 30px 25px;
    }
    
    .cta-section {
        padding: 80px 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
