:root {
    --primary: #0f2439; /* Blu scuro originale */
    --accent: #c5a059;  /* Oro */
    --light: #f4f7f6;
    --text: #444;
}

body { font-family: 'Montserrat', sans-serif; color: var(--text); background-color: #fff; }
h1, h2, h3, .font-serif { font-family: 'Playfair Display', serif; }

/* Navbar */
.navbar { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.1); }
.logo-nav { height: 55px; }
.nav-link { font-weight: 600; color: var(--primary) !important; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.nav-link.active { color: var(--accent) !important; }

/* Hero splash op 0.1*/
.hero { 
    background: linear-gradient(rgba(15,36,57,0.1), rgba(15,36,57,0.1)), url('images/splash.png');
    height: 60vh; background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; color: #fff; text-align: center;
}

/* Sezioni */
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light); }
.section-title { margin-bottom: 40px; font-weight: 700; color: var(--primary); }

/* Gallery */
.gallery-img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; transition: 0.3s; cursor: pointer; }
.gallery-img:hover { transform: scale(1.03); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Footer */
footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 40px 0; font-size: 0.9rem; }
.footer-link { color: #fff; text-decoration: none; }

/* WhatsApp */
.whatsapp-btn {
    position: fixed; bottom: 25px; right: 25px; background: #25d366; color: #fff;
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 30px; z-index: 999; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Forza la visibilità del bordo del pulsante mobile se lo sfondo è chiaro */
.navbar-toggler {
    border-color: rgba(15, 36, 57, 0.1) !important;
}

/* Colore dell'icona a tre linee */
.navbar-toggler-icon {
    filter: invert(15%) sepia(20%) saturate(1500%) hue-rotate(180deg) brightness(30%) contrast(100%);
}

/* Uniforma H1 e H2 allo stile Display-4 e Serif */
h1, h2 {
    font-family: 'Playfair Display', serif !important; /* Forza il font-serif */
    font-size: calc(1.475rem + 2.7vw) !important;    /* Corrisponde alla dimensione display-4 di Bootstrap */
    font-weight: 300;                                 /* Tipico dello stile display */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Opzionale: se vuoi che i titoli siano sempre centrati come nella Galleria o Index */
h1.section-title, h2.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Ingrandimento Logo */
.navbar-brand img {
    height: 92px !important; /* Raddoppiato da 55px */
    width: auto;
    transition: height 0.3s ease; /* Transizione fluida */
}

/* Ottimizzazione per Mobile (per evitare che copra metà schermo) */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 80px !important; /* Su smartphone lo teniamo leggermente più piccolo */
    }
}
/* PRIVACY BANNER */
.privacy-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--primary, #0f2439);
    color: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.4s ease-in-out;
}

.privacy-banner.show {
    bottom: 0;
}

.privacy-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-content p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-content a {
    color: var(--accent, #c5a059);
    text-decoration: underline;
}

.privacy-content a:hover {
    color: #fff;
}

.btn-privacy-accept {
    background-color: var(--accent, #c5a059);
    color: #ffffff !important;
    border: none;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.btn-privacy-accept:hover {
    background-color: #b08d4b;
}

@media (max-width: 768px) {
    .privacy-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .privacy-banner {
        padding: 15px 15px 20px 15px;
    }
    
    .btn-privacy-accept {
        width: 100%;
    }
}