/* ===== SERVIZI PAGE STYLES ===== */

/* Page Header */
.page-header {
    background-color: var(--secondary);
    color: white;
    padding: 120px 0 60px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/wallpaper/pattern-dots.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s;
}

.page-header p {
    font-size: 1.25rem;
    animation: fadeInUp 1s;
}

/* Services Navigation */
.services-nav {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tab {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-tab:hover {
    background-color: var(--primary-light);
    color: white;
}

.service-tab.active {
    background-color: var(--primary);
    color: white;
}

/* Service Sections */
.service-section {
    padding: 80px 0;
}

.service-section:nth-child(odd) {
    background-color: var(--light);
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.service-image {
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.5s ease, border-radius 0.3s ease;
    border-radius: 10px;
}

.service-image:hover {
    transform: scale(1.05);
    border-radius: 20px;
}

/* Service Cards */
.service-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 36px;
    color: white;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-service {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-service:hover {
    background-color: var(--primary);
    color: white;
}

/* CTA Section */
.cta-section {
    background-color: var(--accent);
    color: var(--dark);
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-buttons .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.cta-buttons .btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.cta-buttons .btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

/* Responsive styles are centralized in responsive.css */