/* Mobile Header Styles */

/* Desktop Header - Hide on Mobile */
@media (max-width: 768px) {
    .desktop-header {
        display: none !important;
    }
}

/* Mobile Header - Show only on Mobile */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-header {
        display: block;
    }
}

.mobile-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Logo */
.mobile-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-logo-img {
    height: 35px;
    width: auto;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    flex: 1;
}

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

.mobile-menu-item {
    margin-bottom: 0.5rem;
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    color: #ffd700;
    transform: translateX(10px);
}

.mobile-menu-link--dropdown {
    cursor: pointer;
}

.mobile-menu-chevron {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.mobile-menu-item--has-dropdown.active .mobile-menu-chevron {
    transform: rotate(180deg);
}

/* Mobile Submenu */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0.5rem 0;
}

.mobile-menu-item--has-dropdown.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-submenu-item:last-child {
    border-bottom: none;
}

.mobile-submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-submenu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Dil butonları için okunaklı ve kontrastlı stil */
.mobile-lang-link {
    color: #222 !important;
    background: #f5f5f5 !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0.45rem 1.1rem;
    border-radius: 20px;
    transition: background 0.18s, color 0.18s;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    box-shadow: none;
    border: 1px solid #ececec;
}

.mobile-lang-link:hover,
.mobile-lang-link.active {
    background: #667eea !important;
    color: #fff !important;
    border: 1px solid #667eea;
}

.mobile-lang-separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Membership Button */
.mobile-membership-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.mobile-membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    color: #333;
}

.mobile-membership-btn i {
    transition: transform 0.3s ease;
}

.mobile-membership-btn:hover i {
    transform: translateX(5px);
}

/* Animation for Menu Toggle */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .mobile-menu-container {
        padding: 1.5rem 1rem;
    }
    
    .mobile-menu-link {
        font-size: 1rem;
        padding: 0.875rem 0;
    }
    
    .mobile-submenu-link {
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem;
    }
    
    .mobile-membership-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
} 