/* ==========================================================================
   SAJIARA FINE DINING - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --color-bg-dark: #0b0b0b;
  --color-bg-black: #050505;
  --color-primary-copper: #724b3e; /* Elegance brown-red */
  --color-accent-red: #d8232a; /* Vibrant red for CTAs */
  --color-accent-red-hover: #b51b21;
  --color-gold: #c5a880; /* Muted gold for accents */
  --color-gold-bright: #d4af37;

  --color-text-white: #ffffff;
  --color-text-muted: #a5a5a5;
  --color-text-dark: #222222;

  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:
    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-height: 128px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  --box-shadow-gold: 0 4px 20px rgba(197, 168, 128, 0.15);
  --box-shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Base Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

p {
  color: var(--color-text-muted);
}

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

/* --- Common Components & Layouts --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Section Styling & Badges --- */
section {
  padding: 100px 0;
  position: relative;
}

.section-badge {
  display: inline-block;
  color: var(--color-accent-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
  section {
    padding: 70px 0;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 2px;
  text-align: center;
}

.btn-red {
  background-color: var(--color-accent-red);
  color: var(--color-text-white);
}

.btn-red:hover {
  background-color: var(--color-accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(216, 35, 42, 0.3);
}

.btn-gold {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: transparent;
}

.btn-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-gold);
}

.btn-white {
  background-color: var(--color-text-white);
  color: var(--color-bg-dark);
}

.btn-white:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-gold);
}

/* --- Header / Navigation Bar --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0 16px;
  background-color: rgba(11, 11, 11, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  padding: 0px 0 10px;
  background-color: rgba(5, 5, 5, 0.98);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
}

.main-header.scrolled .header-top-row {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Top Row: Logo centered, controls on the right */
.header-top-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  overflow: hidden;
  max-height: 200px;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease,
    margin 0.35s ease;
}

.header-top-row .logo-container {
  grid-column: 2;
  justify-self: center;
}

.header-controls {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-header.scrolled .main-nav {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
/* Bottom Row: Full Nav below logo */
.main-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-smooth);
}

.main-header.scrolled .main-nav {
  margin-top: 10px;
  padding-top: 10px;
}

/* Nav Link Hovering Effects */
.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  color: var(--color-text-muted);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-white);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

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

/* Logo Center Styling */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--color-text-white);
}

.logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-top: 4px;
}

.logo-ornament {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 7px 0;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold));
}

.ornament-line:last-child {
  background: linear-gradient(to left, transparent, var(--color-gold));
}

.ornament-diamond {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background-color: var(--color-gold);
  transform: rotate(45deg);
}

/* Action Button in Header */
.btn-header {
  padding: 8px 18px;
  font-size: 11px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-white);
  transition: var(--transition-smooth);
}

/* --- Mobile Drawer Overlay --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background-color: var(--color-bg-black);
  z-index: 2000;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 32px;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-drawer-close:hover {
  color: var(--color-text-white);
}

.mobile-drawer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.mobile-nav-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-link {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mobile-link:hover {
  color: var(--color-gold);
  padding-left: 10px;
}

.mobile-drawer-footer {
  margin-top: auto;
}

.mobile-drawer-footer .btn {
  width: 100%;
}

/* Responsive Header */
@media (max-width: 991px) {
  :root {
    --header-height: 80px;
  }
  .desktop-nav,
  .header-action {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-dark);
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-image-half {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 550px;
}

.hero-subtitle {
  display: block;
  color: var(--color-accent-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 5rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  margin-bottom: 35px;
  font-weight: 300;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}

@media (max-width: 991px) {
  .hero-section {
    flex-direction: column;
  }
  .container.hero-container {
    order: 1;
  }
  .hero-image-half {
    position: static;
    width: 100%;
    height: 320px;
    order: 2;
    margin-top: 40px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: 3.5rem;
  }
}

/* --- Our Story Section --- */
.story-section {
  background-color: var(--color-bg-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.story-header {
  margin-bottom: 25px;
}

.story-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 auto 60px;
  max-width: 900px;
  text-align: center;
}

.story-col p {
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
}

.story-col .lead-text {
  font-size: 18px;
  font-family: var(--font-heading);
  color: var(--color-text-white);
  line-height: 1.6;
  font-style: italic;
}

/* 3 Image Layout Grid */
.story-image-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.gallery-right-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 30px;
}

.gallery-img-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-left-large .gallery-img-container {
  height: 470px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
  filter: brightness(0.75) contrast(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: -40px;
  left: 20px;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

.gallery-overlay span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold);
  text-transform: uppercase;
}

.gallery-img-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  z-index: 1;
  opacity: 0.5;
  transition: var(--transition-smooth);
}

/* Gallery Hover Animations */
.gallery-img-container:hover .gallery-img {
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.05);
}

.gallery-img-container:hover .gallery-overlay {
  bottom: 20px;
  opacity: 1;
}

.gallery-img-container:hover::before {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .story-text-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .story-image-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-left-large .gallery-img-container {
    height: 300px;
  }
  .gallery-right-stack {
    grid-template-rows: repeat(2, 200px);
  }
}

/* --- Experience Section --- */
.taste-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.taste-card {
  text-align: center;
  transition: var(--transition-smooth);
}

.taste-img-wrapper {
  width: 100%;
  height: 240px;
  margin: 0 auto 25px;
  border-radius: 5% 5% 50% 50%; /* atas doang rounded, bawah kotak */
  overflow: hidden;
  transition: var(--transition-smooth);
}

.taste-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5% 5% 50% 50%; /* atas doang rounded, bawah kotak */
  transition: var(--transition-smooth);
  filter: brightness(0.9);
}

.taste-name {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--color-text-white);
  transition: var(--transition-fast);
}

.taste-desc {
  font-size: 14px;
  line-height: 1.5;
}

/* Hover circle zooms */
.taste-card:hover .taste-img-wrapper {
  box-shadow: var(--box-shadow-gold);
  transform: translateY(-5px);
}

.taste-card:hover .taste-img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.taste-card:hover .taste-name {
  color: var(--color-gold);
}

.experience-action {
  margin-top: 40px;
}

@media (max-width: 991px) {
  .taste-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .taste-img-wrapper {
    height: 200px;
    border-radius: 15% 50% 50% 50%;
  }
}

@media (max-width: 480px) {
  .taste-grid {
    grid-template-columns: 1fr;
  }
  .taste-img-wrapper {
    height: 220px;
    width: 220px;
    border-radius: 10% 50% 50% 50%;
  }
}

/* --- Showcase Alternating Sections --- */
.showcase-section {
  padding: 0;
  background-color: var(--color-bg-black);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.showcase-media {
  overflow: hidden;
  position: relative;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
  filter: brightness(0.85);
}

.showcase-media:hover .showcase-img {
  transform: scale(1.03);
  filter: brightness(0.95);
}

.showcase-text-box {
  background-color: var(--color-primary-copper);
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-text-white);
}

.showcase-badge {
  color: var(--color-gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
}

.showcase-heading {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.25;
}

.showcase-paragraph {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
}

/* Alternating flip layout */
.showcase-row.alternate .showcase-text-box {
  order: 1;
}

.showcase-row.alternate .showcase-media {
  order: 2;
}

@media (max-width: 991px) {
  .showcase-row,
  .showcase-row.alternate {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .showcase-row.alternate .showcase-text-box {
    order: 2;
  }
  .showcase-row.alternate .showcase-media {
    order: 1;
  }
  .showcase-media {
    height: 350px;
  }
  .showcase-text-box {
    padding: 60px 40px;
  }
  .showcase-heading {
    font-size: 2rem;
  }
}

/* --- Signature Menu Section --- */
.menu-section {
  background-color: var(--color-bg-dark);
}

/* Tab Headers styling */
.menu-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.menu-tabs {
  display: flex;
  list-style: none;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-item {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 10px 5px;
  color: var(--color-text-muted);
  position: relative;
  transition: var(--transition-fast);
}

.tab-item:hover {
  color: var(--color-text-white);
}

.tab-item.active {
  color: var(--color-gold);
}

.tab-item::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

.tab-item.active::after {
  width: 100%;
}

/* Menu Content Pane */
.menu-content-wrapper {
  position: relative;
  min-height: 300px;
}

.menu-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  display: none;
}

.menu-pane.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: block;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.menu-item {
  margin-bottom: 35px;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.menu-item-title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-white);
  transition: var(--transition-fast);
}

.menu-item-dots {
  flex-grow: 1;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  margin: 0 15px;
  position: relative;
  top: -4px;
}

.menu-item-price {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--color-gold);
  font-weight: 600;
}

.menu-item-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.menu-item:hover .menu-item-title {
  color: var(--color-gold);
}

.menu-item:hover .menu-item-dots {
  border-bottom-color: var(--color-gold);
}

@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .menu-tabs {
    gap: 20px;
  }
}

/* --- Wide Banner Image Section --- */
.banner-wide-section {
  padding: 0;
  height: 450px;
  overflow: hidden;
  position: relative;
}

.banner-wide-bg {
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: absolute;
  top: -20%;
  left: 0;
  filter: brightness(0.85);
  transition: transform 0.1s ease-out;
}

/* Fallback for mobile devices where fixed background isn't supported */
@media (max-width: 991px) {
  .banner-wide-bg {
    background-attachment: scroll;
    height: 100%;
    top: 0;
  }
  .banner-wide-section {
    height: 300px;
  }
}

.banner-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 5, 5, 0.35);
}

/* --- Testimonial Section --- */
.testimonial-section {
  background-color: var(--color-bg-black);
  padding: 120px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.quote-icon {
  font-size: 40px;
  color: var(--color-gold);
  margin-bottom: 30px;
  opacity: 0.6;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto 35px;
  color: var(--color-text-white);
  font-weight: 300;
}

.testimonial-author {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--color-accent-red);
  font-weight: 700;
}

@media (max-width: 768px) {
  .testimonial-quote {
    font-size: 1.4rem;
  }
  .testimonial-section {
    padding: 90px 0;
  }
}

/* --- Book A Table Reservation Section --- */
.reservation-section {
  background-color: var(--color-bg-dark);
}

.reservation-box {
  background-color: var(--color-primary-copper);
  padding: 70px 50px;
  border-radius: 2px;
  box-shadow: var(--box-shadow-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reservation-subtitle {
  color: var(--color-gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
}

.reservation-title {
  font-size: 2.6rem;
  font-weight: 400;
  margin-bottom: 15px;
}

.reservation-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 40px;
}

/* Form Styles */
.reservation-form {
  max-width: 650px;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.form-group {
  position: relative;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 15px;
  pointer-events: none;
  transition: var(--transition-fast);
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  height: 52px;
  padding: 10px 15px 10px 42px;
  background-color: var(--color-text-white);
  color: var(--color-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 2px;
  outline: none;
  appearance: none; /* remove native styling for select */
  -webkit-appearance: none;
  transition: var(--transition-smooth);
}

/* Add custom arrow for select */
.input-wrapper select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  cursor: pointer;
}

.reservation-form input:focus,
.reservation-form select:focus {
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.4);
  border-color: var(--color-gold);
}

.reservation-form input:focus + .input-icon,
.reservation-form select:focus + .input-icon {
  color: var(--color-primary-copper);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
  }
  .reservation-box {
    padding: 50px 30px;
  }
  .reservation-title {
    font-size: 2rem;
  }
}

/* Booking Feedback styles */
.booking-feedback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary-copper);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 5;
}

.booking-feedback.active {
  opacity: 1;
  visibility: visible;
}

/* Spinner */
.feedback-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-gold-bright);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Checkmark Animation */
.feedback-success {
  display: none;
  text-align: center;
  max-width: 400px;
  padding: 0 20px;
}

.feedback-success h3 {
  font-size: 2.2rem;
  color: var(--color-text-white);
  margin-top: 25px;
  margin-bottom: 10px;
}

.feedback-success p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.success-checkmark-wrapper {
  display: inline-block;
}

.checkmark-circle {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  border: 4px solid var(--color-gold-bright);
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkmark-draw {
  width: 32px;
  height: 16px;
  border-left: 4px solid var(--color-gold-bright);
  border-bottom: 4px solid var(--color-gold-bright);
  transform: rotate(-45deg) translate(4px, -6px);
  transform-origin: left bottom;
  animation: checkmark 0.6s ease-in-out forwards;
}

@keyframes checkmark {
  0% {
    height: 0;
    width: 0;
    opacity: 0;
  }
  40% {
    height: 16px;
    width: 0;
    opacity: 1;
  }
  100% {
    height: 16px;
    width: 32px;
    opacity: 1;
  }
}

/* --- Map / Location Section --- */
.map-section {
  background-color: var(--color-bg-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.map-wrapper {
  margin-top: 40px;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  filter: grayscale(1) invert(90%) contrast(85%);
}

.map-wrapper iframe {
  display: block;
}

.map-wrapper iframe {
  display: block;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--color-bg-black);
  padding: 90px 0 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 70px;
  margin-bottom: 50px;
}

.footer-left,
.footer-right {
  flex: 0 1 420px;
}

.footer-logo {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 25px;
}

.footer-logo .logo-main {
  font-size: 28px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 450px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--color-text-muted);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-title {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 25px;
  color: var(--color-text-white);
  letter-spacing: 0.5px;
}

.footer-info {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

.footer-info strong {
  color: var(--color-text-white);
}

.footer-action {
  margin-top: 30px;
}

.footer-action .btn {
  padding: 12px 26px;
  font-size: 11px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ==========================================================================
   INTERACTIVE SCROLL & ENTRANCE EFFECTS (REVEAL ON SCROLL)
   ========================================================================== */

/* Hidden states */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

/* Horizontal slide states */
.reveal-on-scroll.slide-right {
  transform: translateX(-40px);
}

.reveal-on-scroll.slide-left {
  transform: translateX(40px);
}

/* Reveal active trigger state */
.reveal-on-scroll.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Transition Delays for sequential lists */
.fade-in {
  transition-delay: calc(var(--delay) * 150ms);
}

/* ========== FLOATING WA ELEGAN - SOFT GOLD PILL ========== */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;

  /* --- Bentuk Kapsul Lembut (Beda sama yang kotak) --- */
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  border-radius: 60px; /* Kunci utama biar ga kaku! */

  /* --- Background transparan dengan efek kaca tipis --- */
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* --- Border Emas tipis dengan gradasi lembut --- */
  border: 1px solid rgba(218, 178, 96, 0.35);

  /* --- Teks elegan (GA PAKE HURUF KAPITAL semua biar ga teriak) --- */
  text-decoration: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 300; /* tipis elegan, atau 400 biar terbaca */
  font-size: 15px;
  font-weight: 400; /* Ga tebal-tebal banget biar halus */
  letter-spacing: 0.5px;
  color: #ead2a6 !important; /* Emas lembut, ga nyolot */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);

  /* --- Bayangan hangat (Glow) --- */
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(218, 178, 96, 0.06);

  /* --- Animasi Melayang Pelan (Ga bouncing, cuma naik-turun kayak daun) --- */
  animation: floatSoft 5s ease-in-out infinite;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Animasi melayang yang elegan (ga kaku) */
@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.01);
  }
}

/* Hover: Cahaya emas muncul dan tombol terangkat */
.floating-wa:hover {
  background: rgba(218, 178, 96, 0.12); /* Nambah sentuhan emas di belakang */
  border-color: rgba(218, 178, 96, 0.8);
  box-shadow:
    0 12px 50px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(218, 178, 96, 0.15);
  transform: translateY(-12px) scale(1.02);
  color: #f5e6c8 !important; /* Teks jadi lebih terang */
}

/* Biar Icon WA ngikut dan selaras */
.floating-wa svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.floating-wa svg path {
  fill: #ead2a6; /* Warna emas lembut */
  transition: fill 0.4s ease;
}
.floating-wa:hover svg path {
  fill: #f5e6c8;
}

/* Tambahan garis emas halus di bawah (opsional biar mewah) */
.floating-wa::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 35%;
  width: 30%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #ead2a6, transparent);
  opacity: 0.4;
  border-radius: 100%;
}

/* Biar tetap enak dilihat di HP */
@media (max-width: 640px) {
  .floating-wa {
    padding: 12px 22px;
    gap: 10px;
    font-size: 13px;
    bottom: 18px;
    right: 18px;
    border-radius: 50px;
  }
  .floating-wa svg {
    width: 18px;
    height: 18px;
  }
}
