/* BASE */
body {
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

/* LOGO CAFFÈ D’ITALIA / DI MARCELLO */
.logo {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    border: 2px solid #d4af37; /* doré */
    padding: 8px 18px;
    border-radius: 12px;
    display: inline-block;
    letter-spacing: 1px;
    text-align: center;
    line-height: 18px;
}

.sub-logo {
    font-size: 14px;
    font-weight: 400;
}

/* NAVIGATION */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* HERO */
.hero-section {
    text-align: center;
    padding: 40px 20px 30px;
}

.hero-title {
    font-size: 32px;
    letter-spacing: 2px;
    font-weight: 800;
}

.hero-subtitle,
.hero-quote {
    font-size: 16px;
    margin-top: 10px;
}

/* BANNIÈRE MIXTE */
.hero-banner {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.hero-banner-inner {
    position: relative;
    max-width: 700px;
    width: 100%;
    padding: 20px 0;
}

.hero-banner-inner::before {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    background: radial-gradient(rgba(255,255,255,0.22), transparent);
    filter: blur(70px);
    z-index: 0;
}

.hero-img {
    position: relative;
    max-width: 48%;
    border-radius: 10px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.hero-img-left {
    transform: translateX(-2%);
}

.hero-img-right {
    transform: translateX(2%);
}

.hero-img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.45);
}

/* SECTIONS GÉNÉRALES */
.machines-section,
.caps-section {
    padding: 30px 30px 40px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.machines-section > p,
.caps-section > p {
    font-size: 14px;
    color: #ccc;
}

/* CARTES MACHINES */
.machine-card {
    background: #111;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
    align-items: center;
}

/* IMAGE + LUMIÈRE + HOVER */
.machine-img {
    position: relative;
    flex: 0 0 auto;
}

.machine-img::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    background: radial-gradient(rgba(255, 255, 255, 0.2), transparent);
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: -1;
}

.machine-img img {
    max-width: 350px;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.machine-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* TEXTE MACHINES */
.machine-info {
    max-width: 600px;
}

.machine-info h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.machine-info p {
    font-size: 14px;
    margin-bottom: 8px;
}

/* CAPSULES – BANNIÈRE + GOÛTS */
.caps-section {
    padding: 30px 30px 50px;
}

.caps-banner {
    margin: 25px 0 30px;
    text-align: center;
}

.caps-banner img {
    max-width: 900px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.8);
}

/* Grille des goûts */
.flavor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.flavor-card {
    background: #111;
    border-radius: 12px;
    padding: 16px 16px 18px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flavor-img {
    max-width: 140px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.flavor-img:hover {
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.45);
}

.flavor-card h3 {
    margin: 4px 0;
    font-size: 16px;
}

.flavor-line {
    font-size: 13px;
    color: #d9d9d9;
    margin-bottom: 8px;
}

.flavor-text {
    font-size: 13px;
    color: #c0c0c0;
    margin-bottom: 6px;
}

.flavor-meta {
    font-size: 12px;
    color: #aaaaaa;
}

/* BOUTON WHATSAPP FIXE */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    font-size: 14px;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

/* RESPONSIVE MOBILE */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-banner-inner {
        max-width: 90%;
    }

    .hero-img {
        max-width: 100%;
        display: block;
        margin: 0 auto 16px;
        transform: none;
    }

    .hero-img-left,
    .hero-img-right {
        transform: none;
    }

    .machine-card {
        flex-direction: column;
        text-align: center;
    }

    .machine-img::before {
        width: 260px;
        height: 260px;
    }

    .machine-img img {
        max-width: 280px;
    }
}
