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

html {
    font-size: 18px;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    background: rgba(0, 40, 85, 0.9);
    padding: 8px 12px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s;
    opacity: 0.6;
}

.lang-flag:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lang-flag.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.lang-flag img {
    display: block;
    border-radius: 2px;
}

:root {
    --primary-color: #003d82;
    --secondary-color: #00a0e3;
    --accent-color: #ff6b00;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.nav-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s;
    color: var(--text-dark);
}

.nav-social-link:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.nav-social-link svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #002855 0%, #005a9c 100%);
    color: var(--white);
    padding: 30px 20px;
}

.hero-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    height: 180px;
    width: 180px;
    object-fit: cover;
    background: var(--white);
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-logo .subtitle {
    margin-top: 10px;
    font-size: 1rem;
    text-align: center;
    max-width: 200px;
}

.hero-content {
    text-align: center;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 0.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-content .subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.subtitle {
    font-size: 0.95rem;
    margin-bottom: 0;
    opacity: 0.95;
}

.hero-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.social-text {
    font-size: 0.9rem;
    opacity: 0.9;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s;
    color: var(--white);
}

.social-icon:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Community Link */
.community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: var(--white);
    margin-top: 0.8rem;
    transition: all 0.3s;
}

.community-link:hover {
    transform: scale(1.05);
}

.community-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px;
    transition: all 0.3s;
}

.community-link:hover .community-icon {
    background: rgba(255, 255, 255, 0.3);
}

.community-link span {
    font-size: 0.75rem;
    opacity: 0.9;
    white-space: nowrap;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-facebook {
    background: #1877f2;
    color: var(--white);
}

.btn-facebook:hover {
    background: #145dbf;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
    padding: 30px 15px;
}

.section h2 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.intro-text {
    text-align: center;
    font-size: 0.95rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
}

.section-highlight {
    background: var(--bg-light);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.feature-card {
    background: var(--white);
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.icon {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Raduno Section */
.raduno-header {
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
}

.raduno-header h2 {
    margin-bottom: 0.2rem;
    font-size: 1.4rem;
    text-align: center;
}

.raduno-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 0.2rem auto;
    text-align: center !important;
    width: 100%;
}

.raduno-location {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center !important;
    margin: 0.2rem auto;
    width: 100%;
}

.raduno-intro {
    max-width: 900px;
    margin: 0 auto 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    text-align: center;
}

/* Layout Compatto: Locandina + Info */
.layout-compatto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem auto;
    max-width: 900px;
    align-items: stretch;
}

.info-cards-colonna {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Locandina */
.locandina-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.locandina {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.locandina:hover {
    transform: scale(1.02);
}

.descrizione-raduno {
    padding: 0.8rem;
    background: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.descrizione-raduno p {
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: justify;
}

.zona-riservata {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 0.6rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 0 !important;
    font-size: 0.9rem;
}

.raduno-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.info-box-full {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .info-box-wide {
        grid-column: span 1;
    }
}

.info-box {
    background: var(--white);
    padding: 0.9rem;
    border-radius: 6px;
    box-shadow: var(--shadow);
    text-align: justify;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.info-box ul {
    list-style-position: inside;
    color: var(--text-light);
}

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

.info-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

.info-box.highlight {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid var(--accent-color);
}

.info-box.highlight h3 {
    color: var(--accent-color);
}

/* Programma */
.programma-inline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0.5rem 0;
}

.programma-inline strong {
    color: var(--primary-color);
    font-weight: 700;
}

.info-note {
    background: rgba(255, 255, 255, 0.6);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
    border-left: 3px solid var(--secondary-color);
}

.location-info {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.location-info h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.location-info p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
    color: var(--text-light);
}

.location-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.location-info a:hover {
    text-decoration: underline;
}

/* Mappa */
.mappa-container {
    margin-top: 1rem;
    border-radius: 6px;
    overflow: hidden;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.mappa-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.mappa-link iframe {
    pointer-events: none;
}

.mappa-link:hover iframe {
    opacity: 0.9;
}

.mappa-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: opacity 0.3s;
}

.mappa-link:hover .mappa-overlay {
    opacity: 1;
}

/* Location e Servizi */
.location-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.servizi-camping {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.servizio {
    background: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

/* Tariffe Dettagliate */
.prezzi-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    border: 2px solid var(--secondary-color);
}

.prezzi-intro {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    text-align: center;
}

.tariffe-giorni {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
    align-items: stretch;
}

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

.tariffa-giorno {
    background: var(--white);
    border-radius: 6px;
    padding: 0.7rem 0.9rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tariffa-giorno.speciale {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fff 0%, #fff3e0 100%);
}

.giorno-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bg-light);
}

.emoji-cal {
    font-size: 1.2rem;
}

.data-giorno {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.prezzo-giorno {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.tariffa-dettagli {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.tariffa-dettagli ul {
    margin: 0.2rem 0 0 0.8rem;
    padding: 0;
    font-size: 0.85rem;
}

.tariffa-dettagli li {
    margin: 0.1rem 0;
    color: var(--text-light);
}

.tariffa-dettagli strong {
    font-size: 0.85rem;
}

.supplementi strong {
    color: var(--text-dark);
}

/* Responsive tariffe */
@media (max-width: 768px) {
    .tariffa-dettagli {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tabella-esempi {
        font-size: 0.9rem;
    }
    
    .tabella-esempi th,
    .tabella-esempi td {
        padding: 0.7rem 0.5rem;
    }
}

/* Esempi Costo con Tabella */
.esempi-costo {
    background: var(--white);
    padding: 0.8rem;
    border-radius: 6px;
    margin-top: 0.8rem;
}

.esempi-costo h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.esempi-costo > p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.tabella-esempi {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.tabella-esempi thead {
    background: var(--primary-color);
    color: var(--white);
}

.tabella-esempi th {
    padding: 0.5rem 0.6rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.tabella-esempi tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.tabella-esempi tbody tr:hover {
    background: var(--bg-light);
}

.tabella-esempi td {
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
}

.tabella-esempi .prezzo-totale {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
}

.nota-tassa {
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Lista Registrazione */
.lista-registrazione {
    list-style: none;
    padding: 0;
}

.lista-registrazione li {
    padding: 0.8rem 0 0.8rem 2rem;
    margin: 0.5rem 0;
    background: var(--white);
    border-radius: 8px;
    position: relative;
}

.lista-registrazione li:before {
    content: "✓";
    position: absolute;
    left: 0.7rem;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contatti Iscrizione */
.contatti-iscrizione {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contatti-iscrizione div {
    margin: 0.8rem 0;
    font-size: 1.05rem;
}

.contatti-iscrizione a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.contatti-iscrizione a:hover {
    text-decoration: underline;
}

/* No Profit Box */
.no-profit {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border: 2px solid #22c55e;
}

.no-profit h3 {
    color: #16a34a;
}

.grazie {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    font-style: italic;
    padding-top: 1rem;
    border-top: 2px solid #22c55e;
}

/* Disclaimer Box */
.disclaimer-box {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #eab308;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 6px rgba(234, 179, 8, 0.1);
}

.disclaimer-box h4 {
    color: #ca8a04;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.disclaimer-box p {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: #713f12;
    text-align: justify;
}

.disclaimer-box p:last-of-type {
    margin-bottom: 0;
}

.disclaimer-box .disclaimer-footer {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid #eab308;
    font-style: italic;
    text-align: center;
    font-size: 0.7rem;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card svg {
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.8rem 15px;
}

footer p {
    font-size: 0.75rem;
    margin: 0.2rem 0;
    opacity: 0.9;
}

.footer-note {
    margin-top: 0.2rem;
    opacity: 0.7;
    font-size: 0.7rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.footer-link:hover {
    border-bottom-color: var(--white);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-logo img {
        height: 100px;
        width: 100px;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .layout-compatto {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section h2 {
        font-size: 1.3rem;
    }

    .social-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.programma-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.programma-lista li {
    font-size: 0.98rem;
    color: var(--text-light);
    background: #f7fafd;
    border-radius: 5px;
    padding: 0.4rem 0.7rem;
    border-left: 3px solid var(--secondary-color);
}

.programma-lista li strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.3em;
}

/* ==========================================
   COOKIE BANNER STYLES (Iubenda Style)
   ========================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 0;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.cookie-links {
    font-size: 0.85rem;
}

.cookie-links a {
    color: #00a0e3;
    text-decoration: none;
}

.cookie-links a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #00a0e3;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #0086c3;
    transform: scale(1.02);
}

.cookie-btn-necessary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cookie-btn-necessary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-customize {
    background: transparent;
    color: #00a0e3;
    border: 2px solid #00a0e3;
}

.cookie-btn-customize:hover {
    background: rgba(0, 160, 227, 0.1);
}

.cookie-btn-save {
    background: #28a745;
    color: #fff;
    margin-top: 1rem;
}

.cookie-btn-save:hover {
    background: #218838;
}

/* Cookie Settings Panel */
.cookie-settings {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.cookie-settings.show {
    max-height: 400px;
    padding: 1.5rem 2rem;
}

.cookie-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option-title {
    font-weight: 600;
    font-size: 1rem;
}

.cookie-option p {
    margin: 0.5rem 0 0 28px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==========================================
   POLICY PAGES STYLES
   ========================================== */

.policy-hero {
    background: linear-gradient(135deg, #002855 0%, #005a9c 100%);
    color: var(--white);
    padding: 60px 20px 40px;
    text-align: center;
}

.policy-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.policy-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.policy-content {
    padding: 40px 20px 60px;
    background: var(--bg-light);
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.policy-container h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.policy-container h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.8rem;
}

.policy-container p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-container ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-container li {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.policy-container a {
    color: var(--secondary-color);
    text-decoration: none;
}

.policy-container a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.cookie-table tr:hover {
    background: #f8f9fa;
}

/* Policy Table (Privacy Policy) */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.policy-table th,
.policy-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.policy-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.policy-table tr:hover {
    background: #f8f9fa;
}

.policy-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.policy-intro p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Policy Footer */
.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-back,
.btn-cookie {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back {
    background: var(--primary-color);
    color: var(--white);
}

.btn-back:hover {
    background: #002855;
    transform: translateY(-2px);
}

.btn-cookie {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-cookie:hover {
    background: #0086c3;
    transform: translateY(-2px);
}

.btn-manage-cookies {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 1rem 0;
}

.btn-manage-cookies:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer Policy Links */
.footer-policy-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

.footer-policy-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.footer-policy-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }

    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .policy-container {
        padding: 1.5rem;
    }

    .policy-hero h1 {
        font-size: 1.6rem;
    }

    .cookie-table {
        font-size: 0.8rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }

    .policy-table {
        font-size: 0.8rem;
    }

    .policy-table th,
    .policy-table td {
        padding: 0.6rem;
    }

    .policy-intro {
        padding: 1rem;
    }
}
