/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --c-primary: #1a1a1a;
  --c-primary-light: #2d2d2d;
  --c-accent: #8b7355;
  --c-accent-light: #a08b6d;
  --c-accent-dark: #6d5a44;
  --c-gold: #c9a961;
  --c-cream: #f9f7f4;
  --c-warm: #f5f2ed;
  --c-text: #333333;
  --c-text-light: #666666;
  --c-text-muted: #999999;
  --c-border: #e5e0d8;
  --c-white: #ffffff;
  --font-display: 'Lora', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  line-height: 1.8;
  font-size: 16px;
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* === Button === */
.btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--c-primary);
  transition: var(--transition);
  z-index: -1;
}
.btn:hover {
  color: var(--c-white);
}
.btn:hover::before {
  left: 0;
}
.btn-light {
  border-color: var(--c-white);
  color: var(--c-white);
}
.btn-light::before {
  background: var(--c-white);
}
.btn-light:hover {
  color: var(--c-primary);
}
.btn-call { margin-top: 32px; }

/* === Nav === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 16px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.nav.scrolled .logo { color: var(--c-primary); }
.nav.scrolled .nav-links a { color: var(--c-text-light); }
.nav.scrolled .nav-links a:hover { color: var(--c-primary); }
.nav.scrolled .nav-toggle span { background: var(--c-primary); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
.nav.scrolled .logo-img {
  filter: none;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--c-white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-white);
  margin: 6px 0;
  transition: var(--transition);
}

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.6) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}
.hero-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--c-white);
  font-weight: 400;
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 48px;
  letter-spacing: 1px;
  font-weight: 300;
}
.hero .btn {
  border-color: rgba(255,255,255,0.4);
  color: var(--c-white);
}
.hero .btn::before {
  background: var(--c-white);
}
.hero .btn:hover {
  color: var(--c-primary);
}

/* === Sections === */
.section {
  padding: 120px 0;
}
.section-wood {
  background: var(--c-warm);
}

.label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
  display: block;
}
.label-light {
  color: rgba(255,255,255,0.6);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.2;
}

.subtitle {
  color: var(--c-text-muted);
  font-size: 1rem;
  margin-bottom: 56px;
  font-weight: 300;
}

/* === Split layout === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-img {
  position: relative;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: var(--transition);
}
.split-img:hover img {
  transform: scale(1.03);
}
.split-text p {
  margin-bottom: 20px;
  color: var(--c-text-light);
  font-weight: 300;
}
.split-text h2 { margin-bottom: 24px; }
.split-text .btn { margin-top: 24px; }

/* Values */
.values {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.value strong {
  display: block;
  font-size: 0.85rem;
  color: var(--c-primary);
  margin-bottom: 4px;
  font-weight: 600;
}
.value span {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-weight: 300;
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.service {
  position: relative;
  overflow: hidden;
}
.service img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service:hover img {
  transform: scale(1.05);
}
.service h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.service p {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

/* === Spanferkel === */
.section-spanferkel {
  position: relative;
  padding: 180px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.parallax-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.7) 0%,
    rgba(26,26,26,0.8) 100%
  );
}
.spanferkel-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}
.spanferkel-title {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--c-white);
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.spanferkel-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--c-gold);
}
.spanferkel-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 32px auto 40px;
  line-height: 1.9;
  font-weight: 300;
}

/* === Menu === */
.menu-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.menu-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--c-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-arrow:hover {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: var(--c-white);
}

.menu-tabs-wrap {
  overflow: hidden;
  flex: 1;
}
.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.tab {
  flex-shrink: 0;
  padding: 12px 24px;
  border: 1px solid var(--c-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--c-text-light);
  white-space: nowrap;
  text-transform: uppercase;
}
.tab:hover, .tab.active {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

.menu-panel { display: none; }
.menu-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.menu-grid li {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
  color: var(--c-text-light);
  font-weight: 300;
  transition: var(--transition);
}
.menu-grid li:hover {
  color: var(--c-primary);
  padding-left: 8px;
}
.menu-grid li:nth-child(odd) { padding-right: 32px; }
.menu-grid li:nth-child(even) { padding-left: 32px; }

.menu-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.menu-split h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
  font-weight: 500;
  letter-spacing: 1px;
}
.menu-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
  color: var(--c-text-light);
  font-weight: 300;
}
.menu-note {
  margin-top: 28px;
  color: var(--c-text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

/* === Contact === */
.contact-info { margin-top: 36px; }
.contact-row { margin-bottom: 28px; }
.contact-row strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.contact-row p {
  color: var(--c-text);
  font-weight: 400;
}
.contact-row a {
  color: var(--c-primary);
  font-weight: 500;
  transition: var(--transition);
}
.contact-row a:hover {
  color: var(--c-accent);
}
.phone-big {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: var(--font-display);
}
.phone-big a { color: var(--c-primary); }

/* === Chef Section === */
.section-chef {
  background: var(--c-primary);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-chef::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139,115,85,0.1) 0%, transparent 50%);
}
.chef-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.chef-image {
  position: relative;
}
.chef-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--c-gold);
  opacity: 0.4;
}
.chef-image img {
  width: 300px;
  height: 380px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: var(--transition);
}
.chef-image:hover img {
  filter: grayscale(0%);
}
.chef-info {
  text-align: left;
}
.chef-info .label {
  color: var(--c-gold);
  margin-bottom: 12px;
  opacity: 0.8;
}
.chef-name {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--c-white);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.chef-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  max-width: 300px;
}

/* === Footer === */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  flex-wrap: wrap;
  font-weight: 300;
}
.footer-logo {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.footer-logo-img {
  height: 56px;
  width: auto;
  margin: 0 auto;
  opacity: 0.8;
  transition: var(--transition);
}
.footer-logo-img:hover {
  opacity: 1;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--c-text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--c-primary);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-reverse { direction: ltr; }
  .split-img img { height: 400px; }
  .values { gap: 24px; }
  .section { padding: 80px 0; }
}

/* === Fade-in animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for services */
.service.fade-in:nth-child(1) { transition-delay: 0s; }
.service.fade-in:nth-child(2) { transition-delay: 0.1s; }
.service.fade-in:nth-child(3) { transition-delay: 0.2s; }
.service.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 600px) {
  .container { padding: 0 24px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--c-white);
    flex-direction: column;
    padding: 100px 48px;
    gap: 32px;
    transition: var(--transition);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    color: var(--c-primary) !important;
    font-size: 0.85rem;
    letter-spacing: 3px;
  }

  .hero { min-height: 600px; }
  .hero h1 { letter-spacing: 4px; }

  .services-grid { grid-template-columns: 1fr; }
  .service img { height: 240px; }

  .menu-grid { grid-template-columns: 1fr; }
  .menu-grid li {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .menu-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values {
    flex-direction: column;
    gap: 20px;
  }

  h2 { font-size: 1.8rem; }
  .section { padding: 64px 0; }
  .section-spanferkel { padding: 100px 0; }

  .chef-container {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .chef-info { text-align: center; }
  .chef-tagline { margin: 0 auto; }
  .chef-image img {
    width: 240px;
    height: 300px;
  }
  .chef-image::before {
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
