:root {
    --tortora: #A89F95;
    --tortora-dark: #8E847B;
    --white: #F5F2EF;
    --pure-white: #FFFFFF;
    --dark: #333333;
    --text: #555555;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.8;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--pure-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%; /* Ridotto leggermente per far spazio all'immagine del logo */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo-img {
    height: 55px; /* Dimensionamento pulito del logo tondo */
    width: auto;
    display: block;
    object-fit: contain;
}

/* --- SEZIONE HERO E NUOVO FONT CORSIVO --- */
.hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 75px; /* Spazio per l'header fisso */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Sfondo scuro per contrastare il testo chiaro */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--pure-white);
}

/* Font calligrafico che simula la grafia del logo */
.logo-font {
    font-family: 'Great Vibes', cursive;
    font-size: 5.5rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 0;
    text-transform: none; /* Mantiene le maiuscole e minuscole naturali del corsivo */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo-font-sub {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: -10px;
    margin-bottom: 15px;
    text-transform: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-location {
    font-size: 1.4rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', serif;
    color: #ffffff;
}

/* Responsive per dispositivi mobili */
@media (max-width: 768px) {
    .logo-font { font-size: 4rem; }
    .logo-font-sub { font-size: 2.5rem; }
    .logo-img { height: 45px; }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--tortora-dark);
}

/* Hero */
.hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--pure-white);
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--pure-white);
    margin-bottom: 5px;
}

.hero-content h2 {
    font-size: 2.2rem;
    color: var(--pure-white);
    font-weight: 400;
    margin-bottom: 15px;
}

.hero-location {
    font-size: 1.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', serif;
}

/* Sections */
section {
    padding: 90px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

section h2::after {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--tortora);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about-section {
    background-color: var(--pure-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--tortora-dark);
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--pure-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Director Section */
.director-section {
    background-color: var(--pure-white);
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.director-img img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.director-text h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.director-text .role {
    font-weight: bold;
    color: var(--tortora-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: opacity 0.3s;
}

.gallery-grid img:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

footer h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

footer p {
    color: #CCCCCC;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888888;
}

/* Responsive */
@media (max-width: 768px) {
    header { padding: 15px 20px; }
    nav ul { display: none; }
    .about-grid, .director-grid, .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 3rem; }
}
/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333333;
    color: #FFFFFF;
    padding: 20px 5%;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #DDDDDD;
    flex: 1;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--tortora);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    border-radius: 2px;
    transition: opacity 0.3s;
}

.cookie-btn.accept {
    background-color: var(--tortora);
    color: #FFFFFF;
}

.cookie-btn.reject {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #777777;
}

.cookie-btn:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}