/* =========================================================
   NGUEYE HOTEL - GLOBAL STYLES
   Shared across all pages
========================================================= */

:root {
    --ngueye-burgundy: #8b3047;
    --ngueye-burgundy-dark: #672235;
    --ngueye-green: #c9e9a5;
    --ngueye-gold: #d7a23a;
    --ngueye-cream: #f7f2e8;
    --ngueye-dark: #252525;
    --ngueye-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--ngueye-cream);
    color: var(--ngueye-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* =========================================================
   TOP BAR STYLES
========================================================= */

.hotel-topbar {
    background: var(--ngueye-burgundy);
    color: var(--ngueye-white);
    font-size: 14px;
    padding: 0;
}

.topbar-content {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar-contact a {
    color: var(--ngueye-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: 0.3s;
}

.topbar-contact a:hover {
    color: var(--ngueye-green);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 13px;
}

.topbar-social a {
    color: var(--ngueye-white);
    font-size: 15px;
    transition: 0.3s;
}

.topbar-social a:hover {
    color: var(--ngueye-green);
    transform: translateY(-2px);
}

.language-btn {
    color: var(--ngueye-white);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.language-btn:hover {
    background: var(--ngueye-green);
    border-color: var(--ngueye-green);
    color: var(--ngueye-dark);
}

.reservation-btn {
    background: var(--ngueye-gold);
    color: var(--ngueye-dark);
    padding: 8px 22px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.reservation-btn:hover {
    background: var(--ngueye-green);
    color: var(--ngueye-dark);
}

/* =========================================================
   MAIN HEADER
========================================================= */

.hotel-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.hotel-header .navbar {
    min-height: 90px;
    padding: 8px 0;
    transition: min-height 0.35s ease, padding 0.35s ease;
}

/* =========================================================
   LOGO
========================================================= */

.navbar-brand {
    padding: 0;
    margin-right: 40px;
    overflow: hidden;
    transition: width 0.35s ease, margin 0.35s ease, opacity 0.25s ease;
}

.hotel-logo {
    width: 175px;
    max-height: 75px;
    object-fit: contain;
    display: block;
    transition: width 0.35s ease, max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease;
}

/* =========================================================
   SCROLLED HEADER
========================================================= */

.hotel-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}

.hotel-header.scrolled .navbar {
    min-height: 55px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.hotel-header.scrolled .navbar-brand {
    width: 0;
    margin-right: 0;
    opacity: 0;
}

.hotel-header.scrolled .hotel-logo {
    width: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-15px);
}

/* =========================================================
   NAVIGATION LINKS
========================================================= */

.hotel-header .navbar-collapse {
    transition: 0.3s ease;
}

.hotel-header .nav-link {
    color: var(--ngueye-dark);
    font-weight: 600;
    font-size: 15px;
    margin-left: 22px;
    padding-top: 14px;
    padding-bottom: 14px;
    position: relative;
    transition: color 0.3s ease, padding 0.3s ease;
}

.hotel-header .nav-link:hover,
.hotel-header .nav-link.active {
    color: var(--ngueye-burgundy);
}

.hotel-header.scrolled .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* =========================================================
   NAVIGATION UNDERLINES (Normal links only - not dropdown)
========================================================= */

.hotel-header .nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: var(--ngueye-burgundy);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.hotel-header .nav-link:not(.dropdown-toggle):hover::after,
.hotel-header .nav-link:not(.dropdown-toggle).active::after {
    width: 55%;
}

/* =========================================================
   SERVICES DROPDOWN ARROW
========================================================= */

.hotel-header .dropdown-toggle::after {
    display: inline-block;
    margin-left: 7px;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    color: var(--ngueye-burgundy);
    position: static;
    width: 0;
    height: 0;
    background: none;
    transform: none;
    transition: transform 0.25s ease;
}

.hotel-header .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* =========================================================
   SERVICES UNDERLINE
========================================================= */

.hotel-header .dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: var(--ngueye-burgundy);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.hotel-header .dropdown-toggle:hover::before,
.hotel-header .dropdown-toggle[aria-expanded="true"]::before,
.hotel-header .dropdown-toggle.active::before {
    width: 55%;
}

/* =========================================================
   DROPDOWN MENU
========================================================= */

.hotel-header .dropdown-menu {
    border: none;
    border-top: 3px solid var(--ngueye-burgundy);
    border-radius: 0 0 6px 6px;
    padding: 8px 0;
    min-width: 210px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.hotel-header .dropdown-item {
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.hotel-header .dropdown-item:hover {
    background: var(--ngueye-green);
    color: var(--ngueye-burgundy-dark);
    padding-left: 27px;
}

.hotel-header .dropdown-item.active {
    background: var(--ngueye-green);
    color: var(--ngueye-burgundy-dark);
}

/* =========================================================
   MOBILE NAV CONTROLS
========================================================= */

.mobile-nav-controls {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-nav-controls .navbar-toggler {
    display: none;
}

.mobile-language-btn {
    color: var(--ngueye-dark);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: 0.3s;
}

.mobile-language-btn:hover {
    border-color: var(--ngueye-burgundy);
    color: var(--ngueye-burgundy);
}

.mobile-reservation-btn {
    color: var(--ngueye-burgundy);
    font-size: 1.2rem;
    text-decoration: none;
    padding: 4px 8px;
    transition: 0.3s;
}

.mobile-reservation-btn:hover {
    color: var(--ngueye-burgundy-dark);
    transform: scale(1.05);
}

.desktop-toggler {
    display: flex !important;
}

/* =========================================================
   MOBILE-ONLY CONTACT INFO IN MENU
========================================================= */

.mobile-divider {
    border: none;
    border-top: 2px solid var(--ngueye-green);
    margin: 16px auto 12px auto;
    width: 60px;
    opacity: 0.6;
}

.mobile-contact-info {
    padding: 0 16px !important;
    width: 100%;
}

.mobile-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
    align-items: center;
}

.mobile-contact-items a {
    color: var(--ngueye-dark) !important;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    transition: 0.2s;
    opacity: 0.85;
}

.mobile-contact-items a:hover {
    opacity: 1;
    color: var(--ngueye-burgundy) !important;
}

.mobile-contact-items a i {
    color: var(--ngueye-burgundy);
    width: 20px;
    text-align: center;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 16px 0 8px 0;
    border-top: 1px solid #f0ece6;
    margin-top: 4px;
}

.mobile-social-icons a {
    color: var(--ngueye-dark);
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f6f2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-icons a:hover {
    color: var(--ngueye-burgundy);
    background: var(--ngueye-green);
    transform: translateY(-2px);
}

/* =========================================================
   PAGE CONTENT - GENERAL
========================================================= */

.page-header {
    padding: 4rem 0 2rem 0;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--ngueye-burgundy);
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: var(--ngueye-burgundy);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    text-decoration: underline;
}

.page-header .breadcrumb-item.active {
    color: var(--ngueye-dark);
}

.content-section {
    background: var(--ngueye-white);
    border-radius: 28px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #ede8e0;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ngueye-burgundy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h2:first-of-type {
    margin-top: 0;
}

.content-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ngueye-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-section p {
    color: var(--ngueye-dark);
    opacity: 0.85;
    margin-bottom: 1rem;
}

.content-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section ul li {
    color: var(--ngueye-dark);
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.content-section .last-updated {
    color: var(--ngueye-dark);
    opacity: 0.5;
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ede8e0;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--ngueye-dark);
    color: #d0d0d0;
    padding: 40px 0 24px;
    margin-top: 20px;
    border-top: 4px solid var(--ngueye-gold);
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 160px;
}

.footer-brand {
    flex: 1.5;
    min-width: 200px;
}

.footer-logo {
    display: block;
    width: auto;
    max-height: 80px;
    margin-bottom: 12px;
    border-radius: 4px;
}

.footer-col h5 {
    color: var(--ngueye-white);
    font-size: 1.1rem;
    margin-bottom: 14px;
    font-family: 'Playfair Display', serif;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #b0b0b0;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #b0b0b0;
    text-decoration: none;
    margin: 0;
    padding: 2px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--ngueye-gold);
}

.footer-col a i {
    width: 20px;
    color: var(--ngueye-gold);
}

.footer-col a:hover i {
    color: var(--ngueye-green);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #888888;
}

/* =========================================================
   RESPONSIVE - TABLET & MOBILE (991px and below)
========================================================= */

@media (max-width: 991px) {
    /* Show mobile controls */
    .mobile-nav-controls {
        display: flex;
    }
    
    .mobile-nav-controls .navbar-toggler {
        display: flex !important;
    }

    /* Hide desktop toggler on mobile */
    .desktop-toggler {
        display: none !important;
    }

    /* Hide top bar on mobile */
    .hotel-topbar {
        display: none;
    }

    /* Adjust navbar for mobile */
    .hotel-header .navbar {
        min-height: 65px;
        padding: 6px 0;
    }

    .hotel-logo {
        width: 130px;
        max-height: 50px;
    }

    /* Nav links on mobile */
    .hotel-header .nav-link {
        margin-left: 0;
        padding: 12px 16px;
        border-bottom: 1px solid #f0ece6;
    }

    .hotel-header .nav-link::after {
        display: none;
    }

    /* Dropdown on mobile */
    .hotel-header .dropdown-menu {
        border: none;
        border-top: none;
        box-shadow: none;
        padding: 0;
        background: #f8f6f2;
    }

    .hotel-header .dropdown-item {
        padding: 10px 16px 10px 32px;
        border-bottom: 1px solid #f0ece6;
    }

    .hotel-header .dropdown-item:hover {
        background: #f0ece6;
        padding-left: 32px;
    }

    /* Dropdown toggle arrow on mobile */
    .hotel-header .dropdown-toggle::after {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hotel-header .dropdown-toggle[aria-expanded="true"]::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Sticky header on mobile - keep logo visible */
    .hotel-header.scrolled .navbar-brand {
        width: auto;
        margin-right: 0;
        opacity: 1;
    }

    .hotel-header.scrolled .hotel-logo {
        width: 110px;
        max-height: 40px;
        opacity: 1;
        transform: none;
    }

    .hotel-header.scrolled .navbar {
        min-height: 60px;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    /* Page content adjustments */
    .page-header h1 {
        font-size: 2.4rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    /* Footer mobile */
    .footer .container {
        gap: 30px;
        justify-content: space-between;
    }

    .footer-brand {
        flex: 0 0 100%;
        min-width: 100%;
        text-align: left;
        margin-bottom: 0;
    }

    .footer-brand p {
        text-align: left;
    }

    .footer-logo {
        max-height: 60px;
        margin-bottom: 10px;
    }

    .footer-col:not(.footer-brand) {
        flex: 0 0 45%;
        min-width: 45%;
    }

    .footer-col h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-col a {
        font-size: 0.85rem;
        line-height: 1.6;
        padding: 1px 0;
    }
}

/* =========================================================
   RESPONSIVE - DESKTOP (992px and above)
========================================================= */

@media (min-width: 992px) {
    /* Hide mobile controls on desktop */
    .mobile-nav-controls {
        display: none !important;
    }
    
    .mobile-nav-controls .navbar-toggler {
        display: none !important;
    }

    /* Show desktop toggler on desktop (if needed) */
    .desktop-toggler {
        display: flex !important;
    }
}

/* =========================================================
   RESPONSIVE - SMALL PHONES (576px and below)
========================================================= */

@media (max-width: 576px) {
    .hotel-logo {
        width: 110px;
        max-height: 42px;
    }

    .mobile-language-btn {
        font-size: 11px;
        padding: 3px 8px;
    }

    .mobile-reservation-btn {
        font-size: 1rem;
    }

    .mobile-nav-controls {
        gap: 8px;
    }

    .mobile-contact-items a {
        font-size: 13px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .reservation-btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    .language-btn {
        padding: 4px 10px;
        font-size: 12px;
    }

    /* Footer small mobile */
    .footer .container {
        gap: 20px;
    }

    .footer-logo {
        max-height: 50px;
        margin-bottom: 8px;
    }

    .footer-col:not(.footer-brand) {
        flex: 0 0 45%;
        min-width: 45%;
    }

    .footer-col:not(.footer-brand):last-child {
        flex: 0 0 45%;
        min-width: 45%;
    }

    .footer-col h5 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-col a {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .footer-bottom {
        font-size: 0.75rem;
        margin-top: 20px;
        padding-top: 15px;
    }
}