/* style.css per G Noleggio */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER E NAVIGAZIONE */
header {
    background-color: white;
    color: #fff;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;

}

/* Navbar toggler - Burger icon */
.navbar-toggler {
    background: #ffffff;
    color: #000000;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Nascondi il toggler sui desktop */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }

    #navbar-menu {
        display: flex !important;
        justify-content: flex-end;
    }
}

/* Mantieni stili esistenti per mobile */
@media (max-width: 991px) {
    #navbar-menu.active {
        display: block;
    }
}

/* Nav menu container */
#navbar-menu {
    width: 100%;
}

#navbar-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
}

#navbar-menu ul li {
    margin-left: 20px;
}

#navbar-menu ul li a {
    color: #0C4868;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#navbar-menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FF8264;
}

/* Per dispositivi mobili: nascondi il menu per default e mostra il toggler */
@media (max-width: 991px) {
    #navbar-menu ul li a {
        color: #ffffff;
        font-weight: 500;
        padding: 5px 10px;
        border-radius: 5px;
        transition: background-color 0.3s, color 0.3s;
    }

    #navbar-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 10px;
        right: 10px;
        background: #0C5578;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        overflow: hidden;
        animation: menuDrop .25s ease-out;
    }

    #navbar-menu.active {
        display: block;
    }

    #navbar-menu ul {
        flex-direction: column;
        align-items: stretch;
    }

    #navbar-menu ul li {
        margin: 0;
    }

    #navbar-menu ul li a {
        display: block;
        padding: 12px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    #navbar-menu ul li:last-child a {
        border-bottom: none;
    }
}

@keyframes menuDrop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO SECTION */
#hero {
    background: radial-gradient(circle at 10% 20%, #0C5578, #0a4563);
    color: #fff;
    padding: 120px 20px 80px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 1;
    position: relative;
    min-width: 500px;
}

.hero-image img {
    width: 100%;
    transform: rotate(-5deg);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.hero-badge {
    display: inline-block;
    background-color: #FF8264;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 25px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FF8264;
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon .material-icons {
    font-size: 1.5rem;
    color: #FF8264;
}

.card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.card-badge {
    background: #FF8264;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Stili specifici per mobile */
@media (max-width: 768px) {
    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlight-card {
        padding: 20px;
        gap: 15px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        /* centra verticalmente */
        align-items: center !important;
        /* centra orizzontalmente */
        text-align: center !important;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .card-icon .material-icons {
        font-size: 1.7rem;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.price {
    color: #FF8264;
    font-size: 1.3em;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.floating {
    animation: float 6s ease-in-out infinite;
    border: 3px solid #0C5578;
    border-radius: 20px;
    transform: scale(20) rotate(-5deg);
}

/* Nascondi l'immagine su mobile */
@media (max-width: 768px) {
    .floating {
        display: none;
    }

    /* Opzionale: se vuoi nascondere l'intero contenitore dell'immagine su mobile */
    .hero-image {
        display: none;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(-5deg);
    }

    100% {
        transform: translateY(0px) rotate(-5deg);
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        min-width: auto;
        margin-top: 40px;
    }

    .hero-highlights {
        flex-direction: column;
    }

    .cta-container {
        flex-direction: column;
    }

    #hero h1 {
        font-size: 2.2rem;
    }
}

/* SEZIONE SERVIZI */
#servizi {
    padding: 80px 20px;
    background-color: #fff;
}

.servizi-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    font-size: 2.3rem;
    color: #0C5578;
    margin-bottom: 1rem;
    position: relative;
}

.heading-accent {
    color: #FF8264;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servizio-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(12, 85, 120, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servizio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 85, 120, 0.1);
}

.servizio-icon {
    width: 80px;
    height: 80px;
    background: #ffe8e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.servizio-icon .material-icons {
    font-size: 2.5rem;
    color: #FF8264;
}

.servizio-card h3 {
    color: #0C5578;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.servizio-card p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.servizio-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.servizio-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #495057;
}

.servizio-features .material-icons {
    font-size: 1.2rem;
    color: #FF8264;
}

.servizio-cta {
    display: inline-block;
    background-color: #ff8264;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: auto;
}

.servizio-cta:hover {
    background-color: #09415d;
}

/* SEZIONE PIANI NOLEGGIO */
#piani-noleggio {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.piani-container {
    max-width: 1200px;
    margin: 0 auto;
}

.piani-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.piano-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(12, 85, 120, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.piano-card.featured {
    border: 2px solid #FF8264;
    transform: scale(1.05);
}

.piano-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF8264;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.piano-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.piano-header h3 {
    color: #0C5578;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.piano-price {
    font-size: 1.2rem;
    color: #666;
}

.piano-price span {
    color: #FF8264;
    font-size: 1.8rem;
    font-weight: 700;
}

.piano-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.piano-features h4 {
    color: #0C5578;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.piano-features ul {
    list-style: none;
    padding: 0;
}

.piano-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #495057;
}

.piano-features .material-icons {
    font-size: 1.2rem;
    color: #FF8264;
}

.piano-cta {
    margin-top: auto;
}

.cta-button {
    display: block;
    width: 100%;
    background-color: #0C5578;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button.featured {
    background-color: #FF8264;
}

.cta-button:hover {
    background-color: #09415d;
}

.cta-button.featured:hover {
    background-color: #ff6a4a;
}

@media (max-width: 768px) {
    .piano-card.featured {
        transform: scale(1);
    }
}

/* SEZIONE CARATTERISTICHE FURGONE */
#caratteristiche {
    padding: 80px 20px;
    background-color: #fff;
}

.caratteristiche-container {
    max-width: 1200px;
    margin: 0 auto;
}

.furgone-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.furgone-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.furgone-specs h3 {
    color: #0C5578;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.furgone-specs p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: rgba(12, 85, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon .material-icons {
    font-size: 1.5rem;
    color: #0C5578;
}

.spec-info h4 {
    color: #0C5578;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.spec-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .furgone-details {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* SEZIONE IMBEGNI */
#chi-siamo {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.impegni-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.impegni-container h2 {
    color: #0C5578;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.3rem;
}

.impegni-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.impegni-list li {
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    font-size: 1.1em;
    line-height: 1.6;
    color: #495057;
}

.impegni-list .material-icons {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: #FF8264;
}

.approccio {
    margin-top: 20px;
    font-style: italic;
    text-align: center;
    font-size: 1.1em;
    color: #666;
    background: rgba(12, 85, 120, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

/* FOOTER */
footer {
    background-color: #0C5578;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #FF8264;
}

.footer-section p,
.footer-section ul {
    color: #e0e0e0;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a:hover {
    color: #FF8264;
}

.footer-section .material-icons {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    color: #FF8264;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* BOTTONE PRENOTA SUBITO E BOOKING PANEL */
#booking-button {
    font-size: 18px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FF8264;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s;
}

#booking-button:hover {
    transform: scale(1.05);
    background-color: #ff6a4a;
}

#booking-panel {
    position: fixed;
    bottom: 12px;
    right: 12px;
    width: 400px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1002;
    display: none;
}

#booking-panel h3 {
    color: #0C5578;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.datetime-group {
    margin: 0px 0;
}

.datetime-inputs {
    display: flex;
    gap: 10px;
    margin-top: 0px;
}

.date-input {
    flex: 2;
    min-width: 180px;
}

.time-input {
    flex: 1;
    min-width: 100px;
}

.form-field {
    position: relative;
    margin-top: 22px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 14px 10px 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: #fff;
}

.form-field label {
    position: absolute;
    left: 5px;
    top: 14px;
    background: #fff;
    padding: 0 4px;
    font: 14px/1 Montserrat, sans-serif;
    color: #777;
    pointer-events: none;
    transition: .2s;
    display: block;
}

.form-field input:focus+label,
.form-field input:not(:placeholder-shown)+label,
.form-field select:focus+label,
.form-field select:valid+label {
    top: -12px;
    font-size: 13px;
    color: #0C5578;
}

#price-calculation {
    margin: 5px 0px 0px 0px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.opening-hours {
    margin-top: 4px;
    font-size: 12px;
    color: #555;
}

.wh-note {
    display: block;
    margin: 6px 0 10px;
    color: #555;
}

#included-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 14px;
}

#included-list li {
    display: flex;
    align-items: center;
    gap: 5px;
}

#included-list .material-icons {
    font-size: 16px;
    color: #FF8264;
}

.whatsapp-send-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background-color: #FF8264;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s;
}

.whatsapp-send-btn:hover {
    background-color: #ff6a4a;
}

.close-panel {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    padding: 5px 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #888;
    z-index: 10;
}

/* Responsive per mobile */
@media (max-width: 768px) {
    #booking-panel {
        position: fixed;
        bottom: 10px;
        top: auto;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: 90vh;
        padding: 20px;
        background: #fff;
        border-radius: 20px;
        overflow-y: auto;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 1002;
        display: none;
    }

    .close-panel {
        top: 12px;
        right: 15px;
        font-size: 28px;
    }

    .datetime-inputs .time-input {
        margin-left: 15px;
    }

    #included-list {
        grid-template-columns: 1fr;
    }
}

/* Stili per i numeri di telefono nell'hero */
.phone-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(12, 85, 120, 0.2);
    backdrop-filter: blur(5px);
    padding: 10px 25px;
    border-radius: 20px;
    border: 1px solid rgba(12, 85, 120, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.icon-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.phone-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.phone-number {
    font-weight: 600;
    font-size: 1.1em;
}

.rental-phone .material-icons {
    color: #FF8264;
}

/* Animazione per "tutto incluso" */
.animaizonee {
    position: relative;
    display: inline-block;
    color: #ffffff;
    transition: color 0.3s ease;
}

.animaizonee::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #b1d7ff 0%, #FF8264 100%);
    animation: elegant-underline 2.5s ease-in-out infinite;
}

@keyframes elegant-underline {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}

/* Animazione per il bottone Prenota Subito */
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Stili per il logo */
.logo-image {
    height: 80px;
    margin-top: 0px;
    width: auto;
    transition: all 0.3s ease;
    /* filter: brightness(0) invert(1); */
    /* Trasforma il logo in negativo */
}

.footer-logo {
    height: 80px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.logo-image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-image {
        margin-top: 20px !important;
    }
}

/* ===== STILI SPECIFICI PER PAGINA LUNGO TERMINE ===== */

/* Stili per la sezione Contatti nella pagina lungo termine */
.contatti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contatto-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(12, 85, 120, 0.1);
    text-align: center;
}

.contatto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(12, 85, 120, 0.1);
}

.contatto-icon {
    width: 80px;
    height: 80px;
    background: rgba(12, 85, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contatto-icon .material-icons {
    font-size: 2.5rem;
    color: #0C5578;
}

.contatto-card h3 {
    color: #0C5578;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contatto-card p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contatto-card small {
    color: #999;
}

.contatto-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Stili specifici per hero della pagina lungo termine */
#hero .hero-badge {
    background-color: #FF8264;
}

/* Miglioramenti responsive per pagina lungo termine */
@media (max-width: 768px) {
    .contatti-grid {
        grid-template-columns: 1fr;
    }

    .contatto-card {
        padding: 1.5rem;
    }
}

/* Stili per i piani nella pagina lungo termine */
#soluzioni .piano-price span {
    color: #FF8264;
    font-size: 1.8rem;
    font-weight: 700;
}

#soluzioni .piano-card .piano-price {
    font-size: 1.2rem;
    color: #666;
}

#soluzioni .piano-features h4 {
    color: #0C5578;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

#soluzioni .piano-features p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Stili per la sezione vantaggi nella pagina lungo termine */
#vantaggi {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

/* Aggiustamenti per il bottone CTA nella pagina lungo termine */
.contatto-cta .cta-button.featured {
    background-color: #FF8264;
    border: none;
    border-radius: 20px;
    text-decoration: none;
}

.contatto-cta .cta-button.featured:hover {
    background-color: #ff6a4a;
}

.hero-description {
    margin: 20px 0 30px 0;
    max-width: 600px;
}

.hero-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description strong {
    color: #FF8264;
    font-weight: 600;
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .hero-description {
        margin: 15px 0 25px 0;
    }

    .hero-description p {
        font-size: 1rem;
        text-align: center;
    }
}

/* Stile per invertire l'ordine nella sezione caratteristiche */
.furgone-details.reverse {
    flex-direction: row-reverse;
}

/* Manteniamo la responsività */
@media (max-width: 768px) {
    .furgone-details.reverse {
        flex-direction: column;
    }
}

.furgone-details {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* Se non hai già questa regola, aggiungila */
@media (max-width: 768px) {
    .furgone-details {
        flex-direction: column;
    }
}

/* SEZIONE NOLEGGIO AUTO */
#noleggio-auto {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.auto-details {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.auto-specs {
    flex: 1;
}

.auto-specs h3 {
    color: #0C5578;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.auto-specs p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.auto-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.auto-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.auto-feature-icon {
    width: 50px;
    height: 50px;
    background: #ffe8e3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auto-feature-icon .material-icons {
    font-size: 1.5rem;
    color: #FF8264;
}

.auto-feature-content h4 {
    color: #0C5578;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.auto-feature-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.auto-categories h4 {
    color: #0C5578;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: #0C5578;
    transform: translateY(-2px);
}

.category-item .material-icons {
    color: #FF8264;
    font-size: 1.2rem;
}

.category-item span:last-child {
    color: #333;
    font-weight: 500;
}

.auto-image {
    flex: 1;
}

.auto-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auto-cta {
    background: #0C5578;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.cta-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF8264;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #ff6a4a;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .auto-details {
        flex-direction: column;
    }

    .auto-features-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auto-cta {
        padding: 2rem;
    }

    .auto-specs h3 {
        font-size: 1.7rem;
    }
}

/* SEZIONE PARTNERSHIP */
.partnership-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.partnership-content p:first-child {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.partner-logo {
    margin: 1rem 0;
}

.heyrent-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.heyrent-logo:hover {
    transform: scale(1.05);
}

.partnership-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Responsive per partnership */
@media (max-width: 768px) {
    .partnership-section {
        padding: 1.5rem;
    }

    .heyrent-logo {
        height: 35px;
    }

    .partnership-content p:first-child {
        font-size: 1rem;
    }
}

/* Modifiche per le card dell'hero */
.highlight-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FF8264;
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

/* Stili per la partnership nell'hero */
.hero-partnership {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-partnership p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.hero-partnership .partner-logo {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .highlight-card {
        padding: 20px;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        /* centra verticalmente */
        align-items: center !important;
        /* centra orizzontalmente */
        text-align: center !important;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .hero-partnership {
        margin-top: 20px;
        padding: 12px;
    }

    .hero-partnership .partner-logo {
        height: 35px;
    }
}

/* SEZIONE SERVIZI INCLUSI */
#servizi-inclusi {
    padding: 80px 20px;
    background-color: #fff;
}

.servizi-inclusi-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.servizi-text {
    flex: 1;
}

.servizi-text h3 {
    color: #0C5578;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.servizi-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.servizi-lista {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.servizio-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0C5578;
    transition: all 0.3s ease;
}

.servizio-item:hover {
    background: #f0f6ff;
    transform: translateX(5px);
}

.servizio-item.optional {
    border-left-color: #FF8264;
}

.servizio-item .material-icons {
    color: #0C5578;
    font-size: 1.5rem;
    margin-top: 2px;
}

.servizio-item.optional .material-icons {
    color: #FF8264;
}

.servizio-item h4 {
    color: #0C5578;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.servizio-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.servizi-visuale {
    flex: 1;
    position: relative;
}

.servizi-visuale img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.flotta-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0C5578;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flotta-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.flotta-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Stili per l'hero della pagina lungo termine */
.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 1rem 0 2rem 0;
    max-width: 600px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .servizi-inclusi-content {
        flex-direction: column;
    }

    .servizio-item {
        padding: 1rem;
    }

    .flotta-info {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
}

/* SEZIONE SERVIZI INCLUSI - DESIGN MODERNO SENZA BOX */
.servizi-lista-moderna {
    margin-top: 2.5rem;
}

.servizi-riga {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.servizi-riga-singola {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #e0e0e0;
}

.servizio-linea {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    padding: 1rem 0;
    position: relative;
}

.servizio-linea::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

.servizi-riga:last-child .servizio-linea::after,
.servizi-riga-singola .servizio-linea::after {
    display: none;
}

.servizio-indicatore {
    width: 40px;
    height: 40px;
    background: #FF8264;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.servizio-linea.opzionale .servizio-indicatore {
    background: #FF8264;
}

.servizio-indicatore .material-icons {
    color: white;
    font-size: 1.2rem;
}

.servizio-dettagli {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.servizio-titolo {
    color: #0C5578;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

.servizio-linea.opzionale .servizio-titolo {
    color: #FF8264;
}

.servizio-descrizione {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Servizi visuale con due immagini */
.servizi-visuale {
    position: relative;
}

.flotta-principale {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.flotta-secondaria {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.flotta-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0C5578;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.flotta-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.flotta-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Effetti hover sottili */
.servizio-linea {
    transition: transform 0.2s ease;
}

.servizio-linea:hover {
    transform: translateX(5px);
}

.servizio-linea:hover .servizio-indicatore {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .servizi-riga {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .servizi-riga {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .servizio-linea {
        padding: 1.2rem 0;
    }

    .servizio-indicatore {
        width: 36px;
        height: 36px;
    }

    .servizio-indicatore .material-icons {
        font-size: 1.1rem;
    }

    .servizio-titolo {
        font-size: 0.95rem;
    }

    .servizio-descrizione {
        font-size: 0.85rem;
    }

    .flotta-info {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .servizi-inclusi-content {
        flex-direction: column;
    }

    .servizi-visuale {
        margin-top: 2rem;
    }
}

/* SEZIONE ANTEPRIMA OFFERTE */
#anteprima-offerte {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.offerte-container {
    max-width: 1200px;
    margin: 0 auto;
}

.offerte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.offerta-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.offerta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.offerta-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.offerta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offerta-card:hover .offerta-image img {
    transform: scale(1.05);
}

.offerta-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF8264;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.offerta-content {
    padding: 1.5rem;
}

.offerta-content h3 {
    color: #0C5578;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.offerta-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
}

.spec-item .material-icons {
    color: #0C5578;
    font-size: 1.5rem;
}

.spec-item span:last-child {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.offerta-details p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.offerta-cta {
    width: 100%;
    background: #FF8264;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.offerta-cta:hover {
    background: #09415d;
}

.offerte-cta {
    text-align: center;
    margin-top: 2rem;
}

.offerte-cta .cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    background: #09415d;
}

/* Responsive */
@media (max-width: 768px) {
    .offerte-grid {
        grid-template-columns: 1fr;
    }

    .offerta-specs {
        flex-direction: column;
        gap: 1rem;
    }

    .spec-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
    }
}

/* HERO OFFERTE */
#hero-offerte {
    background: linear-gradient(135deg, #0C5578 0%, #09415d 100%);
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

.hero-offerte-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-offerte-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 40px;
}

.hero-offerte-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.scroll-indicator {
    margin-top: 3rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator .material-icons {
    font-size: 2.5rem;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* SEZIONE FILTRI */
#filtri {
    padding: 60px 20px;
    background: white;
}

.filtri-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filtri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.filtro-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filtro-group label {
    font-weight: 600;
    color: #0C5578;
    margin-bottom: 0.5rem;
}

.filtro-group input[type="range"] {
    width: 100%;
    margin: 0.5rem 0;
}

.filtro-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

.filtro-actions {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.filtro-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filtro-button:not(.secondary) {
    background: #0C5578;
    color: white;
}

.filtro-button.secondary {
    background: #e9ecef;
    color: #333;
}

.filtro-button:hover {
    opacity: 0.9;
}

.filtri-risultati {
    text-align: center;
    margin-top: 1rem;
}

.filtri-risultati p {
    font-weight: 600;
    color: #0C5578;
}

/* SEZIONE TUTTE LE OFFERTE */
#tutte-offerte {
    padding: 60px 20px;
    background: #f8f9fa;
}

.offerte-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.caricamento {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.caricamento .material-icons {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.nessun-risultato {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nessun-risultato p {
    font-size: 1.2rem;
    color: #666;
}

/* SEZIONE CTA OFFERTE */
#cta-offerte {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0C5578 0%, #09415d 100%);
    color: white;
    text-align: center;
}

.cta-offerte-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-offerte-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-offerte-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .cta-button.featured {
    background: #FF8264;
    color: white;
}

.cta-buttons .cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-offerte-content h1 {
        font-size: 2.2rem;
    }

    .filtri-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .filtro-actions {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .offerte-grid-large {
        grid-template-columns: 1fr;
    }
}

/* Stili specifici per la pagina di amministrazione */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: #0C5578;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 120px;
}

.admin-header h1 {
    margin: 0;
    font-size: 2rem;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.form-section h2 {
    color: #0C5578;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF8264;
    padding-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #0C5578;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0C5578;
    box-shadow: 0 0 0 2px rgba(12, 85, 120, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #0C5578;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.offerte-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.offerte-list h2 {
    color: #0C5578;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF8264;
    padding-bottom: 10px;
}

.admin-offerte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.admin-offerta-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.admin-offerta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.admin-offerta-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.admin-offerta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-offerta-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF8264;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-offerta-content {
    padding: 15px;
}

.admin-offerta-content h3 {
    color: #0C5578;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.admin-offerta-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.admin-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    background: white;
    border-radius: 5px;
}

.admin-spec-item .material-icons {
    color: #0C5578;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.admin-spec-item span {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.admin-offerta-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.admin-offerta-actions {
    display: flex;
    gap: 10px;
}

.admin-offerta-actions .btn {
    flex: 1;
    padding: 8px 15px;
    font-size: 0.9rem;
    justify-content: center;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state .material-icons {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ddd;
}

.image-preview {
    margin-top: 10px;
    text-align: center;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: block;
    padding: 12px;
    background: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input-label:hover {
    background: #e9ecef;
    border-color: #0C5578;
}

.file-input-label .material-icons {
    color: #0C5578;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-container {
        padding: 10px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .admin-offerte-grid {
        grid-template-columns: 1fr;
    }

    .admin-offerta-specs {
        grid-template-columns: 1fr;
    }
}

/* ===== SEZIONE SOCIAL ===== */
#social {
    padding: 80px 20px;
    background-color: #fff;
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-card {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(12, 85, 120, 0.1);
    padding: 16px 16px 16px 14px;
    box-shadow: 0 8px 28px rgba(12, 85, 120, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    border-radius: 3px;
    background: #FF8264;
    opacity: .9;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(12, 85, 120, 0.12);
    border-color: rgba(12, 85, 120, 0.2);
}

.social-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f5f7fa;
}

.social-icon svg {
    width: 28px;
    height: 28px;
    fill: #0C5578;
}

.social-content h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #0C5578;
}

.social-content p {
    margin: 4px 0 0;
    font-size: .95rem;
    color: #666;
}

.social-cta {
    font-weight: 700;
    font-size: .95rem;
    padding: 10px 14px;
    border-radius: 10px;
    background: #0C5578;
    color: #fff;
    transition: background .25s ease, transform .25s ease;
    white-space: nowrap;
}

.social-card:hover .social-cta {
    background: #09415d;
    transform: translateX(2px);
}

/* Accenti brand (sottili) */
.social-card.instagram .social-icon {
    background: linear-gradient(135deg, #fdf1f0, #fde7ff);
}

.social-card.instagram .social-icon svg {
    fill: #c13584;
}

.social-card.youtube .social-icon {
    background: #fff1f1;
}

.social-card.youtube .social-icon svg {
    fill: #FF0000;
}

.social-card.tiktok .social-icon {
    background: #eef7ff;
}

.social-card.tiktok .social-icon svg {
    fill: #111;
}

.social-card.facebook .social-icon {
    background: #eef2ff;
}

.social-card.facebook .social-icon svg {
    fill: #1877F2;
}

/* Responsive rifiniture */
@media (max-width: 480px) {
    .social-card {
        grid-template-columns: 48px 1fr;
        grid-template-areas:
            "icon title"
            "icon desc"
            "icon cta";
        row-gap: .25rem;
    }

    .social-icon {
        width: 48px;
        height: 48px;
    }

    .social-cta {
        justify-self: start;
        margin-top: 6px;
    }
}