/* Base Styles */
:root {
  --color-primary: #d4a9b9;
  --color-primary-light: #f8e1e7;
  --color-secondary: #c4a9d4;
  --color-secondary-light: #f0e7f8;
  --color-accent: #a9b9d4;
  --color-accent-light: #e1e7f8;
  --color-text: #4a4a4a;
  --color-text-light: #767676;
  --color-background: #ffffff;
  --color-background-alt: #fafafa;
  --font-family: "Tajawal", sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-background);
  direction: rtl;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

ul {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: white;
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  background-color: var(--color-background);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  color: var(--color-text);
  font-weight: 500;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

/* Hero Section */
.hero {
  padding: 160px 0 80px;
  background-color: var(--color-primary-light);
  text-align: center;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.lead {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--color-text-light);
}

/* About Section */
.about {
  background-color: var(--color-background);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.illustration-container {
  position: relative;
  width: 300px;
  height: 300px;
}

.illustration {
  width: 100%;
  height: 100%;
}

.woman-silhouette {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 70%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150'%3E%3Cpath d='M50,30 C55,30 60,35 60,45 C60,55 55,65 50,65 C45,65 40,55 40,45 C40,35 45,30 50,30 Z' fill='%23D4A9B9'/%3E%3Cpath d='M50,65 C60,65 70,75 70,90 C70,110 60,130 50,130 C40,130 30,110 30,90 C30,75 40,65 50,65 Z' fill='%23D4A9B9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Herbs Section */
.herbs {
  background-color: var(--color-background-alt);
}

.herbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.herb-card {
  background-color: var(--color-background);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.herb-card:hover {
  transform: translateY(-5px);
}

.herb-illustration {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.herb-card h3 {
  text-align: center;
  margin-bottom: 15px;
}

.herb-card ul {
  list-style-type: none;
}

.herb-card li {
  position: relative;
  padding-right: 25px;
}

.herb-card li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--color-primary);
}

.herbs-info {
  background-color: var(--color-background);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.herbs-info h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* Wellness Section */
.wellness {
  background-color: var(--color-background);
}

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.wellness-card {
  background-color: var(--color-background-alt);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.wellness-card:hover {
  transform: translateY(-5px);
}

.wellness-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.wellness-card h3 {
  margin-bottom: 15px;
}

.wellness-card p {
  margin-bottom: 0;
}

/* Guide Section */
.guide {
  background-color: var(--color-secondary-light);
}

.guide-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.guide-text {
  flex: 1;
  min-width: 300px;
}

.guide-text h2 {
  text-align: right;
}

.guide-text ul {
  list-style-type: none;
}

.guide-form {
  flex: 1;
  min-width: 300px;
}

form {
  background-color: var(--color-background);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 20px;
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  background-color: var(--color-background);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: var(--color-background-alt);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  color: var(--color-primary);
  margin-bottom: 15px;
}

.faq-item p {
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--color-text);
  color: white;
  padding: 60px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
}

.footer-links a:hover {
  color: var(--color-primary-light);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--color-background);
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  position: relative;
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.close-modal {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  background: none;
  border: none;
}

.modal-body {
  text-align: center;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.modal-body h3 {
  margin-bottom: 15px;
}

.close-button {
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    background-color: var(--color-background);
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active .hamburger {
    background-color: transparent;
  }

  .nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
  }

  .nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 120px 0 60px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .herb-card,
  .wellness-card,
  .faq-item {
    padding: 20px;
  }

  form {
    padding: 20px;
  }
}
