/* ========================================
   NEVA BAHÇE - APPLE INSPIRED DESIGN
   Mobile-First, Minimalist, High-End
======================================== */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FFFFFF;
    color: #1D1D1F;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   GLASSMORPHISM HEADER (STICKY)
======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.04);
    padding: 0 max(20px, env(safe-area-inset-left));
    height: 60px; /* Biraz yükseltildi */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
    .header {
        height: 64px; /* Desktop: daha yüksek */
    }
}

.menu-icon {
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.menu-icon:active {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(0.95);
}

.menu-icon i {
    font-size: 20px;
    color: #1D1D1F;
}

.logo {
    font-size: 20px; /* Mobile: büyütüldü */
    font-weight: 700; /* Daha bold */
    letter-spacing: -0.6px;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .logo {
        font-size: 22px; /* Tablet */
    }
}

@media (min-width: 1024px) {
    .logo {
        font-size: 24px; /* Desktop */
        letter-spacing: -0.8px;
    }
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-icons i {
    font-size: 20px;
    cursor: pointer;
    color: #1C4D8D;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.header-icons i:hover {
    background: rgba(28, 77, 141, 0.08);
}

.header-icons i:active {
    background: rgba(28, 77, 141, 0.12);
    transform: scale(0.95);
}

/* ========================================
   CONTAINER & SPACING
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

@media (min-width: 768px) {
    .container {
        padding: 64px 40px 96px;
    }
}

/* ========================================
   SECTION TITLES
======================================== */
.section-title {
    font-size: 24px; /* Mobile: küçültüldü */
    font-weight: 700;
    color: #1D1D1F;
    letter-spacing: -0.8px;
    margin-bottom: 32px; /* Mobile: küçültüldü */
    text-align: center;
    line-height: 1.1;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* Mobile: küçültüldü */
    height: 3px;
    background: linear-gradient(90deg, #5B9BD5 0%, #1C4D8D 100%);
    border-radius: 100px;
}

/* Desktop: Daha büyük */
@media (min-width: 1024px) {
    .section-title {
        font-size: 52px; /* Desktop: büyütüldü */
        letter-spacing: -1.2px;
        margin-bottom: 64px;
        padding-bottom: 20px;
    }
    
    .section-title::after {
        width: 100px; /* Desktop: büyütüldü */
        height: 5px;
    }
}

/* ========================================
   HERO SLIDER (BENTO STYLE)
======================================== */
.slider-container {
    margin-bottom: 64px;
    overflow: hidden;
    border-radius: 24px;
    background: #F5F5F7;
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    max-height: 280px; /* Mobile */
}

@media (min-width: 768px) {
    .slide {
        max-height: 360px; /* Tablet */
    }
}

@media (min-width: 1024px) {
    .slide {
        max-height: 420px; /* Desktop */
        aspect-ratio: 21/9;
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    color: white;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    transform: scale(1.2);
}

/* ========================================
   CATEGORIES GRID (BENTO)
======================================== */
.categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .categories {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

.category-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: #F5F5F7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.category-card:active {
    transform: scale(0.96);
}

@media (hover: hover) {
    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(28, 77, 141, 0.15);
    }
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-title {
    color: white;
    font-size: 14px; /* Mobile: küçültüldü */
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .category-title {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    .category-title {
        font-size: 20px; /* Desktop: büyütüldü */
        font-weight: 700;
    }
}

/* ========================================
   POPUPS (APPLE MODAL STYLE)
======================================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup {
    background: white;
    border-radius: 24px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    cursor: pointer;
    color: #1D1D1F;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.popup h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1D1D1F;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.5px;
}

.wifi-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 16px;
    background: #F5F5F7;
    border-radius: 12px;
}

.wifi-info strong {
    color: #86868B;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wifi-info span {
    color: #1D1D1F;
    font-size: 17px;
    font-weight: 600;
}

.btn-copy {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    color: white;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(28, 77, 141, 0.2);
}

.btn-copy:hover {
    background: linear-gradient(135deg, #4A8AC4 0%, #15437C 100%);
    box-shadow: 0 6px 16px rgba(28, 77, 141, 0.3);
}

.btn-copy:active {
    transform: scale(0.98);
}

/* ========================================
   SIDEBAR MENU (APPLE DRAWER)
======================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(380px, 85vw);
    height: 100%;
    background: white;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.sidebar.active,
.sidebar.open {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    padding: 24px 24px 20px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.sidebar-title {
    font-size: 13px;
    color: #86868B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-title .close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    cursor: pointer;
    color: #1D1D1F;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.sidebar-title .close-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.sidebar-logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.restaurant-name {
    font-size: 17px;
    color: #1D1D1F;
    font-weight: 600;
    margin-bottom: 24px;
}

.restaurant-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: #86868B;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.restaurant-info:hover {
    color: #1C4D8D;
}

.restaurant-info i {
    margin-right: 12px;
    width: 20px;
    color: #86868B;
    flex-shrink: 0;
}

.social-section {
    padding: 24px;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.06);
}

.social-title {
    font-size: 13px;
    font-weight: 600;
    color: #86868B;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.social-link {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    color: #1D1D1F;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    color: #1C4D8D;
}

.social-link i {
    margin-right: 12px;
    width: 20px;
    color: #1D1D1F;
}

.sidebar-buttons {
    padding: 24px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 12px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
}

.sidebar-btn:active {
    transform: scale(0.98);
}

.sidebar-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-wifi {
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    box-shadow: 0 4px 12px rgba(28, 77, 141, 0.2);
}

.btn-wifi:hover {
    background: linear-gradient(135deg, #4A8AC4 0%, #15437C 100%);
    box-shadow: 0 6px 16px rgba(28, 77, 141, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-feedback {
    background: #86868B;
    box-shadow: 0 4px 12px rgba(134, 134, 139, 0.25);
}

.btn-feedback:hover {
    background: #6B6B70;
    box-shadow: 0 6px 16px rgba(134, 134, 139, 0.35);
}

/* ========================================
   FORM STYLES (FEEDBACK)
======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1D1D1F;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #1D1D1F;
    background: #F5F5F7;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1C4D8D;
    background: white;
    box-shadow: 0 0 0 3px rgba(28, 77, 141, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: none;
    line-height: 1.6;
}

.btn-send {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #5B9BD5 0%, #1C4D8D 100%);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(28, 77, 141, 0.2);
}

.btn-send:hover {
    background: linear-gradient(135deg, #4A8AC4 0%, #15437C 100%);
    box-shadow: 0 6px 16px rgba(28, 77, 141, 0.3);
}

.btn-send:active {
    transform: scale(0.98);
}

/* ========================================
   FOOTER (MINIMALIST)
======================================== */
.footer {
    background: #F5F5F7;
    color: #86868B;
    text-align: center;
    padding: 32px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   SKELETON LOADING
======================================== */
.skeleton {
    background: linear-gradient(
        90deg,
        #F5F5F7 0%,
        #E5E5EA 50%,
        #F5F5F7 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 12px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    aspect-ratio: 1;
    border-radius: 24px;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-primary {
    color: #1D1D1F;
}

.text-secondary {
    color: #86868B;
}

.bg-subtle {
    background: #F5F5F7;
}

/* ========================================
   RESPONSIVE REFINEMENTS
======================================== */
@media (max-width: 768px) {
    .sidebar {
        width: min(340px, 85vw);
    }
    
    .slide-content {
        font-size: 24px;
        bottom: 24px;
        left: 24px;
    }
}

/* Safe area insets for iPhone notch */
@supports (padding: env(safe-area-inset-left)) {
    .header {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* Smooth scrolling for iOS */
body {
    -webkit-overflow-scrolling: touch;
}
