/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4DD0E1;
    --secondary: #66BB6A;
    --bg: #F9F9F9;
    --text: #333333;
    --card-bg: #FFFFFF;
    --border: #e5e5e5;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
    width: 68%;
    margin-left: 48px;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    width: 100%;
    height: auto;
}

.nav-desktop {
    display: flex;
    gap: 48px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.3s;
}

.btn-icon:hover {
    color: var(--primary);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(77, 208, 225, 0.2);
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(77, 208, 225, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    padding: 12px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 48px;
    cursor: pointer;
    padding: 8px;
}

/* Hero Section Statica */
.hero-static {
    background: linear-gradient(to bottom, rgba(224, 247, 250, 0.3), white);
    padding: 16px 0 80px 0;
    text-align: center;
}

.hero-static-text {
    max-width: 900px;
    margin: 0 auto 48px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.badges-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: nowrap;
}

.badges-hero img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

/* Featured Product Section */
.featured-product {
    padding: 64px 0;
    background: white;
}

.product-showcase {
    max-width: 1100px;
    margin: 0 auto;
}

.product-card-featured {
    background: #f9f9f9;
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 48px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.product-image-featured {
    position: relative;
    aspect-ratio: 1;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.product-image-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Secondary Images Gallery */
.secondary-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
}

.secondary-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

/* Product Video Box */
.product-video-box {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    text-align: center;
}

.product-video-box h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #333;
}

.badge-absolute {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.badge-video {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #4DD0E1;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.product-info-featured h2 {
    font-size: 42px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.price-featured {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 32px;
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 16px;
}

.product-description-box {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 40px;
}

.product-description-box h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.product-description-box p,
.product-description-content {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.product-description-content br {
    display: block;
    content: "";
    margin: 0.5em 0;
}

.ingredients-section {
    margin-top: 32px;
}

.ingredients-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.ingredients-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ingredient-badge {
    background: rgba(102, 187, 106, 0.1);
    color: #2e7d32;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

/* Old Hero Section - REMOVED */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(224, 247, 250, 0.3), white);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(77, 208, 225, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-new {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-price {
    font-size: 32px;
    font-weight: 300;
    color: #666;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.badges-row {
    display: flex;
    gap: 32px;
    color: #666;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.badge-green { background: rgba(102, 187, 106, 0.1); }
.badge-blue { background: rgba(77, 208, 225, 0.1); }
.badge-orange { background: rgba(255, 152, 0, 0.1); }

.badge-item span {
    font-size: 14px;
    font-weight: 500;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f5f5f5, white);
    border-radius: 3rem;
    transform: rotate(3deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 3rem;
    transform: rotate(-3deg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s;
}

.product-image:hover {
    transform: rotate(0deg);
}

.ingredients-card {
    position: absolute;
    bottom: -32px;
    left: -32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.ingredients-title {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ingredient-tag {
    background: #f0f0f0;
    color: #666;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
}

/* Icon Navigation Bar */
.icon-navigation-bar {
    padding: 30px 0;
    background-color: #FFFFFF;
    width: 100%;
}

.icon-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.icon-item:hover {
    transform: scale(1.05);
}

.icon-item img {
    width: 100px;
    height: auto;
    object-fit: contain;
    display: block;
}

.icon-label {
    margin-top: 10px;
    color: #000000;
    font-weight: 600;
    font-size: 11px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(102, 187, 106, 0.05);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    text-align: center;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(102, 187, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
}

/* Page Header */
.page-header {
    background: var(--bg);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Products List Full Width */
.products-list-full {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card-full {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.product-card-full:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.product-card-full-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
}

.product-image-full {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: #f5f5f5;
    overflow: hidden;
}

.product-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Gallery - Miniature Foto Secondarie */
.product-gallery {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 16px 12px 12px;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.thumbnail:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(77, 208, 225, 0.4);
}

/* Video Inline nella Pagina Prodotti */
.product-video-inline {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.product-video-inline h4 {
    margin-top: 0;
}

.product-video-inline video {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-info-full {
    padding: 32px 32px 32px 0;
    display: flex;
    flex-direction: column;
}

.product-header-full {
    margin-bottom: 24px;
}

.product-header-full h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #333;
}

.product-price-full {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.product-description-full {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer-full {
    margin-top: auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.product-image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    background: #f5f5f5;
    overflow: hidden;
}

.badge-small {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    font-size: 10px;
    padding: 6px 12px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
    flex-grow: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.product-header h3 {
    font-size: 18px;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.product-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
}

.product-footer {
    padding: 0 24px 24px;
}

.btn-cart {
    display: block;
    width: 100%;
    background: #333;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-cart:hover {
    background: var(--primary);
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.footer-desc {
    color: #666;
    line-height: 1.8;
    max-width: 400px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-links,
.footer-info {
    list-style: none;
}

.footer-links li,
.footer-info li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-info li {
    color: #666;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icon {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

.social-icon:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop,
    .header-actions .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-static-text {
        font-size: 16px;
    }
    
    .badges-hero {
        gap: 24px;
    }
    
    .badges-hero img {
        width: 96px;
        height: 96px;
    }
    
    .icon-nav-container {
        gap: 16px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .icon-item img {
        width: 80px;
    }
    
    .icon-label {
        font-size: 10px;
        margin-top: 8px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-card-featured {
        padding: 24px;
    }
    
    .product-info-featured h2 {
        font-size: 32px;
    }
    
    .price-featured {
        font-size: 28px;
    }
    
    .product-description-box {
        padding: 24px;
    }
    
    .product-card-full-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image-full {
        min-height: 300px;
    }
    
    .product-info-full {
        padding: 24px;
    }
    
    .product-header-full h3 {
        font-size: 24px;
    }
    
    .product-price-full {
        font-size: 20px;
    }
    
    .features-grid,
    .products-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
