/* =============================
   STILE GENERALE
   ============================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}


/* =============================
   TOP BAR ROSSA
   ============================= */
.top-bar {
    background-color: rgb(207, 11, 11);
    color: white;
    height: 180px;
    font-family: Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.top-bar:hover {
    background-color: rgb(190, 10, 10);
}

.top-bar-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar .logo {
    max-height: 290px;
    width: auto;
    transition: transform 0.3s ease;
}

.top-bar .logo:hover {
    transform: scale(1.1);
}

.top-bar .titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.top-bar .titles h1 {
    font-size: 48px;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.top-bar .titles .subtitle {
    font-size: 22px;
    margin-top: 5px;
}


/* =============================
   IMAGE BAR
   ============================= */
.image-bar {
    background-image: url('../img/immagine_sfondo.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.image-bar-text {
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 30px;
    line-height: 1.4;
    max-width: 1200px;
    margin-bottom: 30px;
}


/* =============================
   BOTTONI PRINCIPALI
   ============================= */
.main-buttons {
    display: flex;
    gap: 60px;
}

.main-btn {
    padding: 18px 50px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 26px;
    text-decoration: none;
    color: white;
    background-color: rgba(117, 114, 114, 0.6);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.main-btn:hover {
    background-color: rgba(0,0,0,0.75);
    transform: scale(1.05);
}


/* =============================
   SEZIONE BOLLE
   ============================= */
.bubble-section {
    background-color: #ffffff;
    padding: 60px 20px 40px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.bubbles {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.bubble {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: rgb(207, 11, 11);
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.bubble:hover {
    background-color: rgb(190, 10, 10);
    transform: translateY(-8px) scale(1.05);
}


/* =============================
   CONTENUTI
   ============================= */
.content-section {
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1000px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.6;
}

.content-section h2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-section ul li {
    font-size: 40px;
    margin-bottom: 10px;
}


/* =============================
   FOOTER (se lo userai)
   ============================= */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}
.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0 20px;
    border-radius: 8px;
    margin-top: 15px;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 22px;      /* 🔴 TESTO PIÙ GRANDE */
    line-height: 1.7;     /* 🔴 PIÙ LEGGIBILE */
    color: #222;
}


.accordion.active + .panel {
    max-height: 500px; /* sufficiente per contenuto, puoi usare auto con JS */
    padding: 15px 20px;
}

.accordion {
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #000000, #6d6d6d);
    border-radius: 12px;
    text-decoration: none;
    padding: 22px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.accordion:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.dynamic-page {
    display: none; /* nascoste di default */
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    font-family: Helvetica, Arial, sans-serif;
}

.dynamic-page h2 {
    font-size: 42px;
    color: rgb(207, 11, 11);
    margin-bottom: 20px;
}

.dynamic-page {
    font-size: 22px;
    line-height: 1.7;
}

.dynamic-page ul {
    margin-top: 15px;
    padding-left: 30px;
}

.dynamic-page ul li {
    font-size: inherit; /* 🔥 eredita la dimensione */
    margin-bottom: 10px;
}
.sectors-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

.sectors-title {
    font-size: 42px;
    margin-bottom: 50px;
    color: rgb(207, 11, 11);
}

/* Tondi */
.sectors-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.sector-btn {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: none;
    background-color: rgb(207, 11, 11);
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.sector-btn:hover {
    transform: scale(1.08);
    background-color: rgb(190, 10, 10);
}

.sector-btn.active {
    background-color: #333;
}

/* Contenuto */
.sector-content {
    max-width: 900px;
    margin: 0 auto;
}

.sector-panel {
    display: none;
    font-size: 22px;
    line-height: 1.7;
}
.sector-panel.active {
    display: block;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonne */
    gap: 20px; /* spazio tra immagini */
    margin-top: 30px;
}

.product-item {
    text-align: center; /* centra immagine e descrizione */
}

.product-item img {
    width: 100%;          /* occupa tutta la larghezza della colonna */
    height: auto;         /* mantiene proporzioni */
    border-radius: 8px;   /* optional: bordi arrotondati */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* optional: effetto ombra */
    transition: transform 0.3s ease;
}

.product-item img:hover {
    transform: scale(1.05);
}

.product-desc {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}
/* =============================
   SEZIONE CONTATTI
   ============================= */
.contact-section {
    background-color: rgb(207, 11, 11);
    color: white;
    text-align: center;
    padding: 60px 20px;
    font-family: Helvetica, Arial, sans-serif;
}

.contact-title {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-content p {
    margin: 15px 0;
    font-size: 18px;
    line-height: 1.4;
}

.contact-content a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.contact-content a:hover {
    text-decoration: underline;
}

/* SEGUICI */
.social-section {
    margin-top: 40px;
}

.social-title {
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.linkedin-link img {
    width: 60px;
    height: 60px;
    transition: transform 0.2s ease;
}

.linkedin-link img:hover {
    transform: scale(1.1);
}

.map-section {
    width: 100%;
    margin-top: 40px;
}

.map-section iframe {
    display: block;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}








