/* ===== RESET E STILI GENERALI ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

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

ul {
    list-style-type: none;
}

html {
    scroll-behavior: smooth;
}

/* ===== UTILITÀ ===== */
.text-center {
    text-align: center;
}

/* ===== HEADER E NAVIGAZIONE ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #f9f9f9;
    position: relative;
    z-index: 100;
}

.logo img {
    height: 70px;
}

.nav-links {
    display: flex;
}

.nav-links a {
    margin: 0 1rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #e91e63;
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Menu mobile */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    overflow-y: auto;
}

.mobile-overlay.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 15px 15px;
}

.mobile-nav a {
    display: block;
    color: white;
    font-size: 1.8rem;
    margin: 1.2rem 0;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: #f8eaea;
    transform: scale(1.1);
}

.close-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    color: #fff !important;
    z-index: 10000;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
    background-image: url('img/PQ7A0201.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

/* ===== SERVICES SECTION ===== */
.services {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8eaea;
    padding: 3rem 2rem;
    gap: 3rem;
}

.services-content {
    text-align: center;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.services-content p {
    margin-bottom: 2rem;
    color: #666;
}

.icons {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.icon {
    text-align: center;
}

.icon img {
    height: 60px;
    margin-bottom: 0.5rem;
}

.services-image {
    flex-shrink: 0;
}

.services-image img {
    width: 400px;
    height: 600px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== GALLERIA ABITI ===== */
.gallery {
    padding: 4rem 2rem;
    background-color: #fffafc;
    text-align: center;
}

.gallery h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

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

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}


/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: #f2f2f2;
    padding: 4rem 2rem;
    text-align: center;
}

.testimonials-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonials-header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.testimonials-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 280px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.testimonial p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

/* ===== MAP LOCATION ===== */
#store-location {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    flex-wrap: wrap;
    text-align: center;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 2rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== FOOTER ===== */
.contact-footer {
    background: #2a2a2a;
    color: #f8eaea;
    padding: 3rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #f8eaea;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.awards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.award-badge {
    flex: 0 0 auto;
    text-align: center;
}

.award-badge img {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    width: 125px;
    height: 125px;
}


.award-badge img:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #f8eaea;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ===== PROMO BANNER ===== */

.promo-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #e91e63; /* magenta/rosa */
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.promo-banner p {
    margin: 0;
    flex: 1;
}

.close-banner {
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
}


/* ===== CDPR PAGE ===== */
.cdpr-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.cdpr-hero {
    text-align: center;
    padding: 4rem 1rem;
    background: #f8eaea;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.cdpr-hero h1 {
    font-size: 2.5rem;
    color: #2a2a2a;
    margin-bottom: 1rem;
}

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

.privacy-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.privacy-card i {
    font-size: 2.5rem;
    color: #E4405F;
    margin-bottom: 1rem;
}

.cookie-table {
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

th {
    background: #f8eaea;
    font-weight: 600;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    /* Header */
    .navbar {
        padding: 1rem;
    }
    
    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        display: none;
    }
    
    /* Services */
    .services {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    
    .services-content {
        max-width: 100%;
    }
    
    .services-image {
        margin-top: 20px;
    }
    
    .services-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 6px 10px rgba(0,0,0,0.1);
    }
    
    .icons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .icon {
        margin-right: 1rem;
    }
    
    .icon img {
        height: 40px;
    }
    
    .icon p {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }   
    
    /* CDPR page */
    .cdpr-hero h1 {
        font-size: 2rem;
    }
    
    table {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-content h2 {
        font-size: 1.5rem;
    }
    
    .testimonial {
        width: 100%;
    }
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;

    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: stretch;
}

.about-content .about-text {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.about-content .about-images {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.about-content.reverse .about-text {
    grid-column: 2;
}

.about-content.reverse .about-images {
    grid-column: 1;
}

.about-content .about-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* Hero Chi Siamo */
.hero-about {
    background: url("img/hero-chisiamo.jpg") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
}

.hero-about::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

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

.hero-about h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-about p {
    font-size: 1.25rem;
}

/* Responsive per la pagina Chi Siamo */
@media (max-width: 768px) {
    .about-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .about-content .about-text,
    .about-content .about-images {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .about-content .about-images img {
        width: 100%;
        height: auto;
        margin-bottom: 1.5rem;
    }
}