/* --- Variabili Colore --- */
:root {
    --primario: #d64545; /* Rosso cresta logo */
    --sfondo: #fcfcfc;
    --testo: #333;
    --bianco: #ffffff;
    --ombra: rgba(0, 0, 0, 0.1);
}

/* --- Reset e Base --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--testo);
    background-color: var(--sfondo);
    line-height: 1.6;
}

/* --- Header e Logo --- */
header {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bianco);
    border-bottom: 2px solid #eee;
}

.logo {
    max-width: 250px;
    height: auto;
}

/* --- Navigazione Adattativa --- */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Per piccoli schermi */
    gap: 20px;
    padding: 15px;
    background: var(--bianco);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

nav a {
    text-decoration: none;
    color: var(--primario);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #a32a2a;
}

/* --- Layout Contenitore --- */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
}

/* --- Griglia Prodotti/Categorie --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--bianco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--ombra);
    transition: transform 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 100%;
    height: 250px;
    
    object-fit: cover;
}

.category-card h3 {
    padding: 20px;
    margin: 0;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    margin: 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
}

.category-card p {
    padding: 0 15px;
    font-size: 0.9rem;
    color: #666;
}

.category-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem; /* Dimensione dell'icona */
}

/* Colore dell'icona */
.category-icon {
    color: #d64545; /* Il rosso del tuo logo */
    filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.1));
}

/* Opzionale: un piccolo effetto al passaggio del mouse sulla card */
.category-card:hover .category-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* --- Footer --- */


        footer {
            padding: 40px 20px;
            text-align: center;
            border-top: 1px solid #eee;
	    margin-top: 50px;
        }
        .social-container {
            margin-top: 15px;
        }
        .social-link {
            text-decoration: none;
            color: #333; /* Colore scuro elegante */
            margin: 0 15px;
            font-size: 1.1rem;
            transition: color 0.3s ease;
        }
        .social-link i {
            font-size: 1.5rem;
            margin-right: 8px;
            vertical-align: middle;
        }
        /* Effetto al passaggio del mouse */
        .social-link:hover {
            color: #d4a373; /* Un colore ocra/sabbia che richiama il cucito naturale */
        }
 
.category-image {
            display: flex;
            align-items: center;
            justify-content: center;
            background-size: cover;
            background-position: center;
            height: 150px; /* Regola in base al tuo CSS originale */
            overflow: hidden;
        }

        .category-logo-img {
            max-width: 60%; /* Ridimensiona il logo all'interno della card */
            height: auto;
            opacity: 0.9;
        }

 .event-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 20px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        .event-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        .event-table th, .event-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }
        .event-table th {
            background-color: #f8f8f8;
            color: #333;
            text-transform: uppercase;
            font-size: 0.9rem;
        }
        .date-badge {
            background-color: #e91e63; /* Colore tipico Lebo.be */
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-weight: bold;
            display: inline-block;
        }
        .location-link {
            color: #25d366;
            text-decoration: none;
            font-weight: 500;
        }
        .location-link:hover {
            text-decoration: underline;
        }
.cart-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #e91e63;
            color: white;
            padding: 15px 20px;
            border-radius: 50px;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            z-index: 1000;
            transition: transform 0.3s;
        }
        .cart-float:hover {
            transform: scale(1.05);
        }
        .cart-count {
            background: white;
            color: #e91e63;
            border-radius: 50%;
            padding: 2px 8px;
            margin-left: 10px;
            font-weight: bold;
            font-size: 0.9rem;
        }
        .btn-cart {
            background-color: #333;
            color: white;
            padding: 12px;
            display: block;
            text-align: center;
            margin-top: 15px;
            text-decoration: none;
            border-radius: 8px;
            cursor: pointer;
            border: none;
            width: 100%;
            font-family: inherit;
            transition: background 0.3s;
        }
        .btn-cart:hover {
            background-color: #555;
        }
.product-price {
    color: #e91e63;
    font-size: 1.1rem;
    margin: 10px 0;
}

.contact-section {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input, 
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

.btn-send {
    background-color: #f8d7da; /* Riprende i colori delle tue card */
    color: #333;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-send:hover {
    background-color: #f5c6cb;
}

.about-section {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Un colore leggermente diverso per staccare */
    border-radius: 15px;
    margin: 40px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Per renderlo responsive su mobile */
    max-width: 1000px;
    margin: 0 auto;
}

.about-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%; /* Foto circolare */
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.about-text h2 {
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* --- Media Queries (Mobile) --- */
@media (max-width: 600px) {
    header { padding: 20px; }
    .logo { max-width: 180px; }
    nav { gap: 10px; }
    nav a { font-size: 0.8rem; }
}