/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: center;
    padding: 15px 40px;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Link navbar */
.nav-links a,
.nav-links button {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links a.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* =========================
   🛒 Badge carrello uniforme
   ========================= */
:root {
    --gold: var(--accent);
}

.cart-count {
    background: var(--gold);
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

.nav-links a#open-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Hero */
.chi-siamo-hero {
    background: url("../../assets/img/candele-collage.jpg") no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.chi-siamo-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.chi-siamo-hero-text {
    position: relative;
    z-index: 2;
}

.chi-siamo-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.chi-siamo-hero p {
    font-size: 1.2rem;
}

/* Sezione principale */
.chi-siamo-main {
    padding: 60px 20px;
    background: var(--surface);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.container .text {
    flex: 1;
    min-width: 300px;
}

.container .text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.container .text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.container .image {
    flex: 1;
    min-width: 300px;
}

.container .image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow);
}

/* Mission */
.mission {
    padding: 60px 20px;
    text-align: center;
    background: var(--surface-soft);
}

.mission h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--text);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #f4f4f4;
}

.footer-section p {
    margin: 8px 0;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section img.icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .chi-siamo-hero h1 {
        font-size: 2rem;
    }

    .chi-siamo-hero p {
        font-size: 1rem;
    }

    .container {
        flex-direction: column;
        text-align: center;
    }

    .mission h2 {
        font-size: 1.5rem;
    }
}