/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1005; /* Above menu overlay to keep X button visible */
    cursor: pointer;
}

.hamburger-icon {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Animation for hamburger to X */
.hamburger-icon.open span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
    background-color: #666666; /* Darker color when open on light background */
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: #666666; /* Darker color when open on light background */
}

/* Menu Overlay Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E5E5E5; /* Light grey background */
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1004; /* Increased to appear above page headers */
    padding: 80px 40px 80px 40px; /* Increased top padding from 60px to 80px */
    box-sizing: border-box;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Menu Header Styles */
.menu-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px; /* Added top margin to push header image below X button */
    width: 100%;
}

.menu-header-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}

/* Navigation Styles */
.menu-overlay nav {
    width: 100%;
    margin-bottom: auto;
}

.menu-overlay nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-overlay nav ul li {
    margin: 15px 0;
}

.menu-overlay nav ul li a {
    font-family: 'Chakra Petch', Arial, sans-serif;
    font-size: 6rem; /* Increased from 4rem (50% larger) */
    font-weight: normal; /* Changed from bold to regular */
    color: #666666;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-overlay nav ul li a:hover {
    color: #333333;
}

/* Menu Button Section */
.menu-button-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;
}

#menu-take-control-button {
    font-family: 'Chakra Petch', Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 40px;
    border: none;
    background-color: #333333;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 80%;
    max-width: 300px;
}

#menu-take-control-button:hover {
    background-color: #555555;
    transform: translateY(-2px);
}

.menu-link-disabled {
    color: #AAAAAA !important; /* Lighter grey for disabled */
    cursor: default !important;
}

.menu-link-disabled:hover {
    color: #AAAAAA !important;
    text-decoration: none !important;
}

/* Menu Social Links */
.menu-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    width: 60%;
    margin: 20px auto 0 auto;
}

.social-icon {
    width: auto;
    height: 37.5px;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.social-icon:hover {
    opacity: 0.7;
    filter: grayscale(0%);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .menu-overlay {
        padding: 40px 20px 60px 20px; /* Increased top padding from 20px to 40px */
    }
    
    .menu-header {
        margin-bottom: 40px;
        margin-top: 30px; /* Increased top margin for mobile to push below X button */
    }
    
    .menu-header-image {
        max-height: 80px;
    }
    
    .menu-overlay nav ul li {
        margin: 12px 0;
    }
    
    .menu-overlay nav ul li a {
        font-size: 2.7rem; /* Increased from 1.8rem (50% larger) */
    }
    
    .social-icon {
        height: 37.5px !important; /* 50% larger than original 25px */
    }
    
    .menu-social-links {
        width: 90% !important; /* Increase from 60% to give more space for larger icons */
        padding: 20px 10px !important; /* Reduce horizontal padding */
    }
}

/* Desktop Navigation Styles */
.desktop-nav {
    display: none; /* Hidden by default, shown on desktop */
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1005;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 10px 30px;
}

.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 40px;
}

.desktop-nav ul li {
    margin: 0;
}

.desktop-nav ul li a {
    font-family: 'Chakra Petch', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.desktop-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.desktop-nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

/* Desktop-specific styles - show desktop nav, hide hamburger */
@media (min-width: 769px) {
    .desktop-nav {
        display: block;
    }
    
    .hamburger-menu {
        display: none;
    }
}

/* Desktop Footer */
.desktop-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 10px 20px;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-social-icon {
    width: auto;
    height: 25px;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.footer-social-icon:hover {
    opacity: 0.7;
    filter: grayscale(0%);
}

/* Mobile-specific styles - show hamburger, hide desktop nav */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .desktop-footer {
        display: none !important;
    }
} 