/* Generated from the original Next.js CSS Modules. */

/* ===== src/app/contact/ContactPage.module.css ===== */
/* ========================================
   Contact Section
======================================== */

.contact-contactSection {
  width: 100%;
  padding: 90px 30px 110px;
  overflow: hidden;

  color: #2f241f;

  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(255, 255, 255, 0.82),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(255, 255, 255, 0.42),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #fff8fb 0%,
      #ffeaf3 45%,
      #ffcbe1 100%
    );
}

/* ========================================
   Two-column Layout
======================================== */

.contact-container {
  display: grid;
  grid-template-columns:
    minmax(0, 0.92fr)
    minmax(470px, 1.08fr);
  align-items: start;

  gap: clamp(60px, 7vw, 125px);

  width: min(1420px, 100%);
  margin: 0 auto;
}

/* ========================================
   Left Side — Contact Information
======================================== */

.contact-contactInformation {
  padding: 24px 0 10px;
}

.contact-sectionLabel {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 46px;

  color: #e86799;

  font-size: 12px;
  font-weight: 800;
  line-height: 1;

  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.contact-sparkle {
  color: #39ef9b;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.contact-contactItem {
  display: flex;
  align-items: flex-start;
  flex-direction: column;

  margin-bottom: 34px;
}

.contact-itemLabel {
  display: block;

  margin-bottom: 7px;

  color: rgba(47, 36, 31, 0.58);

  font-size: 15px;
  line-height: 1.5;
}

.contact-mainContactLink {
  color: #111111;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.35vw, 40px);
  font-weight: 400;
  line-height: 1.18;

  text-decoration: none;
  overflow-wrap: anywhere;

  transition:
    color 250ms ease,
    transform 250ms ease;
}

.contact-mainContactLink:hover {
  color: #e86799;
  transform: translateX(5px);
}

.contact-mainContactLink span {
  display: inline-block;
  margin-left: 6px;

  color: #000000;

  transition: transform 250ms ease;
}

.contact-mainContactLink:hover span {
  transform: translate(4px, -4px);
  color: #e86799;
}

.contact-address {
  max-width: 520px;
  margin: 0;

  color: #111111;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2vw, 33px);
  line-height: 1.35;
}

/* ========================================
   Location — Animated Branch House
======================================== */

.contact-locationItem {
  padding-bottom: 10px;
}

.contact-branchHouseLink {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;

  width: fit-content;

  color: inherit;
  text-decoration: none;
}

.contact-miniHouse {
  position: relative;

  display: block;

  width: 125px;
  height: 100px;

  transform-origin: center bottom;

  animation: houseAttention 5s ease-in-out infinite;
}

.contact-houseRoof {
  position: absolute;
  top: 3px;
  left: 50%;
  z-index: 2;

  width: 108px;
  height: 42px;

  background: #ffcbe1;

  clip-path: polygon(
    50% 0,
    100% 78%,
    92% 100%,
    8% 100%,
    0 78%
  );

  transform: translateX(-50%);

  transition:
    transform 0.4s ease,
    background-color 0.4s ease;
}

.contact-houseBuilding {
  position: absolute;
  right: 18px;
  bottom: 11px;
  left: 18px;

  height: 62px;
  overflow: hidden;

  background: #3a261e;

  border-radius: 12px 12px 5px 5px;

  box-shadow: 0 12px 24px rgba(58, 38, 30, 0.16);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-houseDoor {
  position: absolute;
  bottom: 0;
  left: 20px;

  width: 25px;
  height: 40px;

  background: #ffcbe1;

  border-radius: 6px 6px 0 0;
}

.contact-houseWindow {
  position: absolute;
  top: 18px;
  right: 19px;

  width: 28px;
  height: 22px;

  background: #fff8fb;

  border: 3px solid rgba(255, 203, 225, 0.82);
  border-radius: 4px;
}

.contact-houseWindow::before,
.contact-houseWindow::after {
  content: "";

  position: absolute;

  background: rgba(58, 38, 30, 0.3);
}

.contact-houseWindow::before {
  top: 0;
  bottom: 0;
  left: 50%;

  width: 1px;
}

.contact-houseWindow::after {
  top: 50%;
  right: 0;
  left: 0;

  height: 1px;
}

.contact-houseShadow {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  z-index: -1;

  height: 12px;

  background: rgba(58, 38, 30, 0.14);

  border-radius: 50%;

  filter: blur(5px);

  transition: transform 0.4s ease;
}

.contact-branchLinkText {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding-bottom: 5px;

  color: #111111;

  border-bottom: 1px solid currentColor;

  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
}

.contact-branchLinkText span {
  display: inline-block;

  color: #20bd75;

  font-size: 18px;

  transition: transform 0.3s ease;
}

.contact-branchHouseLink:hover .contact-miniHouse {
  animation-play-state: paused;
  transform: translateY(-7px) rotate(-2deg);
}

.contact-branchHouseLink:hover .contact-houseRoof {
  background: #ff9fc3;
  transform: translateX(-50%) translateY(-4px);
}

.contact-branchHouseLink:hover .contact-houseBuilding {
  box-shadow: 0 18px 30px rgba(58, 38, 30, 0.22);
}

.contact-branchHouseLink:hover .contact-houseShadow {
  transform: scaleX(0.82);
}

.contact-branchHouseLink:hover .contact-branchLinkText span {
  transform: translate(4px, -4px);
}

.contact-branchHouseLink:focus-visible {
  outline: 2px solid #e86799;
  outline-offset: 9px;
}

/* ========================================
   Right Side — Toast Board
======================================== */
/* ========================================
   Toast Board — Refined Size
======================================== */

.contact-toastBoard {
  position: relative;

  justify-self: center;

  /* تصغير الصورة */
  width: min(100%, 470px);
  aspect-ratio: 328 / 497;

  overflow: hidden;

  background-image: url("../images/contact/content2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-radius: 25px;

  box-shadow:
    0 26px 62px rgba(89, 46, 31, 0.14),
    0 8px 20px rgba(89, 46, 31, 0.08);
}

/* ========================================
   Content Position

   زيادة left و right تدخل الكلام إلى قلب التوست.
======================================== */

.contact-toastBoardContent {
  position: absolute;

  /* يبدأ أسفل اللوجو المطبوع */
  top: 41%;

  /* إدخال الكلام بعيدًا عن القشرة */
  right: 20%;
  bottom: 5.5%;
  left: 20%;

  display: flex;
  flex-direction: column;

  min-height: 0;

  color: #573428;
}

/* ========================================
   Order Hours Heading
======================================== */

.contact-toastHoursHeader {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-bottom: 11px;

  color: #e86799;
}

.contact-toastHoursHeader svg {
  width: 19px;
  height: 19px;

  flex: 0 0 auto;
}

.contact-toastHoursHeader h2 {
  margin: 0;

  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(21px, 1.65vw, 28px);
  font-weight: 650;
  line-height: 1;

  letter-spacing: 0.065em;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ========================================
   Working Hours
======================================== */

.contact-toastHoursList {
  display: flex;
  flex-direction: column;

  width: 100%;
}

.contact-toastHoursRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;

  gap: 12px;

  min-height: 49px;

  border-bottom: 1px dashed rgba(232, 103, 153, 0.5);

  color: #573428;

  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.2;
}

.contact-toastDay {
  display: flex;
  align-items: center;

  gap: 7px;

  min-width: 0;
}

.contact-toastDay svg {
  width: 15px;
  height: 15px;

  flex: 0 0 auto;

  color: #e86799;
}

.contact-toastDay > span {
  min-width: 0;

  white-space: nowrap;
}

.contact-toastHoursRow strong {
  font-size: inherit;
  font-weight: 700;

  white-space: nowrap;
  text-align: right;
}

/* ========================================
   Features
======================================== */

.contact-toastFeatures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 8px;

  margin-top: 17px;
}

.contact-toastFeature {
  display: flex;
  align-items: center;
  flex-direction: column;

  min-width: 0;

  text-align: center;
}

.contact-toastFeatureIcon {
  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  margin-bottom: 5px;

  color: #e86799;

  border: 1.5px solid rgba(232, 103, 153, 0.65);
  border-radius: 50%;
}

.contact-toastFeatureIcon svg {
  width: 16px;
  height: 16px;
}

.contact-toastFeature p {
  display: flex;
  flex-direction: column;

  gap: 2px;

  margin: 0;
}

.contact-toastFeature strong {
  color: #573428;

  font-size: clamp(7.5px, 0.62vw, 9.5px);
  font-weight: 800;
  line-height: 1.15;
}

.contact-toastFeature p > span {
  color: rgba(87, 52, 40, 0.72);

  font-size: clamp(7px, 0.56vw, 8.5px);
  line-height: 1.15;
}

/* ========================================
   Catering Button
======================================== */

.contact-toastCateringButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  width: fit-content;
  min-height: 39px;

  margin: auto auto 0;
  padding: 0 17px;

  color: #ffffff;
  background: #e86799;

  border-radius: 999px;

  box-shadow: 0 9px 20px rgba(232, 103, 153, 0.22);

  font-size: 10px;
  font-weight: 800;
  text-decoration: none;

  transition:
    transform 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.contact-toastCateringButton > span {
  display: grid;
  place-items: center;

  color: #39ef9b;
}

.contact-toastCateringButton:hover {
  background: #d9578a;

  box-shadow: 0 13px 25px rgba(232, 103, 153, 0.28);

  transform: translateY(-2px);
}

/* ========================================
   Tablet
======================================== */

@media (max-width: 1100px) {
  .contact-container {
    grid-template-columns:
      minmax(0, 0.84fr)
      minmax(410px, 1.16fr);

    gap: 48px;
  }

  .contact-mainContactLink {
    font-size: 29px;
  }

  .contact-toastBoard {
    width: min(100%, 500px);
  }

  .contact-toastBoardContent {
    right: 17%;
    left: 17%;
  }
}

/* ========================================
   Mobile
======================================== */

@media (max-width: 820px) {
  .contact-contactSection {
    padding: 65px 20px 80px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-contactInformation {
    padding: 0;
  }

  .contact-sectionLabel {
    margin-bottom: 36px;
  }

  .contact-contactItem {
    margin-bottom: 29px;
  }

  .contact-mainContactLink {
    font-size: clamp(25px, 7vw, 34px);
  }

  .contact-toastBoard {
    width: min(100%, 500px);
  }
}

/* ========================================
   Small Mobile
======================================== */

@media (max-width: 520px) {
  .contact-contactSection {
    padding-inline: 14px;
  }

  .contact-sectionLabel {
    letter-spacing: 0.25em;
  }

  .contact-itemLabel {
    font-size: 14px;
  }

  .contact-mainContactLink {
    font-size: 25px;
  }

  .contact-address {
    font-size: 24px;
  }

  .contact-toastBoard {
    width: min(100%, 390px);
    border-radius: 20px;
  }

  .contact-toastBoardContent {
    top: 42%;
    right: 17%;
    bottom: 5%;
    left: 17%;
  }

  .contact-toastHoursHeader {
    gap: 5px;
    margin-bottom: 5px;
  }

  .contact-toastHoursHeader h2 {
    font-size: clamp(14px, 4.7vw, 18px);
  }

  .contact-toastHoursHeader svg {
    width: 13px;
    height: 13px;
  }

  .contact-toastHoursRow {
    min-height: 34px;
    gap: 5px;

    font-size: clamp(7px, 2.15vw, 9px);
  }

  .contact-toastDay {
    gap: 4px;
  }

  .contact-toastDay svg {
    width: 10px;
    height: 10px;
  }

  .contact-toastFeatures {
    gap: 3px;
    margin-top: 8px;
  }

  .contact-toastFeatureIcon {
    width: 22px;
    height: 22px;

    margin-bottom: 2px;
  }

  .contact-toastFeatureIcon svg {
    width: 11px;
    height: 11px;
  }

  .contact-toastFeature strong {
    font-size: 5.8px;
  }

  .contact-toastFeature p > span {
    font-size: 5.3px;
  }

  .contact-toastCateringButton {
    min-height: 30px;
    padding: 0 12px;

    font-size: 7.5px;
  }
}

/* ========================================
   Very Small Mobile
======================================== */

@media (max-width: 390px) {
  .contact-toastBoardContent {
    top: 41%;
    right: 16%;
    bottom: 4.5%;
    left: 16%;
  }

  .contact-toastHoursHeader h2 {
    font-size: 14px;
  }

  .contact-toastHoursRow {
    min-height: 31px;
    font-size: 7px;
  }

  .contact-toastFeatures {
    margin-top: 6px;
  }

  .contact-toastFeatureIcon {
    width: 20px;
    height: 20px;
  }

  .contact-toastCateringButton {
    min-height: 28px;
    font-size: 7px;
  }
}

/* ========================================
   House Attention Animation
======================================== */

@keyframes houseAttention {
  0%,
  68%,
  100% {
    transform: translateY(0) rotate(0);
  }

  72% {
    transform: translateY(-4px) rotate(-3deg);
  }

  76% {
    transform: translateY(-7px) rotate(3deg);
  }

  80% {
    transform: translateY(-4px) rotate(-2deg);
  }

  84% {
    transform: translateY(0) rotate(0);
  }
}

/* ========================================
   Reduced Motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  .contact-miniHouse {
    animation: none;
  }

  .contact-mainContactLink,
  .contact-branchHouseLink *,
  .contact-toastCateringButton {
    transition: none;
  }
}

/* ========================================
   Final Toast Board Adjustment
======================================== */

.contact-toastBoard {
  /* تصغير الصورة قليلًا */
  width: min(100%, 440px) !important;
}

/* إدخال المحتوى بعيدًا عن القشرة */
.contact-toastBoardContent {
  top: 40.5% !important;
  right: 22% !important;
  bottom: 4.5% !important;
  left: 22% !important;
}

/* ========================================
   Order Hours Title
======================================== */

.contact-toastHoursHeader {
  gap: 9px !important;
  margin-bottom: 12px !important;
}

.contact-toastHoursHeader h2 {
  font-size: clamp(23px, 1.8vw, 30px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.055em !important;
  white-space: nowrap !important;
}

.contact-toastHoursHeader svg {
  width: 20px !important;
  height: 20px !important;
}

/* ========================================
   Days And Times
======================================== */

.contact-toastHoursRow {
  min-height: 51px !important;
  gap: 12px !important;

  font-size: clamp(12px, 0.95vw, 15px) !important;
  line-height: 1.2 !important;
}

.contact-toastDay {
  gap: 7px !important;
}

.contact-toastDay svg {
  width: 15px !important;
  height: 15px !important;
}

.contact-toastDay > span {
  white-space: nowrap !important;
}

.contact-toastHoursRow strong {
  font-size: inherit !important;
  font-weight: 750 !important;
}

/* ========================================
   Bottom Features
======================================== */

.contact-toastFeatures {
  gap: 9px !important;
  margin-top: 18px !important;
}

.contact-toastFeatureIcon {
  width: 36px !important;
  height: 36px !important;

  margin-bottom: 6px !important;

  border-width: 1.5px !important;
}

.contact-toastFeatureIcon svg {
  width: 17px !important;
  height: 17px !important;
}

.contact-toastFeature strong {
  font-size: 9px !important;
  line-height: 1.2 !important;
}

.contact-toastFeature p > span {
  font-size: 12px !important;
  line-height: 1.2 !important;
}

/* ========================================
   Catering Button
======================================== */

.contact-toastCateringButton {
  min-height: 40px !important;

  padding: 0 18px !important;

  font-size: 10px !important;
}

/* ========================================
   Mobile
======================================== */

@media (max-width: 520px) {
  .contact-toastBoard {
    width: min(90%, 340px) !important;
  }

  .contact-toastBoardContent {
    top: 40.5% !important;
    right: 20.5% !important;
    bottom: 4.5% !important;
    left: 20.5% !important;
  }

  .contact-toastHoursHeader {
    gap: 6px !important;
    margin-bottom: 8px !important;
  }

  .contact-toastHoursHeader h2 {
    font-size: clamp(17px, 5.2vw, 21px) !important;
  }

  .contact-toastHoursHeader svg {
    width: 15px !important;
    height: 15px !important;
  }

  .contact-toastHoursRow {
    min-height: 39px !important;
    gap: 6px !important;

    font-size: clamp(8.5px, 2.55vw, 10.5px) !important;
  }

  .contact-toastDay {
    gap: 4px !important;
  }

  .contact-toastDay svg {
    width: 11px !important;
    height: 11px !important;
  }

  .contact-toastFeatures {
    gap: 4px !important;
    margin-top: 11px !important;
  }

  .contact-toastFeatureIcon {
    width: 27px !important;
    height: 27px !important;

    margin-bottom: 3px !important;
  }

  .contact-toastFeatureIcon svg {
    width: 13px !important;
    height: 13px !important;
  }

  .contact-toastFeature strong {
    font-size: 6.8px !important;
  }

  .contact-toastFeature p > span {
    font-size: 6.2px !important;
  }

  .contact-toastCateringButton {
    min-height: 32px !important;

    padding: 0 13px !important;

    font-size: 8px !important;
  }
}
/* ========================================
   Make Order Hours Text Bold
======================================== */

.contact-toastHoursRow {
  color: #4a281e !important;
  font-weight: 700 !important;
}

.contact-toastDay > span {
  font-weight: 700 !important;
}

.contact-toastHoursRow strong {
  color: #3b1f17 !important;
  font-weight: 800 !important;
}
