/* ===================================
   PROFESSIONAL MOBILE RESPONSIVE DESIGN
   @media (max-width: 768px)
   =================================== */

/* ===================
   HAMBURGER MENU
   =================== */

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #a2c523;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-panel.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #a2c523;
    text-decoration: none;
}

.mobile-nav-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-items {
    flex: 1;
    padding: 16px 0;
}

.mobile-nav-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-items li {
    border-bottom: 1px solid #f8fafc;
}

.mobile-nav-items a {
    display: block;
    padding: 16px 24px;
    color: #334155;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-items a:hover,
.mobile-nav-items a.active {
    background: #f8fafc;
    color: #a2c523;
    padding-left: 32px;
}

.mobile-nav-cta {
    padding: 20px 24px;
    border-top: 1px solid #f1f5f9;
}

.mobile-nav-cta .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    text-align: center;
    display: block;
}

/* ===================
   MOBILE LAYOUT
   =================== */

@media (max-width: 768px) {

    /* Show hamburger, hide desktop menu */
    .hamburger-menu {
        display: flex;
    }

    .nav-menu,
    .header-actions {
        display: none !important;
    }

    /* Header optimization */
    .site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px !important;
        position: relative;
    }

    .logo {
        flex-shrink: 0;
    }

    .logo img {
        height: 50px !important;
    }

    .brand-text {
        font-size: 1.1rem !important;
        margin-left: -3px !important;
    }

    /* Hide top social bar */
    .header-top {
        display: none;
    }

    /* Container spacing */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Section spacing */
    .section {
        padding: 40px 0 !important;
    }

    .hero-section,
    .hero {
        padding: 30px 0 !important;
        min-height: auto !important;
    }

    /* ===================
       TYPOGRAPHY
       =================== */

    h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }

    p,
    li {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .text-lg {
        font-size: 1.125rem !important;
    }

    .text-sm {
        font-size: 0.875rem !important;
    }

    /* ===================
       LAYOUT STACKING
       =================== */

    /* Stack hero content */
    .hero-top-row {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .hero-image {
        order: 2 !important;
        max-width: 100% !important;
        margin-top: 1.5rem !important;
        border-radius: 0 48px 0 48px !important;
        overflow: hidden !important;
    }

    .hero-image img {
        max-width: 100% !important;
        border-radius: 0 48px 0 48px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
        display: block !important;
    }

    /* Stack any part-mobile-col elements */
    .part-mobile-col {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    /* Grid to single column */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Info boxes stack */
    .info-grid-wrapper,
    .mobile-grid-1 {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .info-box {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    /* ===================
       FORMS & INPUTS
       =================== */

    /* Disable reveal animations on mobile - show content immediately */
    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Hero search bar - vertical stack */
    .hero-search-bar {
        flex-direction: column !important;
        padding: 0 !important;
        gap: 0 !important;
        border-radius: 12px !important;
        overflow: visible !important;
    }

    .search-input-group {
        width: 100% !important;
        padding: 14px 16px !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-radius: 0 !important;
        position: relative !important;
        overflow: visible !important;
    }

    .search-input-group:last-of-type {
        border-bottom: none !important;
    }

    .search-input-group input {
        padding: 10px 0 10px 40px !important;
        font-size: 16px !important;
    }

    /* Airport Dropdown Results - Mobile Optimized */
    .dropdown-results {
        position: absolute !important;
        bottom: 120% !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        max-height: 280px !important;
        overflow-y: auto !important;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15) !important;
        z-index: 9999 !important;
        list-style: none !important;
        margin: 0 0 10px 0 !important;
        padding: 8px 0 !important;
    }

    /* Force display when JS sets it to block */
    .dropdown-results[style*="display: block"] {
        display: block !important;
    }

    .dropdown-results li {
        padding: 12px 16px !important;
        cursor: pointer !important;
        transition: background 0.2s ease !important;
        font-size: 0.95rem !important;
        color: #334155 !important;
    }

    .dropdown-results li:hover {
        background: #f8fafc !important;
        color: #a2c523 !important;
    }


    .divider {
        display: none !important;
    }

    .btn-hero-search {
        width: 100% !important;
        margin: 12px !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
        min-height: 48px !important;
    }

    /* Form inputs - touch friendly */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    select,
    textarea {
        min-height: 48px !important;
        font-size: 16px !important;
        padding: 12px 16px !important;
    }

    /* Radio options stack */
    .radio-options {
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Ensure download buttons are consistent */
    .btn-outline {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
        max-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        line-height: 1.4 !important;
    }

    /* Ensure downloaded state buttons stay same size */
    .btn-outline[disabled] {
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }

    .btn-outline i {
        font-size: 1rem !important;
        flex-shrink: 0 !important;
    }

    /* File upload boxes - mobile friendly */
    .file-upload-box {
        min-height: 120px !important;
        padding: 20px 15px !important;
    }

    .file-upload-box:hover {
        border-color: #a2c523 !important;
        background: #f0fdf4 !important;
    }

    /* Download buttons - ensure consistent size */
    .download-btn {
        min-height: 56px !important;
        font-size: 0.9rem !important;
    }

    .radio-card {
        width: 100% !important;
        min-height: 48px !important;
    }

    /* Buttons - touch friendly */
    .btn {
        min-height: 48px !important;
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }

    /* ===================
       CARDS & COMPONENTS
       =================== */

    .card {
        padding: 1.25rem !important;
        margin-bottom: 1rem !important;
    }

    .marquee-card {
        min-width: 280px !important;
        max-width: 280px !important;
        padding: 1.5rem !important;
    }

    /* Process steps */
    .process-list {
        margin-bottom: 2rem !important;
    }

    .step-item {
        margin-bottom: 1.5rem !important;
    }

    /* ===================
       FOOTER
       =================== */

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: left !important;
    }

    .footer-brand {
        max-width: 100% !important;
    }

    .footer-logo-text {
        justify-content: center !important;
        margin-bottom: 1rem !important;
    }

    .footer-logo-img {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    .footer-social {
        justify-content: flex-start !important;
        margin-top: 0 !important;
        gap: 1rem !important;
    }

    .footer-social a {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.25rem !important;
    }

    .footer-col h4,
    .footer-heading {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }

    .footer-links,
    .footer-contact {
        text-align: left !important;
        padding-left: 0 !important;
        list-style: none !important;
    }

    .footer-links li {
        margin-bottom: 0.85rem !important;
    }

    .footer-links li a {
        font-size: 0.95rem !important;
    }

    .footer-contact li {
        margin-bottom: 0.75rem !important;
    }

    .footer-contact a {
        color: #a2c523 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
    }

    .footer-contact i {
        color: #a2c523 !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center;
        padding: 1.5rem 0 !important;
    }

    .footer-bottom-links {
        justify-content: center !important;
    }

    /* ===================
       UTILITIES
       =================== */

    /* Prevent body scroll when menu open */
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Text alignment */
    .text-center-mobile {
        text-align: center !important;
    }

    /* Spacing adjustments */
    .mb-2 {
        margin-bottom: 0.75rem !important;
    }

    .mb-3 {
        margin-bottom: 1rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .mt-2 {
        margin-top: 0.75rem !important;
    }

    .mt-3 {
        margin-top: 1rem !important;
    }

    .mt-4 {
        margin-top: 1.5rem !important;
    }

    /* Hide elements on mobile */
    .hide-mobile {
        display: none !important;
    }

    /* ===========================
       MODERN MİNİMALİST EKLEMELERİ
       =========================== */

    /* Daha temiz kart görünümü */
    .card {
        border-radius: 16px !important;
        box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
        border: 1px solid #f1f5f9 !important;
    }

    /* Blog cards stacked view */
    .blog-card {
        border-radius: 16px !important;
        padding: 20px !important;
    }

    /* Heading hierarchy mobile */
    .hero-title, .hero h1 {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
        letter-spacing: -.5px !important;
    }

    /* Section headers */
    .section-title {
        font-size: 1.4rem !important;
    }

    /* Nav panel — more modern look */
    .mobile-nav-panel {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: -2px 0 30px rgba(0,0,0,.12) !important;
    }

    .mobile-nav-items a {
        font-size: 1.05rem !important;
        font-weight: 500 !important;
        letter-spacing: -.2px !important;
        padding: 18px 24px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-bottom: none !important;
        color: #1e293b !important;
    }

    .mobile-nav-items a.active {
        background: #f0fdf4 !important;
        color: #4d7c0f !important;
        padding-left: 24px !important;
        border-left: 3px solid #a2c523 !important;
    }

    .mobile-nav-cta {
        padding: 16px 20px 32px !important;
    }

    .mobile-nav-cta .btn {
        border-radius: 14px !important;
        font-weight: 700 !important;
        letter-spacing: .2px !important;
    }

    /* Hamburger daha büyük touch alanı */
    .hamburger-menu {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .hamburger-menu span {
        width: 22px !important;
        height: 2px !important;
    }

    /* Hero buton — daha yuvarlak ve belirgin */
    .btn-hero-search {
        border-radius: 14px !important;
    }

    /* Form step labels daha küçük */
    .step-indicator {
        font-size: .7rem !important;
        letter-spacing: .5px !important;
    }

    /* Form section başlıkları */
    .form-section-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
    }

    /* İmza canvas — daha büyük mobil alanı */
    #signature-canvas {
        height: 180px !important;
        width: 100% !important;
        touch-action: none !important;
    }

    /* Process steps — minimalist */
    .process-step-number {
        font-size: .8rem !important;
        width: 28px !important;
        height: 28px !important;
    }

    /* Stats/Trust badges stacked */
    .trust-badges, .stats-row {
        flex-direction: column !important;
        gap: .75rem !important;
    }

    /* Affiliate stats grid — 1 col on very small, 2+1 on medium mobile */
    #affiliate-panel [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Success page — compact on mobile */
    #success-view {
        padding: 12px !important;
    }

    #success-view h1 {
        font-size: 1.4rem !important;
    }

    /* Affiliate card buttons stack on mobile */
    #success-view [style*="display:flex; gap:10px; flex-wrap:wrap"] {
        flex-direction: column !important;
    }

    /* Dashboard affiliate panel — responsive grid */
    .dashboard-container {
        grid-template-columns: 1fr !important;
    }

    /* Bottom sticky CTA bar */
    .mobile-sticky-cta {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 12px 16px !important;
        background: rgba(255,255,255,.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-top: 1px solid #e2e8f0 !important;
        z-index: 500 !important;
        gap: 10px !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08) !important;
    }

    .mobile-sticky-cta .btn {
        flex: 1 !important;
        justify-content: center !important;
        border-radius: 12px !important;
        font-size: .92rem !important;
        padding: 13px 16px !important;
    }

    /* Body padding-bottom so content doesn't hide behind sticky bar */
    body {
        padding-bottom: 80px !important;
    }

}

/* Sticky CTA — only visible on mobile */
.mobile-sticky-cta {
    display: none;
}