/* Contatti */
.contatti {
    padding: 100px 2rem;
    background: #f8f9fa;
}

.contatti .section-title h2,
.contatti .section-title p {
    color: #141e30;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 30, 48, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.logo span {
    color: #454A4E;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: #454A4E;
}

/* Menu Hamburger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: #454A4E;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
    color: white;
    padding: 120px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero h1 span {
    color: #727272;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-primary {
    background: #727272;
    color: white;
    box-shadow: 0 4px 15px rgba(114, 114, 114, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: #5a5a5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 114, 114, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #141e30;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #141e30;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Chi Siamo */
.chi-siamo {
    padding: 100px 2rem;
    background: #f5f5f5;
}

.chi-siamo .section-title h2,
.chi-siamo .section-title p {
    color: #141e30;
}

.chi-siamo-content-full {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.chi-siamo-content-full p {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.95);
    line-height: 1.9;
    margin-bottom: 1.8rem;
}

.chi-siamo-content-full p:last-child {
    margin-bottom: 0;
}

/* Servizi */
.servizi {
    padding: 100px 2rem;
    background: white;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.servizio-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 4px solid #727272;
}

.servizio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-left-width: 6px;
}

.servizio-card h3 {
    font-size: 1.5rem;
    color: #141e30;
    margin-bottom: 1rem;
}

.servizio-card p {
    color: #666;
    line-height: 1.7;
}

/* Processo */
.processo {
    padding: 100px 2rem;
    background: #f5f5f5;
}

.processo .section-title h2,
.processo .section-title p {
    color: 141e30;
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.processo-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    position: relative;
}

.step-numero {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #727272 0%, #5a5a5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
}

.processo-step h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #141e30;
    font-size: 1.3rem;
}

.processo-step p {
    color: #666;
    line-height: 1.7;
}

/* Galleria Lavori */
.galleria {
    padding: 100px 2rem;
    background: white;
}

/* Progetto in Evidenza */
.progetto-evidenza {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.progetto-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.progetto-badge {
    display: inline-block;
    background: #727272;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.progetto-header h3 {
    font-size: 2.2rem;
    color: #141e30;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.progetto-subtitle {
    font-size: 1.15rem;
    color: #666;
    font-style: italic;
}

.progetto-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.progetto-descrizione p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.progetto-descrizione p:last-child {
    margin-bottom: 0;
}

.progetto-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    border-left: 3px solid #727272;
}

.highlight-item h4 {
    color: #141e30;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.progetto-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.progetto-foto {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.progetto-foto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.progetto-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-divider {
    text-align: center;
    margin: 4rem 0 3rem;
    padding: 2rem 0;
    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
}

.section-divider h3 {
    font-size: 1.8rem;
    color: #141e30;
    margin-bottom: 0.5rem;
}

.section-divider p {
    color: #666;
    font-size: 1.05rem;
}

.galleria-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.galleria-intro p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.galleria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.galleria-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 350px;
}

.galleria-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.galleria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galleria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
}

.galleria-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.galleria-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Vantaggi */
.vantaggi {
    padding: 100px 2rem;
    background: #141e30;
    color: white;
}

.vantaggi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.vantaggio {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.vantaggio:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.vantaggio h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #727272;
}

.vantaggio p {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contatti */
.contatti {
    padding: 100px 2rem;
    background: #f8f9fa;
}

.contatti-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contatti-info {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contatti-item {
    margin-bottom: 2rem;
}

.contatti-item h3 {
    color: #141e30;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contatti-item a {
    color: #727272;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.contatti-item a:hover {
    text-decoration: underline;
}

.contatti-item p {
    color: #666;
    margin-top: 0.5rem;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #1fbf58;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Social Links nella sezione contatti */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.social-btn.linkedin {
    background: #0A66C2;
    color: white;
}

.social-btn.linkedin:hover {
    background: #004182;
    transform: translateX(5px);
}

.social-btn.whatsapp {
    background: #25D366;
    color: white;
}

.social-btn.whatsapp:hover {
    background: #1fbf58;
    transform: translateX(5px);
}

.social-btn svg {
    flex-shrink: 0;
}

.mappa {
    background: #e0e0e0;
    border-radius: 12px;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.mappa iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: #141e30;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    display: none;
}

.footer-info p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-social h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #727272;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

footer a {
    color: #727272;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: #5a5a5a;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .chi-siamo-content,
    .contatti-content {
        grid-template-columns: 1fr;
    }

    /* Menu Mobile */
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: rgba(20, 30, 48, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        overflow-y: auto;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        transition: all 0.3s;
    }

    nav ul li a:hover {
        background: rgba(114, 114, 114, 0.15);
        padding-left: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .galleria-grid {
        grid-template-columns: 1fr;
    }

    .progetto-evidenza {
        padding: 2rem 1.5rem;
    }

    .progetto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .progetto-gallery {
        grid-template-columns: 1fr;
    }

    .progetto-foto {
        height: 220px;
    }

    .progetto-header h3 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .processo-grid,
    .servizi-grid,
    .vantaggi-grid {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }
    
    .logo-img,
    .footer-logo-img {
        height: 35px;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 30, 48, 0.98);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-content a {
    color: #727272;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-content a:hover {
    color: #5a5a5a;
}

#accept-cookies {
    background: #727272;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    white-space: nowrap;
}

#accept-cookies:hover {
    background: #5a5a5a;
    transform: translateY(-2px);
}