/* =========================================== */
/* MARMARİS MARKALAŞIYOR - STYLE.CSS */
/* TÜM STİLLER */
/* =========================================== */

/* RESET & VARIABLES */
:root {
    --primary: #00b894;
    --primary-dark: #00a085;
    --secondary: #0984e3;
    --dark: #0f172a;
    --darker: #0a0f1f;
    --light: #ffffff;
    --gray: #94a3b8;
    --gray-dark: #475569;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --radius: 15px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==================== */
/* NAVBAR */
/* ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.menu-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--light);
}

.hamburger {
    width: 20px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--dark);
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--light);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s;
    border-left: 4px solid var(--item-color);
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: rgba(var(--item-color-rgb), 0.1);
    transform: translateX(5px);
}

.mobile-menu-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--item-color);
}

.mobile-menu-item span {
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.mobile-menu-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.mobile-menu-footer {
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.mobile-social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ==================== */
/* HERO SECTION */
/* ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 132, 227, 0.4) 50%, rgba(0, 184, 148, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 4rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--light);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--light);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.scroll-down {
    margin-top: 40px;
}

.scroll-down a {
    color: var(--light);
    font-size: 1.8rem;
    text-decoration: none;
    animation: bounce 2s infinite;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}

.scroll-down a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==================== */
/* MENU GRID SECTION */
/* ==================== */
.menu-grid-section {
    padding: 80px 0;
    background: var(--dark);
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 60px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s;
    height: 280px;
    position: relative;
}

.menu-item-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.08);
}

.menu-item-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* Menu Grid Tek Resim Stilleri */
.menu-item-image {
    height: 60%;
    position: relative;
    overflow: hidden;
}

.single-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.menu-item-card:hover .single-image {
    transform: scale(1.05);
}

/* Eski çift resim stilini devre dışı bırak */
.image-dual {
    display: none;
}

/* Menu item icon güncellemesi */
.menu-item-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--item-color, var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--light);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Alt başlık */
.menu-item-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--gray);
    margin-top: 5px;
    font-weight: 400;
    transition: all 0.3s;
}

.menu-item-card:hover .menu-item-subtitle {
    opacity: 1;
    color: var(--light);
}

/* ==================== */
/* PAGE CONTENT */
/* ==================== */
.page-hero {
    padding: 150px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--dark), var(--darker));
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.1) 0%, rgba(9, 132, 227, 0.05) 100%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: var(--light);
}

.page-content {
    padding: 80px 0;
    background: var(--darker);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.content-main h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.content-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.content-sidebar {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius);
    height: fit-content;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--light);
}

/* ==================== */
/* İŞBİRLİKÇİLER */
/* ==================== */
.partners-section {
    padding: 80px 0;
    background: rgba(15, 23, 42, 0.8);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    min-height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.2);
}

.partner-card img {
    max-width: 100%;
    max-height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s;
}

.partner-card:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* ==================== */
/* FOOTER */
/* ==================== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-links a i {
    color: var(--primary);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* ==================== */
/* UTILITIES */
/* ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* ==================== */
/* ACİL DÜZELTMELER - MOBİL MENÜ KARTLARI İÇİN */
/* ==================== */

/* 1. TÜM MENÜ KARTLARI İÇİN KESİN ÇÖZÜM */
.menu-item-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: auto; /* Sabit yükseklik kaldır */
    min-height: 280px;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.menu-item-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* 2. MENÜ RESİM ALANI - KESİN ÇÖZÜM */
.menu-item-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.single-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.5s ease;
}

.menu-item-card:hover .single-image {
    transform: scale(1.05);
}

/* 3. PARTNER KARTLARI */
.partner-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) !important;
    border-color: #00b894;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.2);
}

/* 4. PARTNER LOGOLARI */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.logo-container img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.partner-card:hover .logo-container img {
    opacity: 1;
    transform: scale(1.08);
}

.partner-name {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s;
}

.partner-card:hover .partner-name {
    color: var(--light);
}

/* 5. RESİM YÜKLEME FALLBACK */
.menu-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--item-color, #00b894) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0.3;
    z-index: 1;
}

/* Resim yüklenemediğinde gösterilecek fallback */
.menu-item-image[data-image-error="true"] .single-image {
    background: linear-gradient(135deg, var(--item-color, #00b894), #0984e3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item-image[data-image-error="true"] .single-image::after {
    content: '\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 40px;
    color: white;
    opacity: 0.8;
}

/* ==================== */
/* MOBİL RESPONSIVE DÜZENLEMELER */
/* ==================== */
@media (max-width: 768px) {
    /* MOBİLDE MENÜ KARTLARI */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .menu-item-card {
        min-height: 240px;
        height: auto;
    }
    
    .menu-item-image {
        height: 150px !important;
    }
    
    .single-image {
        background-size: cover !important;
        background-position: center !important;
        -webkit-background-size: cover !important;
    }
    
    /* MOBİLDE PARTNER KARTLARI */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .partner-card {
        padding: 25px 15px;
        min-height: 130px;
    }
    
    .logo-container img {
        max-height: 60px;
    }
    
    /* MOBİLDE REVEAL ANİMASYONUNU DEVRE DIŞI BIRAK */
    .reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    .reveal.active {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@media (max-width: 480px) {
    /* KÜÇÜK MOBİL EKRANLAR */
    .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .menu-item-card {
        min-height: 220px;
    }
    
    .menu-item-image {
        height: 140px !important;
    }
    
    .menu-item-content h3 {
        font-size: 1.2rem !important;
    }
    
    .menu-item-subtitle {
        font-size: 0.85rem !important;
    }
    
    .partners-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .partner-card {
        padding: 20px 15px;
        min-height: 120px;
    }
}

/* ==================== */
/* KESİN ÇÖZÜM STİLLERİ - MOBİL RESİM PROBLEMLERİ İÇİN */
/* ==================== */

/* 1. TÜM RESİMLER İÇİN GENEL AYAR */
img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none !important;
    -webkit-filter: none !important;
}

/* 2. MENÜ KARTLARINDAKİ RESİMLER İÇİN KESİN ÇÖZÜM */
.menu-item-card .single-image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    -webkit-background-size: cover !important;
    background-attachment: scroll !important;
}

/* 3. MOBİLDE RESİM YÜKLEME PROBLEMİ İÇİN FALLBACK */
@media (max-width: 768px) {
    .menu-item-card .single-image {
        /* Mobilde daha agresif cover */
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* Eğer resim yoksa gradient göster */
    .menu-item-card .single-image:not([style*="background-image"]),
    .menu-item-card .single-image[style*="background-image: none"],
    .menu-item-card .single-image[style*="background-image: ''"] {
        background: linear-gradient(135deg, #00b894, #0984e3) !important;
    }
}

/* 4. TOUCH DEVİCE OPTİMİZASYONU */
@media (hover: none) and (pointer: coarse) {
    .menu-item-card:hover {
        transform: none !important;
    }
    
    .partner-card:hover {
        transform: none !important;
    }
    
    .menu-item-card:hover .single-image {
        transform: none !important;
    }
}