/*
Theme Name: Scattolon Child
Theme URI: https://scattolondemolizioni.it
Description: Child theme di Scattolon - template per pagine SEO geografiche con veste grafica moderna
Author: Scattolon Autodemolizioni
Author URI: https://scattolondemolizioni.it
Template: scattolon
Version: 1.1.0
License: GPL v2 or later
Text Domain: scattolon-child
*/

/* ============================================
   PAGINE SEO CITTÀ - STILI MODERNI
   ============================================ */

/* --- HERO SECTION --- */
.seo-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    padding: 90px 0 80px;
    color: #fff;
    overflow: hidden;
    margin-bottom: 0;
}

.seo-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.seo-hero .container {
    position: relative;
    z-index: 2;
}

.seo-hero .hero-content {
    max-width: 800px;
}

.seo-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.seo-hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.seo-hero h1 span {
    color: #ffc107;
    display: block;
}

.seo-hero p.hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 620px;
}

.seo-hero .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.seo-hero .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffc107;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
    border: none;
}

.seo-hero .btn-hero:hover {
    background: #ffca2c;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5);
    color: #1a1a2e;
    text-decoration: none;
}

.seo-hero .btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 30px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.seo-hero .btn-hero-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

/* --- VANTAGGI / FEATURES --- */
.seo-features {
    background: #fff;
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 5;
    margin-bottom: 50px;
}

.seo-features .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.seo-features .feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid #ffc107;
}

.seo-features .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.seo-features .feature-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.seo-features .feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.seo-features .feature-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* --- CONTENUTO PRINCIPALE --- */
.seo-content {
    padding: 40px 0 60px;
    background: #fff;
}

.seo-content .content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 45px 0 20px;
    padding-left: 18px;
    border-left: 5px solid #ffc107;
    line-height: 1.3;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
}

.seo-content ul,
.seo-content ol {
    margin: 20px 0 25px;
    padding-left: 0;
    list-style: none;
}

.seo-content ol {
    counter-reset: step-counter;
}

.seo-content ul li,
.seo-content ol li {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    padding: 10px 0 10px 40px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.seo-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 26px;
    height: 26px;
    background: #ffc107;
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.seo-content ol li {
    counter-increment: step-counter;
    padding-left: 55px;
}

.seo-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 8px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.seo-content a {
    color: #0f3460;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #ffc107;
    transition: all 0.2s ease;
}

.seo-content a:hover {
    color: #ff9800;
    border-bottom-color: #ff9800;
    text-decoration: none;
}

.seo-content strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* --- BOX CTA FINALE --- */
.seo-cta-final {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
    border-radius: 0;
    margin-top: 50px;
}

.seo-cta-final h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px;
    border: none;
    padding: 0;
}

.seo-cta-final p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.seo-cta-final .cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* --- ZONE SERVIZIE (link interni) --- */
.seo-zones {
    background: #f8f9fa;
    padding: 40px 0;
    margin-top: 40px;
    border-radius: 12px;
}

.seo-zones h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    text-align: center;
}

.seo-zones .zones-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.seo-zones .zone-link {
    display: inline-block;
    background: #fff;
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.25s ease;
}

.seo-zones .zone-link:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35);
    text-decoration: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .seo-hero h1 { font-size: 34px; }
    .seo-hero p.hero-sub { font-size: 16px; }
    .seo-features .features-grid { grid-template-columns: 1fr; }
    .seo-content h2 { font-size: 24px; }
    .seo-cta-final h2 { font-size: 26px; }
}

@media (max-width: 576px) {
    .seo-hero { padding: 60px 0 50px; }
    .seo-hero h1 { font-size: 26px; }
    .seo-hero .btn-hero,
    .seo-hero .btn-hero-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    .seo-content h2 { font-size: 21px; padding-left: 14px; }
    .seo-cta-final h2 { font-size: 22px; }
}