/* ========================
   ABOUT HERO
======================== */

.about-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen */
  overflow: hidden;
}

/* IMAGE */
.about-hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY CENTER BOX */
.about-hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: rgba(29, 29, 29, 0.2); /* #1D1D1D with 20% opacity */
  padding: 20px 60px;

  z-index: 2;
}

/* TEXT */
.about-hero-overlay h1 {
  font-size: 64px;
  color: #fff;
  text-align: center;
}

/* ========================
   FADE EFFECT (REUSABLE)
======================== */

/* DEFAULT VISIBLE (SAFE) */
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ONLY animate when JS adds this */
.fade-in.animate {
  opacity: 0;
  transform: translateY(20px);
}

/* FINAL STATE */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ========================
   RESPONSIVE
======================== */

@media (max-width: 768px) {

  .about-hero {
    height: 70vh; /* better for mobile */
  }

  .about-hero-overlay {
    padding: 12px 12px;
  }

  .about-hero-overlay h1 {
    font-size: 40px;
  }
}


/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  width: 100%;
  background: #f5ecd9;
  padding: 40px 40px 20px;
  overflow: hidden;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
}

/* LEFT CONTENT */

.touch-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.touch-content h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 400;
  color: #7b4d43;
  margin-bottom: 60px;
}

/* CONTACT ITEMS */

.contact-item {
  margin-bottom: 40px;
}

.contact-item .label {
  font-size: 16px;
  color: #4d4d4d;
  margin-bottom: 10px;
}

.contact-item a,
.contact-item .address {
  font-size: 24px;
  line-height: 1.3;
  color: #1d1d1d;
  text-decoration: none;
  font-weight: 400;
}

/* MAP */

.contact-map {
  flex: 0.9;
  min-height: 520px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   FADE UP ANIMATION
========================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

  .contact-section {
    padding: 60px 40px;
  }

  .touch-content h2 {
    font-size: 32px;
  }

  .contact-item a,
  .contact-item .address {
    font-size: 24px;
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .contact-section {
    padding: 40px 40px 20px;
  }

  .contact-container {
    flex-direction: column;
    gap: 0;
  }

  .touch-content {
    padding: 0;
  }

  .touch-content h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .contact-item {
    margin-bottom: 34px;
  }

  .contact-item .label {
    font-size: 16px;
  }

  .contact-item a,
  .contact-item .address {
    font-size: 20px;
    line-height: 1.4;
  }

  .contact-map {
    width: 100%;
    min-height: 220px;
  }

}



/* ========================
   CONTACT REQUEST
======================== */

.contact-request {
  background: #F5F0E6;
  padding: 20px 0 40px;
  overflow: hidden;
}

/* LAYOUT */
.contact-request-inner {
  display: flex;
  align-items: stretch;
}

/* ========================
   LEFT IMAGE
======================== */

.contact-image {
  width: 28%;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================
   RIGHT CONTENT
======================== */

.contact-content {
  width: 72%;
  padding: 0 24px 0 16px;

  display: flex;
  flex-direction: column;
}

/* TITLE */
.contact-content h2 {
  font-size: 40px;
  color: #764537;

  text-align: right;
  margin-bottom: 40px;
}

/* ========================
   FORM
======================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;

  border: 1px solid rgba(0,0,0,0.25);
  background: transparent;

  padding: 18px;

  font-size: 24px;
  font-family: 'Cormorant Garamond', serif;

  outline: none;
}

/* TEXTAREA */
.contact-form textarea {
  min-height: 140px;
  resize: none;
}

/* BUTTON WRAP */
.contact-form button {
  align-self: flex-end;

  background: #764537;
  color: #fff;

  border: none;
  border-radius: 40px;

  padding: 14px 42px;

  font-size: 24px;
  font-family: 'Cormorant Garamond', serif;

  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ========================
   MOBILE
======================== */

@media (max-width: 768px) {

  .contact-request {
    position: relative;
    padding: 20px 16px 40px;

    background-image: url("images/Wooden\ Texture\ 3.png");
    background-size: cover;
    background-position: center;
  }

  /* subtle overlay */
  .contact-request::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 244, 218, 0.88);
  }

  .contact-request-inner {
    position: relative;
    z-index: 2;

    display: block;
  }

  /* HIDE LEFT IMAGE */
  .contact-image {
    display: none;
  }

  /* FULL WIDTH */
  .contact-content {
    width: 100%;
    padding: 0;
  }

  /* TITLE */
  .contact-content h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 28px;
  }

  /* FORM */
  .contact-form {
    gap: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 14px;
    background: rgba(255,255,255,0.15);
  }

  .contact-form textarea {
    min-height: 100px;
  }

  /* BUTTON */
  .contact-form button {
    font-size: 16px;
    padding: 10px 28px;
  }

}