:root {
  --cream: #f4efe4;
  --paper: #fffdf8;
  --matcha: #758069;
  --dark: #3f4938;
  --ink: #263024;
  --muted: #74796f;
  --line: rgba(77, 91, 66, 0.16);
  --shadow: 0 24px 70px rgba(51, 61, 44, 0.13);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.navbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(1160px, calc(100% - 28px));
  height: 72px;
  margin: 14px auto 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(55, 67, 47, 0.08);
}
.brand {
  height: 42px;
  width: 115px;
  display: flex;
  align-items: center;
  direction: ltr;
}
.brand img {
  display: block;
  width: 148%;
  height: 397%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--matcha);
}
.nav-button,
.hero-button,
.submit-button,
.modal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 13px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}
.nav-button {
  padding: 10px 18px;
  font-size: 13px;
}
.nav-button:hover,
.hero-button:hover,
.submit-button:hover,
.modal-button:hover {
  background: #293124;
  transform: translateY(-2px);
}
.hero {
  position: relative;
  width: min(1160px, calc(100% - 28px));
  height: min(720px, 78vh);
  min-height: 560px;
  margin: 22px auto 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 33, 23, 0.7) 0%,
    rgba(32, 41, 29, 0.35) 42%,
    rgba(20, 26, 18, 0.04) 72%
  );
}
.hero-content {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: min(470px, 80%);
  direction: ltr;
  text-align: left;
  color: #fff;
}

.hero-content p {
  direction: rtl;
  text-align: left;
  margin: 5px 0 28px;
  font-size: 18px;
  letter-spacing: 0.3px;
}
.hero-button {
  direction: rtl;
  padding: 14px 24px;
  font-weight: 700;
  background: rgba(255, 253, 248, 0.94);
  color: var(--dark);
}
.hero-button svg {
  width: 20px;
  height: 20px;
}
.hero-button:hover {
  color: #fff;
}
.booking {
  width: min(960px, calc(100% - 28px));
  margin: 95px auto;
}
.booking-title {
  text-align: center;
  margin-bottom: 34px;
}
.booking-title span,
.contact-heading span {
  font-size: 13px;
  color: var(--matcha);
  font-weight: 800;
}
.booking-title h1,
.contact-heading h2 {
  margin: 4px 0;
  font-size: clamp(30px, 4vw, 45px);
}
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  background: var(--paper);
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.field-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.field-title svg {
  width: 19px;
  height: 19px;
  color: var(--matcha);
}
input,
select {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #deddd5;
  border-radius: 13px;
  outline: 0;
  background: #fbfaf5;
  color: var(--ink);
  transition: 0.2s;
}
input:focus,
select:focus {
  border-color: var(--matcha);
  box-shadow: 0 0 0 4px rgba(117, 128, 105, 0.12);
}
.calendar-field {
  grid-column: 1/-1;
}
.persian-date {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
  gap: 10px;
}
.submit-button {
  grid-column: 1/-1;
  height: 54px;
  margin-top: 4px;
  font-weight: 800;
  font-size: 15px;
}
.submit-button svg {
  width: 21px;
  height: 21px;
}
.contact {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto 70px;
  padding: 50px;
  background: var(--dark);
  border-radius: 32px;
  color: #fff;
}
.contact-heading {
  text-align: center;
  margin-bottom: 30px;
}
.contact-heading span {
  color: #cdd5c6;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-card {
  min-height: 160px;
  padding: 25px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.055);
  transition: 0.25s;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.icon-box {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--dark);
}
.icon-box svg {
  width: 23px;
  height: 23px;
}
.contact-card small {
  opacity: 0.65;
}
.contact-card strong {
  margin-top: 3px;
  font-size: 15px;
}
footer {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
}
footer p {
  margin: 0;
}
footer a {
  direction: ltr;
  font-weight: 600;
  color: var(--dark);
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 35, 25, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}
.modal.show {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 36px 28px 28px;
  text-align: center;
  background: var(--paper);
  border-radius: 27px;
  transform: translateY(15px) scale(0.97);
  transition: 0.25s;
}
.modal.show .modal-card {
  transform: none;
}
.close-modal {
  position: absolute;
  left: 15px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 29px;
  color: var(--muted);
  cursor: pointer;
}
.success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--matcha);
  color: #fff;
}
.success-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.3;
}
.modal-card h3 {
  margin: 0 0 7px;
  font-size: 24px;
}
.modal-card p {
  margin: 0 0 22px;
  color: var(--muted);
}
.modal-button {
  min-width: 145px;
  padding: 11px 20px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .hero {
    height: 650px;
  }
  .hero-photo {
    object-position: 58% center;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      rgba(27, 35, 24, 0.82) 0%,
      rgba(34, 43, 31, 0.35) 55%,
      rgba(0, 0, 0, 0.02) 100%
    );
  }
  .hero-content {
    left: 50%;
    top: auto;
    bottom: 48px;
    transform: translateX(-50%);
    width: 82%;
    text-align: center;
  }
  .hero-logo {
    width: 280px;
    object-position: center;
  }
  .hero-content p {
    text-align: center;
  }
  .booking-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .field,
  .calendar-field,
  .submit-button {
    grid-column: 1;
  }
  .contact {
    padding: 38px 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .navbar {
    height: 64px;
    padding: 0 10px;
  }
  .brand {
    width: 90px;
  }
  .nav-button {
    padding: 9px 12px;
  }
  .hero {
    min-height: 580px;
    height: 68vh;
    border-radius: 25px;
  }
  .hero-content {
    bottom: 35px;
  }
  .hero-logo {
    width: 235px;
  }
  .hero-content p {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .booking {
    margin: 72px auto;
  }
  .persian-date {
    grid-template-columns: 0.7fr 1.35fr 1fr;
    gap: 6px;
  }
  .persian-date select {
    padding: 0 8px;
    font-size: 13px;
  }
}

/* Final requested updates */
.brand img {
  filter: brightness(0);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-content .hero-button {
  margin-top: 0;
}
.calendar {
  background: #fbfaf5;
  border: 1px solid #deddd5;
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
}
.calendar-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.calendar-header strong {
  text-align: center;
  font-size: 15px;
  color: var(--dark);
}
.calendar-header button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(117, 128, 105, 0.12);
  color: var(--dark);
  font-size: 26px;
  cursor: pointer;
  transition: 0.2s;
}
.calendar-header button:hover {
  background: var(--matcha);
  color: #fff;
}
.weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.weekdays {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.calendar-day {
  aspect-ratio: 1;
  min-height: 38px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s;
}
.calendar-day:hover:not(:disabled) {
  background: rgba(117, 128, 105, 0.15);
}
.calendar-day.selected {
  background: var(--dark);
  color: #fff;
  font-weight: 800;
}
.calendar-day.today {
  box-shadow: inset 0 0 0 1.5px var(--matcha);
}
.calendar-day:disabled {
  opacity: 0.24;
  cursor: not-allowed;
}
.calendar-day.empty {
  visibility: hidden;
}
.selected-date {
  margin-top: 9px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(117, 128, 105, 0.08);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
footer {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dark);
  font-weight: 600;
}
.footer-location svg {
  width: 18px;
  height: 18px;
  color: var(--matcha);
}
@media (max-width: 760px) {
  .hero-content {
    align-items: center;
  }
  .calendar {
    padding: 12px;
  }
  .calendar-day {
    min-height: 34px;
  }
  footer {
    flex-direction: column;
  }
  .footer-location {
    justify-content: center;
  }
}

/* Requested: larger navbar logo, click-to-open calendar, Instagram footer link */
.navbar {
  height: 82px;
}
.brand {
  width: 158px;
  height: 58px;
  flex-shrink: 0;
}
.date-input-wrap {
  position: relative;
  cursor: pointer;
}
.date-input-wrap input {
  padding-left: 48px;
  cursor: pointer;
  background: #fbfaf5;
}
.date-input-wrap svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 21px;
  color: var(--matcha);
  pointer-events: none;
}
.calendar[hidden] {
  display: none;
}
.calendar {
  margin-top: 10px;
  animation: calendarOpen 0.2s ease;
}
@keyframes calendarOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  direction: ltr;
}
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dark);
  font-weight: 700;
  direction: rtl;
}
.instagram-link svg {
  width: 20px;
  height: 20px;
  color: var(--matcha);
}
.designer-credit {
  font-weight: 600;
  color: var(--dark);
  direction: ltr;
}
@media (max-width: 760px) {
  .navbar {
    height: 74px;
  }
  .brand {
    width: 132px;
    height: 52px;
  }
  .footer-links {
    flex-direction: column;
    gap: 7px;
  }
}
@media (max-width: 480px) {
  .navbar {
    height: 70px;
  }
  .brand {
    width: 120px;
    height: 48px;
  }
}
