/* ----------------------------------
   SUPERBIMBO HOME - CORE STYLES
   --------------------------------*/
   :root {
    /* Superbimbo Logo Colors */
    --primary: #c02b53; /* Rubine Red/Pink from logo */
    --primary-light: #e63967;
    --primary-dark: #911d3c;
    --secondary: #005a8b; /* Blue from logo text */
    --secondary-light: #0077b6;
    --dark: #0a0a0c;
    --dark-alt: #141419;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: linear-gradient(135deg, #a1e3ff 0%, #ffb6c1 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

.text-center { text-align: center; }
.text-dark { color: var(--dark); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-600); }

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

/* ----------------------------------
   Nabar (Floating Pill)
   --------------------------------*/
.navbar {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.4s ease;
}

/* Quando si scrolla aggiungiamo più alone (si può fare con JS ma fissa va già bene) */
.navbar:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.navbar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-icon {
    display: none;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .navbar {
        top: 15px;
        padding: 10px 20px;
        width: 90%;
    }
    .nav-links {
        gap: 35px;
        justify-content: space-around;
        width: 100%;
    }
    .nav-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .nav-text {
        display: none;
    }
    .nav-icon {
        display: block;
        margin: 0;
    }
    .nav-links a::after {
        display: none; /* Rimuove linea hover per le icone su mobile */
    }
}

/* ----------------------------------
   Buttons
   --------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 15px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(192, 43, 83, 0.2);
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(192, 43, 83, 0.3);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark) !important;
}

/* ----------------------------------
   Hero Section (Split Layout & Wow Effect)
   --------------------------------*/
.hero {
    position: relative;
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
}

/* Floating bubbles background effect */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.8);
    animation: floatBubble 10s infinite ease-in-out alternate;
    z-index: 1;
}
.b1 { width: 120px; height: 120px; top: 10%; left: 5%; animation-delay: 0s; }
.b2 { width: 80px; height: 80px; top: 60%; left: 15%; animation-delay: 2s; }
.b3 { width: 150px; height: 150px; top: 20%; right: 10%; animation-delay: 4s; }
.b4 { width: 60px; height: 60px; bottom: 20%; right: 20%; animation-delay: 1s; }

@keyframes floatBubble {
    0% { transform: translateY(0) scale(1); opacity: 0.5; }
    100% { transform: translateY(-50px) scale(1.1); opacity: 0.2; }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    z-index: 3;
    position: relative;
}

/* ----------------------------------
   Hero Right: Content
   --------------------------------*/
.hero-content {
    flex: 1;
    max-width: 600px;
}
.text-left { text-align: left; }

.eyebrow-colorful {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0096c7 0%, #fb6f92 100%);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 150, 199, 0.3);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #023e8a 0%, #c02b53 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 2px rgba(255,255,255,0.5));
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Action Buttons */
.btn-wow {
    background: linear-gradient(45deg, #0096c7, #fb6f92, #0096c7);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 10px 20px rgba(251, 111, 146, 0.4);
    animation: gradientShift 3s ease infinite;
    border: none;
}
.btn-wow:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 25px rgba(251, 111, 146, 0.6);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-outline-dark {
    background: rgba(255,255,255, 0.8);
    border: 2px solid transparent;
    color: #c02b53;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.btn-outline-dark:hover {
    background: #c02b53;
    color: white !important;
}

/* ----------------------------------
   Hero Left: Image Element
   --------------------------------*/
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 520px;
}

.logo-ring {
    position: absolute;
    width: 480px;
    height: 480px;
    background-color: #ffffff;
    /* Blob shape base */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morphBlob 8s ease-in-out infinite alternate;
    z-index: 0;
    box-shadow: 0 15px 40px rgba(251, 111, 146, 0.2);
}

.logo-ring::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px; bottom: -20px; left: -20px;
    background: transparent;
    border: 3px solid rgba(0, 150, 199, 0.3);
    border-radius: 50% 40% 30% 60% / 60% 30% 40% 50%;
    animation: morphBlob 12s ease-in-out infinite alternate-reverse;
    z-index: -1;
}

@keyframes morphBlob {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 50% 40%; transform: rotate(15deg); }
}

.hero-logo-animated {
    max-width: 100%;
    width: 420px;
    filter: drop-shadow(0 25px 35px rgba(192, 43, 83, 0.25));
    animation: floatLogo 6s ease-in-out infinite;
    transform-origin: center;
    position: relative;
    z-index: 2;
}

@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-15px) rotate(1deg); filter: drop-shadow(0 35px 45px rgba(0, 150, 199, 0.25)); }
    100% { transform: translateY(0px) rotate(-1deg); }
}

@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-content {
        max-width: 100%;
    }
    .text-left { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-title { font-size: 48px; }
    
    .logo-ring { width: 340px; height: 340px; }
    .hero-logo-animated { width: 280px; }
    .hero-image-wrapper { min-height: 380px; }
}

/* ----------------------------------
   Shape Divider
   --------------------------------*/
.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: rgba(255, 255, 255, 0.4);
}

@media (max-width: 991px) {
    .custom-shape-divider-bottom svg {
        height: 60px;
    }
}

/* ----------------------------------
   Features Grid
   --------------------------------*/
.features-section {
    padding: 100px 0;
    background: transparent;
}
.section-title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, #0096c7, #fb6f92, #0096c7);
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(251, 111, 146, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    z-index: 2;
}
.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.feature-icon svg {
    width: 34px;
    height: 34px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, #0096c7 0%, #fb6f92 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(251, 111, 146, 0.4);
}
.feature-card:hover .feature-icon svg {
    transform: scale(1.2);
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}
.feature-card p {
    font-size: 15px;
    color: var(--gray-600);
}

/* Special Highlight Card: Liste Nascita */
.feature-card-special {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 220, 230, 0.9) 100%);
    border: 2px solid rgba(251, 111, 146, 0.5);
    box-shadow: 0 15px 40px rgba(251, 111, 146, 0.15);
}
.feature-card-special::before {
    background: linear-gradient(90deg, #c02b53, #fb6f92, #c02b53);
}
.feature-card-special .feature-icon {
    background: linear-gradient(135deg, #c02b53 0%, #fb6f92 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(251, 111, 146, 0.3);
}
.feature-card-special:hover {
    box-shadow: 0 25px 50px rgba(251, 111, 146, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.9);
    border-color: #fb6f92;
}

/* ----------------------------------
   WOW Marquee Showcase (Premium Vetrina Prodotti)
   --------------------------------*/
.wow-marquee-section {
    padding: 80px 0 100px 0;
    background: transparent;
    overflow: hidden;
    position: relative;
    perspective: 1000px;
}

/* Gradienti laterali morbidi */
/* Removed side gradients */

.wow-marquee-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Optional glow or gradient */
    background: linear-gradient(135deg, #c02b53 0%, #fb6f92 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(251, 111, 146, 0.2));
}

.wow-marquee-track {
    display: flex;
    gap: 40px;
    padding-left: 40px;
    align-items: center;
    width: max-content;
    /* Carosello ulteriormente rallentato (scorrimento liscio) */
    animation: wowScrollMarquee 100s linear infinite;
    transform-style: preserve-3d;
}

.wow-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes wowScrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 20px)); /* Half minus gap adjustment */ }
}

/* CARDS STILE VETRO PREMIUM */
.wow-marquee-item {
    flex: 0 0 auto;
    width: 320px; /* Grandezza aumentata su richiesta */
    height: 180px; /* Grandezza aumentata su richiesta */
    background: rgba(255, 255, 255, 0.9); /* Aumentata opacità per compensare rimozione blur */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateZ(0); /* Hardware acceleration */
}

/* The Glow Effect behind the card */
.wow-marquee-item .glow-wrap {
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fb6f92, #90e0ef);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(15px);
}

.wow-marquee-item img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: contrast(1.1);
}

/* Effetto Hover "WOW" */
.wow-marquee-item:hover {
    transform: translateY(-15px) scale(1.15) translateZ(50px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), inset 0 0 0 2px rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.8);
    border-color: transparent;
    z-index: 50;
}

.wow-marquee-item:hover .glow-wrap {
    opacity: 0.6;
}

.wow-marquee-item:hover img {
    transform: scale(1.1);
    filter: contrast(1.2) drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
    .wow-marquee-item {
        width: 260px; /* Grandi su mobile per alta visibilità */
        height: 150px;
        border-radius: 15px;
    }
    .wow-marquee-track {
        gap: 20px;
        padding-left: 20px;
    }
    .wow-marquee-section::before,
    .wow-marquee-section::after {
        width: 12%;
    }
}

/* ----------------------------------
   Reviews Section (Social Proof)
   --------------------------------*/
.reviews-section {
    padding: 80px 0;
    background: transparent;
    overflow: hidden;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 40px 60px 40px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.reviews-carousel::-webkit-scrollbar {
    display: none;
}
.reviews-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    flex: 0 0 auto;
    width: 350px;
    max-width: 85vw;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.review-stars {
    color: #ffd700;
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0096c7, #fb6f92);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 150, 199, 0.2);
}
.author-avatar.v2 { background: linear-gradient(135deg, #023e8a, #0096c7); box-shadow: 0 5px 15px rgba(2, 62, 138, 0.2); }
.author-avatar.v3 { background: linear-gradient(135deg, #51871f, #82b542); box-shadow: 0 5px 15px rgba(81, 135, 31, 0.2); }

.author-info h4 {
    font-size: 15px;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 12px;
    color: #999;
}

.review-more-card {
    background: linear-gradient(135deg, rgba(235, 245, 255, 0.8), rgba(255, 240, 245, 0.8));
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(200, 200, 200, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
}
.review-more-card:hover {
    border-style: solid;
    border-color: rgba(251, 111, 146, 0.8);
}
.review-more-card .more-count {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, #0096c7, #fb6f92);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}
.review-more-card p {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}
.review-more-card span {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 10px;
    line-height: 1.4;
}

/* ----------------------------------
   Offer Banner (Promo) Incredible Effect
   --------------------------------*/
.offer-banner {
    position: relative;
    padding: 120px 20px;
    background: transparent;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px;
}

/* Animated shapes behind the promo */
.promo-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: driftShape 15s infinite alternate ease-in-out;
}
.shape1 {
    width: 450px; height: 450px;
    background: rgba(0, 150, 199, 0.4);
    top: -50px; left: -100px;
}
.shape2 {
    width: 350px; height: 350px;
    background: rgba(251, 111, 146, 0.4);
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}

@keyframes driftShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.1); }
}

.promo-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.promo-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), inset 0 0 0 2px rgba(255,255,255,0.8);
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

/* Colore Azzurro Soft per la prima card (Cybex) */
.promo-card-primary {
    background: linear-gradient(135deg, rgba(230, 249, 255, 0.85) 0%, rgba(179, 230, 255, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Colore Rosa Soft per la seconda card (Lista Nascita) */
.promo-card-secondary {
    background: linear-gradient(135deg, rgba(255, 235, 240, 0.85) 0%, rgba(255, 190, 210, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.promo-card:hover {
    transform: scale(1.02) translateY(-8px);
}
.promo-card-primary:hover {
    box-shadow: 0 35px 70px rgba(0, 150, 199, 0.15), inset 0 0 0 2px rgba(255,255,255,1);
}
.promo-card-secondary:hover {
    box-shadow: 0 35px 70px rgba(251, 111, 146, 0.15), inset 0 0 0 2px rgba(255,255,255,1);
}

.promo-badge {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(90deg, #c02b53 0%, #fb6f92 100%);
    color: white;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 25px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(192, 43, 83, 0.3);
    animation: pulseBadge 2s infinite;
}

.badge-alt {
    background: linear-gradient(90deg, #023e8a 0%, #48cae4 100%);
    box-shadow: 0 5px 15px rgba(2, 62, 138, 0.3);
    animation: pulseBadgeAlt 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(251, 111, 146, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(251, 111, 146, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 111, 146, 0); }
}

@keyframes pulseBadgeAlt {
    0% { box-shadow: 0 0 0 0 rgba(72, 202, 228, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(72, 202, 228, 0); }
    100% { box-shadow: 0 0 0 0 rgba(72, 202, 228, 0); }
}

.promo-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #023e8a 0%, #0096c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.promo-card-secondary .promo-title {
    background: linear-gradient(135deg, #c02b53 0%, #fb6f92 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-text {
    font-size: 20px;
    color: var(--gray-800);
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.highlight-celeste, .highlight-rosa {
    display: inline-block;
    color: white;
    font-size: 17px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 8px;
    margin-top: 5px;
    transform: scale(1);
}

.highlight-celeste {
    background: linear-gradient(135deg, #023e8a 0%, #48cae4 100%);
    box-shadow: 0 4px 15px rgba(2, 62, 138, 0.4);
    animation: celestePulse 2s infinite ease-in-out;
}

.highlight-rosa {
    background: linear-gradient(135deg, #c02b53 0%, #fb6f92 100%);
    box-shadow: 0 4px 15px rgba(251, 111, 146, 0.4);
    animation: rosaPulse 2s infinite ease-in-out;
}

@keyframes celestePulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(2, 62, 138, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 8px 20px rgba(2, 62, 138, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(2, 62, 138, 0.4); }
}

@keyframes rosaPulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(251, 111, 146, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 8px 20px rgba(251, 111, 146, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(251, 111, 146, 0.4); }
}

.btn-promo-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #023e8a 0%, #0096c7 100%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 50px;
    box-shadow: 0 15px 30px rgba(0, 150, 199, 0.3);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    margin-top: auto; /* Mantiene i bottoni allineati sul fondo */
}

.btn-alt {
    background: linear-gradient(135deg, #c02b53 0%, #fb6f92 100%);
    box-shadow: 0 15px 30px rgba(251, 111, 146, 0.3);
}

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

.btn-promo-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 40px rgba(0, 150, 199, 0.45);
    color: white;
}

.btn-alt:hover {
    box-shadow: 0 22px 40px rgba(251, 111, 146, 0.45);
}

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

.btn-promo-action .sparkle {
    display: inline-block;
    margin-left: 10px;
    font-size: 22px;
    animation: spinSparkle 3s linear infinite;
}

@keyframes spinSparkle {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

@media (max-width: 992px) {
    .promo-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .promo-title { font-size: 32px; }
    .promo-text { font-size: 18px; }
    .promo-card { padding: 40px 20px; }
    .btn-promo-action { font-size: 16px; padding: 15px 30px; }
}

/* ----------------------------------
   Store Location Section (ex Map Section)
   --------------------------------*/
.map-section {
    position: relative;
    height: 600px;
    background: var(--dark);
    overflow: hidden;
}
.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.store-bg {
    background-image: url('images/esterno_night_retouch.png');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    transition: transform 10s ease-in-out;
}
.map-section:hover .store-bg {
    transform: scale(1.05); /* Slight zoom effect on hover for the section */
}

.map-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient invertito per oscurare il lato destro dove ora c'è la card */
    background: linear-gradient(to left, rgba(10,10,12,0.95) 0%, rgba(0, 150, 199, 0.4) 50%, rgba(251, 111, 146, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}
.glass-card {
    position: absolute;
    top: 50%;
    right: 10%; /* Spostato a destra */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    z-index: 2;
    min-width: 350px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
    .glass-card {
        left: 5%;
        right: 5%;
        min-width: auto;
    }
}

/* ----------------------------------
   Instagram Section Incredible
   --------------------------------*/
.instagram-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

.insta-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    color: var(--dark);
}

.insta-gradient-text {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insta-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 35px auto;
    line-height: 1.5;
}

.btn-insta-follow {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #e6683c;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 50px;
    border: 2px solid #e6683c;
}

.btn-insta-follow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(220, 39, 67, 0.25);
    background: linear-gradient(45deg, #f09433, #dc2743);
    color: white;
    border-color: transparent;
}

.btn-insta-follow .insta-icon {
    margin-right: 10px;
    transition: all 0.3s ease;
}
.btn-insta-follow:hover .insta-icon {
    color: white;
}

.insta-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 20px 40px 20px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
/* Hide scrollbar for a seamless look */
.insta-carousel::-webkit-scrollbar {
    display: none;
}
.insta-carousel {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.insta-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 1);
    
    flex: 0 0 auto;
    width: 380px;
    max-width: 90vw;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.insta-card:hover {
    transform: translateY(-5px);
}

.insta-embed-container {
    border-radius: 10px;
    overflow: hidden;
    /* Rimuove i bordi default di iframe */
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .insta-title { font-size: 38px; }
    .insta-subtitle { font-size: 16px; }
}

/* ----------------------------------
   Footer Magico e Luminoso
   --------------------------------*/
.footer {
    background-color: var(--white);
    padding: 0 0 20px 0;
    color: var(--gray-800);
    position: relative;
    border-top: 5px solid;
    border-image: linear-gradient(90deg, #0096c7, #fb6f92, #0096c7) 1;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
}

/* Spacer for the top border effect */
.footer-top-wave {
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    text-align: left;
    margin-bottom: 40px;
}



.footer-logo {
    height: 60px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 6px rgba(192, 43, 83, 0.1));
    transition: transform 0.3s ease;
}
.footer-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.footer-desc {
    color: var(--gray-600);
    font-size: 15px;
    max-width: 320px;
    line-height: 1.7;
}

.footer h4 {
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 40px; height: 3px;
    background: linear-gradient(90deg, #023e8a, #c02b53);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.footer-links .icon {
    font-size: 18px;
    margin-right: 12px;
}
.footer-links a {
    color: var(--gray-800);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: #c02b53;
    padding-left: 5px;
}

.hours-card {
    background: linear-gradient(135deg, rgba(0, 150, 199, 0.05) 0%, rgba(251, 111, 146, 0.05) 100%);
    border: 1px solid rgba(251, 111, 146, 0.2);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.hours-card .days {
    color: var(--gray-800);
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 500;
}
.hours-card .special-day {
    color: #c02b53;
    font-size: 16px;
    font-weight: 700;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}
.footer-bottom p {
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-logo {
        height: 50px;
    }
}

/* ----------------------------------
   Scroll Reveal Animations
   --------------------------------*/
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ----------------------------------
   Floating WhatsApp Button
   --------------------------------*/
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }
}

/* ----------------------------------
   Baby Steps Scroll Progress
   --------------------------------*/
.baby-steps-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    z-index: 9999;
}

.baby-steps-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #fb6f92, #0096c7);
    /* Pattern of tiny SVG footprints */
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 60 20" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255,255,255,0.8)" d="M12,14c-1.3-1.6-1.5-3.8-0.9-4.8c0.6-1,1.8-1,3.1,0.6c1.3,1.6,1.5,4,0.9,5C14.5,15.8,13.3,15.6,12,14z"/><circle fill="rgba(255,255,255,0.8)" cx="10" cy="8" r="1.5"/><circle fill="rgba(255,255,255,0.8)" cx="13" cy="7" r="1.5"/><circle fill="rgba(255,255,255,0.8)" cx="16" cy="7" r="1.5"/><path fill="rgba(255,255,255,0.8)" d="M42,6c1.3,1.6,1.5,3.8,0.9,4.8c-0.6,1-1.8,1-3.1-0.6C38.5,8.6,38.2,6.2,38.8,5.2C39.4,4.2,40.7,4.4,42,6z"/><circle fill="rgba(255,255,255,0.8)" cx="44" cy="12" r="1.5"/><circle fill="rgba(255,255,255,0.8)" cx="41" cy="13" r="1.5"/><circle fill="rgba(255,255,255,0.8)" cx="38" cy="13" r="1.5"/></svg>'), linear-gradient(90deg, #fb6f92, #0096c7);
    background-repeat: repeat-x;
    background-size: 60px 20px, auto;
    background-position: left center;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 2px 10px rgba(251, 111, 146, 0.3);
}

@media (max-width: 768px) {
    .baby-steps-container {
        height: 6px;
    }
    .baby-steps-bar {
        background-size: 50px 15px, auto;
    }
}

