/* ==============================
   Ghazal-X Base CSS
   Author: Ghazaleh Moghadam
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
}

/* 1. Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  background-color: #d2d1d1;
  color: #111111;
  line-height: 1.6;
}

/* 2. Colors (Variables) */
:root {
  --gray-bg: #F5F5F5;
  --text-black: #111111;
  --orange-brand: #FF6B00;
  --orange-hover: #e06700;
  --navy-deep: #0D1B2A;
  --pure-white: #FFFFFF;
}

.cta {
  font-family: 'Playfair Display', serif; /* یا هر فونت دلخواه دیگه */
}


/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-deep);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--orange-brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 4. Layout Helpers */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

section {
  padding: 3rem 0;
}

/* 5. Header & Navigation */
header {
  background-color: var(--pure-white);
  color: var(--navy-deep);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color:hsl(219, 60%, 21%);
  font-family: Arial, sans-serif;
}

.logo {
  font-size: 1rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5.5rem;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

.nav-links li .cta {
  background-color: var(--orange-brand);
  color: var(--pure-white);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-weight: bold;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1rem;
  }

  nav li {
    margin: 0;
  }

  .cta-button {
    margin: 1rem 0;
  }
}
/* === Hamburger Menu Icon === */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* === Mobile Navigation === */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 1000;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: hsl(219, 60%, 21%);
    position: absolute;
    top: 60px; /* زیر navbar */
    right: 0;
    width: 100%;
    padding: 2rem 1rem;
    border-radius: 0 0 12px 12px;
  }

  .nav-links.show {
    display: flex;
  }

  nav {
    flex-direction: row;
    position: relative;
  }

  .nav-links li .cta {
    margin-top: 1rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    z-index: 999;
  }

  .hamburger {
    z-index: 1000;
  }

  nav {
    position: relative; /* برای کار کردن z-index */
  }
}

/* 6. HERO SECTION */
#hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 90%;
  margin: 40px auto; /* از بالا و پایین هم فاصله بده اگه خواستی */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* برای ظرافت و عمق */
 position: relative;
}


.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


.hero-content {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -30%);
  color: #FF6B00;
  text-shadow:none;
  max-width: 80%;
    text-align: center;
}

.hero-content h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  line-height: 1.5;
}

/* 7. Buttons Below Hero */
.hero-buttons {
  margin-top: 2rem;
  text-align: center;
}

.hero-buttons .cta-button,
.hero-buttons .whatsapp-button {
  display: inline-block;
  margin: 0 10px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: 'Playfair Display', serif;
}

.hero-buttons .cta-button {
  background-color: var(--orange-brand);
  color: white;
}

.hero-buttons .cta-button:hover {
  background-color: var(--orange-hover);
}

.hero-buttons .whatsapp-button {
  background-color: #FF6B00;
  color: white;
}

.hero-buttons .whatsapp-button:hover {
  background-color: #FF6B00;
}

#services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  background-color: #d2d1d1; /* خاکستری خیلی روشن */
}

#services h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #111;
}

.service {
  display: inline-block;
  width: 300px;
  margin: 20px;
  vertical-align: top;
}

.service img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 85%; /* این می‌کنه تصویر دایره‌ای */
  margin-bottom: 20px;
}

.service h3 {
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
  margin-bottom: 10px;
}

.service p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

#plans {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  background-color: #d2d1d1;
}

#plans h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #222;
}

.plan {
  display: inline-block;
  width: 320px;
  margin: 20px;
  vertical-align: top;
  background-color:#d2d1d1;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.plan img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.plan h3 {
  font-size: 1.2rem;
  margin: 15px 15px 5px;
  color: #111;
}

.plan p {
  font-size: 1rem;
  margin: 5px 15px 10px;
  color: #555;
}

.plan ul {
  list-style: none;
  padding: 0 15px;
  margin: 10px 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.plan ul li {
  margin-bottom: 6px;
}
.orange-discount {
  color: #FF6B00; /* یا هر نارنجی برندت */
  font-weight: bold;
}

/* About Section */
#about {
  background-color: #d2d1d1; /* پس‌زمینه‌ی خاکستری روشن */
  padding: 80px 20px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap; /* برای موبایل */
}

.about-image {
  flex: 1 1 500px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1 1 500px;
  text-align: left;
  color: #333;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-family: 'Georgia', serif;
  color: #222;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #444;
  font-family: 'Segoe UI', sans-serif;
}
#gallery {
  background-color: #d3d3d3;
  padding: 60px 20px;
  text-align: center;
}

#gallery h2 {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  color: #222;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* دقیقاً 3 ستون */
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.gallery-grid a img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-grid a img:hover {
  transform: scale(1.03);
}

/* دکمه گرد نارنجی زیر گالری */
#gallery::after {
  content: 'Social';
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  width: 160px;
  height: 50px;
  background-color:#FF6B00;
  border-radius: 999px;
  color: white;
  font-size: 1.1rem;
  line-height: 50px;
  font-family: 'Arial', sans-serif;
  text-align: center;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

#contact {
  background-color: #d6d6d6;
  padding: 80px 20px;
  font-family: 'Universal Sans', sans-serif;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.contact-text {
  flex: 1;
  min-width: 250px;
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contact-text p {
  line-height: 1.6;
}

.contact-form {
  flex: 1.5;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 4px;
}

.contact-form span {
  font-weight: normal;
  font-size: 0.85em;
  color: #555;
}

.name-fields {
  display: flex;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background-color: #d6d6d6;
  border: 1px solid #1a1a30;
  border-radius: 15px;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color:#FF6B00;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
  font-family: 'Playfair Display', serif;
}

.contact-form button:hover {
  background-color:#FF6B00;
}

footer {
  background-color: #d6d6d6;
  padding: 40px 20px;
  font-family: 'Georgia', serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

footer h3, footer h4 {
  font-weight: normal;
  margin-bottom: 10px;
}

footer a {
  color:#FF6B00;
  text-decoration: underline;
}

footer p {
  color: #1a1a30;
  margin: 5px 0;
}
/* title image dar mobil */
@media (max-width: 768px) {
  .hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-content {
    position: static;
    transform: none;
    margin-top: 20px;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
  }

  .hero-content h1,
  .hero-content p {
    text-align: center;
  }
}

}
/* رنگ نارنجی برای تیترهای بخش‌ها */
#plans h2,
#about h2,
#contact h2,
#gallery h2 {
  color: var(--orange-brand);
}
#services h2 {
  color: var(--orange-brand);
}
