/* Base variables */
:root {
  --bg-main: #faf7f2;
  --bg-light: #ffffff;
  --bg-accent-soft: #f0e9d2;
  --border-soft: #e6e1d9;
  --text-main: #262626;
  --text-muted: #525252;
  --accent: #977014;
  --accent-dark: #977014;
  --shadow-soft: 0 2px 6px rgb(0 0 0 / 0.05);
  --shadow-medium: 0 8px 20px rgb(0 0 0 / 0.08);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.18s ease;
  --focus-ring: 0 0 0 3px rgba(199, 165, 103, 0.18);
}

/* html, body {
  max-width: 100vw; 
} */

/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  position: relative;
  min-height: 100%;
}

/* Keyboard focus styles for accessibility */
:where(a, button, input, select, textarea) {
  outline: none;
}

:where(
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible
  ) {
  box-shadow: var(--focus-ring);
  border-color: var(--accent);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout helpers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6rem 0 4rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(249, 245, 240, 0.97);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: padding 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
  padding: 0.9rem 0;
}

.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
  background-color: rgba(249, 245, 240, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--text-main);
}

.logo span {
  margin-left: 15px;
  color: var(--accent);
}

.logo .circle,
.footer-logo .circle {
  background-color: var(--accent);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-size: 1.1rem;
  user-select: none;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

/* Navigation */
.main-nav {
  font-family: "Playfair Display", serif;
  display: flex;
  gap: 1.5rem;
  /* font-weight: 600; */
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  color: var(--text-main);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  font-family: "Playfair Display", serif;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 220px;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  padding: 0.5rem;
  display: none;
  z-index: 1001;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--bg-accent-soft);
  color: var(--accent);
}

/* Quote button */
.btn-quote {
  background-color: var(--text-main);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
  font-family: "Playfair Display", serif;
}

.btn-quote:hover {
  background-color: var(--accent);
}

.btn-quote:active {
  transform: scale(0.97);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  margin: 4px 0;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(2px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  color: var(--text-main);
  padding: 6rem 1rem 4.5rem;
  text-align: center;
  font-family: "Playfair Display", serif;

  min-height: calc(100vh - 30px);
  /* slideshow styling */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1.4s ease-in-out;

  /* keep images soft and luxury */
  filter: grayscale(50%);
}

.service-area-page .hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(229, 220, 209, 0.4),
    rgba(249, 245, 240, 0.98)
  );
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, 1),
    0 0 56px rgba(255, 255, 255, 0.9), 0 0 90px rgba(255, 255, 255, 0.8);
}

.preorder {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background-color: rgba(255, 255, 255, 0.488);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, 1),
    0 0 56px rgba(255, 255, 255, 0.9), 0 0 90px rgba(255, 255, 255, 0.8);
}

.hero .highlight {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, 1),
    0 0 56px rgba(255, 255, 255, 0.9), 0 0 90px rgba(255, 255, 255, 0.8);
}

.hero p {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  font-weight: 100;
  color: var(--text-muted);
  text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, 1),
    0 0 56px rgba(255, 255, 255, 0.9), 0 0 90px rgba(255, 255, 255, 0.8);
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  min-width: 150px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.688);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  color: #fff;
}

.btn-tertiary {
  background-color: rgba(255, 255, 255, 0.655);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-tertiary:hover {
  background-color: #25d366;
  color: #fff;
}

.btn-primary:active,
.btn-secondary:active,
.btn-tertiary:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}

.location {
  font-size: 0.9rem;
  color: black;
  font-weight: 500;
  margin-top: 3rem;
  text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, 1),
    0 0 56px rgba(255, 255, 255, 0.9), 0 0 90px rgba(255, 255, 255, 0.8);
}

/* Section titles */
.section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin: 0 0 0.25rem;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  /* font-weight: 100; */
}

/* Services */
.services {
  max-width: 900px;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  color: var(--text-main);
  transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  /* box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
  border-color: var(--accent);
  outline: none; */
}

.service-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-family: "Playfair Display", serif;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Menu & Packages */
.menu-packages {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6),
    rgba(249, 245, 240, 1)
  );
}

.menu-packages .container {
  max-width: 900px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.package-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* .package-card:hover {
  box-shadow: var(--shadow-medium);
  transform: scale(1.02);
} */

.package-card.reveal:hover {
  transform: scale(1.02);
}

.card-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.card-inner:hover {
  box-shadow: var(--shadow-soft);
  transform: scale(1.02);
}

/* FRONT */
.card-front,
.card-back {
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;

  padding: 1.5rem 1.5rem 1.25rem;
  backface-visibility: hidden;
  overflow: hidden;
}

/* FRONT normal card */
.card-front {
  background: var(--bg-light);
  z-index: 2;
}

/* BACK = video side */
.card-back {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0%;
  display: none;
}

.card-video {
  /* width: 100%; */
  /* height: 100%; */
  object-fit: cover;
  opacity: 1;
}

/*....*/

.package-header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.package-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.package-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag {
  background-color: var(--bg-accent-soft);
  color: var(--accent);
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
}

.tag.outline {
  background-color: transparent;
  border: 1.5px solid var(--accent);
}

.package-price {
  font-weight: 100;
  font-size: 1rem;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
  min-width: 80px;
  font-family: Arial, Helvetica, sans-serif;
}

.package-price small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.package-list {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  list-style: none;
}

.package-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.package-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.package-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.5rem auto 0;
  text-align: center;
}

/* Gallery */
.gallery .container {
  max-width: 900px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.gallery-item {
  background-color: #ddd;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item--img::after {
  content: "View";
  position: absolute;
  inset: auto 0 0 0;
  text-align: center;
  padding: 0.3rem 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item--video:hover img,
.gallery-item--img:hover img {
  transform: scale(1.3);
  filter: brightness(1);
}

.gallery-item--img:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ویدیو — enable overlay */
.gallery-item--video {
  position: relative;
}

/* overlay تاریک روی thumbnail */
.gallery-item--video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.55)
  );
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* دکمهٔ گرد Play */
.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* مثلث سفید وسط دکمه */
.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px; /* کمی متمایل به راست */
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

/* Testimonials / Google Reviews Section */
.testimonials {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), var(--bg-main));
}

.testimonials-inner {
  max-width: 980px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.testimonials-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.testimonials-header p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.testimonials-google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: #0040a8;
  font-weight: 100;
}

.testimonials-google-link::before {
  content: "★";
  font-family: "Font Awesome 5 Brands";
  /* font-weight: 200; */
  font-size: 1rem;
  color: #f4b400;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.testimonials-viewport {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.testimonials-track {
  position: relative;
}

.review-card {
  display: none;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(40px) scale(0.98);
}

.review-card.active {
  display: block;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.review-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stars {
  color: #f4b400;
  font-size: 1rem;
  letter-spacing: 0.1rem;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
  color: var(--text-main);
}

.reviewer {
  font-weight: 200;
  color: var(--accent);
}

.testimonials-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background-color: var(--bg-light);
  box-shadow: var(--shadow-soft);
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.testimonials-nav:hover {
  transform: translateY(-2px);
  background-color: #fff5e0;
}

.testimonials-nav:active {
  transform: translateY(0);
}

.testimonials-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #d6c7ae;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.review-dot.active {
  transform: scale(1.2);
  background-color: var(--accent);
}

@media (max-width: 768px) {
  .testimonials {
    padding: 4rem 1rem;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .testimonials-nav {
    justify-self: center;
  }

  .review-text {
    font-size: 1rem;
  }
}

/* About */
.about .container {
  max-width: 700px;
  text-align: center;
}

.about p {
  margin: 0 0 0.9rem;
  font-size: 0.98rem;
  color: var(--text-main);
}

.about-highlight {
  margin-top: 1.1rem;
  font-weight: 500;
  color: var(--accent);
}

/* FAQ */
.faq .container {
  max-width: 700px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  background-color: var(--bg-main);
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
  border: none;
  width: 100%;
  text-align: left;
  font-family: "Playfair Display", serif;
}

.faq-question:hover {
  background-color: #eee4d7;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  font-size: 0.8rem;
  color: rgb(133, 133, 133);
  line-height: 1.4;
  transition: max-height 0.25s ease, padding 0.25s ease;
  font-family: "Roboto", sans-serif;
}

.faq-answer.open {
  padding: 0.9rem 1.25rem 1rem;
  max-height: 200px;
}

.faq-icon {
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

/* Contact / Quote */
.request-quote .container {
  max-width: 900px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.6rem;
  width: 100%;
  max-width: 100%;
  text-align: center;
  box-shadow: var(--shadow-soft);
  color: var(--text-main);
  font-weight: 500;
}

.contact-card i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.contact-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
  font-weight: 400;
}

/* Form */
form {
  background-color: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.6rem;
  box-shadow: var(--shadow-soft);
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 1 100%;
}

label,
legend {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(191, 165, 106, 0.25);
}

textarea {
  min-height: 80px;
}

.radio-group label {
  font-weight: 200;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-main);
}

.checkbox-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  cursor: pointer;
}

.submit-btn {
  background-color: var(--text-main);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 300;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  margin: 1.2rem auto 0;
  display: block;
  transition: background-color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease;
  box-shadow: var(--shadow-medium);
}

.submit-btn:hover {
  background-color: var(--accent-dark);
}

.submit-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.18);
}

/* Form errors & messages */
.field-error {
  min-height: 1.1em;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.2rem;
}

.input-error {
  border-color: #c0392b !important;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-message.success {
  display: block;
  background-color: #eafaf1;
  color: #1e7e34;
  border: 1px solid #b6e6c7;
}

.form-message.error {
  display: block;
  background-color: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.checkbox-error {
  display: block;
}

/* MAP */

.mapContainer {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.map-inner {
  position: relative;
  border-radius: 15px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 1px;
  overflow: hidden;
}

.map-inner iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65)),
    url("assets/images/hero/01.png") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}

.map-placeholder-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.95rem;
}

.map-placeholder-text strong {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.map-load {
  background-color: #fff;
  color: #1f1f1f;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-load:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Footer */
.site-footer {
  background-color: var(--text-main);
  color: var(--bg-main);
  font-size: 0.9rem;
  padding: 2rem 1rem 1.2rem;
  /* font-family: 'Playfair Display', serif; */
}

.footer-col .logoName {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--bg-main);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-logo span {
  color: var(--accent);
  padding-left: 10px;
}
.footer-logo img {
  opacity: 0.6;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #bfbfbf;
  margin-top: 0.5rem;
}

.site-footer h3 {
  font-weight: 300;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.site-footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 0.3rem;
  /* font-weight: 100; */
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #bfbfbf;
  margin-top: 1rem;
  font-family: "Roboto", sans-serif;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background-color: #000;
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.4);
}

.lightbox-image,
.lightbox-content video {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.menu-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}

.menu-modal.open {
  display: flex;
}

.menu-modal-panel {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: #111111c7;
  border-radius: 20px;
  padding: 2rem 2.25rem 2.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  color: #f5f5f5;
}

.menu-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.menu-detail {
  display: none;
}

.menu-detail.active {
  display: block;
}

.menu-detail-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0 0 0.25rem;
  color: white;
}

.menu-detail-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #d0d0d094;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.menu-detail-photos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.menu-detail-photos img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--accent);
}

/* جدول منو */
.menu-detail-table {
  border-radius: 14px;
  background: rgba(30, 30, 30, 0.762);
  border: 2px solid var(--accent);
  /* rgba(255, 255, 255, 0.08); */
  overflow: hidden;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.menu-detail-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 0.9fr;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.menu-detail-row:nth-child(odd):not(.menu-detail-row--head) {
  background: rgba(255, 255, 255, 0.088);
}

.menu-detail-row--head {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  background: linear-gradient(90deg, var(--accent), #c5ac7f);
  color: #111;
}

.menu-detail-row span:last-child {
  text-align: right;
}

@media (max-width: 600px) {
  .menu-modal-panel {
    padding: 1.5rem 1.25rem 2rem;
  }
  .menu-detail-row {
    grid-template-columns: 1.8fr 1fr 0.8fr;
    padding-inline: 0.75rem;
  }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .site-header {
    padding: 0.7rem 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(249, 245, 240, 0.98);
    padding: 0.75rem 0 1rem;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    margin-top: 0.5rem;
  }

  /* .location {
    display: none;
  } */

  /* .hero-contentP {
    display: none;
  } */

  .hero {
    height: calc(100vh - 80px);
    padding: 10px;
  }
  .hero-content {
    padding-top: auto;
  }

  .hero-content {
    padding-top: 100px;
  }

  .btn-icon {
    font-weight: 600;
    padding: 0px;
    min-width: 50px;
    min-height: 50px;
  }

  .btn-icon span {
    display: none;
  }

  /* .preorder {
    display: none;
  } */

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: auto;
    min-height: auto; /* ارتفاع معمولی */
  }

  .btn-quote {
    display: none;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 4rem auto;
    padding: 0 1rem;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: auto;
    min-height: auto; /* ارتفاع معمولی */
  }

  .section {
    padding: 3rem 0 2.5rem;
  }

  form {
    padding: 1.5rem 1.25rem 1.2rem;
  }

  .contact-card {
    width: 100%;
  }

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

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

  .hero p {
    font-size: 1rem;
  }
}

/* Terms Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}

.modal.open {
  display: flex;
}

.modal-panel {
  background: #fff;
  color: #333;
  width: 100%;
  max-width: 600px;
  border-radius: 14px;
  padding: 1.8rem 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 0.6rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}

.modal-content {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.terms-link {
  font-size: 0.85rem;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

/* ====== Background stars ====== */

.bg-star {
  position: fixed;
  width: 50px; /* سایز PNG – تغییر آزاد */
  height: 50px;
  background-image: url("assets/hero/star.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation-name: twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));

  z-index: 2;
}

/* انیمیشن چشمک‌زدن / ظاهر شدن */
@keyframes twinkle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
}
