/* ---------------------------------------------------
   GLOBAL RESET
--------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #222;
  scroll-behavior: smooth;
}

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

/* Containers */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1,
h2,
h3 {
  font-weight: 700;
  color: #222;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Farsi RTL Typography */
.rtl {
  direction: rtl;
  text-align: right;
  font-family: "Vazirmatn", sans-serif;
}

/* ---------------------------------------------------
   HEADER + NAVIGATION
--------------------------------------------------- */
.site-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #5a2a82, #ff7a00);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.main-nav a:hover {
  color: #5a2a82;
}

.main-nav a.active {
  color: #5a2a82;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

/* ---------------------------------------------------
   MOBILE NAVIGATION
--------------------------------------------------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease;
    z-index: 1500;
  }

  .main-nav.open {
    max-height: 400px;
    opacity: 1;
  }
}

.no-scroll {
  overflow: hidden;
}

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #5a2a82, #ff7a00);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  color: #fff;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  margin: 0 auto 1.5rem;
}

.hero-img.small {
  width: 130px;
  height: 130px;
}

.hero-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* ---------------------------------------------------
   BUTTONS
--------------------------------------------------- */
.btn-primary {
  display: inline-block;
  background: #ff7a00;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #e86c00;
}

/* ---------------------------------------------------
   SECTIONS
--------------------------------------------------- */
.section {
  padding: 3rem 0;
}

.section h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

/* ---------------------------------------------------
   SERVICE CARDS
--------------------------------------------------- */
.service-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.price {
  display: block;
  margin: 1rem 0;
  font-weight: 700;
  color: #5a2a82;
}

.coming-soon {
  color: #ff7a00;
}

.service-carousel {
  display: none;
  margin-top: 3rem;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-controls button {
  background: #5a2a82;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------------------------------------------------
   TESTIMONIALS
--------------------------------------------------- */
.testimonial-card {
  background: linear-gradient(135deg, #5a2a82, #ff7a00);
  color: #fff;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

/* ---------------------------------------------------
   CONTACT FORM
--------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
.footer {
  text-align: center;
  padding: 2rem 0;
  background: #fafafa;
  margin-top: 2rem;
  border-top: 1px solid #eee;
}

.footer-meta {
  margin-top: 0.6rem;
}

.footer-link {
  color: #5a2a82;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Social icons spacing */
.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #5a2a82;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.social-links svg {
  width: 22px;
  height: 22px;
}

/* ---------------------------------------------------
   RESPONSIVE BREAKPOINTS
--------------------------------------------------- */
@media (min-width: 768px) {
  .service-grid {
    display: none;
  }
  .service-carousel {
    display: block;
  }
}

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

  .hero-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.2;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0 0.25rem;
  }
}

/* ---------------------------------------------------
   LANGUAGE TOGGLE + FLAGS
--------------------------------------------------- */
.lang-switch {
  margin-left: 1rem;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

.lang-en,
.lang-fa {
  transition: opacity 0.3s ease;
}

.lang-fa {
  opacity: 0;
}

.fa-mode .lang-en {
  opacity: 0;
}

.fa-mode .lang-fa {
  opacity: 1;
}

.flag-en,
.flag-fa {
  transition: opacity 0.3s ease;
}

.flag-fa {
  opacity: 0;
}

.fa-mode .flag-en {
  opacity: 0;
}

.fa-mode .flag-fa {
  opacity: 1;
}

/* ---------------------------------------------------
   FLOATING LANGUAGE BUTTON (MOBILE)
--------------------------------------------------- */
.floating-lang-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.4rem 0.7rem;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 999;
  display: none;
}

@media (max-width: 768px) {
  .lang-switch {
    display: none;
  }

  .floating-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---------------------------------------------------
   COOKIE BANNER
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111827;
  color: #f9fafb;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 998;
}

.cookie-banner p {
  margin: 0;
  max-width: 600px;
}

.cookie-banner button {
  background: #10b981;
  border: none;
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* ---------------------------------------------------
   BOOKING CALENDAR
--------------------------------------------------- */
.booking-calendar {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f9fafb;
}

.booking-calendar h3 {
  margin-top: 0;
}

.booking-calendar form {
  display: grid;
  gap: 0.75rem;
  max-width: 400px;
}

.booking-calendar input,
.booking-calendar select {
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}
