/* Menu Page Styles - FORCE UPDATE */

/* Basit tek scroll - DİNAMİK YÜKSEKLİK */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    background: #f8f9fa;
    /* Dinamik yükseklik için - admin sayfasındaki gibi */
    min-height: 100vh;
    height: auto;
}

/* Scrollbar */
html::-webkit-scrollbar, body::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track, body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}


/* Basit layout */
* {
    box-sizing: border-box;
}

/* Footer Styles - SAYFANIN EN ALTINDA SABİT DURMASI İÇİN */
.footer {
    background: #f8f9fa;
    padding: 10px 20px 20px 20px;
    border-top: 1px solid #e9ecef;
    position: relative;
    z-index: 100;
    width: 100%;
    /* Footer'ın sayfanın en altında sabit durması için */
    margin-top: 0;
    clear: both;
    /* Sayfa boyutuna göre dinamik pozisyon - admin sayfasındaki gibi */
    flex-shrink: 0;
    /* Footer'ın her zaman en altta kalması için */
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.footer-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-family: 'Poppins', 'Montserrat', 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #667eea;
}

.social-link i {
    font-size: 22px;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-family: 'Poppins', 'Montserrat', 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.devaydin-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.devaydin-link:hover {
    transform: scale(1.05);
}

.devaydin-frame {
    background: #000000;
    padding: 15px;
    border-radius: 12px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.devaydin-logo {
    height: 28px;
    width: auto;
    display: block;
    filter: brightness(1.1);
}

.copyright {
    margin-top: 10px;
}

.copyright p {
    color: #666;
    font-family: 'Poppins', 'Montserrat', 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 8px 20px 15px 20px;
    }
    
    .social-link {
        font-size: 14px;
    }
    
    .powered-by {
        font-size: 14px;
    }
    
    .devaydin-logo {
        height: 24px;
    }
    
    .copyright p {
        font-size: 12px;
    }
}

/* Mobile Navbar Fix - DÜZELTİLDİ */
@media (max-width: 768px) {
    .navbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 60px !important;
        position: relative !important;
        width: 100% !important;
        height: 60px !important;
    }
    
    .nav-container {
        padding: 0 10px !important;
    }
    
    .nav-logo {
        position: absolute !important;
        left: 48% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 9999 !important;
        margin: 0 !important;
        max-width: 90px !important;
        max-height: 45px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .nav-logo img {
        max-width: 90px !important;
        max-height: 45px !important;
        width: auto !important;
        height: auto !important;
    }
    
    .language-selector {
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10001 !important;
    }
    
    .discount-calendar-icon {
        position: absolute !important;
        left: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10000 !important;
    }
    
    .discount-calendar-dropdown {
        left: 50% !important;
        transform: translateX(-50%) translateY(-20px) !important;
        width: calc(100vw - 40px) !important;
        max-width: 350px !important;
        top: 60px !important;
        max-height: 70vh !important;
    }
    
    .discount-calendar-dropdown.show {
        transform: translateX(-50%) translateY(0) !important;
    }
    
    .discount-product-item {
        padding: 12px !important;
        gap: 12px !important;
    }
    
    .discount-product-image {
        width: 70px !important;
        height: 200px !important;
    }
    
    .discount-product-name {
        font-size: 14px !important;
    }
    
    .discount-product-prices {
        font-size: 12px !important;
    }
    
    .discount-days {
        font-size: 11px !important;
    }
    
    .language-current {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-width: 70px !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .language-current .flag {
        font-size: 16px !important;
    }
    
    .language-menu {
        min-width: 180px !important;
        z-index: 9999 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
    }
    
    .language-option {
        padding: 10px 14px !important;
    }
    
    .language-option .lang-name {
        font-size: 13px !important;
    }
    
    /* Telefonda performans optimizasyonu */
    * {
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }
    
    video {
        will-change: auto !important;
        transform: translateZ(0) !important;
    }
    
    .card {
        will-change: auto !important;
        transform: translateZ(0) !important;
    }
    
    /* Kartlarda kasma önleme */
    .menu-card {
        will-change: auto !important;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
    }
    
    /* Video performansı */
    .menu-card video {
        will-change: auto !important;
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
    }
    
    /* Scroll performansı */
    .menu-grid {
        -webkit-overflow-scrolling: touch !important;
        overflow-scrolling: touch !important;
    }
    
    /* Touch performansı */
    .menu-card {
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -khtml-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    
    /* Kaydırma sırasında kart içeriğinin açılmasını engelle */
    .menu-card {
        touch-action: manipulation !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -khtml-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    
    /* Scroll sırasında kart tıklamasını engelle */
    .menu-grid {
        touch-action: pan-y !important;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .navbar {
        padding: 0 50px !important;
        height: 60px !important;
    }
    
    .language-selector {
        right: 5px !important;
    }
    
    .discount-calendar-icon {
        left: 5px !important;
    }
    
    .nav-logo {
        max-width: 80px !important;
        max-height: 40px !important;
    }
    
    .nav-logo img {
        max-width: 80px !important;
        max-height: 40px !important;
    }
}

* {
    box-sizing: border-box !important;
}

/* NAVBAR FIX - FORCE */
.navbar, .navbar-default, .navbar-inverse, .navbar-expand-lg {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    padding: 8px 0 !important;
    line-height: 44px !important;
    z-index: 9999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #f8f9fa !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Navbar Container */
.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    padding: 0 20px !important;
}

/* Logo - Ortada (biraz sola) */
.nav-logo {
    position: absolute !important;
    left: 48% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10000 !important;
}

/* Takvim İkonu - Sol tarafta */
.discount-calendar-icon {
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    cursor: pointer !important;
}

.discount-calendar-icon i {
    color: #333 !important;
    font-size: 24px !important;
}

/* Dil Seçeneği - Sağ tarafta */
.language-selector {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10000 !important;
}

.language-current {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    color: #333 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    padding: 6px 10px !important;
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    min-width: 60px !important;
    justify-content: center !important;
}

.language-current:hover {
    background: transparent !important;
}

.language-current .flag {
    font-size: 18px !important;
}

.language-current .lang-code {
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

.language-current i {
    font-size: 12px !important;
}

.language-current.active i {
    transform: rotate(180deg) !important;
}

.language-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    min-width: 200px !important;
    margin-top: 8px !important;
}

.language-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.language-option {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.language-option:last-child {
    border-bottom: none !important;
}

.language-option:hover {
    background: #f0f0f0 !important;
    color: #333 !important;
}

.language-option .flag {
    font-size: 20px !important;
}

.language-option .lang-name {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

/* İndirim Dropdown */
.discount-calendar-dropdown {
    position: fixed !important;
    top: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-20px) !important;
    width: 350px !important;
    max-height: 80vh !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 9998 !important;
    overflow: hidden !important;
}

.discount-calendar-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.discount-header {
    padding: 20px 30px 20px 20px !important;
    background: #f8f9fa !important;
    color: #333 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #e9ecef !important;
}

.discount-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #333 !important;
}

/* Ürün isimleri için kelime sarma */
.menu-item-info h3,
.menu-card h3,
.product-name h3 {
    word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    hyphens: auto !important;
}

.close-discount-btn {
    background: #e9ecef !important;
    border: none !important;
    color: #333 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
}

.close-discount-btn:hover {
    background: #dee2e6 !important;
}

.discount-products-list {
    padding: 15px !important;
    max-height: calc(80vh - 80px) !important;
    overflow-y: auto !important;
}

.discount-product-item {
    display: flex !important;
    gap: 15px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
    cursor: pointer !important;
    border-left: 4px solid transparent !important;
    transition: all 0.3s ease !important;
    align-items: center !important;
}

.discount-product-item:hover {
    background: #e9ecef !important;
}

/* Bugün aktif indirimler - yeşil */
.discount-product-item.active-today {
    border-left-color: #28a745 !important;
    background: #f0fff4 !important;
}

.discount-product-item.active-today:hover {
    background: #e6f9ed !important;
}

/* Gelecek indirimler - mor */
.discount-product-item.future-discount {
    border-left-color: #667eea !important;
    background: #f5f7ff !important;
}

.discount-product-item.future-discount:hover {
    background: #eef1ff !important;
}

.discount-product-image {
    width: 110px !important;
    height: 220px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    max-height: none !important;
    max-width: none !important;
}

.discount-product-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.discount-product-name {
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    color: #333 !important;
}

.discount-product-prices {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}


.discount-percent {
    background: #28a745 !important;
    color: white !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

.original-price {
    display: inline-block !important;
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.original-price::after { content: none !important; }

/* Diğer alanlarda da çizgi uygulanmasın */
.discount-price, .current-price, .discount-days { text-decoration: none !important; }

.discount-price {
    color: #28a745 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.current-price {
    color: #333 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.discount-days {
    font-size: 12px !important;
    color: #000000 !important; /* Her zaman siyah */
    font-weight: 700 !important; /* Kalın */
}

/* İndirim günü: yeşil */
/* Gün isimleri her zaman siyah kalacak - renk override kaldırıldı */

.no-discounts {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #999 !important;
}

.no-discounts p {
    margin: 0 !important;
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.navbar-brand, .navbar-brand img, .logo, .logo-img, img[src*="logo"], .navbar-brand > img, .nav-logo img {
    max-height: 50px !important;
    width: auto !important;
    max-width: 100px !important;
    height: 50px !important;
    object-fit: contain !important;
}

/* Logo fix for all images except video/banner */
img:not(.video-section img):not(.banner-section img) {
    max-height: 50px !important;
    max-width: 100px !important;
}

/* Video ve Banner */
.video-section, .banner-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background: #f8f9fa;
    margin-top: 60px;
    overflow: hidden;
}


.banner-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    width: 100vw;
    height: 100vh;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100vw;
    height: 100vh;
    position: relative;
    flex-shrink: 0;
}

.banner-section img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    background: #000;
}

/* Mobile Video Fix - SİYAH ALANLARI KALDIR */
@media (max-width: 768px) {
    .video-container video {
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* Mobile Responsive - DÜZELTİLMİŞ */
@media (max-width: 768px) {
    .banner-slider {
        width: 100vw !important;
        height: 100vh !important;
    }
    
    .banner-slide {
        min-width: 100vw !important;
        height: 100vh !important;
    }
    
    .banner-section img {
        width: 100vw !important;
        height: 100vh !important;
        object-fit: cover !important;
        object-position: center !important;
        background: #000 !important;
    }
    
    .video-section, .banner-section {
        height: 100vh !important;
        margin-top: 60px !important;
        overflow: visible !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }
    
    .menu-section, #menuSection {
        padding: 10px 0 !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .menu-container {
        padding: 10px !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .menu-grid {
        padding: 10px !important;
        min-height: auto !important;
        height: auto !important;
        background: #f8f9fa !important;
    }
    
    .show-menu-btn, button[onclick*="scrollToMenu"] {
        width: 300px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* BUTTON FIX - FORCE */
.show-menu-btn, button[onclick*="scrollToMenu"] {
    pointer-events: auto !important;
    z-index: 9997 !important;
    position: relative !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.2 !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    display: inline-block !important;
    width: 800px !important;
    height: auto !important;
    padding: 8px 60px !important;
    font-size: 18px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    color: white !important;
    border: 2px solid white !important;
    background: rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.show-menu-btn:hover, button[onclick*="scrollToMenu"]:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.slider-dot {
    pointer-events: auto !important;
    z-index: 10001 !important;
    position: relative !important;
}

/* Menu Section */
.menu-section, #menuSection {
    position: relative;
    background: #f8f9fa;
    padding: 0;
    margin-top: 0;
    width: 100vw;
    overflow: visible;
    border: none;
    /* Grid alanının başlangıcını net belirle */
    padding-top: 20px;
}

.menu-container {
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 800px;
    height: auto;
    overflow: visible;
    background: #f8f9fa;
}

.menu-grid {
    position: relative;
    width: 100vw;
    height: auto;
    min-height: 800px;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    border: none;
    border-radius: 0;
    overflow: visible;
}

/* Grid lines removed - clean background - TEMİZLENMİŞ */
.menu-grid::before {
    display: none !important;
}

/* Center line removed - clean background - TEMİZLENMİŞ */
.menu-grid::after {
    display: none !important;
}

/* Menu Cards - Temiz ve Basit */
.menu-card {
    position: absolute;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.menu-card:active {
    transform: translateY(-2px);
}

.menu-card:focus {
    outline: none;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

/* Kart içindeki resim ve videolar - Kartı Tamamen Kaplasın */
.menu-card img,
.menu-card video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: inherit !important;
    /* GPU hızlandırması - video flicker önleme */
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    /* iOS video kaydırma sorunu için AGGRESIF çözüm */
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    perspective: 1000px !important;
    -webkit-perspective: 1000px !important;
    /* Video beyaz olma sorunu için */
    background: transparent !important;
    background-color: transparent !important;
    /* iOS video render sorunu için */
    -webkit-transform-style: preserve-3d !important;
    transform-style: preserve-3d !important;
    /* Video sürekli render için */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Placeholder için gradient background */
.card-placeholder {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6c757d !important;
    font-size: 48px !important;
    border-radius: inherit !important;
    border: 2px dashed #dee2e6 !important;
}

.card-placeholder i {
    font-size: 3rem !important;
    color: #6c757d !important;
    opacity: 0.7 !important;
    margin-bottom: 8px !important;
}

.card-placeholder .placeholder-text {
    font-size: 0.9rem !important;
    color: #6c757d !important;
    opacity: 0.8 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.card-placeholder {
    flex-direction: column !important;
}

.card-content {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10 !important;
    text-align: right !important;
}

.card-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    font-family: 'Poppins', 'Montserrat', 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

/* Responsive Menu Grid */
@media (max-width: 768px) {
    .menu-container {
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #f8f9fa !important;
        /* Mobilde dinamik yükseklik - admin sayfasındaki gibi */
        min-height: auto !important;
        height: auto !important;
        /* Tek scroll için */
        overflow-y: visible !important;
    }
    
    .menu-grid {
        width: 100vw !important;
        transform: none !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
        background: #f8f9fa !important;
        padding: 0 !important;
        /* Mobilde dinamik yükseklik - admin sayfasındaki gibi */
        min-height: auto !important;
        height: auto !important;
        /* Tek scroll için */
        overflow-y: visible !important;
    }
    
    .menu-grid::before {
        background-size: 10px 10px, 10px 10px, 50px 50px, 50px 50px; /* Mobilde daha küçük grid */
        background-position: 0 0, 0 0, 0 0, 0 0;
        opacity: 0.3; /* Grid'i daha hafif göster */
    }
    
    .menu-card img,
    .menu-card video {
        object-fit: cover !important;
        /* Mobil video kaydırma sorunu için AGGRESIF çözüm */
        will-change: auto !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
        perspective: 1000px !important;
        -webkit-perspective: 1000px !important;
        transform-style: preserve-3d !important;
        -webkit-transform-style: preserve-3d !important;
        background: transparent !important;
        background-color: transparent !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .card-content {
        top: 5px !important;
        right: 5px !important;
    }
    
    .card-title {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .menu-container {
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #f8f9fa !important;
        /* Küçük ekranlarda dinamik yükseklik - admin sayfasındaki gibi */
        min-height: auto !important;
        height: auto !important;
        /* Tek scroll için */
        overflow-y: visible !important;
        /* Küçük ekranlarda en alttaki kartların görünürlüğü için - admin sayfasındaki gibi */
        padding-bottom: 200px !important;
        margin-bottom: 150px !important;
    }
    
    .menu-grid {
        width: 100vw !important;
        transform: none !important;
        margin-bottom: 0 !important;
        overflow: visible !important;
        background: #f8f9fa !important;
        padding: 0 !important;
        /* Küçük ekranlarda dinamik yükseklik - admin sayfasındaki gibi */
        min-height: auto !important;
        height: auto !important;
        /* Tek scroll için */
        overflow-y: visible !important;
        /* Küçük ekranlarda en alttaki kartların görünürlüğü için - admin sayfasındaki gibi */
        padding-bottom: 200px !important;
        margin-bottom: 150px !important;
    }
    
    .menu-grid::before {
        background-size: 10px 10px, 10px 10px, 50px 50px, 50px 50px; /* Mobilde daha küçük grid */
        background-position: 0 0, 0 0, 0 0, 0 0;
        opacity: 0.3; /* Grid'i daha hafif göster */
    }
    
    .menu-card img,
    .menu-card video {
        object-fit: cover !important;
    }
    
    .card-content {
        top: 5px !important;
        right: 5px !important;
    }
    
    .card-title {
        font-size: 18px !important;
    }
    
    .show-menu-btn, button[onclick*="scrollToMenu"] {
        width: 400px !important;
        padding: 10px 30px !important;
        font-size: 14px !important;
    }
}

/* Daha küçük ekranlar için */
@media (max-width: 480px) {
    .menu-button-container {
        bottom: 220px;
    }
}

/* Layout Order Fix - ADMIN SAYFASINDAKI GİBİ */
body {
    /* Footer'ın doğal olarak en altta kalması için */
    min-height: 100vh;
    /* Footer'ın en altta sabit durması için flexbox */
    display: flex;
    flex-direction: column;
}

/* Ensure proper stacking order */
.navbar {
    order: 0 !important;
}

.video-section, .banner-section {
    order: 1 !important;
}

.menu-section, #menuSection {
    order: 2 !important;
}

/* Main content alanını flexbox ile düzenle - FOOTER EN ALTA GİTSİN */
.main-content-unified {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

/* Smooth transitions between sections */
.video-section, .banner-section, .menu-section, #menuSection {
    transition: all 0.3s ease !important;
}

/* Video Container */
.video-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-container video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #000;
}

/* Video kontrollerini gizle */
video {
    pointer-events: none !important;
}

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

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

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

/* Menu Button Container */
.menu-button-container {
    position: absolute !important;
    bottom: 80px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9998 !important;
    pointer-events: auto !important;
}

/* Mobile Button Position */
@media (max-width: 768px) {
    .menu-button-container {
        bottom: 200px !important;
    }
}

/* Banner Overlay */
.banner-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.3)) !important;
}

/* Slider Navigation - HIDDEN - TEMİZLENMİŞ */
.slider-nav {
    display: none !important;
}

.slider-dot {
    display: none !important;
}

.slider-dot.active {
    display: none !important;
}
