body {
    font-family: 'Montserrat', sans-serif;
    background: #fdf6ec;
    color: #333;
    margin: 0;
    padding: 0;
    height: 100%;
}

.divider {
    border: 1px solid #b77a50;
    margin: 20px 0;
}

/* Rimuovi padding/margin dai container di Bootstrap */
.navbar, .navbar .container-fluid {
    margin: 0;
    padding: 0;
}
.navbar-brand img {
    /* padding: 0 !important; */
    display: block;
}

/* Contenitore video */
.hero-video-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px); /* sottrai altezza navbar */
    overflow: hidden;
    margin: 0;
    padding: 0;
}
/* Video */
.hero-video-container video.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Navbar brand */
.navbar-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #b77a50;
}

/* Hero */
.hero h1 {
    font-family: 'Playfair Display', serif;
    color: #b77a50;
}

/* Bottoni della stessa larghezza */
.btn-block-custom {
    min-width: 200px;
    max-width: 250px;
    width: 100%;
}

.btn-primary {
    background-color: #b77a50;
    border-color: #b77a50;
    border-radius: 30px;
}

.btn-primary:hover {
    background-color: #a16b43;
    border-color: #a16b43;
}

/* Ridimensionamento hero su mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .navbar-brand {
        font-size: 1.3rem;
    }
}


/* ==================== pagina PRESTAZIONI ==================== */

.btn-link-custom {
    color: #b77a50;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
    border: 1px solid #b77a50;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-link-custom:hover {
    background-color: #b77a50;
    color: white;
}

/* ==================== PRESTAZIONI LIST ==================== */
.prestazioni-list {
    background-color: #fffaf0; /* beige chiaro */
    border: 1px solid #b77a50;
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(177,122,80,0.15);
    font-family: 'Montserrat', sans-serif;
}

.prestazioni-list table {
    width: 100%;
    border-collapse: collapse;
}

.prestazioni-list th, .prestazioni-list td {
    padding: 10px 8px;
    border-bottom: 1px solid #e0d8c8;
    color: #333;
    font-size: 12;
}

.prestazioni-list th {
    background-color: #fdf6ec; /* leggermente diverso dalla tabella */
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #b77a50;
}

.prestazioni-list tr:hover {
    background-color: rgba(183, 122, 80, 0.1);
}

.btn-link-custom {
    color: #b77a50;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 1px solid #b77a50;
    font-size: 0.7rem;
    white-space: nowrap;
}

.btn-link-custom:hover {
    background-color: #b77a50;
    color: white;
}

.prestazioni-list table th {
    text-align: left !important;
}
/* ==================== pagina admin ==================== */

/* ==================== SEZIONE INTESTAZIONE CLIENTE ==================== */
.intestazione-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffaf0;
    padding: 20px;
    border: 1px solid #e2c6aa;
    border-radius: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.intestazione {
    flex: 1;
    text-align: left;
}

.intestazione-container img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-left: 20px;
}

/* ==================== STORICO MISURE ==================== */
.table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fffaf0;
    box-shadow: 0 4px 12px rgba(177,122,80,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.table th {
    background-color: #fdf6ec;
    color: #b77a50;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    text-align: left;
    padding: 10px;
}

.table td {
    padding: 8px;
    text-align: left;
    border-top: 1px solid #e0d8c8;
    color: #333;
}

.table input[type="text"],
.table input[type="date"] {
    width: 90%;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #d5bfa2;
    font-size: 0.9rem;
    text-align: center;
}

.action-link {
    display: inline-block;
    color: #b77a50;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #b77a50;
    border-radius: 20px;
    padding: 6px 12px;
    transition: all 0.3s ease;
}

.action-link:hover {
    background-color: #b77a50;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .intestazione-container {
        flex-direction: column;
        text-align: center;
    }
    .intestazione-container img {
        margin: 50px 0 0 0;
        width: 80%;
    }
    .table th, .table td {
        font-size: 0.8rem;
        padding: 6px;
    }
    .table input[type="text"],
    .table input[type="date"] {
        width: 100%;
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffffdd;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 0 !important;
}

.navbar {
    margin-bottom: 0 !important;
}

.navbar .logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #b77a50;
}

.nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fffaf0;
    border: 1px solid #b77a50;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-menu a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-menu a:hover {
    background: #b77a50;
    color: white;
}

.hamburger {
    display: block;
    cursor: pointer;
    font-size: 24px;
    user-select: none;
}

/* Mostra il menu se ha la classe "active" */
.nav-menu.active {
    display: flex;
}

/* Desktop */
@media(min-width: 768px) {
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        border: none;
        box-shadow: none;
    }
    .nav-menu a { padding: 0 10px; }
    .hamburger { display: none; }
}

/* modifica prestazioni */
/* Stile coerente per tutti i bottoni di submit */
button.button {
    background-color: #b77a50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

button.button:hover {
    background-color: #8f5f38;
    transform: translateY(-1px);
}

button.button:active {
    transform: translateY(1px);
}

/* home */
.btn-link-custom1 {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none; /* "blink" non è standard */
    padding: 15px 35px;
    border-radius: 10px;
    transition: all 0.5s ease;
    border: 1px solid #b77a50;
    font-size: 0.9rem;
    white-space: nowrap;

    /* Sfondo leggermente offuscato */
    background-color: rgba(0, 0, 0, 0.1); /* nero semi-trasparente */
    backdrop-filter: blur(10px); /* effetto vetro smerigliato */
}

.btn-link-custom1:hover {
    background-color: #b77a50;
    color: white;
}


/* Sfondo personalizzato per l'offcanvas (immagine dentro il menu)*/
/* Offcanvas menu mobile */
/* Offcanvas menu mobile */
#offcanvasMenu {
    background: none; /* niente sfondo qui */
}

/* Sfondo e overlay */
#offcanvasMenu .offcanvas-body {
    position: relative;
    padding-top: 50px; /* opzionale, spazio per la X */
    background-image: url('../css/logoNav.png');
    background-size: 600px auto;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%; /* occupa tutto lo spazio */
    color: #000000;
    background-color:#ffffff;
}

/* Overlay leggero */
#offcanvasMenu .offcanvas-body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0); /* bianco semi-trasparente */
    z-index: 0;
}

/* Contenuto sopra l'overlay */
#offcanvasMenu .offcanvas-body ul.navbar-nav {
    position: relative;
    z-index: 1; /* importante, sopra overlay */
}

/* Pulsante chiusura (X) visibile */
#offcanvasMenu .btn-close {
    position: relative;
    z-index: 2; /* deve essere sopra overlay */
}