/* ========================================
   Yalla Dough It global theme
   Edit the colors below to update the whole website.
======================================== */

/* ========================================
   Yalla Dough It global theme
======================================== */

:root {
  /* Main brand colors */
  --color-pink: #ffcbe1;
  --color-pink-dark: #ef8eae;
  --color-pink-deep: #c95f82;
  --color-pink-soft: #ffe8f1;

  /* Brown text and contrast */
  --color-brown: #3a261e;
  --color-brown-soft: #4d352c;
  --color-brown-muted: #765e54;

  /* Light surfaces */
  --color-cream: #fff9f5;
  --color-cream-deep: #f4e7e0;

  /* Text used over dark backgrounds */
  --color-text-muted: #d6c5bc;

  /* Borders */
  --color-line-dark: rgba(255, 249, 245, 0.14);
  --color-line-light: rgba(58, 38, 30, 0.13);

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Arial, Helvetica, sans-serif;

  --header-height: 92px;
  --container: min(100% - 9vw, 1680px);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--color-brown);
  background: var(--color-cream);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body,
button,
a,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  border-radius: 0;
}

button {
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

::selection {
  color: var(--color-brown);
  background: var(--color-pink);
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  [data-cursor] {
    cursor: none;
  }
}

/* ========================================
   Shared inner-page layout
======================================== */

.light-page {
  min-height: 100vh;
  padding-top: var(--header-height);
  color: var(--color-brown);
  background: var(--color-cream);
}

.dark-page {
  min-height: 100vh;
  color: var(--color-cream);
  background:
    radial-gradient(circle at 75% 25%, rgba(235, 139, 154, 0.1), transparent 30%),
    var(--color-brown);
}

.page-shell {
  width: var(--container);
  margin: 0 auto;
}

.page-intro {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 95px 0 70px;
  border-bottom: 1px solid var(--color-line-light);
}

.page-intro.dark-intro {
  padding-top: calc(var(--header-height) + 80px);
  border-color: var(--color-line-dark);
}

.page-intro > span {
  padding-top: 12px;
  color: var(--color-pink-dark);
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.page-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.page-intro p {
  max-width: 760px;
  margin-top: 30px;
  color: var(--color-brown-muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

.dark-intro p {
  color: var(--color-text-muted);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 72px 0 110px;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--color-line-light);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.34);
}

.content-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.content-card-body {
  padding: 30px;
}

.content-card-body h2,
.content-card-body h3 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 400;
}

.content-card-body p {
  margin-top: 14px;
  color: var(--color-brown-muted);
  line-height: 1.75;
}

@media (max-width: 800px) {
  :root {
    --header-height: 78px;
    --container: min(100% - 32px, 1680px);
  }

  .page-intro {
    grid-template-columns: 1fr;
    padding: 66px 0 50px;
  }

  .page-intro > span {
    padding-top: 0;
  }

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

/* ========================================
   Our Story page styles
======================================== */

.story-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding: 80px 0 120px;
}

.story-page-image {
  height: 680px;
  overflow: hidden;
  border-radius: 36px;
}

.story-page-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.story-page-image:hover img {
  transform: scale(1.025);
}

.story-page-copy > span {
  color: var(--color-pink);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.story-page-copy h2 {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 6.7rem);
  font-weight: 400;
  line-height: 0.95;
}

.story-page-copy p {
  margin-top: 24px;
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

/* ========================================
   Contact page styles
======================================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 130px);
  padding: 80px 0 120px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
}

.contact-details article {
  min-height: 170px;
  padding: 28px;
  border-right: 1px solid var(--color-line-light);
  border-bottom: 1px solid var(--color-line-light);
}

.contact-details article:nth-child(2n) {
  border-right: 0;
}

.contact-details article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.contact-details span {
  display: block;
  margin-bottom: 18px;
  color: var(--color-pink-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 800;
}

.contact-details a,
.contact-details p {
  color: var(--color-brown);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px;
  border: 1px solid var(--color-line-light);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.36);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-brown-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--color-line-light);
  outline: none;
  color: var(--color-brown);
  background: transparent;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  resize: vertical;
}

.contact-form input {
  height: 54px;
}

.contact-form textarea {
  padding: 15px 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-pink-dark);
}

.contact-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-top: 8px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: var(--color-brown);
  background: var(--color-pink);
  font-weight: 850;
}

.contact-form small {
  color: var(--color-brown-muted);
  line-height: 1.6;
}

/* ========================================
   404 page
======================================== */

.not-found-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 80px;
  text-align: center;
}

.not-found-page > span {
  color: var(--color-pink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.not-found-page h1 {
  max-width: 900px;
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.9;
}

.not-found-page a {
  margin-top: 34px;
  padding: 17px 26px;
  border-radius: 999px;
  color: var(--color-brown);
  background: var(--color-pink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .story-page-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .story-page-image {
    height: 520px;
  }
}

@media (max-width: 580px) {
  .story-page-grid,
  .contact-layout {
    padding: 58px 0 84px;
  }

  .story-page-image {
    height: 390px;
    border-radius: 26px;
  }

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

  .contact-details article,
  .contact-details article:nth-child(2n),
  .contact-details article:nth-last-child(-n + 2) {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-line-light);
  }

  .contact-details article:last-child {
    border-bottom: 0;
  }

  .contact-form {
    padding: 26px 20px;
  }
}

/* ========================================
   Our Story — Light lower section
======================================== */

.story-light-section {
  width: 100%;
  background: #f8f5ef;
  padding: 80px 30px;
  color: #4a2416;
}

.story-light-grid {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 80px;
}

/* Image */

.story-light-image {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  border-radius: 32px;
  background: #e6ddd4;
}

.story-light-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.story-light-image:hover img {
  transform: scale(1.025);
}

/* Content */

.story-light-copy {
  width: 100%;
  max-width: 650px;
}

.story-light-icon {
  position: relative;
  width: fit-content;
  height: 36px;

  display: flex;
  align-items: flex-start;
  gap: 4px;

  margin-bottom: 35px;
}

.story-light-icon span {
  display: block;
  width: 2px;
  height: 23px;
  background: #d65c31;
}

.story-light-icon span:nth-child(2),
.story-light-icon span:nth-child(6) {
  height: 19px;
}

.story-light-icon span:nth-child(3),
.story-light-icon span:nth-child(5) {
  height: 27px;
}

.story-light-icon span:nth-child(4) {
  height: 21px;
}

.story-light-icon::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 8px;
  height: 1px;
  background: #d65c31;
  transform: translateX(-50%);
}

.story-light-copy h2 {
  margin: 0 0 28px;
  color: #482111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 4.5vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -2px;
}

.story-light-copy > p {
  margin: 0 0 23px;
  color: #916b55;
  font-size: 18px;
  line-height: 1.7;
}

.story-light-copy .story-light-signature {
  margin-top: 34px;
  color: #d95e31;
  font-size: 17px;
}

.story-light-signature span {
  margin-left: 6px;
  font-size: 21px;
}

/* Tablet */

@media (max-width: 1100px) {
  .story-light-grid {
    gap: 50px;
  }

  .story-light-image {
    height: 600px;
  }

  .story-light-copy h2 {
    font-size: 54px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .story-light-section {
    padding: 55px 18px;
  }

  .story-light-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .story-light-image {
    height: 500px;
    border-radius: 24px;
  }

  .story-light-copy {
    max-width: 100%;
  }

  .story-light-icon {
    margin-bottom: 25px;
  }

  .story-light-copy h2 {
    font-size: 44px;
    letter-spacing: -1px;
  }

  .story-light-copy > p {
    font-size: 16px;
    line-height: 1.75;
  }
}

@media (max-width: 480px) {
  .story-light-section {
    padding-inline: 15px;
  }

  .story-light-image {
    height: 410px;
    border-radius: 20px;
  }

  .story-light-copy h2 {
    font-size: 38px;
  }
}
/* Static handoff safeguard: off-canvas elements never create horizontal scrolling. */
html,
body {
  overflow-x: clip;
}
