/* =========================
   NAVBAR
========================= */
/* ═══════════════════════════════
   VARIABILI GLOBALI
   Qui perché navbar.css è caricato
   su TUTTE le pagine del sito
═══════════════════════════════ */
:root {
    --gold: #c9a96e;
    --gold-light: #d4bb8c;
    --navy: #121d40;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    height: 70px;
    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #121d40;
}

/* =========================
   LOGO
========================= */

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .3px;

    color: #fff;
}

.nav-logo-icon {
    /* Il logo ora sfrutta quasi tutta l'altezza della navbar (70px). */
    height: 50px;
    width: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-logo-title {
    height: 28px;
    width: auto;
    display: block;
}

/* =========================
   DESKTOP MENU
========================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: color .2s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* CTA */

.nav-cta {
    padding: 9px 20px;

    border-radius: 6px;

    background: var(--gold);

    color: var(--navy) !important;

    font-weight: 700 !important;

    transition: background .2s;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    color: var(--navy) !important;
}

/* =========================
   DROPDOWN DESKTOP
========================= */

.nav-card {

    position: relative;

    background: #1a2755;

    border-radius: 12px;

    padding: 10px 14px;

    transition: .2s;
}

.nav-card:hover {

    background: #223266;
}

.nav-card-header {

    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-card-header a {

    color: white;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.dropdown-btn {

    background: none;

    border: none;

    color: white;

    cursor: pointer;

    font-size: 12px;
}

.dropdown-menu {

    position: absolute;

    top: 100%;
    left: 0;

    min-width: 260px;

    display: none;

    padding-top: 8px;

    z-index: 2000;

    border-radius: 18px;

    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
}

.dropdown-menu::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 8px;
}

.dropdown-menu {

    background: transparent;
}

.dropdown-menu a {

    display: block;

    padding: 14px 16px;

    background: #121d40;

    color: white;

    text-decoration: none;
}

.nav-card:hover .dropdown-menu {

    display: block;
}

.dropdown-menu a {

    display: block;

    padding: 14px 16px;

    color: white;

    text-decoration: none;
}

.dropdown-menu a:hover {

    background: #1d2b58;
}

/* =========================
   HAMBURGER
========================= */

.nav-hamburger {
    display: none;

    background: none;
    border: none;

    cursor: pointer;

    color: white;

    font-size: 32px;
    font-weight: 300;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu {

    display: none;

    position: fixed;

    top: 70px;
    left: 0;
    right: 0;

    z-index: 999;

    background: #121d40;

    padding: 24px;

    border-top: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
}

.mobile-menu.open {
    display: block;
}

/* Home */

.mobile-home {

    display: block;

    color: #fff;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    margin-bottom: 18px;
}

/* Card */

.mobile-card {

    background: #1a2755;

    border-radius: 14px;

    overflow: hidden;

    margin-bottom: 12px;
}

.mobile-expand {

    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 16px 18px;

    border: none;

    background: none;

    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

.mobile-expand:hover {

    background: #223266;
}

.mobile-submenu {

    display: none;

    border-top: 1px solid rgba(255, 255, 255, .08);
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu a {

    display: block;

    padding: 14px 18px;

    color: #d9d9d9;

    text-decoration: none;

    transition: .2s;
}

.mobile-submenu a:hover {

    background: #223266;
}

/* Separatore */

.mobile-divider {

    height: 1px;

    margin: 20px 0;

    background: rgba(255, 255, 255, .08);
}

/* Contatti */

.mobile-contact-info {

    color: #d8dce8;

    font-size: 14px;

    line-height: 2;
}

/* =========================
   MOBILE BOOKING BUTTON
========================= */

.mobile-booking-btn {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 20px;

    padding: 16px;

    border-radius: 12px;

    background: var(--gold);

    color: var(--navy);

    text-decoration: none;

    font-weight: 700;

    font-size: 15px;

    box-shadow: 0 6px 20px rgba(201, 169, 110, .25);

    transition: .2s;
}

.mobile-booking-btn:hover {
    background: var(--gold-light);
}

.mobile-contact-info a {

    display: block;

    color: #d8dce8;

    text-decoration: none;

    line-height: 2;

    transition: .2s;
}

.mobile-contact-info a:hover {

    color: var(--gold);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:860px) {

    nav {
        padding: 0 16px;
    }

    .nav-logo {
        gap: 6px;
    }

    .nav-logo-icon {
        height: 36px;
    }

    .nav-logo-title {
        height: 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}