/* Base Styles */
:root {
    --primary-color: rgb(39, 40, 46);
    --secondary-color: #ff8da1; /* Rosa elegante */
    --light-color: #f5f5f5;
    --dark-color: #333;
    --gray-color: #888;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Aggiunto per compensare l'altezza dell'header fisso */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    padding-top: 80px; /* Aggiunto per compensare l'header fisso */
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    font-size: 2.5rem;
    color: var(--primary-color);
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header Styles - Modificato per essere fisso */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
    height: 80px; /* Altezza fissa per l'header */
}

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

.logo {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    font-weight: 700;
}

.logo p {
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section - Modificato per compensare l'header fisso */
.hero {
    height: calc(100vh - 80px); /* Sottraiamo l'altezza dell'header */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/Negozio.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

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

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    transition: var(--transition);
    opacity: 0;
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Hours Section */
.hours {
    padding: 100px 0;
}

.hours-content {
    max-width: 600px;
    margin: 0 auto;
}

.hours-card {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.hours-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.day {
    font-weight: 600;
    color: var(--primary-color);
}

.time {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.contact-text a {
    color: inherit; /* Mantiene lo stesso colore del testo */
    text-decoration: none; /* Rimuove la sottolineatura */
    transition: color 0.3s ease; /* Aggiunge una transizione al cambio di colore */
}

.contact-text a:hover {
    color: var(--secondary-color); /* Cambia colore al passaggio del mouse */
}

.social-links {
    margin-top: 20px;
}

.social-links h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 150px; 
    height: auto;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-policy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-policy a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-policy a:hover {
    color: var(--secondary-color);
}

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

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px; /* Aggiornato per allinearlo con l'header fisso */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .about-content, .contact-content {
        flex-direction: column;
    }

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

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-card, .gallery-item, .hours-card {
        margin-bottom: 20px;
    }
}



#backToTop {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    outline: none;
    padding: 16px 20px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
  }
  
  #backToTop.show {
    opacity: 1;
    visibility: visible;
  }
  
  #backToTop:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
  }  


/*Whatsapp button*/
.whatsapp-buttoncircle {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 50px;
    left: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #000000;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  
  .whatsapp-buttoncircle:hover {
    background-color: #128C7E;
  }

          /* Fumetto di dialogo */
          .whatsapp-bubble {
            position: fixed;
            left: 30px;
            bottom: 150px;
            background-color: white;
            padding: 10px 15px;
            border-radius: 15px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
            max-width: 220px;
            font-size: 14px;
            color: #333;
            z-index: 999;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s, transform 0.5s;
            display: flex;
            flex-direction: column;
        }

        /* Contenitore per il testo e il pulsante di chiusura */
        .bubble-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 5px;
        }

        /* Stile per il pulsante di chiusura */
        .close-bubble {
            background: none;
            border: none;
            color: #999;
            font-size: 16px;
            cursor: pointer;
            padding: 0;
            margin-left: 10px;
            line-height: 1;
        }

        .close-bubble:hover {
            color: #333;
        }

        /* Triangolo del fumetto */
        .whatsapp-bubble:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 30px;
            width: 0;
            height: 0;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-top: 10px solid white;
        }

        /* Classe per animazione */
        .whatsapp-bubble.show {
            opacity: 1;
            transform: translateY(0);
        }

/* Shimmer Shades button (estetica e centratura) */
a.glass-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    margin: 30px auto 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.9));
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid rgba(29,29,31,0.06);
    box-shadow: 0 8px 30px rgba(39,40,46,0.06);
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

a.glass-button .button-text {
    position: relative;
    z-index: 1;
    color: inherit;
}

a.glass-button i {
    color: inherit;
    font-size: 1rem;
    transition: transform 0.25s ease;
}

a.glass-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(39,40,46,0.12);
    background: linear-gradient(180deg, rgba(255,141,161,0.10), rgba(255,255,255,0.95));
}

a.glass-button:hover i {
    transform: translateX(6px);
}

a.glass-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255,141,161,0.12);
}

@media (max-width: 600px) {
    a.glass-button {
        width: calc(100% - 40px);
        padding: 12px 18px;
        margin: 20px auto 0;
        border-radius: 12px;
    }
}

/* Wrapper per centrare il CTA nella gallery */
.gallery-cta {
    text-align: center;
    margin-top: 20px;
}

.gallery-cta .glass-button {
    display: inline-flex; /* mantiene l'aspetto ma rimane centrato dal text-align */
}

/* Video Verticale Processo Shimmer Shades */
.shimmer-shades-video {
    padding: 100px 0;
}

.shimmer-shades-video-container {
    width: 100%;
    height: auto;
}
/* ===== SEZIONE VIDEO SHIMMER SHADES ===== */
.shimmer-shades-video {
    padding: 80px 20px;
    background: linear-gradient(180deg, #fff, #f8f8f8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  
  /* --- Titolo --- */
  .section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
  }
  
  .section-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff7eb3, #ff758c);
    margin: 10px auto 0;
    border-radius: 3px;
  }
  
  /* --- Contenitore del video --- */
  .shimmer-shades-video-container {
    position: relative;
    width: 100%;
    max-width: 350px; /* perfetto per video verticali */
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 0.8s ease;
  }
  
  .shimmer-shades-video-container video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
  }
  
  /* --- Effetto hover (desktop) --- */
  @media (hover: hover) {
    .shimmer-shades-video-container:hover {
      transform: scale(1.02);
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    }
  }
  
  /* --- Animazione di apparizione --- */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* --- Responsive --- */
  @media (min-width: 768px) {
    .shimmer-shades-video {
      padding: 100px 40px;
    }
  
    .section-title h2 {
      font-size: 2.6rem;
    }
  
    .shimmer-shades-video-container {
      max-width: 350px;
    }
  }
  
  @media (min-width: 1200px) {
    .shimmer-shades-video-container {
      max-width: 400px;
    }
  }
  