/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #f7f7f7;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: #666;
}

/* Helper Classes */
.text-center {
    text-align: center;
}

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

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: none;
}

.btn-primary {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    margin-top: 30px;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.header-logo-img {
    height: 80px;
    /* Adjust based on preference */
    width: auto;
    object-fit: contain;
}

.header-partner {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .header {
        padding: 20px;
    }
}

/* Sections */
.section-title {
    font-size: 42px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
}

.section-text {
    font-size: 20px;
    color: #666;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Dark Section */
.dark-section {
    background-color: #111;
    color: #fff;
}

.dark-section .section-title {
    color: #fff;
}

.dark-section .section-text {
    color: #aaa;
}

.dark-section .btn-secondary {
    color: #fff;
    border: 1px solid #fff;
}

.dark-section .btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    color: #fff;
    margin-top: 60px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 64px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 1), 0 0 5px rgba(0, 0, 0, 0.8);
}

.hero-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 0 5px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 46px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

/* Product Split */
.product-split {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
}

.product-image {
    flex: 1 1 50%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    flex: 1 1 50%;
    padding: 120px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.product-list {
    list-style: none;
    margin-bottom: 40px;
}

.product-list li {
    font-size: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    font-weight: 300;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.price-list {
    color: #a0a0a0;
    font-weight: 400;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-color {
    font-size: 18px;
    margin-bottom: 20px;
    color: #444;
}

.product-desc {
    font-size: 18px;
    color: #888;
}

@media (max-width: 900px) {

    .product-image,
    .product-content {
        flex: 1 1 100%;
    }

    .product-content {
        padding: 80px 30px;
    }
}

/* Focus Product Section */
.focus-product {
    padding-top: 80px;
    padding-bottom: 80px;
}

.focus-product-header {
    margin-bottom: 60px;
}

.focus-brand {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 15px;
}

.focus-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.focus-img-main {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.focus-thumbnails {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    /* per scrollbar eventuale */
}

.focus-thumbnails img {
    flex: 1;
    min-width: 150px;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
    .focus-gallery {
        flex-direction: row;
    }

    .focus-img-main {
        width: 100%;
    }

    .main-img-container {
        width: 60%;
        position: relative;
    }

    .focus-thumbnails {
        width: calc(40% - 20px);
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        padding-bottom: 0px;
    }

    .focus-thumbnails img {
        width: calc(50% - 10px);
        flex: unset;
        min-width: unset;
    }
}

.main-img-container {
    width: 100%;
    position: relative;
    display: flex;
}

.brand-overlay-logo {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 120px;
    opacity: 0.85;
    z-index: 5;
}

.focus-card {
    background-color: #fff;
    padding: 40px;
    margin-top: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.focus-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 500;
}
.focus-card p {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Carousel per i 4 Prodotti */
.mobile-carousel {
    display: flex;
    flex-direction: column;
}

.carousel-indicator-wrapper {
    display: none;
}

@media (max-width: 767px) {
    .mobile-carousel {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }

    .mobile-carousel::-webkit-scrollbar {
        height: 4px;
    }

    .mobile-carousel::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .mobile-carousel::-webkit-scrollbar-thumb {
        background: #db6d97;
        border-radius: 4px;
    }

    .mobile-carousel > * {
        flex: 0 0 100%;
        scroll-snap-align: start;
        width: 100vw;
    }
    
    .mobile-carousel-divider {
        display: none !important;
    }

    .carousel-indicator-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px 0 10px 0;
        background-color: #f4f6f8; /* matches first section partially */
    }

    .carousel-indicator {
        background: #fff;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        color: #333;
        font-size: 13px;
        font-weight: 600;
        padding: 8px 16px;
        border-radius: 99px;
        display: flex;
        align-items: center;
        gap: 8px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        animation: pulseIndicator 3s infinite;
    }

    .carousel-indicator svg {
        color: #db6d97;
    }

    @keyframes pulseIndicator {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(4px);
        }
    }
}


/* Flip Clock Styles */
.flip-clock-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.flip-clock-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flip-clock-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.flip-clock {
    display: flex;
    gap: 8px;
    background-color: #111;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.flip-clock.highlight .flip-clock-label,
.flip-clock-wrapper:nth-child(2) .flip-clock-label {
    color: #00b4d8;
    font-weight: 600;
}

.flip-clock-digit {
    background-color: #222;
    font-size: 150px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    width: 140px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0px 1px 0px rgba(255, 255, 255, 0.05);
    line-height: 1;
    overflow: hidden;
}

#digit-tens {
    color: #0096c7 !important;
}

#digit-ones {
    color: #fb6f92 !important;
}

.flip-clock-digit::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 2px;
    background-color: #111;
    z-index: 10;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00b4d8;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 180, 216, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

@media (max-width: 768px) {
    .flip-clock-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* Value Section */
.value-block {
    margin: 50px 0;
}

.value-old {
    font-size: 18px;
    color: #777;
    margin-bottom: 10px;
}

.value-old span {
    text-decoration: line-through;
    opacity: 0.7;
}

.value-new {
    font-size: 48px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 30px;
}

.value-new strong {
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    background-color: #f7f7f7;
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

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

.review-text {
    font-size: 16px;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

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

.review-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1aa4cd 0%, #db6d97 100%) !important;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-right: 15px;
    flex-shrink: 0;
}

.review-author-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.review-author-info span {
    font-size: 13px;
    color: #888;
}

/* Footer & Store Info */
.footer {
    background-color: #fff;
    border-top: 1px solid #ebebeb;
}

.store-info {
    color: #666;
}

.store-name {
    font-size: 18px;
    color: #000;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.store-info p {
    margin-bottom: 12px;
    font-size: 15px;
}
/* Footer Mobile Alignment */
.footer-cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 50px;
    margin-bottom: 60px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.footer-col {
    flex: 1;
    min-width: 220px;
}
.footer-col-center {
    flex: 1.5;
    min-width: 280px;
    padding: 0 40px;
    border-left: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 768px) {
    .footer-cols {
        gap: 30px;
    }
    .footer-col-center {
        padding: 30px 0;
        border: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

@keyframes pulseUrgency {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 8px 0 rgba(255, 255, 255, 0.2); text-shadow: 0 0 5px rgba(255,255,255,0.5); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(400%) skewX(-15deg); }
}
