/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    background-color: #ffffff;
    line-height: 1.5;
    color: #28292D;
}

/* Layout components */
.main-container {
    width: 100%;
    display: flex;
    flex-direction: row; /* Li mette uno accanto all'altro */
    justify-content: center; /* Li centra nella pagina */
    gap: 20px; /* Crea spazio tra un PDF e l'altro */
    flex-wrap: wrap; /* Se lo schermo è piccolo, vanno a capo invece di rompersi */
    padding: 20px;
}

.content-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.panels {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.panel-image {
    width: 200px;
    height: 200px;
}

.panel-text {
    width: 680px;
}

.panel-title {
    font-weight: 900;
    font-size: 38px;
    margin-bottom: 20px;
}

.panel-pdf {
    width: 300px;
}

.panel-pdf-embed {
    width: 100%;
    height: 100%;
    border: none;
}

.title-color {
    color: #1E276B;
}

.panel-description {
    font-size: 16px;
    line-height: 24px;
}

.page-title {
    margin-bottom: 60px;
}

/* PDF CONTENT */

/* Ogni singola colonna PDF */
.panel-content {
    display: flex;
    flex-direction: column;
    height: 600px; 
    width: 350px; /* Leggermente più largo per leggibilità */
    background: #fff; /* Opzionale: aggiunge un fondo pulito */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.panel-title-pdf {
    font-weight: 400;
    font-size: 18px;
    margin: 15px 0;
    text-align: center;
    color: #1E276B;
}

.panel-pdf {
    flex: 1; /* Prende tutto lo spazio centrale */
    width: 100%;
}

.panel-pdf embed {
    width: 100%;
    height: 100%;
    border: none;
}

.panel-button {
    padding: 20px;
    text-align: center;
}

.panel-button a {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #1E276B;
    border-radius: 20px;
    text-decoration: none;
    color: #1E276B;
    transition: 0.3s;
}

.panel-button a:hover {
    background-color: #1E276B;
    color: white;
}


/* END PDF CONTENT */

.text-highlight-color {
    font-weight: 800;
    color: #1E276B;
}

/* Header */
.header {
    width: 100%;
    padding: 37px 16px 0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 37px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-divider {
    width: 100%;
    height: 1px;
    background-color: #1e276b;
    border-top: 1px solid #1e276b;
    margin-bottom: 8px;
}

.navigation {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.nav-menu {
    display: none;
}

.nav-links {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 7px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 9px;
    color: #1e276b;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link.active {
    border: 1px solid #1e276b;
    background-color: #ffffff;
}

.nav-link:hover {
    background-color: #f3f4f6;
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-link {
    width: 18px;
    height: 17px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

/* Posizionamento del contenitore dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Stile del menu a comparsa */
.dropdown-menu {
    display: none; /* Nascosto di default */
    position: absolute;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border: 1px solid #1e276b;
    border-radius: 10px;
    z-index: 100;
    margin-top: 5px; /* Spazio tra il tasto e il menu */
    overflow: hidden;
}

/* Stile dei link dentro il menu a tendina */
.dropdown-menu a {
    color: #1e276b;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-family: Inter, sans-serif;
    font-size: 11px;
    transition: background 0.3s;
}

/* Effetto hover sui link del sottomenu */
.dropdown-menu a:hover {
    background-color: #f3f4f6;
    color: #1e276b;
}

/* Mostra il menu quando passi il mouse sopra .dropdown */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Opzionale: mantiene il link principale evidenziato quando il menu è aperto */
.dropdown:hover .nav-link {
    background-color: #f3f4f6;
}

/* Main content */
.main-content {
    width: 100%;
    padding: 60px 16px 0;
}

.page-title {
    font-size: 33px;
    font-family: Inter, sans-serif;
    font-weight: 800;
    line-height: 40px;
    color: #1e276b;
    text-align: center;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #1e276b;
    padding: 23px 16px;
    margin-top: 98px;
}

.footer-content {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    width: 160px;
    height: 54px;
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-social-link {
    width: 18px;
    height: 17px;
    transition: transform 0.3s ease;
}

.footer-social-link:hover {
    transform: scale(1.1);
}

.footer-copyright {
    font-size: 4px;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    line-height: 5px;
    color: #ffffff;
    align-self: flex-end;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    box-shadow: 0px 4px 4px #0000003f;
}

/* Responsive media queries */
@media (min-width: 640px) {
    .content-wrapper {
        padding: 0 24px;
    }

    .header {
        padding: 45px 24px 0;
    }

    .logo-image {
        width: 76px;
        height: 68px;
    }

    .logo-title {
        font-size: 24px;
        line-height: 30px;
    }

    .logo-subtitle {
        font-size: 7px;
        line-height: 8px;
    }

    .nav-link {
        font-size: 9px;
        line-height: 11px;
        padding: 5px 12px;
        border-radius: 10px;
    }

    .social-link {
        width: 22px;
        height: 20px;
    }

    .page-title {
        font-size: 42px;
        line-height: 51px;
    }

    .placeholder-text {
        font-size: 115px;
        line-height: 139px;
    }

    .description-text {
        font-size: 6px;
        line-height: 7px;
    }

    .info-icon {
        width: 20px;
        height: 20px;
    }

    .info-text,
    .price-text {
        font-size: 10px;
        line-height: 12px;
    }

    .section-title {
        font-size: 20px;
        line-height: 24px;
    }

    .contact-text {
        font-size: 9px;
        line-height: 11px;
    }

    .form-input {
        font-size: 8px;
        line-height: 10px;
        padding: 3px 15px;
        height: 16px;
    }

    .submit-button {
        font-size: 12px;
        line-height: 15px;
        padding: 5px 15px;
    }
}

@media (min-width: 768px) {
    .content-wrapper {
        padding: 0 32px;
    }

    .header {
        padding: 50px 32px 0;
    }

    .nav-menu {
        display: flex;
    }

    .content-row {
        flex-direction: row;
        gap: 48px;
    }

    .right-sidebar {
        width: 30%;
        min-width: 260px;
    }

    .logo-image {
        width: 86px;
        height: 76px;
    }

    .logo-title {
        font-size: 27px;
        line-height: 34px;
    }

    .logo-subtitle {
        font-size: 8px;
        line-height: 9px;
    }

    .nav-link {
        font-size: 10px;
        line-height: 12px;
    }

    .social-link {
        width: 26px;
        height: 24px;
    }

    .page-title {
        font-size: 48px;
        line-height: 58px;
    }

    .placeholder-text {
        font-size: 130px;
        line-height: 157px;
    }

    .description-text {
        font-size: 7px;
        line-height: 8px;
    }

    .info-icon {
        width: 22px;
        height: 22px;
    }

    .info-text,
    .price-text {
        font-size: 11px;
        line-height: 13px;
    }

    .section-title {
        font-size: 22px;
        line-height: 27px;
    }

    .contact-text {
        font-size: 10px;
        line-height: 12px;
    }

    .form-input {
        font-size: 9px;
        line-height: 11px;
        padding: 3px 18px;
        height: 18px;
    }

    .submit-button {
        font-size: 14px;
        line-height: 17px;
        padding: 5px 18px;
    }
}

@media (min-width: 1024px) {
    .content-wrapper {
        padding: 0 48px;
    }

    .header {
        padding: 62px 48px 0;
    }

    .logo-image {
        width: 102px;
        height: 90px;
    }

    .logo-title {
        font-size: 32px;
        line-height: 40px;
    }

    .logo-subtitle {
        font-size: 9px;
        line-height: 11px;
    }

    .nav-link {
        font-size: 12px;
        line-height: 15px;
        padding: 6px 16px;
        border-radius: 14px;
    }

    .social-link {
        width: 30px;
        height: 28px;
    }

    .page-title {
        font-size: 55px;
        line-height: 67px;
    }

    .placeholder-text {
        font-size: 150px;
        line-height: 182px;
    }

    .description-text {
        font-size: 8px;
        line-height: 9px;
    }

    .info-icon {
        width: 26px;
        height: 26px;
    }

    .info-text,
    .price-text {
        font-size: 12px;
        line-height: 15px;
    }

    .price-text {
        font-size: 14px;
        line-height: 17px;
    }

    .euro-icon {
        width: 14px;
        height: 14px;
    }

    .section-title {
        font-size: 26px;
        line-height: 32px;
    }

    .contact-text {
        font-size: 12px;
        line-height: 15px;
    }

    .form-input {
        font-size: 10px;
        line-height: 13px;
        padding: 4px 20px;
        height: 22px;
        border-radius: 10px;
    }

    .submit-button {
        font-size: 16px;
        line-height: 20px;
        padding: 6px 20px;
        border-radius: 18px;
    }

    .footer-logo {
        width: 266px;
        height: 90px;
    }

    .footer-social-link {
        width: 30px;
        height: 28px;
    }

    .footer-copyright {
        font-size: 7px;
        line-height: 9px;
    }
}

@media (min-width: 1280px) {
    .content-wrapper {
        padding: 0 64px;
    }

}