:root {
    --brand-color: rgba(255, 153, 0); 
    --bg-main: rgba(64, 64, 64, 1);
    --bg-darker: rgba(24, 24, 24, 1);
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'MADE Outer Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* CONTAINER */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    position: relative; 
}

/* =========================================
   HEADER & NAVBAR
   ========================================= */
.main-header { 
    background: var(--bg-darker); 
    height: 96px; 
    display: flex; 
    align-items: center; 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

.logo { 
    color: var(--white); 
    font-size: 28px; 
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu a { 
    color: var(--white); 
    text-decoration: none; 
    margin-left: 25px; 
    font-size: 14px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--brand-color);
}

/* Banner Arancione */
.hero-banner {
    background-color: var(--brand-color);
    height: 222px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-banner h1 {
    font-size: clamp(40px, 8vw, 70px);
    color: var(--white);
    margin: 0;
}

/* Griglia Contenuto */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-image {
    flex: 1;
    /* Ho rimosso l'altezza del contenitore per farla adattare all'immagine */
}

.about-image img {
    /* Modifiche per forzare una dimensione quadrata di 510x510 */
    width: 510px;
    height: 510px;
    object-fit: cover; /* Garantisce che l'immagine riempia il quadrato senza distorsioni */
    border-radius: 5px;
    display: block;
    margin: 0 auto; /* Centra l'immagine nel suo contenitore */
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.about-text h4 {
    color: var(--white); /* Modificato in bianco */
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-text p {
    margin-bottom: 15px;
    font-weight: 300;
}

.main-footer { background: var(--bg-darker); padding: 60px 0 0 0; }
.footer-title { font-size: 32px; margin-bottom: 40px; text-align: left; }

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
    padding-bottom: 50px; 
}

.footer-col h4 { font-size: 18px; margin-bottom: 15px; color: var(--brand-color); }
.footer-col p { font-size: 14px; opacity: 0.8; margin-bottom: 8px; }

.footer-bottom { 
    background: #000; 
    text-align: center; 
    padding: 25px 20px; 
    font-size: 12px; 
}

/* Media Query per Mobile */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
        text-align: center;
    }
    .hero-banner {
        height: 150px;
    }
    .about-image img {
        /* Ridimensiona l'immagine per mobile */
        width: 300px;
        height: 300px;
    }
}