/* Reset generale */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0b0b0b;
    color: #f5ebe0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* NAVBAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 11, 11, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 163, 66, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-text {
    font-size: 20pt;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d4a342;
    text-transform: uppercase;
}

/* Menu Hamburger per Smartphone */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #f5ebe0;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #f5ebe0;
    text-decoration: none;
    font-size: 11pt;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e67e22;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #e67e22;
}

.nav-btn-booking {
    color: #e67e22 !important;
    font-weight: bold !important;
}

/* ANIMAZIONI GEOMETRICHE DI SFONDO */
.geo-shape {
    position: fixed; /* Mantiene le forme sullo sfondo anche scrollando */
    opacity: 0.05;
    z-index: -1; /* Forzato dietro a tutto il codice */
    transform-origin: center;
}

.shape-1 {
    top: 15%;
    left: 8%;
    width: 160px;
    height: 160px;
    background-color: #d4a342;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: floatRotateTriangle 25s infinite linear;
}

.shape-2 {
    bottom: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-color: #e67e22;
    border-radius: 50%;
    animation: floatCircle 18s infinite ease-in-out;
}

.shape-3 {
    top: 60%;
    left: 12%;
    width: 100px;
    height: 100px;
    background-color: #f1c40f;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
    animation: floatRotateSquare 30s infinite linear;
}

/* Keyframes per far muovere e ruotare le forme geometriche */
@keyframes floatRotateTriangle {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -40px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -20px) scale(1.15); }
}

@keyframes floatRotateSquare {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 40px) rotate(-180deg); }
    100% { transform: translate(0, 0) rotate(-360deg); }
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.logo-container {
    margin-bottom: 20px;
    min-height: 100px; /* Tiene lo spazio per quando caricherai la foto */
}

.hero-title {
    font-size: 32pt;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: #f5ebe0;
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 14pt;
    color: #d4a342;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: #d4a342;
    border: 2px solid #d4a342;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 10pt;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

.btn-cta:hover {
    background-color: #d4a342;
    color: #0b0b0b;
    box-shadow: 0 0 20px rgba(212, 163, 66, 0.4);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* SEZIONI GENERALI */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 22pt;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d4a342;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #e67e22;
}

.manifesto-box {
    background-color: #121212;
    border-left: 4px solid #e67e22;
    padding: 40px;
    margin-bottom: 60px;
}

.manifesto-box h3 {
    font-size: 16pt;
    color: #f5ebe0;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.booking-card {
    background-color: #121212;
    border: 1px solid rgba(212, 163, 66, 0.1);
    padding: 40px;
    text-align: center;
    border-radius: 4px;
}

.address { font-size: 13pt; margin-bottom: 20px; }
.phone { font-size: 15pt; color: #d4a342; font-weight: bold; margin-bottom: 30px; }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.info-item h4 {
    color: #d4a342;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 12pt;
}

.closed-day { color: #e67e22; margin-top: 5px; font-weight: bold; }

/* RESPONSIVE DESIGN PER MOBILE */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0b0b0b;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-bottom: 1px solid rgba(212, 163, 66, 0.1);
    }

    .nav-links.active {
        max-height: 300px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

    .hero-title { font-size: 24pt; }
    .hero-subtitle { font-size: 11pt; }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Forza il ridimensionamento del logo dentro la cartella images */
.logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 25px !important;
}

.hero-logo {
    width: 100% !important;
    max-width: 280px !important; /* Questo lo stringe come nel primo screenshot */
    height: auto !important;
    object-fit: contain !important;
}

/* ================= STILE FORM DI PRENOTAZIONE CUSTOM ================= */
.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #121212;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 6px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a8a8a8;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 12px;
    background: #0b0b0b;
    border: 1px solid #333;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #cda45e;
}

/* Modifica icona del calendario per renderla visibile su fondo scuro */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.privacy-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #0b0b0b;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #222;
}

.privacy-agreement input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: #cda45e;
}

.privacy-agreement label {
    font-size: 12px;
    color: #a8a8a8;
    line-height: 1.4;
}

.privacy-agreement label a {
    color: #cda45e;
    text-decoration: underline;
}

.btn-submit-booking {
    width: 100%;
    background: #cda45e;
    color: #000;
    border: none;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit-booking:hover {
    background: #b58f4c;
}

.btn-submit-booking:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
}

.booking-success-msg {
    color: #2ecc71;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    border-radius: 4px;
}

/* Responsive Form */
@media (max-width: 768px) {
    .booking-container {
        padding: 20px;
    }
    .form-row.tri-row, .form-row {
        grid-template-columns: 1fr;
    }
}

}