/* ============================================
   MUHABBET OCAKBAŞI - Mobile-First Dark Theme
   Colors: Black, Fire Red, Gold
   ============================================ */

:root {
  /* Primary Colors */
  --black: #000000;
  --black-soft: #121212;
  --black-card: #1a1a1a;
  --black-hover: #252525;

  /* Gold */
  --gold: #FFD700;
  --gold-dark: #B8860B;
  --gold-light: #FFE44D;

  /* Fire Red */
  --fire-red: #D32F2F;
  --fire-red-dark: #B71C1C;

  /* Neutral */
  --white: #FFFFFF;
  --gray-light: #E0E0E0;
  --gray: #9E9E9E;
  --gray-dark: #666666;

  /* Functional */
  --whatsapp: #25D366;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.2);

  /* Transitions */
  --transition: 200ms ease;
}

/* ============================================
   BASE RESET
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
}

.text-gold {
  color: var(--gold);
}

.text-gray {
  color: var(--gray);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  padding: var(--space-sm) 0;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav {
  display: none;
  list-style: none;
  gap: var(--space-lg);
}

.navbar-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.8;
  transition: var(--transition);
}

.navbar-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.lang-switcher {
  display: flex;
  gap: var(--space-xs);
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--gold);
  color: var(--black);
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/arkaplan.jpg') center/cover no-repeat;
  padding-top: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: var(--fire-red);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-md);
}

.hero h1 .gold {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
  color: var(--gray-light);
  font-size: 1rem;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  min-height: 48px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-fire {
  background: var(--fire-red);
  color: var(--white);
  border-color: var(--fire-red);
}

.btn-fire:hover {
  background: var(--fire-red-dark);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews-section {
  padding: var(--space-2xl) 0;
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 var(--space-xl);
}

.reviews-slider {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-md) 0;
  margin: 0 calc(-1 * var(--space-md));
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  scroll-behavior: smooth;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc(100% - 32px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: #1a1a1a;
  border-bottom: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .review-card {
    flex: 0 0 calc(50% - var(--space-md));
  }
}

@media (min-width: 1200px) {
  .review-card {
    flex: 0 0 calc(33.333% - var(--space-md));
  }
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xs);
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-user {
  font-weight: 700;
  color: var(--white);
  font-size: 1.125rem;
  letter-spacing: 0.5px;
}

.review-rating {
  color: var(--gold);
  font-size: 0.8125rem;
  letter-spacing: 2px;
}

.review-text {
  color: #e0e0e0;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
  font-weight: 400;
  margin: var(--space-xs) 0;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.review-date {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}

.google-icon {
  width: 18px;
  height: 18px;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.7;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--gold);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

@media (min-width: 1024px) {
  .slider-arrow {
    display: flex;
  }
}

.slider-arrow:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.prev-arrow {
  left: -10px;
}

.next-arrow {
  right: -10px;
}

.slider-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-xl);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   MENU SECTION
   ============================================ */

.menu-section {
  padding: var(--space-2xl) 0;
  background: var(--black);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Main Toggle (Yiyecekler/İçecekler) */
.menu-toggle {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.toggle-btn {
  flex: 1;
  max-width: 180px;
  min-height: 52px;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.toggle-btn.active {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
}

.toggle-btn:not(.active) {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.toggle-btn:not(.active):hover {
  background: rgba(255, 215, 0, 0.1);
}

/* Category Navigation - Mobile: Horizontal Scroll */
.category-nav {
  margin-bottom: var(--space-lg);
}

.category-scroll {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-sm) 0;
  margin: 0 calc(-1 * var(--space-md));
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  min-height: 44px;
  background: var(--black-card);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.category-chip:hover {
  border-color: var(--gold);
  background: var(--black-hover);
}

.category-chip.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.category-chip .icon {
  font-size: 1rem;
}

/* Menu Layout - Desktop: Sidebar + Content */
.menu-layout {
  display: flex;
  gap: var(--space-xl);
}

/* Desktop Sidebar */
.menu-sidebar {
  display: none;
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  height: fit-content;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.sidebar-title {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
}

.sidebar-nav {
  list-style: none;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md);
  min-height: 48px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-link:hover {
  background: var(--black-hover);
  color: var(--gold);
}

.sidebar-link.active {
  background: var(--gold);
  color: var(--black);
}

.sidebar-link .icon {
  font-size: 1.125rem;
}

.sidebar-link .count {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Menu Content */
.menu-content {
  flex: 1;
  min-width: 0;
}

/* Menu Items Grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

/* Product Card */
.product-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.product-card:hover {
  background: var(--black-hover);
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.product-name {
  font-weight: 500;
  color: var(--white);
  font-size: 0.9375rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.product-price::after {
  content: ' ₺';
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Category Section */
.category-section {
  margin-bottom: var(--space-xl);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.category-header h3 {
  color: var(--gold);
  margin: 0;
}

.category-header .icon {
  font-size: 1.5rem;
}

/* Subcategory */
.subcategory-title {
  color: var(--fire-red);
  font-size: 1rem;
  font-weight: 600;
  margin: var(--space-lg) 0 var(--space-md);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--fire-red);
}

/* ============================================
   DESKTOP RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .category-nav {
    display: none;
  }

  .menu-sidebar {
    display: block;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  padding: var(--space-2xl) 0;
  background: var(--black-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text h2 {
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.about-text p {
  color: var(--gray-light);
  margin-bottom: var(--space-lg);
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  color: var(--gray-light);
}

.contact-list li i {
  color: var(--fire-red);
  font-size: 1.25rem;
  width: 24px;
}

.contact-list a {
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition);
}

.contact-list a:hover {
  color: var(--gold);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESERVATION SECTION
   ============================================ */

.reservation-section {
  padding: var(--space-2xl) 0;
  background: var(--black);
}

.reservation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.reservation-form {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.reservation-form h3 {
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
}

.form-control {
  width: 100%;
  padding: var(--space-md);
  min-height: 48px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

.form-control::placeholder {
  color: var(--gray-dark);
}

.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 350px;
}

.map-label-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--fire-red);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

@media (min-width: 992px) {
  .reservation-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */

.fab-container {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 1000;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.fab-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.fab-call {
  background: var(--fire-red);
  color: var(--white);
}

.fab-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(211, 47, 47, 0.4);
}

@media (max-width: 480px) {
  .fab-container {
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .fab {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding: var(--space-xl) 0;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-brand img {
  height: 32px;
}

.footer-text {
  color: var(--gray-dark);
  font-size: 0.875rem;
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */

[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .product-card {
  flex-direction: row-reverse;
}

[dir="rtl"] .contact-list li {
  flex-direction: row-reverse;
}

[dir="rtl"] .fab-container {
  right: auto;
  left: var(--space-lg);
}

[dir="rtl"] .sidebar-link {
  text-align: right;
  flex-direction: row-reverse;
}

[dir="rtl"] .sidebar-link .count {
  margin-left: 0;
  margin-right: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}

/* Stagger animation for cards */
.product-card {
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.product-card:nth-child(1) {
  animation-delay: 0.05s;
}

.product-card:nth-child(2) {
  animation-delay: 0.1s;
}

.product-card:nth-child(3) {
  animation-delay: 0.15s;
}

.product-card:nth-child(4) {
  animation-delay: 0.2s;
}

.product-card:nth-child(5) {
  animation-delay: 0.25s;
}

.product-card:nth-child(6) {
  animation-delay: 0.3s;
}