/* ════════════════════════════════════════════
   Seafood Agung – style.css
   ════════════════════════════════════════════ */

:root {
  --red: #CC1111;
  --red-dark: #990D0D;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --dark: #1A0A0A;
  --gray: #888;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 60px;
  background: rgba(204,17,17,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
}

.nav-logo img {
  height: 65px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--white);
  color: var(--red) !important;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ── HERO SLIDESHOW ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active { opacity: 1; }

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.3);
  width: fit-content;
  animation: fadeUp 0.7s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.1s ease both;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-title span { color: #FF6B6B; }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 40px;
  animation: fadeUp 0.7s 0.2s ease both;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 16px 38px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(204,17,17,0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(204,17,17,0.65);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
}

.slide-arrow:hover { background: rgba(255,255,255,0.28); }
.slide-arrow.prev { left: 24px; }
.slide-arrow.next { right: 24px; }

/* Dots */
.slide-dots {
  position: absolute;
  bottom: 92px;
  left: 80px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  padding: 0;
}

.dot.active {
  width: 30px;
  background: #fff;
}

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 10;
  display: flex;
  background: rgba(180,10,10,0.93);
  backdrop-filter: blur(12px);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
}

.stat-label {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── SECTION COMMON ── */
section { padding: 100px 60px; }

.section-label {
  display: inline-block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
}

/* ── MENU ── */
#menu { background: var(--cream); }

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}

.menu-tabs {
  display: flex;
  gap: 8px;
  background: rgba(0,0,0,0.06);
  padding: 6px;
  border-radius: 999px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray);
}

.tab-btn.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(204,17,17,0.35);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.menu-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.13);
}

.menu-card-img {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #e8e0d8;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.07);
}

.menu-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.18), transparent);
  pointer-events: none;
}

.menu-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--red);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 1;
}

.img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--red);
}

.menu-card-body { padding: 24px; }

.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--red);
}

.menu-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 400;
}

.btn-order {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-order:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

/* ── WHY US ── */
#why { background: var(--dark); color: var(--white); }
#why .section-title { color: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 28px;
  transition: background 0.3s, border-color 0.3s;
}

.why-card:hover {
  background: rgba(204,17,17,0.15);
  border-color: rgba(204,17,17,0.4);
}

.why-icon { font-size: 3rem; margin-bottom: 20px; display: block; }

.why-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.why-desc { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--white); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.testi-card { background: var(--cream); border-radius: 20px; padding: 32px; }

.testi-quote {
  font-size: 3rem;
  color: var(--red);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.35;
}

.stars { color: #FFB800; font-size: 0.9rem; margin-bottom: 12px; }

.testi-text { font-size: 0.95rem; line-height: 1.75; color: #444; margin-bottom: 24px; }

.testi-author { display: flex; align-items: center; gap: 14px; }

.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testi-name { font-weight: 700; font-size: 0.95rem; }
.testi-role { font-size: 0.8rem; color: var(--gray); }

/* ── CONTACT ── */
#contact { background: var(--red); color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

#contact .section-title { color: #fff; }
#contact .section-sub { color: rgba(255,255,255,0.7); }

.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.contact-item { display: flex; align-items: center; gap: 18px; }

.contact-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-value { font-size: 1rem; font-weight: 500; color: #fff; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.5); }

.form-group input:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,0.6); }

.form-group textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  background: #fff;
  color: var(--red);
  border: none;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
}

.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #fff; }

.footer-brand {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ── FLOATING WA ── */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  animation: pulse-green 2.5s infinite;
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.1); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 8px 50px rgba(37,211,102,0.8); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 8px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content { 
    padding: 100px 28px 160px;  /* atas: 100px, bawah: 160px */
    justify-content: center;     /* balik ke center */
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .slide-dots { left: 28px; bottom: 92px; }
  .slide-arrow { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .stat-item { flex: 1 0 50%; border-bottom: 1px solid rgba(255,255,255,0.12); }

  section { padding: 70px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
  .menu-header { flex-direction: column; align-items: flex-start; }
}
/* ════════════════════════════════════════════
   GALLERY — tambahkan di bagian paling bawah style.css
   ════════════════════════════════════════════ */

/* ── GALLERY SECTION ── */
#gallery { background: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

/* Item default */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: #e0d8d0;
}

/* Tinggi dua baris */
.gallery-item.tall  { grid-row: span 2; }

/* Lebar dua kolom */
.gallery-item.wide  { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* Overlay teks saat hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 88vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
}

.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 24px; right: 28px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1001;
}

.lightbox-close:hover { background: rgba(255,255,255,0.25); }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ── GALLERY RESPONSIVE ── */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item.wide { grid-column: span 2; }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 10px;
  }
  .gallery-item.tall { grid-row: span 1; } /* di HP kecil tall jadi normal */
}