/* Page Hero */
.page-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-image: url('../images/hero-servizi.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 2rem;
}

.page-hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Servizi Intro */
.servizi-intro {
    padding: 5rem 0;
    background-color: #ffffff;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-secondary);
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.8;
}

/* Servizi Details */
.servizi-details {
    padding: 3rem 0;
}

.servizio-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 6rem;
}

.servizio-item.reverse {
    direction: rtl;
}

.servizio-item.reverse > * {
    direction: ltr;
}

.servizio-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.servizio-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.servizio-item:hover .servizio-image img {
    transform: scale(1.05);
}

.servizio-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.servizio-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.servizio-content > p {
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.servizio-features {
    list-style: none;
    margin-top: 2rem;
}

.servizio-features li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--color-text);
    line-height: 1.7;
}

.servizio-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Processo Section */
.processo {
    padding: 6rem 0;
    background-color: #f8f8f8;
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.processo-step {
    background-color: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed) ease;
}

.processo-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #c19b2e 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0 auto 1.5rem;
}

.processo-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.processo-step p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #c19b2e 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-content .btn-primary {
    background-color: #ffffff;
    color: var(--color-primary);
}

.cta-content .btn-primary:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
}

/* Responsive - Tablet */
@media screen and (max-width: 1024px) {
    .servizio-item {
        gap: 3rem;
    }
    
    .processo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile */
@media screen and (max-width: 768px) {
    .page-hero {
        height: 50vh;
        background-attachment: scroll;
    }
    
    .page-hero-content h1 {
        font-size: 3rem;
    }
    
    .page-hero-content p {
        font-size: 1.2rem;
    }
    
    .servizi-intro {
        padding: 4rem 0;
    }
    
    .intro-content h2 {
        font-size: 2.5rem;
    }
    
    .servizi-details {
        padding: 2rem 0;
    }
    
    .servizio-item,
    .servizio-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
        direction: ltr;
    }
    
    .servizio-content h2 {
        font-size: 2rem;
    }
    
    .servizio-lead {
        font-size: 1.1rem;
    }
    
    .processo {
        padding: 4rem 0;
    }
    
    .processo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 480px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero-content p {
        font-size: 1rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .servizio-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

