/*
  Website Restoran Modern — style.css
  Dibuat oleh: lautandigital.id
  Hak Cipta © 2026 lautandigital.id — Semua hak dilindungi.
*/

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

:root {
  --primary:   #FF6B35;
  --primary-d: #e5552a;
  --accent:    #FFD166;
  --green:     #06D6A0;
  --dark:      #1A1A2E;
  --dark-2:    #2D2D44;
  --gray:      #6B7280;
  --gray-lt:   #F3F4F6;
  --white:     #FFFFFF;
  --radius:    16px;
  --shadow:    0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.15);
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===========================
   UTILITY
=========================== */
.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

.section { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,107,53,.1);
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: .75rem;
}

.section-desc { color: var(--gray); font-size: 1.05rem; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,53,.35);
}
.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,53,.45);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-nav {
  background: var(--primary);
  color: var(--white);
  padding: .55rem 1.3rem;
  font-size: .88rem;
}
.btn-nav:hover { background: var(--primary-d); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.btn-white:hover { background: var(--accent); }

.btn-full { width: 100%; justify-content: center; padding: 1rem; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
  padding: .75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark);
  margin-right: auto;
}
.logo span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--dark);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 120px 5% 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF8F5 0%, #FFF3E8 50%, #FFEEDD 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #FFD16680, transparent);
  top: -100px; right: -100px;
}
.blob-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #FF6B3550, transparent);
  bottom: 0; left: 20%;
}
.blob-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #06D6A040, transparent);
  top: 40%; right: 30%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,107,53,.12);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,107,53,.2);
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: normal;
  color: var(--primary);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 10px;
  background: var(--accent);
  opacity: .5;
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 460px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.stat span  { font-size: .8rem; color: var(--gray); }
.stat-divider { width: 1px; height: 36px; background: rgba(0,0,0,.12); }

/* Hero visual */
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-plate {
  position: relative;
  width: 320px; height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

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

.plate-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.ring-1 {
  background: radial-gradient(circle, #FFD16640, #FF6B3520);
  box-shadow: 0 0 0 20px rgba(255,209,102,.1);
}
.ring-2 {
  inset: 30px;
  border: 3px dashed rgba(255,107,53,.25);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.plate-emoji { font-size: 8rem; filter: drop-shadow(0 20px 40px rgba(0,0,0,.18)); }

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: floatCard 3s ease-in-out infinite;
}
.card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.card-2 { top: 15%; right: -5%; animation-delay: .8s; }
.card-3 { bottom: 10%; left: 0%; animation-delay: 1.6s; }

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

/* ===========================
   TENTANG
=========================== */
.tentang { background: var(--white); }

.tentang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.tentang-visual {
  position: relative;
  height: 460px;
}

.visual-box {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  font-weight: 600;
  font-size: .88rem;
  padding: 1.5rem 1rem;
  transition: transform var(--transition);
}
.visual-box:hover { transform: translateY(-6px); }
.visual-icon { font-size: 2.5rem; }

.main-box {
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--primary), #FF9A6C);
  color: var(--white);
  z-index: 1;
}
.main-box:hover { transform: translate(-50%, -56%); }

.side-box-1 {
  width: 155px; height: 155px;
  top: 5%; left: 5%;
  border: 2px solid var(--accent);
}

.side-box-2 {
  width: 155px; height: 155px;
  bottom: 5%; right: 5%;
  border: 2px solid rgba(6,214,160,.4);
}

.badge-years {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  font-weight: 900;
  font-size: 1.6rem;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: var(--shadow);
}
.badge-years small { font-size: .6rem; font-weight: 600; }

.tentang-text .section-title { margin-bottom: 1rem; }
.tentang-text p { color: var(--gray); margin-bottom: .9rem; }

.tentang-features { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0 2rem; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-icon {
  font-size: 1.6rem;
  width: 48px; height: 48px;
  background: var(--gray-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item strong { display: block; margin-bottom: .2rem; }
.feature-item p { color: var(--gray); font-size: .9rem; margin: 0; }

/* ===========================
   MENU
=========================== */
.menu { background: var(--gray-lt); }

.menu-tabs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: .6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid transparent;
  background: var(--white);
  color: var(--gray);
  transition: var(--transition);
}
.tab-btn:hover { color: var(--primary); border-color: var(--primary); }
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,107,53,.3);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.menu-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, #FFF8F5, #FFEEDD);
}

.menu-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .65rem;
  border-radius: 999px;
}

.menu-card-body { padding: 1.1rem; }
.menu-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.menu-card-body p { color: var(--gray); font-size: .85rem; margin-bottom: .8rem; }

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-price { font-weight: 700; color: var(--primary); font-size: 1.05rem; }

.btn-add {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(255,107,53,.35);
}
.btn-add:hover { background: var(--primary-d); transform: scale(1.15); }

/* ===========================
   BANNER CTA
=========================== */
.banner-cta {
  background: linear-gradient(135deg, var(--primary), #FF9A6C);
  padding: 4rem 0;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.banner-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: .4rem;
}
.banner-text p { color: rgba(255,255,255,.85); font-size: 1rem; }

/* ===========================
   ULASAN
=========================== */
.ulasan { background: var(--white); }

.ulasan-slider {
  overflow: hidden;
  position: relative;
}

.ulasan-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.ulasan-card {
  background: var(--gray-lt);
  border-radius: var(--radius);
  padding: 2rem;
  min-width: calc(33.333% - 1rem);
  flex-shrink: 0;
  transition: var(--transition);
  border: 2px solid transparent;
}
.ulasan-card:hover { border-color: var(--primary); background: var(--white); box-shadow: var(--shadow); }

.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: .8rem; }

.ulasan-card p {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.reviewer { display: flex; align-items: center; gap: .75rem; }

.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: .9rem; }
.reviewer span   { font-size: .8rem; color: var(--gray); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--gray-lt);
  border: 2px solid var(--gray);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--primary); border-color: var(--primary); width: 24px; }

/* ===========================
   RESERVASI
=========================== */
.reservasi { background: var(--gray-lt); }

.reservasi-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.reservasi-info .section-title { margin-bottom: .8rem; }
.reservasi-info > p { color: var(--gray); margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.contact-item p { color: var(--gray); font-size: .88rem; margin: 0; }

/* Form */
.reservasi-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .2rem; }

label { font-size: .85rem; font-weight: 600; color: var(--dark); }

input, select, textarea {
  padding: .75rem 1rem;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255,107,53,.12);
}
input.error, select.error, textarea.error { border-color: #EF4444; }

.form-error { font-size: .78rem; color: #EF4444; min-height: 1rem; }

textarea { resize: vertical; }

.tamu-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.counter-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gray-lt);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.counter-btn:hover { background: var(--primary); color: var(--white); }
#tamuCount { font-size: 1.2rem; font-weight: 700; min-width: 2ch; text-align: center; }

/* ===========================
   TOAST
=========================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  box-shadow: var(--shadow-lg);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 9999;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error   { background: #EF4444; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { color: var(--white); margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: .9rem; margin-bottom: 1.5rem; }

.social-links { display: flex; gap: .75rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); }

.footer-links h4 { color: var(--white); margin-bottom: 1rem; font-size: .95rem; }
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: .85rem;
}
.footer-bottom a { color: var(--accent); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* ===========================
   BACK TO TOP
=========================== */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 500;
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--primary-d); transform: translateY(-4px); }

/* ===========================
   ANIMATIONS
=========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 992px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 100px; }
  .hero-desc, .hero-title em::after { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrap { display: none; }

  .tentang-grid { grid-template-columns: 1fr; }
  .tentang-visual { height: 280px; }
  .main-box { width: 150px; height: 150px; }
  .side-box-1, .side-box-2 { width: 120px; height: 120px; }

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

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

  .ulasan-card { min-width: calc(50% - .75rem); }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
    gap: 1.2rem;
    z-index: 999;
  }
  .nav-links.open + .btn-nav { display: inline-flex; }

  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .banner-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }

  .ulasan-card { min-width: calc(100%); }
}

@media (max-width: 480px) {
  .hero { padding: 100px 1rem 64px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .reservasi-form { padding: 1.5rem; }
}
