.hero {
    background: url('../img/generiche/gen1.jpg') center/cover no-repeat;
    height: 320px;
}
.card img{
height:220px;
object-fit:cover;
}
.menu-arnilemiele {
    background: linear-gradient(90deg, #f4b400, #d4a017);
}
.hero-caption {
    margin-top: 30px;
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
     font-style: italic;
     background: linear-gradient(90deg, #f4b400, #d4a017);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
.features-section {
    padding: 60px 0;
    background-color: #fffbee; /* tono miele chiaro */
}

.feature-box {
    padding: 30px 20px;
}

.feature-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.feature-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}
.feature-box h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f4b400, #d4a017);
    margin: 12px auto 0;
}
@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }

    .feature-box h3 {
        font-size: 1.25rem;
    }
}
/* ============================= */
/* CHI SIAMO - ARNILEMIELE */
/* ============================= */

.hero-small {
    height: 260px;
}

.about-section {
    padding: 80px 0;
    background-color: #fffbee;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #f4b400, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}
@media (max-width: 768px) {

    .hero-small {
        height: 200px;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }
}
/* ============================= */
/* SEZIONI INTERNE ARNILEMIELE */
/* ============================= */

.content-section {
    padding: 80px 0;
    background-color: #fffbee;
}

.section-intro h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #f4b400, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 50px;
}

/* CARD PRODOTTI / MACCHINARI */
.product-card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.product-card img {
    height: 220px;
    object-fit: cover;
}

.product-card .card-title {
    font-weight: 600;
}

.product-card .card-text {
    color: #666;
}

/* ============================= */
/* HOVER SOFT CARD ARNILEMIELE */
/* ============================= */

.product-card {
    transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

/* FOTO NARRATIVE */
.narrative-img {
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
/* ============================= */
/* FOOTER ARNILEMIELE - NERO */
/* ============================= */

.footer-arnilemiele {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    color: #f4b400; /* miele */
    font-size: 1.6rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.footer-copy {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* DICITURA LEGALE */
.footer-legal {
    font-size: 0.7rem;
    color: #aaa;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .content-section {
        padding: 50px 0;
    }

    .section-intro h2 {
        font-size: 1.9rem;
    }

}
@media (max-width: 768px) {

    .footer-arnilemiele {
        padding: 50px 0 25px;
    }

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

    .footer-copy {
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    .footer-brand {
        font-size: 1.6rem;
    }

    .footer-social a {
        font-size: 1.4rem;
        margin: 0 10px;
    }
}
/* ============================= */
/* DOVE SIAMO - ARNILEMIELE */
/* ============================= */

.location-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.location-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.location-coords {
    font-size: 0.95rem;
    color: #777;
}

.location-address {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {

    .location-title {
        font-size: 1.4rem;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}
/* ============================= */
/* CONTATTI - ARNILEMIELE */
/* ============================= */

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.contact-text {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 18px;
}

.contact-link {
    color: #d4a017;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.contact-success {
    color: #2e7d32;
    font-weight: 500;
    margin-bottom: 20px;
}
@media (max-width: 768px) {

    .contact-form-wrapper {
        padding: 25px;
    }

    .contact-title {
        font-size: 1.4rem;
    }
}
/* ============================= */
/* CARD PROPRIETÀ MIELE */
/* ============================= */

.property-card {
    border: none;
    border-radius: 16px;
    padding: 25px 20px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.14);
}

.property-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #f4b400, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.property-card .card-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .property-card {
        padding: 22px 18px;
    }

    .property-card .card-title {
        font-size: 1.15rem;
    }
}
/* ============================= */
/* CARD PRODOTTI - VERSIONE TESTUALE */
/* ============================= */

.product-card-alt {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card-alt:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.product-card-alt img {
    height: 220px;
    object-fit: cover;
}

.product-card-alt .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f4b400, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card-alt .card-subtitle {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}
@media (max-width: 768px) {

    .product-card-alt img {
        height: 200px;
    }

    .product-card-alt .card-title {
        font-size: 1.15rem;
    }
}
/* ============================= */
/* EFFETTO MOVIMENTO CARD PRODOTTI */
/* ============================= */

.product-card-alt {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);

    transition:
        transform 0.45s cubic-bezier(.25,.8,.25,1),
        box-shadow 0.45s cubic-bezier(.25,.8,.25,1);
}

.product-card-alt:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 55px rgba(0,0,0,0.18);
}
.product-card-alt img {
    transition: transform 0.6s ease;
}

.product-card-alt:hover img {
    transform: scale(1.06);
}
@media (hover: none) {
    .product-card-alt:hover {
        transform: none;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

    .product-card-alt:hover img {
        transform: none;
    }
}
/* ===== TEST HOVER CARD PRODOTTI (DEFINITIVO) ===== */

.product-card-alt {
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card-alt:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}