* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

body.loaded {
    animation: pageLoad 0.6s ease;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-element {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

button, .btn-primary, .btn-google, .btn-directions {
    position: relative;
    overflow: hidden;
}

header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.servizio-card, .valore-box, .feature-card {
    perspective: 1000px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item img, .placeholder-box img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contatti-form input, .contatti-form textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-number {
    font-weight: bold;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex: 1;
    z-index: 1001;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    color: #dc0000;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    color: #ffffff;
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
    opacity: 0.9;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc0000;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #dc0000;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.hamburger {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    margin-top: -1.5px;
    background-color: #dc0000;
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    margin-top: -1.5px;
    background-color: #dc0000;
}


.hero {
    background: linear-gradient(135deg, #dc0000 0%, #8b0000 100%);
    color: #ffffff;
    padding: 140px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 58px;
    margin-bottom: 25px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 26px;
    margin-bottom: 35px;
    animation: fadeInUp 1s ease 0.3s both;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.feature-badge {
    background-color: rgba(255,255,255,0.25);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 700;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.feature-badge:hover {
    background-color: rgba(255,255,255,0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-primary {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 19px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #000000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease 0.9s both;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #dc0000;
    border-color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}


.chi-siamo {
    padding: 100px 20px;
    background: #ffffff;
}

.chi-siamo h2 {
    text-align: center;
    font-size: 48px;
    color: #dc0000;
    margin-bottom: 70px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    font-weight: 800;
}

.chi-siamo h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #dc0000 0%, #8b0000 100%);
    margin: 25px auto 0;
    border-radius: 3px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 90px;
    align-items: start;
}

.text-content h3 {
    color: #1a1a1a;
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 800;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.text-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #dc0000;
    border-radius: 2px;
}

.text-content p {
    margin-bottom: 24px;
    color: #444;
    font-size: 18px;
    line-height: 2;
    text-align: justify;
}

.text-content p strong {
    color: #dc0000;
    font-weight: 700;
}

.quote {
    background: linear-gradient(135deg, #dc0000 0%, #8b0000 100%);
    color: white;
    padding: 35px 40px;
    border-left: 6px solid #ffffff;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(220, 0, 0, 0.4);
    position: relative;
}

.quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.quote p {
    font-style: italic;
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
    line-height: 1.8;
}

.quote cite {
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.5px;
}

.image-placeholder {
    background-color: #e0e0e0;
    border: 4px solid #dc0000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.placeholder-box {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.azienda-info {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid #dc0000;
}

.azienda-info h3 {
    color: #dc0000;
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
}

.azienda-info > p {
    color: #444;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 25px;
    text-align: justify;
}

.azienda-info > p strong {
    color: #dc0000;
    font-weight: 700;
}

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

.valore-box {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.valore-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(220, 0, 0, 0.3);
    border-color: #dc0000;
}

.icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: inline-block;
}

.valore-box h4 {
    color: #dc0000;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 800;
}

.valore-box p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}


.mezzi {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.mezzi h2 {
    text-align: center;
    font-size: 48px;
    color: #dc0000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.mezzi-subtitle {
    text-align: center;
    font-size: 20px;
    color: #444;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 60px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.gallery {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #dc0000;
    font-weight: 800;
}

.gallery-overlay p {
    font-size: 16px;
    opacity: 0.95;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(220, 0, 0, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background-color: #dc0000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(220, 0, 0, 0.5);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.mezzi-info {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    padding: 40px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 2px solid #dc0000;
}

.mezzi-info p {
    color: #444;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 15px;
    text-align: justify;
}

.mezzi-info p strong {
    color: #dc0000;
    font-weight: 700;
}


.servizi {
    padding: 100px 20px;
    background: #ffffff;
}

.servizi h2 {
    text-align: center;
    font-size: 48px;
    color: #dc0000;
    margin-bottom: 70px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    font-weight: 800;
}

.servizi h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #dc0000 0%, #8b0000 100%);
    margin: 25px auto 0;
    border-radius: 3px;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.servizio-card {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.servizio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(220, 0, 0, 0.3);
    border-color: #dc0000;
}

.servizio-icon {
    font-size: 55px;
    margin-bottom: 20px;
    display: inline-block;
}

.servizio-card h3 {
    color: #dc0000;
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.servizio-card p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
}


.contatti {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.contatti h2 {
    text-align: center;
    font-size: 48px;
    color: #dc0000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.contatti-subtitle {
    text-align: center;
    font-size: 20px;
    color: #444;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contatti-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 3px solid #dc0000;
}

.contatti-info h3 {
    color: #dc0000;
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 800;
}

.contatti-info > p {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.info-item {
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 5px solid #dc0000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(220, 0, 0, 0.2);
}

.info-item strong {
    color: #dc0000;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-item a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #dc0000;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-google,
.btn-directions {
    flex: 1;
    min-width: 200px;
    padding: 16px 30px;
    background-color: #dc0000;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid #dc0000;
    box-shadow: 0 5px 20px rgba(220, 0, 0, 0.3);
}

.btn-google:hover,
.btn-directions:hover {
    background-color: #000000;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.contatti-form form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 45px 35px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 3px solid #dc0000;
}

.contatti-form input,
.contatti-form textarea {
    padding: 18px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 17px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.contatti-form input:focus,
.contatti-form textarea:focus {
    outline: none;
    border-color: #dc0000;
    box-shadow: 0 5px 20px rgba(220, 0, 0, 0.2);
}

.contatti-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contatti-form button {
    padding: 18px;
    background-color: #dc0000;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(220, 0, 0, 0.3);
}

.contatti-form button:hover {
    background-color: #000000;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}


footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    color: #dc0000;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 15px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #dc0000;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #999999;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-bottom a {
    color: #dc0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}



@media (max-width: 992px) {
    .logo-text h1 {
        font-size: 22px;
    }

    .tagline {
        font-size: 12px;
    }

    nav ul {
        gap: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .hero-content h2 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}



@media (max-width: 768px) {
   
    header .container {
        position: relative;
    }

    .logo {
        flex: 0 1 auto;
        max-width: calc(100% - 60px);
    }

    .logo-container {
        gap: 10px;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 18px;
        line-height: 1.2;
    }

    .tagline {
        font-size: 10px;
    }


    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }


    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 100px 30px 30px;
        box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

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

    nav a {
        display: block;
        padding: 18px 10px;
        font-size: 18px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    nav a:hover {
        padding-left: 20px;
        background: rgba(220, 0, 0, 0.1);
    }

    nav a::after {
        display: none;
    }

   
    .hero {
        padding: 90px 15px;
    }

    .hero-content h2 {
        font-size: 32px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .feature-badge {
        padding: 12px 24px;
        font-size: 15px;
    }

    .btn-primary {
        padding: 16px 35px;
        font-size: 16px;
    }

   
    .chi-siamo,
    .mezzi,
    .servizi,
    .contatti {
        padding: 70px 15px;
    }

    .chi-siamo h2,
    .mezzi h2,
    .servizi h2,
    .contatti h2 {
        font-size: 32px;
        margin-bottom: 40px;
        letter-spacing: 1px;
    }

    .chi-siamo h2::after,
    .servizi h2::after {
        width: 80px;
        margin-top: 15px;
    }

    .text-content h3 {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .text-content p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 18px;
        text-align: left;
    }

    .quote {
        padding: 25px 20px;
        margin-top: 25px;
    }

    .quote p {
        font-size: 16px;
    }

    .quote cite {
        font-size: 14px;
    }

    .image-placeholder {
        border: 3px solid #dc0000;
        border-radius: 12px;
    }

    .placeholder-box {
        min-height: 280px;
    }

    .azienda-info h3 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .azienda-info > p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 20px;
        padding: 0 10px;
        text-align: left;
    }

   
    .valori {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 35px;
    }

    .valore-box {
        padding: 30px 25px;
    }

    .icon {
        font-size: 42px;
        margin-bottom: 12px;
    }

    .valore-box h4 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .valore-box p {
        font-size: 15px;
    }

   
    .mezzi-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .gallery-wrapper {
        margin-bottom: 35px;
    }

    .gallery-item {
        flex: 0 0 100%;
        border-radius: 12px;
    }

    .gallery-item img {
        height: 300px;
    }

    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .gallery-nav.prev {
        left: 5px;
    }

    .gallery-nav.next {
        right: 5px;
    }

    .gallery-overlay {
        padding: 20px;
    }

    .gallery-overlay h4 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .gallery-overlay p {
        font-size: 14px;
    }

    .mezzi-info {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .mezzi-info p {
        font-size: 16px;
        line-height: 1.7;
        text-align: left;
    }

 
    .servizi-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .servizio-card {
        padding: 30px 25px;
        border-radius: 12px;
    }

    .servizio-icon {
        font-size: 46px;
        margin-bottom: 15px;
    }

    .servizio-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .servizio-card p {
        font-size: 15px;
        line-height: 1.6;
    }

  
    .contatti-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contatti-info {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .contatti-info h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contatti-info > p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .info-item {
        padding: 15px;
        font-size: 15px;
        margin-bottom: 18px;
        border-radius: 8px;
    }

    .info-item strong {
        font-size: 15px;
    }

    .social-links {
        margin-top: 25px;
        gap: 15px;
        flex-direction: column;
    }

    .btn-google,
    .btn-directions {
        padding: 14px 25px;
        font-size: 15px;
        border-radius: 25px;
        min-width: auto;
        width: 100%;
    }

    .contatti-form form {
        padding: 30px 20px;
        gap: 20px;
        border-radius: 12px;
        border: 2px solid #dc0000;
    }

    .contatti-form input,
    .contatti-form textarea {
        padding: 15px;
        font-size: 16px;
        border-radius: 8px;
    }

    .contatti-form textarea {
        min-height: 130px;
    }

    .contatti-form button {
        padding: 16px;
        font-size: 16px;
        border-radius: 25px;
    }

   
    footer {
        padding: 40px 15px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

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

    .footer-section h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .footer-section p {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}



@media (max-width: 480px) {
    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .tagline {
        font-size: 9px;
    }

    nav {
        width: 100%;
        left: -100%;
    }

    nav.active {
        left: 0;
    }

    nav a {
        font-size: 16px;
        padding: 15px 10px;
    }

    .hero {
        padding: 70px 12px;
    }

    .hero-content h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
    }

    .feature-badge {
        font-size: 13px;
        padding: 10px 18px;
    }

    .btn-primary {
        font-size: 15px;
        padding: 14px 25px;
    }

    .chi-siamo,
    .mezzi,
    .servizi,
    .contatti {
        padding: 50px 12px;
    }

    .chi-siamo h2,
    .mezzi h2,
    .servizi h2,
    .contatti h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .chi-siamo h2::after,
    .servizi h2::after {
        width: 70px;
    }

    .text-content h3 {
        font-size: 22px;
    }

    .text-content p,
    .azienda-info > p {
        font-size: 15px;
    }

    .quote {
        padding: 18px;
    }

    .quote p {
        font-size: 15px;
    }

    .azienda-info h3 {
        font-size: 24px;
    }

    .valore-box {
        padding: 25px 20px;
    }

    .icon {
        font-size: 38px;
    }

    .valore-box h4 {
        font-size: 20px;
    }

    .valore-box p {
        font-size: 14px;
    }

    .gallery-item img {
        height: 250px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-nav.prev {
        left: 2px;
    }

    .gallery-nav.next {
        right: 2px;
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-overlay h4 {
        font-size: 18px;
    }

    .gallery-overlay p {
        font-size: 13px;
    }

    .mezzi-info {
        padding: 20px 15px;
    }

    .mezzi-info p {
        font-size: 15px;
    }

    .servizio-card {
        padding: 25px 20px;
    }

    .servizio-icon {
        font-size: 40px;
    }

    .servizio-card h3 {
        font-size: 20px;
    }

    .servizio-card p {
        font-size: 14px;
    }

    .contatti-info {
        padding: 25px 15px;
    }

    .contatti-info h3 {
        font-size: 22px;
    }

    .contatti-info > p {
        font-size: 15px;
    }

    .info-item {
        padding: 12px;
        font-size: 14px;
    }

    .btn-google,
    .btn-directions {
        padding: 12px 20px;
        font-size: 14px;
    }

    .contatti-form form {
        padding: 25px 15px;
    }

    .contatti-form input,
    .contatti-form textarea {
        padding: 14px;
        font-size: 15px;
    }

    .contatti-form button {
        padding: 14px;
        font-size: 15px;
    }

    .footer-section h4 {
        font-size: 17px;
    }

    .footer-section p {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}



@media (max-width: 768px) {
 
    a, button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

 
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

   
    html {
        -webkit-text-size-adjust: 100%;
    }

   
    * {
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   CONTACT BUTTONS STYLES
   ======================================== */

.contatti-actions {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 3px solid #dc0000;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-icon {
    font-size: 40px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-content strong {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 3px;
    display: block;
}

.btn-content span {
    font-size: 15px;
    opacity: 0.8;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
    color: white;
    border: 3px solid #25D366;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #1DA851 0%, #128C3D 100%);
    border-color: #1DA851;
}

/* Phone Button */
.phone-btn {
    background: linear-gradient(135deg, #dc0000 0%, #a00000 100%);
    color: white;
    border: 3px solid #dc0000;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #a00000 0%, #800000 100%);
    border-color: #a00000;
}

/* Email Button */
.email-btn {
    background: linear-gradient(135deg, #0078D4 0%, #005A9E 100%);
    color: white;
    border: 3px solid #0078D4;
}

.email-btn:hover {
    background: linear-gradient(135deg, #005A9E 0%, #004578 100%);
    border-color: #005A9E;
}

/* SMS Button */
.sms-btn {
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    color: white;
    border: 3px solid #7C3AED;
}

.sms-btn:hover {
    background: linear-gradient(135deg, #5B21B6 0%, #4C1D95 100%);
    border-color: #5B21B6;
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contatti-actions {
        padding: 30px 20px;
        border: 2px solid #dc0000;
    }
    
    .contact-btn {
        padding: 18px 20px;
        gap: 15px;
    }
    
    .btn-icon {
        font-size: 35px;
    }
    
    .btn-content strong {
        font-size: 18px;
    }
    
    .btn-content span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contatti-actions {
        padding: 25px 15px;
    }
    
    .contact-btn {
        padding: 16px 18px;
        gap: 12px;
    }
    
    .btn-icon {
        font-size: 32px;
    }
    
    .btn-content strong {
        font-size: 17px;
    }
    
    .btn-content span {
        font-size: 13px;
    }
}