/* Navigation Bar */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 75px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Main Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 26px 15px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.15px;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    border-radius: 6px;
}

/* Hover efekti - alt çizgi ve arka plan */
.nav-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 30px);
    height: 2px;
    background: #10519f;
    border-radius: 1px;
    transition: transform 0.25s ease;
}

.nav-menu > li > a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu > li > a:hover {
    color: #10519f;
    background: rgba(16, 81, 159, 0.05);
}

/* Aktif sayfa göstergesi */
.nav-menu > li.active > a {
    color: #10519f;
    background: rgba(16, 81, 159, 0.07);
    font-weight: 600;
}

.nav-menu > li.active > a::before {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Icon */
.dropdown-icon,
.sub-icon {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
    opacity: 0.7;
}

.menu-item-has-children:hover > a .dropdown-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Sub Menu (Dropdown) */
.sub-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 
                0 2px 8px rgba(0, 0, 0, 0.06);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    padding-top: 14px;
    margin-top: -10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, 
                visibility 0.25s ease,
                transform 0.25s ease;
    transition-delay: 0s;
    z-index: 1000;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-item-has-children:hover > .sub-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* Hover alanını genişlet - mouse geçişini kolaylaştır */
.menu-item-has-children > a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
}


.sub-menu li {
    position: relative;
    margin: 1px 6px;
}

.sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: #4a5568;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 400;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 5px;
    position: relative;
}

.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 3px;
    height: 60%;
    background: #10519f;
    border-radius: 0 2px 2px 0;
    transition: transform 0.2s ease;
}

.sub-menu li a:hover::before {
    transform: translateY(-50%) scaleX(1);
}

.sub-menu li a:hover {
    background: rgba(16, 81, 159, 0.06);
    color: #10519f;
    padding-left: 20px;
}

/* Third Level Menu */
.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
    display: none !important;
}

.sub-menu .menu-item-has-children:hover > .sub-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

/* Mega Menu Styles */
.mega-menu .mega-menu-content {
    min-width: 260px;
    max-width: 300px;
    padding: 8px 0;
    padding-top: 14px;
    margin-top: -10px;
    display: none !important;
    flex-direction: column;
    gap: 0;
    z-index: 1001;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 
                0 2px 8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, 
                visibility 0.25s ease,
                transform 0.25s ease;
    transition-delay: 0s;
    position: absolute;
    top: 100%;
    left: 0;
}

.mega-menu:hover .mega-menu-content {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* Mega menu hover alanını genişlet */
.mega-menu > a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.mega-menu-column {
    list-style: none;
    padding: 0;
    margin: 1px 6px;
    position: relative;
}

.mega-menu-column > strong {
    display: block;
    color: #4a5568;
    font-size: 13.5px;
    font-weight: 500;
    padding: 10px 16px;
    padding-right: 40px;
    margin: 0;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 5px;
}

.mega-menu-column > strong:hover {
    color: #10519f;
    background: rgba(16, 81, 159, 0.06);
    padding-left: 20px;
}

.mega-menu-column > strong::after {
    content: "►";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.mega-menu-column:hover > strong::after {
    right: 14px;
    opacity: 1;
}

/* Sub-menu sağa açılır */
.mega-menu-column ul {
    display: none !important;
    position: absolute;
    left: calc(100% - 5px);
    top: 0;
    min-width: 260px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 
                0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    list-style: none;
    padding: 8px 0;
    padding-left: 14px;
    margin: 0;
    margin-left: -10px;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, 
                visibility 0.25s ease,
                transform 0.25s ease;
    transition-delay: 0s;
}

.mega-menu-column:hover > ul {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0.15s;
}


.mega-menu-column ul li {
    margin: 1px 6px;
}

.mega-menu-column ul li a {
    padding: 10px 16px;
    font-size: 13.5px;
    color: #4a5568;
    font-weight: 400;
    display: block;
    transition: all 0.2s ease;
    border-radius: 5px;
    position: relative;
}

.mega-menu-column ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 3px;
    height: 60%;
    background: #10519f;
    border-radius: 0 2px 2px 0;
    transition: transform 0.2s ease;
}

.mega-menu-column ul li a:hover::before {
    transform: translateY(-50%) scaleX(1);
}

.mega-menu-column ul li a:hover {
    background: rgba(16, 81, 159, 0.06);
    color: #10519f;
    padding-left: 20px;
}

/* Header Phone Button */
.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2B5B8C;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(43, 91, 140, 0.08);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header-phone-btn:hover {
    background: rgba(43, 91, 140, 0.15);
    color: #10519f;
}

@media (max-width: 768px) {
    .header-phone-btn .phone-text {
        display: none;
    }
    .header-phone-btn {
        padding: 8px;
        border-radius: 50%;
    }
}

/* Right Side Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-link {
    color: #4a5568;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
    border-radius: 8px;
    background: transparent;
    position: relative;
}

.icon-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(16, 81, 159, 0.08) 0%, rgba(30, 115, 190, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-link:hover::before {
    opacity: 1;
}

.icon-link:hover {
    color: #10519f;
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mobile-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(16, 81, 159, 0.08) 0%, rgba(30, 115, 190, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-toggle:hover::before {
    opacity: 1;
}

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

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: linear-gradient(90deg, #10519f 0%, #1e73be 100%);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
}

.mobile-toggle:hover span {
    background: linear-gradient(90deg, #1e73be 0%, #10519f 100%);
}

.mobile-toggle:active span:nth-child(1) {
    transform: translateY(2px);
}

.mobile-toggle:active span:nth-child(3) {
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 66vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#bgVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Hide video controls and play button */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

video::-webkit-media-controls-panel {
    display: none !important;
}

video::-webkit-media-controls-play-button {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

/* Hero Wrapper - Sıfırdan Tasarım */
.hero-wrapper {
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
    z-index: 150;
    padding: 0 40px;
}

.hero-text-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left-content {
    flex: 1;
}

.hero-right-buttons {
    display: flex;
    flex-shrink: 0;
}

/* Year Badge */
.hero-year-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 8px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.year-number {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
}

.year-text {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1.2px;
}

/* Main Title */
.hero-main-title {
    font-size: 48px;
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin: 0 0 12px 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    letter-spacing: -1px;
}

/* Subtitle */
.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 20px 0;
    font-weight: 400;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 550px;
}


.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    color: #ffffff;
    padding: 20px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: btn-pulse 2s infinite;
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 140, 66, 0);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 66, 0);
        transform: scale(1);
    }
}

.hero-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    border-radius: 50px;
    overflow: hidden;
}

.hero-primary-btn:hover::before {
    left: 100%;
}

.hero-primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-primary-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-icon-svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: all 0.4s ease;
}

.hero-primary-btn:hover .btn-icon-svg {
    transform: rotate(15deg) scale(1.15);
    color: #ffffff;
}

.btn-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-arrow-svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-primary-btn:hover .btn-arrow-svg {
    transform: translateX(6px);
    color: #ffffff;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .navbar .container {
        padding: 0 30px;
    }
    
    .nav-wrapper {
        min-height: 80px;
    }
    
    .nav-menu {
        gap: 0;
    }
    
    .nav-menu > li > a {
        padding: 28px 13px;
        font-size: 14px;
        letter-spacing: 0.1px;
    }
    
    .nav-menu > li > a::before {
        width: calc(100% - 26px);
    }
    
    .logo img {
        height: 48px;
    }
    
    .hero-wrapper {
        top: 10%;
        padding: 0 30px;
    }
    
    .hero-text-content {
        gap: 40px;
    }
    
    .hero-main-title {
        font-size: 44px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-primary-btn {
        padding: 18px 38px;
        font-size: 16px;
        gap: 10px;
    }
    
    .btn-icon-svg {
        width: 22px;
        height: 22px;
    }
    
    .btn-arrow-svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-wrapper {
        min-height: 75px;
    }
    
    .logo img {
        height: 44px;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .icon-link {
        font-size: 20px;
        padding: 8px;
    }
    
    .hero-wrapper {
        top: 5%;
        padding: 0 25px;
    }
    
    .hero-text-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .hero-year-badge {
        display: inline-flex;
        padding: 6px 16px;
        margin-bottom: 12px;
    }
    
    .year-number {
        font-size: 24px;
    }
    
    .year-text {
        font-size: 10px;
    }
    
    .hero-main-title {
        font-size: 34px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .hero-primary-btn {
        padding: 16px 32px;
        font-size: 15px;
        gap: 10px;
    }
    
    .btn-icon-svg {
        width: 20px;
        height: 20px;
    }
    
    .btn-arrow-svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-section {
        min-height: 55vh;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 0 20px;
    }
    
    .nav-wrapper {
        min-height: 70px;
    }
    
    .logo img {
        height: 38px;
    }
    
    .mobile-toggle {
        padding: 10px;
    }
    
    .mobile-toggle span {
        width: 24px;
        height: 2.5px;
    }
    
    .hero-wrapper {
        top: 5%;
        padding: 0 20px;
    }
    
    .hero-text-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-right-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    
    .hero-year-badge {
        display: inline-flex;
        padding: 5px 14px;
        margin-bottom: 10px;
    }
    
    .year-number {
        font-size: 22px;
    }
    
    .year-text {
        font-size: 9px;
    }
    
    .hero-main-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 0;
    }
    
    .hero-primary-btn {
        padding: 15px 28px;
        font-size: 14px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        gap: 8px;
    }
    
    .btn-icon-svg {
        width: 18px;
        height: 18px;
    }
    
    .btn-arrow-svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   MODERN MOBILE MENU OVERLAY - MapleJet Style
   ============================================ */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh; /* iOS için dinamik viewport */
    background: linear-gradient(135deg, #FF8C42 0%, #C85C3C 35%, #8B5FBF 65%, #4A90E2 100%);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.mobile-menu-overlay.active {
    right: 0;
}

/* Close Button */
.mobile-menu-close {
    position: absolute;
    top: max(20px, env(safe-area-inset-top, 20px));
    right: max(20px, env(safe-area-inset-right, 20px));
    z-index: 10000;
}

.mobile-menu-close .close-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #DC3545;
    color: #ffffff;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu-close .close-btn:hover {
    background-color: #C82333;
    transform: rotate(90deg);
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 20px 30px 40px;
    padding-top: max(20px, env(safe-area-inset-top)); /* iOS notch desteği */
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Mobile Menu Header with Logo */
.mobile-menu-header {
    text-align: center;
    padding: 20px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.mobile-menu-header .mobile-logo-top {
    max-width: 280px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Contact Info Box */
.mobile-contact-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mobile-contact-box p {
    margin: 8px 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

.mobile-contact-box a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-contact-box a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

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

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

.mobile-nav-list > li {
    margin-bottom: 5px;
}

.mobile-nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-nav-list > li > a:hover,
.mobile-nav-list > li.open > a {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.mobile-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-nav-list > li.open > a .mobile-arrow {
    transform: rotate(180deg);
}

/* Mobile Submenu */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.mobile-nav-list > li.open .mobile-submenu {
    max-height: 3000px; /* Uygulamalar menüsü için yeterli yükseklik */
}

.mobile-submenu li {
    margin: 0;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-submenu li a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #ffffff;
    padding-left: 45px;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    margin-top: 40px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-footer .mobile-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
    font-style: italic;
}

/* Mobile Menu Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-menu-overlay.active .mobile-menu-content {
    animation: slideInRight 0.4s ease;
}

/* Mega Menu Responsive */
@media (max-width: 1024px) {
    .mega-menu .mega-menu-content {
        min-width: 240px;
        max-width: 260px;
    }
    
    .mega-menu-column > strong {
        font-size: 13px;
        padding: 9px 15px;
        padding-right: 38px;
    }
    
    .mega-menu-column ul {
        min-width: 240px;
    }
    
    .mega-menu-column ul li a {
        padding: 9px 15px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .mega-menu .mega-menu-content {
        display: none !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .mobile-menu-content {
        padding: 15px 20px 30px;
        padding-top: max(15px, env(safe-area-inset-top, 15px));
        padding-bottom: max(30px, env(safe-area-inset-bottom, 30px));
    }
    
    .mobile-menu-close {
        top: max(15px, env(safe-area-inset-top, 15px));
        right: max(15px, env(safe-area-inset-right, 15px));
    }
    
    .mobile-menu-header {
        padding: 15px 0 20px;
    }
    
    .mobile-menu-header .mobile-logo-top {
        max-width: 220px;
    }
    
    .mobile-contact-box {
        padding: 12px 15px;
        margin-bottom: 20px;
    }
    
    .mobile-contact-box p {
        font-size: 13px;
        margin: 5px 0;
    }
    
    .mobile-nav-list > li > a {
        font-size: 18px;
        padding: 16px 18px;
    }
    
    .mobile-submenu li a {
        font-size: 15px;
        padding: 10px 18px 10px 35px;
    }
    
    .mobile-menu-footer .mobile-tagline {
        font-size: 12px;
        padding: 0 10px;
    }
}

/* iOS Özel Ayarlar */
@supports (-webkit-touch-callout: none) {
    .mobile-menu-overlay {
        height: -webkit-fill-available;
    }
    
    .mobile-menu-content {
        min-height: -webkit-fill-available;
    }
}

/* Hide desktop menu on mobile */
@media (max-width: 991px) {
    .nav-menu {
        display: none !important;
    }
    
    .navbar {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    }
}
