/* PHỐ — Restaurant vietnamien */

:root {
  --red: #8b1a1a;
  --red-dark: #5c0f0f;
  --red-light: #a82828;
  --gold: #c9a84c;
  --gold-light: #e8d5a0;
  --cream: #faf6ef;
  --cream-dark: #f0e8d8;
  --ink: #1a1410;
  --ink-muted: #5c534a;
  --white: #ffffff;
  --dark: #1a1410;
  --dark-soft: #2a221c;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 3rem;
  --space-5: 5rem;
  --radius: 4px;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.container-width {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-width.-small {
  max-width: 900px;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 20, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.1;
}

.header__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.header__logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.55);
}

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

.header__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.header__nav a:hover {
  color: var(--gold);
}

.header__cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}

.header__cta:hover {
  background: var(--red-light) !important;
  color: var(--white) !important;
}

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

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(26, 20, 16, 0.88) 0%, rgba(92, 15, 15, 0.75) 50%, rgba(26, 20, 16, 0.85) 100%),
    url("../images/page08_img02.jpeg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 6rem 1.25rem 4rem;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 20, 16, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero__desc {
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Sections ─── */
.section {
  padding: var(--space-5) 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--contact {
  background: var(--cream-dark);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-4);
}

.section__header--light .section__label,
.section__header--light .section__title,
.section__header--light .section__subtitle {
  color: var(--white);
}

.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section__header--light .section__label {
  color: var(--gold);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.section__title--sm {
  font-size: 1.5rem;
}

.section__subtitle {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

.section__note {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}

.mt { margin-top: 2rem; }

/* ─── Menu Tabs ─── */
.menu-tabs-section .section__header {
  margin-bottom: 2rem;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-tabs__btn {
  position: relative;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.menu-tabs__btn::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.menu-tabs__btn:hover {
  color: var(--red);
}

.menu-tabs__btn.is-active {
  color: var(--red);
}

.menu-tabs__btn.is-active::after {
  transform: scaleX(1);
}

.menu-tabs__panel {
  display: none;
}

.menu-tabs__panel.is-active {
  display: block;
}

.menu-tabs__panel--dark {
  background: var(--dark);
  color: var(--white);
  width: 100%;
  padding: var(--space-5) 0;
}

.menu-tabs__intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.menu-tabs__anchor {
  position: relative;
  top: -72px;
  visibility: hidden;
}

/* ─── Histoire ─── */
.histoire__block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.histoire__block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--red);
}

.histoire__block p {
  color: var(--ink-muted);
  line-height: 1.8;
}

.histoire__timeline {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.histoire__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
}

.histoire__item--highlight {
  background: var(--dark);
}

.histoire__year {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red);
}

.histoire__item p {
  color: var(--ink-muted);
  line-height: 1.7;
}

.histoire__item--highlight,
.histoire__item--highlight p,
.histoire__item--highlight .histoire__year,
.histoire__item--highlight strong {
  color: var(--white);
}

/* ─── Badges ─── */
.badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.badge {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
}

.badge__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.badge__number sup {
  font-size: 1rem;
}

.badge__text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ─── Menu Gourmand ─── */
.gourmand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.gourmand-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.gourmand-card--featured {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.gourmand-card__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.gourmand-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.gourmand-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.gourmand-photos__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gourmand-photos__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gourmand-photos__item figcaption {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.carte-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.carte-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.gourmand-menu--stacked {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.gourmand-menu__block .gourmand-photos {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.gourmand-menu__col h4,
.gourmand-menu__block h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gourmand-menu__col h4 span,
.gourmand-menu__block h4 span {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-body);
}

.gourmand-menu__col li,
.gourmand-menu__block li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.gourmand-menu__col li small,
.gourmand-menu__block li small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.gourmand-menu__col li em,
.gourmand-menu__block li em {
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
}

.price-alt {
  display: block;
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ─── Menu Items ─── */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section--dark .menu-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.menu-item--star {
  background: rgba(201, 168, 76, 0.06);
  padding: 1.25rem 1rem;
  margin: 0 -1rem;
  border-radius: var(--radius);
  border-bottom: none;
}

.menu-item__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin-top: 2px;
}

.menu-item__body {
  flex: 1;
}

.menu-item__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.menu-veg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #3d8b40;
}

.menu-veg svg {
  display: block;
}

.section--dark .menu-item__body h3 {
  color: var(--white);
}

.menu-item__body p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.menu-item__price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

.section--dark .menu-item__price {
  color: var(--gold);
}

.menu-list--compact .menu-item {
  padding: 0.85rem 0;
}

.menu-list--compact .menu-item__body h3 {
  font-size: 1rem;
}

/* ─── Menu Categories ─── */
.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.menu-category__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--red);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

/* ─── Two columns ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* ─── Dessert viet ─── */
.dessert-viet {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
}

.dessert-viet h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.dessert-viet .menu-item {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* ─── Boissons ─── */
.boissons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.boisson-col h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.boisson-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.boisson-row span:last-child {
  color: var(--gold);
  white-space: nowrap;
  font-weight: 500;
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info__text {
  color: var(--ink-muted);
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.contact-details svg {
  flex-shrink: 0;
  color: var(--red);
}

.contact-map iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: var(--radius);
  filter: grayscale(30%);
}

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}

.footer__brand p {
  font-size: 0.8rem;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__copy {
  font-size: 0.75rem;
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.5rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }

  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .header__toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .header__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .header__toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .histoire__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item__price {
    margin-left: 44px;
  }

  .gourmand-photos {
    grid-template-columns: 1fr;
  }

  .carte-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-tabs {
    flex-direction: column;
    border-bottom: none;
    gap: 0.5rem;
  }

  .menu-tabs__btn {
    width: 100%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
  }

  .menu-tabs__btn::after {
    display: none;
  }

  .menu-tabs__btn.is-active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
