/* discovery.css - Landing Page V1.5 - GRIGIO SCURO COME SITO MADRE */
:root {
    --primary: #2d2d2d;       /* GRIGIO SCURO del sito madre al posto del rosso */
    --primary-hover: #1a1a1a;
    --dark: #333333;          
    --light: #f4f4f2;         
    --white: #ffffff;
    
    /* COLORI HEADER E TOP BAR */
    --header-bg: #2d2d2d;     
    --top-bar-bg: #1bb5cc;    
    
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: var(--font-main); 
    color: var(--dark); 
    line-height: 1.6; 
    background: var(--white); 
    overflow-x: hidden; 
}
a { text-decoration: none; transition: 0.3s; color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background-color: var(--light); }
.section-padding { padding: 40px 0; }

/* GERARCHIA TIPOGRAFICA - STILE SITO MADRE */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
}

/* --- TOP BAR RECENSIONI --- */
.top-bar-reviews {
    background-color: var(--top-bar-bg);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-family: var(--font-main);
    z-index: 1001;
    position: relative;
}
.top-bar-reviews strong { font-weight: 800; }
.top-bar-reviews a {
    color: var(--white);
    font-style: italic;
    font-weight: 700;
    text-decoration: underline;
}
.top-bar-reviews a:hover { color: var(--dark); }

/* --- HEADER COMPATTO - STILE SITO MADRE --- */
header { 
    background: var(--header-bg); 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 20px; 
}
.logo-img { height: 50px; }
.main-nav { display: flex; gap: 25px; }
.main-nav a { 
    font-weight: 600; 
    color: var(--white); 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 0.5px; 
    opacity: 0.9;
}
.main-nav a:hover { 
    color: var(--white); 
    opacity: 1; 
    text-shadow: 0 0 8px rgba(255,255,255,0.5); 
}
.btn-shop { 
    font-weight: 700; 
    color: var(--white);
    border-bottom: 2px solid var(--white); 
    padding-bottom: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.btn-shop:hover { color: #f0f0f0; border-color: #f0f0f0; }

/* --- HERO MIGLIORATO --- */
.hero { 
    position: relative; 
    height: 80vh; 
    min-height: 500px; 
    background: url('img/hero.png') center/cover; 
    display: flex; 
    align-items: center; 
}
.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%); 
}
.hero-content { 
    position: relative; 
    z-index: 2; 
    color: var(--white); 
    max-width: 650px; 
}
.hero h1 { 
    font-family: var(--font-serif);
    font-size: 3.2rem; 
    color: var(--white); 
    line-height: 1.1; 
    margin-bottom: 20px; 
    letter-spacing: 0.03em;
}
.hero p { 
    font-size: 1.25rem; 
    font-weight: 400; 
    opacity: 0.9; 
    margin-bottom: 30px; 
    line-height: 1.6; 
    max-width: 520px;
}

/* --- TRUST BAR --- */
.trust-bar { 
    background: #f0f3f2; 
    color: var(--dark); 
    padding: 30px 0; 
}
.trust-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 15px; flex: 1; min-width: 250px; }
.trust-icon { font-size: 2.5rem; }
.trust-text strong { 
    display: block; 
    font-size: 1.1rem; 
    margin-bottom: 3px; 
    color: var(--dark); 
    font-weight: 800; 
}
.trust-text span { font-size: 0.85rem; color: var(--dark); opacity: 0.9; }

/* --- TITOLI SEZIONI --- */
.section-title { text-align: center; margin-bottom: 50px; max-width: 700px; margin-inline: auto; }
.section-title h2 { 
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px; 
    text-transform: uppercase;
    color: #2d2d2d; 
}
.section-title p { font-size: 1rem; color: #555; }

/* --- PRODUCT CARDS LEGGERE --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.card-prod { 
    background: var(--white); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    border: 1px solid #eaeaea; 
    transition: 0.3s; 
    display: flex; 
    flex-direction: column; 
}
.card-prod:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.09); 
}
.card-img { height: 220px; padding: 15px; display: flex; align-items: center; justify-content: center; }
.card-img img { max-height: 100%; object-fit: contain; transition: 0.5s; }
.card-prod:hover .card-img img { transform: scale(1.05); }
.card-info { 
    padding: 20px; 
    text-align: center; 
    border-top: 1px solid #f5f5f5; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}


.card-info .price { 
    font-size: 14px; 
    font-weight: 400; 
    color: #989898; 
    margin-top: auto; 
}

/* TITOLI PRODOTTO IDENTICI ALL'HOMEPAGE */
.card-info h3 a {
    font-family: var(--font-main);        /* Montserrat, come sul sito */
    font-size: 14px;
    line-height: 120%;
    font-weight: bold;
    color: #444444;
    text-transform: none;
    margin-bottom: 1em;

    display: block;
    padding: 15px 15px 3px 15px;
}

/* --- BOTTONI STILE SITO MADRE --- */
.btn-primary { 
    display: inline-block; 
    background: var(--primary); 
    color: var(--white); 
    padding: 14px 32px; 
    border-radius: 40px; 
    font-weight: 700; 
    font-size: 1rem; 
    border: 2px solid var(--primary); 
    cursor: pointer; 
    text-align: center; 
    box-shadow: none; 
    transition: all 0.3s ease; 
    text-transform: uppercase; 
    letter-spacing: 0.08em;
}
.btn-primary:hover { 
    background: var(--primary-hover); 
    border-color: var(--primary-hover); 
    transform: translateY(-3px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
    color: var(--white); 
}
.btn-outline { 
    display: block; 
    border: 1px solid var(--primary); 
    color: var(--primary); 
    padding: 8px 18px; 
    border-radius: 999px; 
    font-weight: 600; 
    text-align: center; 
    margin-top: 15px; 
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.btn-outline:hover { 
    border-color: var(--primary); 
    background: var(--primary); 
    color: var(--white); 
}

/* --- SEO STORYTELLING --- */
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.seo-text h2 { 
    font-family: var(--font-serif);
    font-size: 2.1rem; 
    margin-bottom: 25px; 
    color: var(--primary); 
}
.seo-text p { font-size: 1.1rem; margin-bottom: 15px; color: #444; }
.seo-image img { border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

/* --- LABORATORIO --- */
.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.lab-image img { 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
}
.lab-content h2 { 
    font-family: var(--font-serif);
    font-size: 2.1rem; 
    color: var(--primary); 
    margin-bottom: 20px; 
}
.lab-intro { font-size: 1.1rem; margin-bottom: 30px; color: #555; }
.lab-details-box { 
    background: var(--white); 
    border-radius: 8px; 
    padding: 30px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border-left: 4px solid var(--primary); 
}
.detail-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.detail-row:last-child { margin-bottom: 0; }
.detail-row .icon { font-size: 1.5rem; line-height: 1; margin-top: 3px; }
.detail-row strong { color: var(--dark); font-size: 1.05rem; }
.detail-row div { font-size: 0.95rem; color: #666; line-height: 1.5; }

/* --- CORSI --- */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-course { 
    background: var(--white); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    border: 1px solid #eee; 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.3s; 
}
.card-course:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.09); 
}
.course-img { height: 220px; width: 100%; overflow: hidden; display: block; }
.course-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card-course:hover .course-img img { transform: scale(1.05); }
.course-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.course-info h3 { 
    font-family: var(--font-serif);
    font-size: 1.05rem; 
    margin-bottom: 10px; 
    color: var(--dark); 
    min-height: 2.6em; 
    line-height: 1.3; 
}
.course-info p { 
    font-size: 0.95rem; 
    color: #555; 
    margin-bottom: 25px; 
    flex-grow: 1; 
}

/* --- BLOG --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { 
    background: var(--white); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    border: 1px solid #eee; 
    display: flex; 
    flex-direction: column;
}
.blog-img { height: 200px; overflow: hidden; display: block; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-info h3 { 
    font-family: var(--font-serif);
    font-size: 1.05rem; 
    margin-bottom: 10px; 
    line-height: 1.3; 
    min-height: 2.6em; 
    color: var(--dark); 
}
.blog-info p { 
    font-size: 0.95rem; 
    color: #666; 
    margin-bottom: 25px; 
    flex-grow: 1;
}
.read-more { font-weight: 700; font-size: 0.9rem; }

/* --- CAROUSEL --- */
.scrolling-wrapper { 
    display: flex; 
    overflow-x: auto; 
    gap: 20px; 
    padding-bottom: 20px; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: thin; 
    scrollbar-color: var(--primary) #eee; 
}
.scrolling-wrapper::-webkit-scrollbar { height: 8px; }
.scrolling-wrapper::-webkit-scrollbar-track { background: #eee; border-radius: 4px; }
.scrolling-wrapper::-webkit-scrollbar-thumb { background-color: var(--primary); border-radius: 4px; }
.carousel-item { flex: 0 0 280px; scroll-snap-align: start; }

/* --- NEWSLETTER STILE SITO MADRE --- */
.newsletter-section { 
    background: #f7f6f4; 
    padding: 80px 0; 
    color: var(--dark); 
    text-align: center; 
}
.newsletter-box { 
    max-width: 600px; 
    margin: 0 auto; 
    border-left: 4px solid var(--primary);
    padding-left: 24px;
}
.newsletter-box h2 { 
    color: var(--primary); 
    font-size: 2.1rem; 
    margin-bottom: 15px; 
}
.newsletter-box p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }
.nl-form { display: flex; gap: 10px; margin-bottom: 15px; }
.nl-form input { 
    flex: 1; 
    padding: 15px 20px; 
    border-radius: 40px; 
    border: 1px solid #ddd; 
    font-size: 1rem; 
    font-family: var(--font-main); 
    outline: none; 
}
.nl-form .btn-primary { 
    background: var(--primary); 
    color: var(--white); 
}
.nl-form .btn-primary:hover { background: var(--primary-hover); }
.privacy-note { font-size: 0.8rem; opacity: 0.7; }


/* BOX RISTORANTI STELLATI - CON BORDINO ELEGANTE */
.restaurants-section {
    background: var(--white);
    padding: 50px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin: 40px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.restaurant-box {
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #d5d5d5;
    border-radius: 12px;
    background: linear-gradient(135deg, #fafbfa 0%, #f7f9f8 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.restaurant-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #9dbfbd, var(--primary));
}
.restaurant-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}
.restaurant-trust .trust-icon {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #e4f4f2, #d9edea);
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.restaurant-trust strong {
    font-size: 1.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-serif);
    line-height: 1.2;
}
.restaurant-trust span {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    max-width: 500px;
}

/* Responsive */
@media (max-width: 768px) {
    .restaurant-box {
        padding: 30px 20px;
        margin: 30px 0;
    }
    .restaurant-trust {
        flex-direction: column;
        gap: 20px;
    }
    .restaurant-trust strong {
        font-size: 1.3rem;
    }
}


/* --- FOOTER --- */
footer { 
    background: var(--dark); 
    color: #888; 
    text-align: center; 
    padding: 30px 0; 
    font-size: 0.9rem; 
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .seo-grid, .lab-grid { grid-template-columns: 1fr; }
    .seo-image { order: -1; }
}

@media (max-width: 768px) {
    .main-nav { display: none; } 
    .hero { height: 70vh; text-align: center; }
    .hero-content { padding: 0 20px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero-overlay { background: rgba(0,0,0,0.6); } 
    .trust-item { flex: 0 0 100%; justify-content: center; text-align: center; flex-direction: column; gap: 5px; }
    .nl-form { flex-direction: column; }
    .nl-form button { width: 100%; }
}
