@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Reset + base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  font-family: "plantin", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  font-style: normal;
  background-color: #F2EFEA;
  color: #000000;
  height: auto; /* Allow the page height to be determined by content */
}

/* CRITICAL: Applying Scroll Snap to HTML/Root Element */
html {
  scroll-behavior: smooth; 
  /* Use proximity instead of mandatory so scrolling through content is easier */
  scroll-snap-type: y proximity; 
  overflow-y: scroll;
  overflow-x: hidden;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

p {
  font-size: 14px;
  line-height: 18px;
  color: #2e2e2e;
  margin-bottom: 20px;
}

p  span {
  font-weight: 400;
  font-style: italic;
  text-align: center;
}

/* Hero container covers full viewport */
.hero {
  position: relative;
  height: 100vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100vw;
  background-color: #000000;
  /* CRITICAL: Define snap point only on this section */
  /*scroll-snap-align: start;*/
  
}

/* Subtle dark overlay gradient so text/logo is readable */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.hero iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  z-index: 1;  
}

/* Top bar items: logo centered, button top-right */
.topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.logo {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  padding: 10px 20px;
}

/* Top-right button */
.top-button {
  position: absolute;
  right: 20px;
  top: 0px;
  z-index: 3;
}

.btn-top {
  font-family: "Inter", sans-serif;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #F2EFEA;
  color: #2E2E2E;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-top:active {
  transform: translateY(1px);
  color: #ffffff;
}

.btn-top:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Bottom center scroll text */
.scrolldown {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  text-align: center;
  pointer-events: none;
}

.scrolldown .text {
  margin-bottom: 20px;
}

.arrow {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  /*height: 28px;
  width: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);*/
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
  /*background: rgba(0, 0, 0, 0.08);*/
}

.v-line {
  width: 1px;
  height: 30px;   /* adjust height */
  background-color: #F2EFE9; /* black line */
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Small helper for visually-hidden skip link (accessibility) */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Header container */
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background-color: #f2efea;
  border-bottom: 1px solid #6e6e6c;
  position: sticky;
  width: 100vw;
  top: 0;
  z-index: 100;
}

/* Left side */
.header-left {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    width: 33.33%;
}

/* Center logo block */
.header-center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  width: 33.33%;
}

.header-center img {
  /*height: 15px;  change as needed */
}

/* Right button */
.header-right {
    flex: 1;
    width: 33.33%;
    justify-content: right;
    text-align: right;
}

/* Rounded button */
.btn {
  font-family: "Inter", sans-serif;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #333;
  background: transparent;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
  color: #333;
}

.btn:hover {
  background: #dfdcd7;
  color: #333;
}


/* Main Flex Container */
.content {
  display: flex;
  width: 100vw;
  /* No min-height: 100vh, so it collapses to fit its content */
  border-bottom: 1px solid #6e6e6c;
}

/* Left Column (Image) */
.left-column {
  flex: 1; /* Takes up 50% of the space on desktop */
  /* Ensure the image container aligns nicely with the right content */
  display: flex;
}

.left-column img {
  /* Make the image fill its container */
  width: 100%;
  height: 100%; 
  object-fit: cover; /* Important: Ensures the image covers the area without distortion */
}

/* Right Column (Content) */
.right-column {
  flex: 1; /* Takes up 50% of the space on desktop */
  /* Center the content vertically within the column */
  display: flex;
  align-items: center; /* Vertically align the content wrapper */
  justify-content: center;
  padding: 40px 20px;
}

/* Content Wrapper Styling */
.content-wrapper {
  max-width: 275px;
  text-align: center;
}

.center-image img {
  width: 100%;
}

/* Image and Text Styles (Same as before for visual fidelity) */
.title {
  font-size: 26px;
  line-height: 30px;
  font-weight: 300;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}

.title span {
  font-style: italic;
  text-transform: lowercase;
}

.signature {
  margin-bottom: 20px;
  text-align: center;
}

.center-image {
  margin: 0 0 35px;
}

.inquiry {
  display: flex;
  min-height: 800px;
  padding: 100px 0;
  border-bottom: 1px solid #6e6e6c;
}

.inquiry-left {
  flex: 1;
  align-content: center;

}

/* === Form Container === */
.form-container {
  padding: 0 10%;
  width: 100%;
}

/* === Inquiry Title === */
.inquire-title {
  font-size: 26px;
  line-height: 30px;
  font-weight: 300;
  margin-bottom: 50px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.inquire-title span {
  font-style: italic;
  text-transform: lowercase;
}

/* === Form Layout === */
.inquiry-form {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 5%; 
}

.input-group {
  position: relative;
  box-sizing: border-box;
  flex-basis: 100%; 
  
  /* CRITICAL: Use Flexbox to reverse the order of label and input */
  display: flex;
  flex-direction: column-reverse; 
}

/* === Label and Input Styling === */
.input-group label {
  display: block; 
  font-size: 14px;
  color: #000000;
  margin-top: 5px; /* Space between input and label */
  font-weight: 400;
}

.input-group input, 
.input-group select {
  font-family: "Inter", sans-serif;
  width: 100%;
  border: none;
  /* CRITICAL: Bottom border only */
  border-bottom: 1px solid #6D6E71; 
  background: none;
  padding: 5px 0 5px 0; /* Padding above the border */
  font-size: 12px;
  color: #6D6E71;
  outline: none;
  transition: border-bottom-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  border-bottom-color: #040404;
}

/* Select Box Custom Styling */
.select-wrap {
  /* No padding needed, handled by flex gap */
}
.select-wrap select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 30px; 
}

/* Custom arrow for select fields */
.select-wrap::after {
  content: '';
  position: absolute;
  right: 5px;
  /* Position arrow relative to the bottom border of the select field */
  top: 15px; 
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #6D6E71;
  pointer-events: none;
  /* Adjust stacking to ensure it's above the input field content */
  z-index: 10; 
}
.select-wrap select {
   padding-top: 15px; /* Add padding to accommodate the SELECT text */
   padding-bottom: 5px;
}

/* === Terms and Conditions Checkbox === */
.terms-and-conditions {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
  gap: 15px;
  font-size: 13px;
  line-height: 15px;
  flex-basis: 100%;
}

.terms-and-conditions input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid #6D6E71;
  background-color: transparent;
  appearance: none;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.terms-and-conditions input[type="checkbox"]:checked::before {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #6D6E71;
}

/* === RESPONSIVENESS (Desktop) === */
@media (min-width: 768px) {
  .input-group-half {
      flex-basis: 47.5%; 
  }
}

.inquiry-right {
  flex: 1;
  align-content: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin: 0;
  padding: 0px 10% 20px;
}

.gallery-item {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  padding: 30px 80px;
  display: flex;
  /*flex-direction: column;*/
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.footer-logos img {
  width: 106px;
}

.disclaimer {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  max-width: 630px;
  font-size: 11px;
  line-height: 15px;
  color: #2E2E2E;
  padding: 0 20px;
}

.social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social img {
  width: 30px;
}

/* Responsiveness (Mobile View) */
@media (max-width: 768px) {
  .header-bar {
    flex-direction: column;
    gap: 15px;
  }

  .header-center {
    width: auto;
  }

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

  .header-left, .header-right {
    flex: unset;
    width: auto;
  }

  .content {
    /* Stack columns vertically on small screens */
    flex-direction: column;
  }

  .content-wrapper {
    max-width: 100%;
  }

  .left-column {
    /* Set a fixed height for the image when stacked */
    height: 50vh; 
  }

  .right-column {
    /* Remove vertical centering to allow natural scroll flow */
    align-items: flex-start;
    padding: 20px 20px; 
  }

  .center-image img {
    width: 100%;
  }

  .inquiry {
    flex-direction: column;
    padding: 50px 0;
  }

  .form-container {
    padding: 0 20px;
  }

  .terms-and-conditions {
    margin-top: 15px;
  }

  .gallery-grid {
    gap: 20px;
    padding: 50px 20px;
  }

  .footer {
    padding: 20px 20px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-logos {
    gap: 20px 20px;
    justify-content: center;
  }

  .footer-logos img {
    width: 70px;
  }

  .disclaimer {
    padding: 0;
  }

}
