/* ===================================
   Napoli Fumaioli Expert - Stylesheet
   Mediterranean blue/gold palette
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Nunito:wght@400;500;600;700&display=swap');

:root {
    --primary: #003566;
    --accent: #ffd166;
    --red: #ef233c;
    --light: #f0f4ff;
    --text: #1d2645;
    --text-light: #6b7a99;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(0, 53, 102, 0.13);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-wrap svg {
    width: 48px;
    height: 48px;
}

.logo-text {
    color: var(--white);
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1;
}

.logo-text span {
    color: var(--accent);
    display: block;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

.header-phone:hover {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
}

.hero {
    background: linear-gradient(120deg, #001d3d 0%, var(--primary) 60%, #023e8a 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(255, 209, 102, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 209, 102, 0.55);
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.9rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-num {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 2rem;
    color: var(--accent);
}

.stat-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-wrap svg {
    width: 100%;
    max-width: 490px;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
}

section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0.75rem 0 1.5rem;
}

.services-section {
    background: var(--light);
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.25s;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.7rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.88rem;
}

.benefits-section {
    background: var(--primary);
    color: var(--white);
}

.benefits-section .section-title {
    color: var(--white);
}

.benefits-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    height: 100%;
    border: 1px solid rgba(255, 209, 102, 0.15);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.benefit-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
}

.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--light);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    border-left: 4px solid var(--primary);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.12;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.stars {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
}

.testimonial-card p {
    color: var(--text);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.reviewer-name {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.88rem;
}

.reviewer-location {
    color: var(--text-light);
    font-size: 0.78rem;
}

.contact-section {
    background: var(--light);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.form-control,
.form-select {
    border: 2px solid #d4dfee;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 53, 102, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), #023e8a);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.contact-info-box {
    background: var(--primary);
    border-radius: 12px;
    padding: 3rem 2rem;
    color: var(--white);
    height: 100%;
}

.contact-info-box h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-detail h5 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.2rem;
}

.contact-detail p {
    font-size: 0.9rem;
}

.contact-detail a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.site-footer {
    background: #001d3d;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 0 1rem;
    font-size: 0.82rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.page-hero {
    background: linear-gradient(135deg, #001d3d, var(--primary));
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 2.4rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
}

.page-content {
    padding: 4rem 0;
}

.page-content h2 {
    font-family: 'Merriweather', serif;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.page-content p,
.page-content li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.checkmark-circle {
    width: 90px;
    height: 90px;
    background: rgba(255, 209, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.8rem;
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }

    .site-header {
        position: relative;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-image-wrap {
        display: none;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }

    .contact-info-box {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}