/* ===== CSS Reset & Base Styles ===== */
:root {
  --primary-color: #000000;
  --secondary-color: #d4a76a;
  --light-bg: #f9f5f0;
  --card-bg: #ffffff;
  --text-dark: #000000;
  --text-light: #00000074;
  --accent-color: #e63946;
  --shadow: 0 10px 30px rgb(0, 0, 0);
  --radius: 20px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}


h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  color: #ccc;
  margin-bottom: 50px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.hero-text h1 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* کوچکتر و شکیل */
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow,) ;
  height: 155px;
  position: relative;
  background: linear-gradient(rgb(108, 71, 2), rgba(156, 151, 151, 0.6))
}

p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1.1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.btn {

  padding: 16px 32px;
  background-color: #654202;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(123, 63, 0, 0.2);
}

/* ===== Header / Navbar ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links .dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu li a {
  padding: 10px 20px;
  color: var(--text-dark);
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: var(--secondary-color);
  color: white;
}

.dropdown-menu li.dropdown-province-heading {
  padding: 12px 20px 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 8px;
  pointer-events: none;
  cursor: default;
}

.dropdown-menu li.dropdown-province-heading:first-child {
  border-top: none;
  margin-top: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: auto; /* let height constrain size when text is present */
  max-height: 60px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  z-index: 999;

  /* اضافه شده برای اسکرول */
  max-height: 400px; /* حداکثر ارتفاع منو */
  overflow-y: auto; /* فعال کردن اسکرول عمودی */
  scrollbar-width: thin; /* برای فایرفاکس */
  scrollbar-color: var(--secondary-color) #f1f1f1; /* رنگ اسکرول */
}

/* استایل اسکرول برای مرورگرهای وب کیت (Chrome, Edge, Safari) */
.nav-links .dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.nav-links .dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.nav-links .dropdown-menu::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
}

/* ===== Hero Section ===== */
.hero {
  padding-top: 150px;
  background: linear-gradient(135deg, var(--light-bg) 0%, #f1e9e0 100%);
  background-image: url(images/img2.jpg);
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text p {
  text-align: center;
  font-size: 25px;
  margin-bottom: 50px;
  max-width: 500%;
  color: #fffafa;
   border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow,) ;
  background: linear-gradient(rgba(108, 71, 2, 0.778), rgba(156, 151, 151, 0.6))
}



/* ===== Products Section ===== */
.products {
  background-color: var(--light-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-img {
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  width: 100%;
}

.product-name {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.product-weight {
  padding: 6px 15px;
  background-color: var(--light-bg);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.add-to-cart {
  padding: 14px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.add-to-cart:hover {
  background-color: var(--secondary-color);
}

/* ===== Product Details Section ===== */
.product-details {
  background-color: #ffffff;
}

.detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 500px;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h3 {
  margin-bottom: 15px;
}

.detail-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
  color: var(--primary-color);
}

.detail-meta {
  display: flex;
  gap: 15px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.detail-tag {
  padding: 8px 20px;
  background-color: var(--light-bg);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== About Section ===== */
.about {
  background-color: var(--light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 500px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: center;
}
.about-title{
  text-align: center;
  padding-top: 5%;
}

/* ===== Brew Guide Section ===== */
.brew-guide {
  background-color: #ffffff;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-icon {
  width: 70px;
  height: 70px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  color: var(--primary-color);
}

/* ===== Reviews Section ===== */
.reviews {
  background-color: var(--light-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.reviewer-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.review-rating {
  color: #ffc107;
  font-size: 1.1rem;
}

.review-text {
  color: var(--text-light);
  font-style: italic;
}

/* ===== Footer ===== */
footer {
  background-color: var(--text-dark);
  color: rgb(255, 255, 255);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-about p {
  color: #cccccc;
  margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 25px;
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999999;
  font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .hero-content,
  .detail-container,
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-image,
  .detail-image,
  .about-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  section {
    padding: 70px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 14px 28px;
  }

  .products-grid,
  .guide-steps,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.893), rgba(80, 64, 0, 0.55)),
    url("images/back.jpeg");
  background-attachment: fixed;
  color: #fff;
  
}



.cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
}

.city {
  background: rgba(140, 140, 140, 0.55);
  padding: 15px;
  border-radius: 20px;
  text-align: center;
}



.city video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.city video.video-unavailable {
  background: #111;
  outline: 1px solid rgba(255, 255, 255, 0.2);
}




/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}



@keyframes bounce {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.3) translateY(-10px);
  }
  100% {
    transform: scale(1.2) translateY(-5px);
  }
}



@media (max-width: 768px) {
  .quick-contact {
    display: none;
  }
}


/* Mobile view */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    transition: right 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .dropdown-menu {
    position: static;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px; /* ارتفاع منو وقتی باز است */
  }
}
.about-title {
  color: #000000; /* رنگ مشکی */
  font-family: "Poppins", sans-serif; /* فونت */
  font-weight: 700; /* ضخامت متن */
  font-size: 2.5rem; /* اندازه متن */
  text-align: center; /* وسط چین */
  margin-bottom: 40px; /* فاصله پایین */
}
.registration-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #000000;
  font-size: 1rem;
  transition: 0.3s;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.registration-form button {
  width: 100%;
  padding: 16px;
  border-radius: 50px;
  border: none;
  background-color: var(--primary-color);
  color: rgb(135, 97, 0);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.registration-form button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  color: #000; /* رنگ متن مشکی */
  background-color: #fff; /* پس‌زمینه روشن */
}

.registration-form h2,
.about-title {
  color: #000000; /* مشکی */
}
.registration-form input::placeholder,
.registration-form textarea::placeholder,
.registration-form select::placeholder {
  color: #666; /* خاکستری تیره برای قابل خواندن */
}

.quick-contact {
  position: fixed;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 50px;
  z-index: 1000;
}



/* Tooltip اطلاعات */
.contact-info-tooltip {
  position: absolute;
  bottom: 60px; /* بالای تصویر */
  left: 50%;
  top: 50%;
  right: 100px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, 0.8);
  color: #fff; /* متن سفید */
  padding: 15px 20px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  width: 180px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* متن داخل tooltip */
.contact-info-tooltip p {
  margin-top: -7%;
  margin-right: -52;
  color: #fff;
  font-weight: 500;
  
}

/* برای موبایل */
@media (max-width: 768px) {
  .quick-contact {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }

}

@media (max-width: 768px) {
  .quick-contact {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    right: auto; /* برای موبایل کنار صفحه نباشد */
  }
}

/* ===== Hotel Rooms Section ===== */
.hotel-info p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-top: 15px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.room-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.room-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
}

.room-card h3 {
  margin-top: 15px;
  color: var(--primary-color);
}

.room-card p {
  color: var(--text-light);
  margin-top: 10px;
}

.room-card .room-price {
  margin-top: 15px;
  font-size: 1.2rem;
  color: var(--secondary-color);
  font-weight: bold;
}

.room-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

footer .copyright {
  text-decoration-color: #f1e9e0;
  color: #ffffff; /* رنگ متن سفید */
  text-align: center; /* وسط چین کردن متن */
  font-size: 0.9rem; /* اندازه متن */
  padding: 15px 0; /* فاصله بالا و پایین */
  border-top: 1px solid rgba(255, 255, 255, 0.3); /* خط جداکننده کم‌رنگ */
}
.text-box {
  width: 90%;
  max-width: 500px;
  max-height: 60hv; /*از صفحه خارج نمی شود*/
  overflow-y: hidden;
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  line-height: 1.9;
}
.text-box h3 {
  margin-top: 0;
  text-align: center;
  color: #000;
}
.text-box p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.media-box img {
  width: 100%;
  margin-top: 10px;
  border-radius: 10px;
}
.scroll-text {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}
.text-part {
  display: inline;
  line-height: 1.9;
  font-size: 15px;
  color: #333;
  text-align: justify;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.center img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== Province Checkboxes Styling ===== */
.province-label {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  margin-top: 10px;
}

.province-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 15px 0;
  padding: 20px;
  background-color: var(--card-bg);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  max-height: 350px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
}

.province-checkboxes:hover {
  border-color: var(--secondary-color);
}

.province-checkboxes::-webkit-scrollbar {
  width: 8px;
}

.province-checkboxes::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.province-checkboxes::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.province-checkboxes::-webkit-scrollbar-thumb:hover {
  background-color: #b8955a;
}

.province-checkbox-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  user-select: none;
}

.province-checkbox-item:hover {
  background-color: var(--light-bg);
  transform: translateX(5px);
}

.province-checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.province-checkbox-item input[type="checkbox"]:hover {
  border-color: var(--secondary-color);
  transform: scale(1.1);
}

.province-checkbox-item input[type="checkbox"]:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.province-checkbox-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.province-checkbox-item span {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.province-checkbox-item:has(input[type="checkbox"]:checked) span {
  color: var(--secondary-color);
  font-weight: 600;
}

.province-checkbox-item:has(input[type="checkbox"]:checked) {
  background-color: rgba(212, 167, 106, 0.1);
}

/* Responsive for province checkboxes */
@media (max-width: 768px) {
  .province-checkboxes {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px;
    max-height: 300px;
  }

  .province-checkbox-item {
    padding: 8px 10px;
  }

  .province-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }

  .province-checkbox-item span {
    font-size: 0.9rem;
  }
}

/* ===== Car Checkboxes Styling ===== */
.car-label {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  margin-top: 10px;
}

.car-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 15px 0;
  padding: 20px;
  background-color: var(--card-bg);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  max-height: 350px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
}

.car-checkboxes:hover {
  border-color: var(--secondary-color);
}

.car-checkboxes::-webkit-scrollbar {
  width: 8px;
}

.car-checkboxes::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.car-checkboxes::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.car-checkboxes::-webkit-scrollbar-thumb:hover {
  background-color: #b8955a;
}

.car-checkbox-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  user-select: none;
}

.car-checkbox-item:hover {
  background-color: var(--light-bg);
  transform: translateX(5px);
}

.car-checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.car-checkbox-item input[type="checkbox"]:hover {
  border-color: var(--secondary-color);
  transform: scale(1.1);
}

.car-checkbox-item input[type="checkbox"]:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.car-checkbox-item input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.car-checkbox-item span {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.car-checkbox-item:has(input[type="checkbox"]:checked) span {
  color: var(--secondary-color);
  font-weight: 600;
}

.car-checkbox-item:has(input[type="checkbox"]:checked) {
  background-color: rgba(212, 167, 106, 0.1);
}

/* Responsive for cars checkboxes */
@media (max-width: 768px) {
  .car-checkboxes {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 15px;
    max-height: 300px;
  }

  .car-checkbox-item {
    padding: 8px 10px;
  }

  .car-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }

  .car-checkbox-item span {
    font-size: 0.9rem;
  }
}

/* Responsive background image for mobile */
@media (max-width: 768px) {
  body {
    background-size: contain;
    background-attachment: scroll; /* بهتر برای موبایل */
    background-repeat: no-repeat;
  }
}

/* Registration feedback (PHP redirect query params) */
.form-msg {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.form-msg--ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-msg--err {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
