/* Variables */
:root {
  --primary: #d94e33;
  /* Warm reddish-orange */
  --secondary: #f4a261;
  /* Warm orange */
  --bg-light: #fffdf9;
  /* Cream background */
  --text-dark: #2c1a16;
  /* Deep brown/black */
  --text-light: #ffffff;
  --glass-bg: rgba(255, 253, 249, 0.85);
  --glass-border: rgba(217, 78, 51, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(44, 26, 22, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Main Container */
main {
  padding-top: 100px;
  /* Offset for fixed header */
  min-height: calc(100vh - 100px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 1rem;
  overflow: hidden;
}

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

/* Videonun üzerine hafif transparan renk katmanı (okunabilirlik için) */
/* Rengi değiştirmek veya kaldırmak isterseniz background değerini ayarlayabilirsiniz */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(44, 26, 22, 0.7), rgba(217, 78, 51, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.btn:hover {
  background: transparent;
  color: var(--primary);
  background-color: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(217, 78, 51, 0.3);
}

/* Menu Page Styles */
.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.category-section {
  margin-bottom: 4rem;
}

.category-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.category-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  bottom: -10px;
  left: 25%;
  background: var(--secondary);
  border-radius: 3px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.menu-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(217, 78, 51, 0.15);
}

.menu-card-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  /* Mobile ratio: Rectangle */
  background-color: #eee;
  /* Placeholder bg */
}

.menu-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.menu-card-title {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 0;
}

.menu-card-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.menu-card-desc {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--bg-light);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive PC & Tablet */
@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .menu-card-img {
    aspect-ratio: 1/1;
    /* PC ratio: Square */
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* simple hidden for mobile, can use JS to toggle */
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--glass-shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}