/* ============================================
   SERVIZI ITALIA PRO - MAIN STYLESHEET
   Clean, Fast, Mobile-First Design
   ============================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #1e1e1e;
    background: #f4f7f8;
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #1F7A8C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F4A261;
}

/* === TOP BANNER === */
.top-banner {
    background: #1F7A8C;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.top-banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.top-banner a:hover {
    color: #F4A261;
}

/* === HEADER === */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F7A8C;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #1e1e1e;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1F7A8C;
    border-bottom-color: #1F7A8C;
}

.lang-switch {
    padding: 6px 12px;
    background: #f4f7f8;
    border-radius: 4px;
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1F7A8C;
}

/* === HERO SECTION === */
.hero {
    padding: 80px 5% 60px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f8 100%);
}

.hero h1 {
    color: #1F7A8C;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #F4A261;
    color: #fff;
}

.btn-primary:hover {
    background: #e89450;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1F7A8C;
    border: 2px solid #1F7A8C;
}

.btn-secondary:hover {
    background: #1F7A8C;
    color: #fff;
}

.btn-submit {
    background: #1F7A8C;
    color: #fff;
    width: 100%;
}

.btn-submit:hover {
    background: #176571;
}

/* === SECTIONS === */
section {
    padding: 60px 5%;
}

.form-section,
.services,
.why-us,
.contact-section,
.content-section {
    background: #fff;
    margin: 20px 5%;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
}

/* === SERVICE GRID === */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: #f4f7f8;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #1F7A8C;
}

.card h3 {
    color: #1F7A8C;
    margin-bottom: 15px;
}

.card p {
    color: #555;
    margin-bottom: 15px;
}

.card-link {
    color: #F4A261;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-badge {
    display: inline-block;
    background: #F4A261;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* === FEATURES GRID === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature h3 {
    color: #1F7A8C;
    margin-bottom: 10px;
}

.feature p {
    color: #555;
}

/* === FORMS === */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1F7A8C;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    margin: 3px 0 0 0;
    width: auto;
}

/* === CALCULATOR === */
.calculator-section {
    background: linear-gradient(135deg, #f4f7f8 0%, #e8f1f3 100%);
}

.calculator-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e1e1e;
}

.calculator-result {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid #1F7A8C;
}

.result-label {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.result-price {
    font-size: 3rem;
    font-weight: 700;
    color: #1F7A8C;
    margin: 10px 0;
}

.result-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* === SERVICE DETAIL PAGES === */
.service-detail {
    padding: 60px 5%;
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail ul {
    margin: 20px 0 30px 20px;
    line-height: 1.8;
}

.service-detail li {
    color: #555;
    margin-bottom: 8px;
}

.alt-bg {
    background: #f4f7f8;
}

.coming-soon-section {
    background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
    border: 2px dashed #F4A261;
}

/* === FAQ === */
.faq {
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    background: #f4f7f8;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #1F7A8C;
    margin-bottom: 12px;
}

.faq-item p {
    color: #555;
    margin: 0;
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info h3 {
    color: #1F7A8C;
    margin-bottom: 20px;
}

.contact-info p {
    color: #555;
    margin-bottom: 12px;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, #1F7A8C 0%, #176571 100%);
    color: #fff;
    text-align: center;
    padding: 60px 5%;
    margin: 40px 5%;
    border-radius: 12px;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    color: #e0f2f5;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* === FOOTER === */
.footer {
    background: #1e1e1e;
    color: #fff;
    padding: 50px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #F4A261;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #F4A261;
}

.footer-col p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #888;
}

/* === THANK YOU PAGE === */
.thank-you {
    text-align: center;
    padding: 100px 5%;
}

.thank-you h1 {
    color: #1F7A8C;
    margin-bottom: 20px;
}

/* === MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .header {
        padding: 15px 5%;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 50px 5% 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .form-section,
    .services,
    .why-us,
    .contact-section,
    .content-section {
        margin: 20px 0;
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .result-price {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* === PRINT STYLES === */
@media print {
    .header,
    .footer,
    .top-banner,
    .btn-primary,
    .btn-secondary,
    .btn-submit {
        display: none;
    }
}
