:root {
    --azzurro-polvere: #B0D4E8;
    --azzurro-polvere-light: #D6EAF4;
    --azzurro-polvere-dark: #7BB8D6;
    --text-dark: #2C3E50;
    --text-muted: #5D6D7E;
    --white: #FFFFFF;
    --light-bg: #F8FBFD;
    --border-color: #E8F1F7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--azzurro-polvere-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-dark);
    text-decoration: none;
}

.navbar {
    background: linear-gradient(135deg, var(--white) 0%, var(--azzurro-polvere-light) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--azzurro-polvere-dark) !important;
}

.hero-section {
    background: linear-gradient(180deg, var(--azzurro-polvere-light) 0%, var(--white) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-section {
    padding: 4rem 0;
}

.info-section:nth-child(even) {
    background-color: var(--light-bg);
}

.info-section h2 {
    position: relative;
    padding-bottom: 1rem;
}

.info-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--azzurro-polvere) 0%, var(--azzurro-polvere-dark) 100%);
    border-radius: 2px;
}

.info-section.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.section-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.limiti-section {
    background: linear-gradient(135deg, var(--azzurro-polvere-light) 0%, var(--white) 100%);
    padding: 3rem 0;
    border-radius: 12px;
    margin: 2rem 0;
}

.limiti-section h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.limiti-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.limiti-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--azzurro-polvere);
    border-radius: 50%;
}

.cta-section {
    background: linear-gradient(135deg, var(--azzurro-polvere) 0%, var(--azzurro-polvere-dark) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--text-dark);
}

.cta-section h2 {
    color: var(--text-dark);
}

.cta-section h2::after {
    background: var(--white);
}

.cta-section p {
    color: var(--text-dark);
    opacity: 0.9;
}

.btn-info-read {
    display: inline-block;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-info-read:hover {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    color: var(--azzurro-polvere);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer a:hover {
    color: var(--azzurro-polvere);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-header {
    background: linear-gradient(180deg, var(--azzurro-polvere-light) 0%, var(--white) 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-content {
    padding: 3rem 0;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    margin-top: 1.5rem;
}

.page-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--azzurro-polvere);
    box-shadow: 0 0 0 3px rgba(176, 212, 232, 0.3);
    outline: none;
}

.contact-form .btn-submit {
    background: linear-gradient(135deg, var(--azzurro-polvere) 0%, var(--azzurro-polvere-dark) 100%);
    color: var(--text-dark);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(176, 212, 232, 0.5);
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.thank-you-section {
    text-align: center;
    padding: 5rem 0;
}

.thank-you-section h1 {
    color: var(--azzurro-polvere-dark);
    margin-bottom: 1.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--white);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cookie-banner .btn-accept {
    background-color: var(--azzurro-polvere);
    color: var(--text-dark);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-banner .btn-accept:hover {
    background-color: var(--azzurro-polvere-dark);
}

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

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .info-section {
        padding: 2.5rem 0;
    }

    .cta-section {
        padding: 2.5rem 0;
    }

    .footer {
        text-align: center;
    }

    .footer .col-md-4 {
        margin-bottom: 2rem;
    }

    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 5rem 0;
    }
}

@media (min-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }
}
