/* HEADER + MOBILE MENU - CSS ONLY SOLUTION */

/* Header Base */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
}

.header_content {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo img {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.main_nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.main_nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.main_nav a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.main_nav a:hover::before {
    width: 100%;
}

.main_nav a:hover {
    color: var(--accent-gold);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-btn {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    color: #25d366;
    transform: scale(1.1);
}

.phone-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #ffffff;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.phone-link:hover {
    background: #ffffff;
    color: var(--primary-teal);
}

.reservations_phone {
    height: 47px;
    line-height: 43px;
    padding-left: 25px;
    padding-right: 20px;
    text-align: center;
    border: solid 2px #ffffff;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.reservations_phone:hover {
    background: #ffffff;
}

.reservations_phone a:hover {
    color: var(--primary-teal);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    cursor: pointer;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255, 255, 255);
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 15px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hamburger Animation with CSS only */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle:checked + .hamburger-menu .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(28, 27, 27, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:checked ~ .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay .logo {
    margin-bottom: 2rem;
}

.mobile-menu-overlay .logo img {
    width: 150px;
    height: auto;
}

.mobile-menu-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-overlay li {
    margin: 1.5rem 0;
}

.mobile-menu-overlay a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-menu-overlay a:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.mobile-menu-overlay .social-links {
    margin-top: 2rem;
}

.mobile-menu-overlay .social-links a {
    margin: 0 1rem;
    font-size: 2rem;
}

/* Mobile Responsive */
@media only screen and (max-width: 991px) {
    .main_nav,
    .contact-info,
    .reservations_phone {
        display: none !important;
    }
    
    .hamburger-menu {
        display: block !important;
    }
    
    .header_content {
        padding: 0 1rem;
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .header_content {
        height: 70px;
    }
    
    .logo img {
        height: 90px;
    }
    
    .hamburger-menu {
        top: 15px;
        right: 15px;
    }
    
    .mobile-menu-overlay a {
        font-size: 1.3rem;
    }
}

@media only screen and (max-width: 576px) {
    .mobile-menu-overlay a {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .mobile-menu-overlay li {
        margin: 1rem 0;
    }
}

/* Prevent body scroll when menu is open */
.mobile-menu-toggle:checked ~ body,
body:has(.mobile-menu-toggle:checked) {
    overflow: hidden;
}

/* Additional styles for better UX */
.hamburger-menu:hover .hamburger-btn {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Close menu when clicking on overlay */
.mobile-menu-overlay {
    cursor: pointer;
}

.mobile-menu-overlay > * {
    cursor: default;
}