/* ============================================
   BUTUH BURGER — Brand Styles
   ============================================ */

:root {
  /* Brand Colors */
  --brand-brown: #4A3C3C;
  --brand-orange: #E8862C;
  --brand-orange-light: #F4A460;
  --brand-gold: #FFD700;
  --brand-cream: #FFF8F0;
  --brand-white: #FFFFFF;
  --brand-dark: #1A1A1A;
  --brand-gray: #6B6B6B;
  --brand-light-gray: #F5F0EB;
  
  /* Functional */
  --text-primary: #2C2424;
  --text-secondary: #6B6B6B;
  --text-light: #FFFFFF;
  --bg-primary: #FFF8F0;
  --bg-dark: #2C2424;
  --bg-card: #FFFFFF;
  --border: #E8E0D8;
  --shadow: 0 4px 20px rgba(74, 60, 60, 0.1);
  --shadow-hover: 0 8px 30px rgba(74, 60, 60, 0.15);
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --radius: 16px;
  --radius-sm: 8px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brand-brown);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 134, 44, 0.3);
}

.btn-primary:hover {
  background: #D67520;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 134, 44, 0.4);
}

.btn-secondary {
  background: var(--brand-brown);
  color: white;
}

.btn-secondary:hover {
  background: #3A2E2E;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-brown);
  border: 2px solid var(--brand-brown);
}

.btn-outline:hover {
  background: var(--brand-brown);
  color: white;
}

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

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-brown);
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--brand-brown);
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
  background: linear-gradient(135deg, #FFF8F0 0%, #F5E6D0 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 134, 44, 0.1);
  color: var(--brand-orange);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-brown);
  margin-bottom: 8px;
}

.hero h1 .highlight {
  color: var(--brand-orange);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(232, 134, 44, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 20px 0 32px;
  line-height: 1.7;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HERO SLIDESHOW
   ============================================ */
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(74, 60, 60, 0.15);
  background: #F5E6D0;
}

/* Force container height via padding-bottom trick */
.hero-slideshow::before {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.hero-slideshow-inner {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  border-radius: 50%;
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

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

.slide-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Floating elements */
.floating-element {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-brown);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
  z-index: 5;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating-element:nth-child(2) { top: 8%; right: -5%; animation-delay: -1s; }
.floating-element:nth-child(3) { bottom: 15%; left: -8%; animation-delay: -2s; }
.floating-element:nth-child(4) { bottom: 5%; right: 5%; animation-delay: -3s; }
.floating-element:nth-child(5) { top: 50%; left: -15%; animation-delay: -0.5s; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--brand-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image .about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.about-badge .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}

.about-badge .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-text .about-story {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
}

.value-item .icon {
  width: 36px;
  height: 36px;
  background: rgba(232, 134, 44, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.value-item .text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
  background: var(--bg-primary);
  text-align: center;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-tab:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.menu-tab.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  text-align: left;
}

.menu-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: default;
  border: 1px solid transparent;
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}

.menu-item-image {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  background: var(--brand-light-gray);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.menu-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.menu-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-brown);
}

.menu-item-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-orange);
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}

.menu-item-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.menu-item-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(232, 134, 44, 0.1);
  color: var(--brand-orange);
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location {
  background: var(--brand-brown);
  color: white;
}

.location .section-label { color: var(--brand-gold); }
.location .section-title { color: white; }
.location .section-subtitle { color: rgba(255,255,255,0.7); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.location-card .loc-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,215,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.location-card .loc-label {
  font-size: 0.8rem;
  color: var(--brand-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.location-card .loc-value {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.location-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
}

.day { color: rgba(255,255,255,0.7); }
.time { font-weight: 600; display: block; margin-top: 4px; }

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  height: 400px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-map .map-placeholder {
  text-align: center;
  padding: 40px;
  color: rgba(255,255,255,0.6);
}

.location-map .map-placeholder .big-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  background: var(--brand-white);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact-cta {
  background: linear-gradient(135deg, var(--brand-orange), #D67520);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '🍔';
  position: absolute;
  font-size: 20rem;
  opacity: 0.06;
  top: -10%;
  right: -5%;
  transform: rotate(15deg);
}

.contact-cta .section-title { color: white; }
.contact-cta .section-subtitle { color: rgba(255,255,255,0.85); margin: 0 auto; }

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.cta-actions .btn-whatsapp {
  background: #25D366;
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.cta-actions .btn-outline {
  border-color: white;
  color: white;
}

.cta-actions .btn-outline:hover {
  background: white;
  color: var(--brand-orange);
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.contact-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  color: white;
}

.contact-social a:hover {
  background: white;
  color: var(--brand-orange);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
}

.footer-brand .dot {
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  border-radius: 50%;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--brand-orange); }

.footer-credit {
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  
  .mobile-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--brand-cream);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: var(--shadow);
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-cta { display: none; }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  
  .hero-slideshow { max-width: 320px; }
  
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-values { grid-template-columns: 1fr; }
  .about-image img { height: 300px; }
  
  .menu-grid { grid-template-columns: 1fr; }
  
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-hours { grid-template-columns: 1fr; }
  
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  
  .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .menu-item { flex-direction: column; align-items: flex-start; }
  .menu-item-image { width: 100%; height: 160px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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