/*
 * Chef Kamil - Premium Dark Theme CSS
 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #0d0d0d;
  --card-bg: #1a1a1a;
  --gold: #d4af37;
  --gold-hover: #f1c40f;
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;
  --glass-bg: rgba(26, 26, 26, 0.7);
  --glass-border: rgba(212, 175, 55, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

/* Glassmorphism Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  transform: translateY(-5px);
}

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

.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;
  letter-spacing: 2px;
  color: var(--text-main);
}

.logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.9)), url('../images/dismekan.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeUp 1s ease;
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 2rem;
  animation: fadeUp 1s ease 0.2s backwards;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--gold);
  color: var(--bg-color);
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid var(--gold);
  transition: var(--transition);
  animation: fadeUp 1s ease 0.4s backwards;
}

.btn:hover {
  background-color: transparent;
  color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Sections */
.section-padding {
  padding: 5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Menu Tabs */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--gold);
  color: var(--bg-color);
  border-color: var(--gold);
}

/* Menu Card */
.menu-card {
  display: flex;
  flex-direction: column;
}

.h-100 {
  height: 100%;
}

.menu-item-wrapper {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.menu-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.menu-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #000;
  padding: 4rem 1rem 1rem;
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25D366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  color: white;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--bg-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--bg-color);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Blog article prose (keeps long-form text at a readable line length) */
article.card > *:not(.grid-3) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

article.card > img {
  display: block;
}

article.card > .grid-3 {
  margin-top: 1.5rem;
  max-width: none;
}

article.card p {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 1.2rem;
}

.seo-related-links {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
}

.seo-related-links ul {
  list-style: none;
}

.seo-related-links li {
  margin-bottom: 0.6rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.4rem;
  list-style: none;
  padding: 1rem 0;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li::after {
  content: '>';
  margin: 0 0.5rem;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--gold);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: 0.3s;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-top.grid-4 {
    gap: 2rem 1.5rem;
  }
}

/* Hero & Story Elements */
.hero-story {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/dismekan.jpg') center/cover no-repeat;
  min-height: 17vh;
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-main);
  padding: 1.5rem 1rem;
}
.hero-story h1 {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.hero-story p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}
.story-section {
  padding: 4rem 5%;
  background: var(--bg-color);
  color: var(--text-main);
}
.story-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.story-content h2 {
  color: var(--gold);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #ccc;
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.rule-card {
  background: var(--card-bg);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  border-bottom: 3px solid var(--gold);
  transition: transform 0.3s;
}
.rule-card:hover {
  transform: translateY(-10px);
}
.rule-card h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Responsive overrides for hero-story / story sections (must stay after their base rules above) */
@media (max-width: 768px) {
  .hero-story {
    min-height: 22vh;
    padding: 1.25rem 1.25rem;
  }

  .hero-story h1 {
    font-size: 2.2rem;
  }

  .hero-story p {
    font-size: 1rem;
  }

  .story-content h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  article.card {
    padding: 1.75rem !important;
  }
}
