/*font-face declarations for custom fonts */
@font-face {
  font-family: "Melodrame";
  src: url("../fonts/relationship-of-melodrame.ttf") format("truetype");
}

@font-face {
  font-family: "Tomato thin";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-Thin.otf") format("opentype");
}

@font-face {
  font-family: "Tomato thin Slanted";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-ThinSlanted.otf") format("opentype");
}

@font-face {
  font-family: "Tomato light";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-Light.otf") format("opentype");
}

@font-face {
  font-family: "Tomato light Slanted";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-LightSlanted.otf") format("opentype");
}

@font-face {
  font-family: "Tomato Medium";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-Medium.otf") format("opentype");
}

@font-face {
  font-family: "Tomato Medium Slanted";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-MediumSlanted.otf") format("opentype");
}

@font-face {
  font-family: "Tomato Regular";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Tomato Bold";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Tomato Bold Slanted";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-BoldSlanted.otf") format("opentype");
}

@font-face {
  font-family: "Tomato ExtraLight";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-ExtraLight.otf") format("opentype");
}

@font-face {
  font-family: "Tomato SemiBold";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-SemiBold.otf") format("opentype");
}

@font-face {
  font-family: "Tomato Black";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-Black.otf") format("opentype");
}

@font-face {
  font-family: "Tomato ExtraBold";
  src: url("../fonts/TOMATO_GROTESK/TomatoGrotesk-ExtraBold.otf") format("opentype");
}


/* =========================
   Root Variables
   ========================= */
/* =========================
   Root Variables
   ========================= */
:root {
  --font-main: "Tomato light", Helvetica;
  --color-primary: #F9FDFF;
  --color-accent: #b88c4a;
  --color-bg: #2A2324;
}

/* =========================
     Global Reset
     ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
     Base Styles
     ========================= */
body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-primary);
  scroll-behavior: smooth;
}

/* =========================
     Header & Navigation
     ========================= */
header {
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  background: transparent;
  border: none;
  z-index: 1000;
  border-bottom: 2px solid var(--color-primary);
}

.navbar {
  background: transparent;
  padding: 1.8rem;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hamburger {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  right: 0;
  left: 0;
  font-family: "Tomato light", sans-serif;
  color: var(--color-primary);
  z-index: 1100;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-primary);
  font-family: "Tomato light", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.3s;
}

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


/* ✅ Mobile full-screen overlay menu */
@media (max-width: 768px) {
  :root { --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1); }

  .hamburger {
    position: relative;
    display: flex;
    right: 0;
    padding: 2rem 0.1rem 0;
    z-index: 1100;
    background: transparent;
    border: 0;
    margin: 0;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
    margin-left: auto;
  }

  .navbar {
    padding: 1rem 0 0.5rem 0; /* remove left/right padding, keep top/bottom */
  }

  .nav-container {
    justify-content: flex-end; /* move items to right */
  }

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

  /* full-screen curtain menu */
  .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* push links to bottom */
    align-items: flex-start;   /* align left */
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100%;
    background: var(--color-bg);

    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);

    transition: clip-path 0.9s var(--reveal-ease),
                -webkit-clip-path 0.9s var(--reveal-ease);
    gap: 0.5rem; /* tighter spacing */
    padding: 9rem 1rem; /* breathing room from edges */
    z-index: 1000;
    pointer-events: none;
  }

  .nav-links.active {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
  }

  .nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* align left */
  }

  .nav-links li {
    margin: 0;
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .nav-links a {
    color: var(--color-primary);
    font-size: 2rem; /* slightly smaller for stacked look */
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.42s cubic-bezier(.2,.8,.2,1),
                opacity 0.42s cubic-bezier(.2,.8,.2,1);
    text-decoration: none;
    display: inline-block;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  /* staggered reveal — target the actual list items */
  .nav-links ul li:nth-child(1) a { transition-delay: 0.20s; }
  .nav-links ul li:nth-child(2) a { transition-delay: 0.26s; }
  .nav-links ul li:nth-child(3) a { transition-delay: 0.32s; }
  .nav-links ul li:nth-child(4) a { transition-delay: 0.38s; }
  .nav-links ul li:nth-child(5) a { transition-delay: 0.44s; }
  .nav-links ul li:nth-child(6) a { transition-delay: 0.50s; }
  .nav-links ul li:nth-child(7) a { transition-delay: 0.56s; }
  .nav-links ul li:nth-child(8) a { transition-delay: 0.62s; }

  /* Big bottom link (still bottom-left, but under list) */
  .nav-links .big-bottom {
    margin-top: 1rem;
    width: auto;
    display: block;
    pointer-events: auto;
  }

  .nav-links .big-bottom a {
    font-size: 2rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.9s var(--reveal-ease),
                opacity 0.9s var(--reveal-ease);
    opacity: 0;
  }

  .nav-links.active .big-bottom a {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.68s;
  }
}

/* =========================
     Hero Section (Landing Banner)
     ========================= */
/* =========================
   Hero Section (Landing Banner)
   ========================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;       /* ensure children don't escape border-radius */
  border-radius: 12px;
}

/* single, clean .hero-bg */
.hero-bg {
  position: absolute;
  inset: 0;               /* shorthand for top:0; right:0; bottom:0; left:0 */
  display: flex;
  flex-direction: row;
  z-index: 0;             /* background layer */
  border-radius: 12px;
  overflow: hidden;
}

/* halves */
.hero-bg-left,
.hero-bg-right {
  flex: 1;                /* each side = 50% */
  position: relative;
  overflow: hidden;       /* clips images and pseudo-elements to the half's box */
}

/* images fill the halves */
.hero-bg-left img,
.hero-bg-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* crop nicely */
  display: block;
  z-index: 0;
  border-radius: 20px;             /* below overlay */
}

/* overlay on each half (above image, below hero-content) */
.hero-bg-left::before,
.hero-bg-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* adjust opacity as needed */
  z-index: 1;                   /* sits above images */
  pointer-events: none;         /* don't block clicks */
  border-radius: 20px; /* optional: make left overlay follow left rounded corners */
}

/* right overlay corners (optional fine-tuning) */
.hero-bg-right::before {
  border-radius:20px;
}

/* content (logo) above everything */
.hero-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;  /* above overlays and images */
}

/* prevent the logo from creating horizontal scroll */
.hero-logo {
  width: min(100vw, 1400px); /* scale but cap at 1400px */
  height: auto;
  display: block;
}

/* =========================
   Mobile / Responsive
   ========================= */
@media (max-width: 768px) {
  :root { --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1); }

  .hero {
    min-height: 100vh; /* safer than 100vh on many mobile browsers */
  }

  .hero-bg {
    flex-direction: column;
    height: 100%; /* ensures child halves can be 50% */
  }

  .hero-bg-left,
  .hero-bg-right {
    width: 100%;
    height: 50%; /* each takes half */
    border: none;
  }

  .hero-content {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    bottom: auto; /* reset bottom */
  }

  .hero-logo {
    width: 80vw;       /* scale nicely on mobile */
    max-width: 300px;  /* cap it */
    height: auto;
  }
}

/* Intro Section */
.intro-section {
  background-color: var(--color-bg);
  padding: 6rem 2rem 1rem 2rem;
  display: flex;
  justify-content: center; /* centers content horizontally */
  align-items: center;     /* centers content vertically if section has height */
  text-align: center;      /* center text inside */
}

.intro-text h2 {
  font-family: "Melodrame", Helvetica;
  font-size: 4rem;
  font-weight: normal;
  color: var(--color-primary);
  line-height: 1;
  max-width: 800px; /* optional: restrict width for readability */
  margin: 0 auto;
}

.inline-image {
  width: 140px;
  height: 70px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.5rem;
}

/* Responsive - Intro */
@media (max-width: 768px) {
  .intro-section {
    padding: 1rem 1rem; /* less top/bottom padding on mobile */
  }

  .intro-text h2 {
    font-size: 2rem; /* smaller text for mobile */
    line-height: 1;
    font-weight: normal;
  }

  .inline-image {
    width: 90px;
    height: 50px;
    display: inline-block;
    margin: 0 0.3rem;
  }
}

/* =========================
     Our Story Section 
     ========================= */

/* ========== Chess Grid Layout ========== */
.story-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  grid-template-rows: auto auto;
  gap: 3rem; /* spacing between */
  align-items: start;
}

/* support both combined class and single image-block usage so markup doesn't need to change */
.story-block.image-block,
.image-block,
.image-block.story-block {
  grid-column: 1 / -1; /* span across both columns */
  width: 100%;
  margin: 0;
  padding: 0;
  justify-self: start;
  color: white;
  display: flex;
}

/* image container */
.story-image {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the row */
  display: block;
}

/* Styling per quadrant / title area */
.title-block,
.story-title {
  /* kept your visual choice: dark title color */
  color: #1f1f1f;
}

/* Title block specifics */
.story-title {
  font-family: "Melodrame", serif;
  font-size: 4rem;
  color: var(--color-primary);
  text-align: left;
  white-space: nowrap;
  margin: 0; /* normalize margins */
}

.story-title h2 {
  font-weight: 400;
  font-size: 4rem;
  margin: 0;
}

/* Right column: Text & container */
.story-section {
  background-color: var(--color-bg);
  padding: 6rem 5rem;
}

.story-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: none; /* remove the 1200px limit by design */
  margin: 0;
  padding: 0;
  gap: 0.5rem; /* tighter spacing */
}

/* paragraph/text styles */
.story-text {
  flex: 1;
  max-width: 700px;
  color: var(--color-primary);
  font-size: 22px;
  display: block;
}

.story-text p {
  width: 100%;
  text-align: left;
  margin: 0 0 1rem 0; /* sensible default spacing between paragraphs */
  /* line-height can be re-enabled if desired */
}

/* support both .Regular (existing markup) and .regular (conventional lowercase) */
.Regular,
.regular {
  font-family: "Tomato thin", Helvetica, Arial, sans-serif;
}

/* =========================
   Responsive for smaller screens
   ========================= */
@media (max-width: 768px) {
  .story-section {
    padding: 2rem 1rem; /* reduce outer space */
  }

  .story-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.1rem; /* tighter gap */
  }

  .story-title {
    color: var(--color-primary);
    font-size: 3rem;
    text-align: left;
    padding: 0 0.5rem;
    margin-bottom: 0.5rem;
    white-space: normal; /* allow wrapping on narrow screens */
  }

  .story-text {
    font-size: 1.2rem;
    margin-top: 0;
    padding: 0 0.5rem;
  }

  .story-text p {
    margin: 0.5rem 0;
  }

  .story-image {
    height: auto; /* allow height to adjust */
    max-height: 300px; /* optional: cap max height */
  }

  .story-image img {
    width: 100%;
    padding: 0 0.5rem;
    height: auto;
  }
}


/* =========================
     Common Section Container
     ========================= */
.section {
  background-color: var(--color-bg);
  margin-top: 4rem;
}


/* =========================
     Menu Items
     ========================= */
.menu-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* gap: 1rem; */
  padding: 0;
}

.menu-items li {
  background: #fff;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
}

#menu {
  padding-top: 2rem;
}

.menu-title {
  margin-left: 5rem;
}

#more-menu-items {
  margin-top: 2rem;
  /* adds space when revealed */
}


.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0 5rem;
  background: var(--color-bg);
}

.menu-item {
  background: var(--color-bg);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 3.8;
}

.menu-text {
  /* padding: 0.75rem 1rem; */
  padding-top: 8px;
  font-family: "Tomato light", sans-serif;
  font-size: 1.3rem;
  color: var(--color-primary);
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  /* stack vertically */
  align-items: flex-start;
  /* align text left */
  gap: 0.25rem;
}

.menu-text span {
  word-break: break-word;
  width: 100%;
}

.menu-text .price {
  font-family: "Tomato Light", sans-serif;
  text-align: left;
  /* align with text */
  color: var(--color-primary, #a77c3a);
  white-space: nowrap;
}

/* Hidden items section */
.hidden {
  display: none;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 2rem;
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: 1fr;
    margin: 0 1rem;
    /* snug fit */
  }

  .menu-title {
    display: block;
    text-align: left;
    font-size: 3rem;
    /* center title */
    margin: 0 auto 0 1rem;
    /* remove left offset, add bottom gap */
  }

  .view-more {
    justify-content: center;
    /* optional: center the button */
    padding: 1rem 0 0 0;
  }
}

/* end of menu section */

/* //animation style  */

.text-reveal-wrapper {
  overflow: hidden;
  display: inline-block;
}

.word-wrapper {
  display: inline-block;
  overflow: hidden;
}

.word-wrapper span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.reveal-line {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.word {
  display: inline-block;
  transform: translateY(100%);
  color: var(--color-primary);
  font-size: 6rem;
  font-family: "Relationship of Melodrame", serif;
  line-height: 1;
  white-space: nowrap;
}

.sentence {
  opacity: 0;
  transform: translateY(10px);
  display: inline;
  white-space: normal;
}

/* =========================
     Gallery Section
     ========================= */

.gallery-wrapper {
  overflow: hidden;
  position: relative;
  /* width: 100%; */
  margin-left: 5rem;
  margin-right: 5rem;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  will-change: transform;
  width: max-content;
}

.gallery-track img {
  height: 500px;
  /* or 250px, based on design */
  width: 300px;
  object-fit: cover;
  flex-shrink: 0;
}

.gallery {
  margin-left: 32px;
  padding-bottom: 1rem;
}

.gallery-title {
  margin-left: 4rem;
  color: var(--color-primary);
}

.view-more {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 5rem 0 2rem;
  /* Adjust padding as needed */
}

.view-more a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-family: "Tomato light", serif;
  /* font-style: italic; */
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 1px solid var(--color-primary);

}

.view-more a:hover {
  color: grey;
}

.arrow {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.view-more a:hover .arrow {
  transform: translateX(5px);
}

.view-more svg.arrow {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.view-more a.open svg.arrow {
  transform: rotate(180deg);
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .gallery-wrapper {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .gallery-track img {
    height: 250px;
    /* smaller images on mobile */
    width: 180px;
  }

  .gallery-title {
    display: block;
    text-align: left;
    /* center the title */
    font-size: 3rem;
    margin: 0 auto 0 1rem;
    /* center + reduce bottom margin */
  }

  .view-more {
    justify-content: flex-end;
    /* move button to center */
    padding: 1rem 1rem 0 0;
    /* less padding, no big side gap */
  }

  .gallery-section {
    padding-bottom: 2rem;
    /* reduce bottom spacing */
  }
}


/* =========================
     Contact Form
     ========================= */
#contact {
  background: var(--color-bg);
  color: #fff;
  font-family: "Tomato light", Helvetica, sans-serif;
  padding: 5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* TOP GRID: Title + Form */
.top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 2rem;
}

.contact-title {
  font-family: "Melodrame", serif;
  font-size: 4rem;
  color: var(--color-primary);
  margin: 0;
  font-weight: normal;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 0.5rem;
  color: #fff;
  font-size: 1rem;
}

.contact-form button {
  background: none;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
  padding: 0.3rem 0;
  transition: 0.3s;
}

.contact-form button:hover {
  color: #aaa;
  border-bottom-color: #aaa;
}
#whatsappForm,
#whatsappForm input,
#whatsappForm textarea,
#whatsappForm button {
  font-family: 'Helvetica', sans-serif; /* your preferred font */
  font-size: 16px;
  color: #fff; /* match the form text color */
}

/* Middle Info Row */
.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.contact-section h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: "Tomato Regular", Helvetica, sans-serif;
}

.contact-section p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  color: #ddd;
}

.contact-section a {
  color: #ddd;
  text-decoration: underline;
}

.directions-btn {
display: inline-block;
  background: none;
  border: 1px solid #fff;
  padding: 0.4rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 20px;
  transition: 0.3s;
}

.directions-btn:hover {
  background: #fff;
  color: #000;
}

/* Map */
.map-block {
  width: 100%;
  height: 400px;
}

.map-block iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .top-grid {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 3rem;
    
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .map-block {
    height: 300px;
  }
  
    #contact {
    padding: 6rem 1.5rem 2rem 1.5rem; /* smaller spacing for mobile */
  }
}
