:root {
  --site-width: 1200px;
  --header-black: #000;
  --text-main: #000;
  --text-muted: #595959;
  --accent-red: #d1262f;
  --brand-orange: #d97848;
  --line: #c7c7c7;
  --bg-white: #fff;
  --bg-dark-green: #15291b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: Questrial, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: #fff;
  line-height: 1.4;
}

@font-face {
  font-family: "Baskerville Custom";
  src: url("../fonts/baskervillemtw05-smbdit.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Questrial";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/QdVUSTchPBm7nuUeVf70viFluW44JQ.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
  font-display: swap;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-width: var(--site-width);
  overflow-x: hidden;
}

.site-header {
  background: #fff;
}

.header-top {
  height: 24px;
  background: var(--header-black);
}

.header-logo-row {
  height: auto;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative; /* For absolute positioning of hamburger */
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-menu {
  display: none;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px; /* Reduced paddding to limit click area to icon */
  z-index: 100;
}

.header-nav-row {
  background: #fff;
}

.nav {
  width: var(--site-width);
  margin: 0 auto;
  height: 39px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  text-align: center;
  font-size: 16px;
}

.nav a {
  color: #000;
  transition: color 0.4s ease;
}

.nav a:hover {
  color: var(--text-muted);
}

.nav a.active {
  color: var(--accent-red);
}

.container {
  width: var(--site-width);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 150px; /* offset for banner overlap */
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.75)),
    url("../images/loc_4e0e5ae2c9504ee98575891ec2afebb8_54815e86.jpg") center/
      cover no-repeat;
}

.hero-inner {
  width: 900px;
  color: #fff;
  z-index: 2;
}

.hero h1 {
  margin: 20px 0 0; /* Added top margin */
  font-family: "Baskerville Custom", serif;
  font-style: italic;
  font-size: 38px; /* Reduced from 48px */
  font-weight: 400;
  line-height: 1.4;
  text-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn {
  min-width: 220px; /* Reduced width */
  height: 44px;
  border: 1px solid #000;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #fff;
  color: #000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  font-size: 18px; /* Slightly larger text on hover */
}

.btn::after {
  content: "";
  display: inline-block;
  width: 20px; /* Increased size */
  height: 20px;
  margin-left: 10px; /* Adjust gap distance */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E")
    no-repeat center;
  background-size: contain;
  transition: transform 0.3s;
}

.btn:hover::after {
  transform: translateX(4px); /* Moves icon slightly to right on hover */
}

.taste-box {
  width: 430px;
  margin: 56px auto 100px; /* added bottom margin to clear the overlapping banner */
  background: rgba(139, 0, 0, 0.88);
  color: #fff;
  padding: 10px;
}

.taste-box h2 {
  margin: 0;
  font-family: "Questrial", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
}

.gallery-wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 160px; /* Removed top padding */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.brand-banner {
  width: calc(100% - 270px);
  margin: 40px auto -150px; /* Downward overlap over hero top */
  border-radius: 5px;
  height: 650px;
  position: relative;
  z-index: 10;
  /* clip creates a clipping context so the fixed ::before stays within bounds */
  clip: rect(auto, auto, auto, auto);
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  overflow: hidden;
}

.brand-banner::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/loc_2ead78_b61ab232e1d84919b57adeea7e36d544~mv2_355b8bf5.png")
    center/cover no-repeat;
  z-index: -1;
}

.info-grid {
  width: min(1600px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr; /* Give the image column more space */
  min-height: 370px;
  padding: 80px 0;
  gap: 140px; /* Increased gap */
  position: relative;
  z-index: 2;
}

.info-col {
  padding: 20px;
  background: transparent;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.info-col h3 {
  font-size: 20px;
  letter-spacing: 2px;
  font-family: Montserrat, sans-serif;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  color: #000 !important;
}

.info-col h3 strong {
  font-weight: 400;
}

.info-col p {
  margin: 0 0 14px;
  font-size: 16px;
  font-family: "Questrial", sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color: #000;
}

.info-col p strong {
  font-weight: 400;
  color: #000; /* Ensure solid black */
}

.social {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #000;
  transition: opacity 0.3s;
}

.social a:hover {
  opacity: 0.8;
}

.social a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.info-image {
  background: url("../images/loc_2ead78_f4467fec1553496a901edce895b11489~mv2_207d4840.jpg")
    center/cover no-repeat;
  width: 100%;
  height: 100%;
  min-height: 400px; /* Increased from 300px to make it taller */
}

.content-section {
  padding: 74px 0 96px;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  column-gap: 80px; /* Increased gap */
}

.about-title {
  font-family: "Questrial", sans-serif;
  font-size: 42px;
  margin: 0;
  font-weight: 400;
}

.about-subtitle {
  margin: 0 0 24px;
  font-family: "Baskerville Custom", serif;
  font-style: italic;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.4;
  color: #000;
}

.about-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

/* --- Contact Page --- */
.contact-page {
  padding: 0;
}

.contact-top-wrap {
  background: #000;
  color: #fff;
  padding: 60px 0;
}

.contact-top-grid {
  display: grid;
  grid-template-columns: 1fr 700px; /* Map is exactly 700px wide on PC */
  gap: 80px; /* Smaller gap */
  align-items: center;
}

.contact-title {
  font-family: "Questrial", sans-serif;
  font-size: 42px;
  margin: 0 0 30px; /* Reduced from 50px since it's above the black area now */
  padding-top: 20px;
  color: #000;
}

.contact-info-card h2 {
  margin: 0 0 40px;
  font-family: "Baskerville Custom", serif;
  font-style: italic;
  font-size: 38px;
  font-weight: 400;
  white-space: nowrap; /* Prevent line break */
}

.contact-info-card .address {
  font-family: "Questrial", sans-serif;
  margin: 0 0 40px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-details strong {
  font-family: "Questrial", sans-serif;
  display: block;
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-details p {
  font-family: "Questrial", sans-serif;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.contact-details a {
  font-family: "Questrial", sans-serif;
  color: #fff;
  text-decoration: none;
}

.map-wrap {
  width: 100%;
  height: 380px;
  border: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-bottom-wrap {
  background: #fff;
  padding: 80px 0 160px; /* Added 160px bottom padding to prevent footer arc overlap */
}

.contact-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Make them equal width to prevent form from being too wide */
  gap: 80px; /* Smaller gap */
  align-items: start;
}

.quote-card h2 {
  margin: 0 0 40px;
  font-family: "Baskerville Custom", serif;
  font-style: italic;
  font-size: 30px; /* Reduced from 38px */
  font-weight: 400;
  line-height: 1.4;
  color: #000; /* Pure black */
}

.quote-img {
  width: 100%;
  max-width: 480px;
  display: block;
}

.req-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.req-form-grid .full {
  grid-column: 1 / -1;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

.req-form-grid .input,
.req-form-grid .date {
  width: 100%;
  height: 48px;
  background: #888888;
  border: none;
  padding: 0 16px;
  font-size: 15px;
  color: #fff;
  outline: none;
}

.req-form-grid .textarea {
  width: 100%;
  height: 100px;
  background: #888888;
  border: none;
  padding: 16px;
  font-size: 15px;
  color: #fff;
  resize: vertical;
  outline: none;
}

.req-form-grid .input::placeholder,
.req-form-grid .textarea::placeholder,
.req-form-grid .date::placeholder {
  color: #eee;
}

.req-form-grid .submit {
  background: #111;
  color: #fff;
  border: none;
  height: 48px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
  /* margin-top: 10px; removed to prevent overlapping outside grid */
}

.req-form-grid .submit:hover {
  opacity: 0.8;
}

.site-footer {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.66)),
    url("../images/loc_49b7605f924d0dc784d616d0c9b53748_50f18101.jpg") center/
      cover no-repeat fixed;
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -20%;
  width: 140%;
  height: 240px;
  background: #fff;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
  z-index: 1;
}

.footer-inner {
  width: var(--site-width);
  margin: 0 auto;
  padding: 300px 0 120px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
}

.footer-right h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

.footer-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.newsletter {
  width: 100%;
  display: block;
}

.newsletter input {
  flex: 1;
  height: 46px;
  border: none;
  background: #fff;
  color: #000;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
  border-radius: 0;
}

.newsletter input::placeholder {
  color: var(--text-muted);
}

.newsletter button {
  width: 160px;
  height: 46px;
  border: none;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 0;
  transition:
    background 0.3s,
    color 0.3s;
}

.newsletter button:hover {
  background: #f0f0f0;
}

.footer-copyright {
  background: #fff;
  text-align: center;
  padding: 12px 0;
  width: 100%;
}

.footer-copyright .copyright {
  margin: 0;
  font-size: 13px;
  color: #888;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lightbox[hidden] {
  display: none;
  opacity: 0;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #333;
  font-size: 40px;
  cursor: pointer;
  transition:
    transform 0.2s,
    color 0.2s;
  padding: 10px;
}

.lightbox button:hover {
  color: var(--accent-red);
  transform: scale(1.1);
}

/* --- Mobile Menu Overlay --- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100dvh; /* Modern viewport height to account for mobile browser UI */
  background: #000;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  overflow: hidden; /* Forcibly prevent any scrollbars */
  box-sizing: border-box;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(
    20px,
    6vh,
    60px
  ); /* Dynamically scales gap based on screen height instead of fixed 60px */
  width: 100%;
  max-height: 100%; /* Prevent stretching beyond the container */
}

.mobile-nav-overlay .nav-item {
  padding: 0;
  margin: 0;
}

.mobile-nav-overlay .nav-link {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  font-family: Questrial, Arial, sans-serif;
  letter-spacing: 1px;
  display: block;
}

/* Active State Container for Mobile Menu */
.mobile-nav-overlay .nav-item.active {
  background: #fff;
  width: 250px;
  margin: 0 auto;
  padding: 20px 0;
}

.mobile-nav-overlay .nav-item.active .nav-link {
  color: var(--accent-red);
}

.close-menu-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.lightbox-close {
  top: 20px;
  right: 30px;
}
.lightbox-fullscreen {
  top: 20px;
  left: 30px;
  font-size: 30px;
}
.lightbox-prev {
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- Scroll Animations --- */
.reveal {
  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: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
.delay-400 {
  transition-delay: 400ms;
}
.delay-500 {
  transition-delay: 500ms;
}

@media (max-width: 1100px) {
  .page {
    min-width: 0;
  }

  .container,
  .nav,
  .footer-inner {
    width: min(980px, calc(100% - 32px));
  }

  .hero-inner {
    width: min(780px, 100%);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-row,
  .quote-row {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .newsletter div {
    flex-direction: column !important;
  }

  .newsletter button {
    width: 100%;
  }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 991px) {
  /* Hide Desktop Nav, Show Mobile Menu Button */
  .header-nav-row {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  /* Contact Page Grid Stacking */
  .contact-top-grid,
  .contact-bottom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .contact-info-card h2,
  .quote-card h2 {
    font-size: 28px;
    white-space: normal;
  }

  .contact-details {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .map-wrap {
    height: 300px;
  }

  .req-form-grid {
    grid-template-columns: 1fr;
    text-align: left; /* Keep form labels left-aligned */
  }

  .quote-img {
    margin: 0 auto;
  }

  /* About Page Grid */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .about-subtitle {
    font-size: 28px;
  }

  /* Sync Footer Centering */
  .site-footer::before {
    top: -60px;
    height: 120px;
  }

  .footer-inner {
    padding: 120px 0 60px;
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .footer-left,
  .footer-right {
    align-items: center;
  }

  .footer-right h2 {
    white-space: normal;
  }

  /* Mobile Brand Banner Adjustment */
  .brand-banner {
    width: calc(100% - 40px);
    height: 200px;
    margin: 20px auto -80px; /* Overlap hero */
    background: url("../images/loc_2ead78_b61ab232e1d84919b57adeea7e36d544~mv2_355b8bf5.png")
      center/cover no-repeat;
    clip: unset;
    -webkit-clip-path: none;
    clip-path: none;
    border-radius: 8px; /* Added rounded corners */
  }

  .brand-banner::before {
    display: none;
  }

  .hero {
    padding-top: 100px; /* Reduce from 150px since overlap is smaller */
  }

  .taste-box {
    width: 90%;
    margin-bottom: 60px;
  }

  .taste-box h2 {
    font-size: 22px;
  }
}

html body *:not(#_native_cursor_a):not(#_native_cursor_b),
html body *:not(#_native_cursor_a):not(#_native_cursor_b)::before,
html body *:not(#_native_cursor_a):not(#_native_cursor_b)::after {
  cursor: default !important;
}
