/*
Theme Name: MedTrip Medical Tourism
Description: Arabic medical tourism theme for hair transplant clinics and procedures
Author: MedTrip
Version: 1.0
Text Domain: medtrip
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary Brand Colors */
  --primary: 15 82% 58%;
  --primary-glow: 25 95% 65%;
  --primary-dark: 10 75% 45%;
  
  /* Secondary Colors */
  --secondary: 0 0% 9%;
  --secondary-foreground: 0 0% 98%;
  
  /* Background Colors */
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;
  --muted: 0 0% 96.1%;
  --muted-foreground: 0 0% 45.1%;
  
  /* Border Colors */
  --border: 0 0% 89.8%;
  --input: 0 0% 89.8%;
  
  /* Trust & Success Colors */
  --trust: 210 100% 60%;
  --success: 120 60% 50%;
  
  /* Card Colors */
  --card: 0 0% 100%;
  --card-foreground: 0 0% 3.9%;
  
  /* Gradients */
  --hero-gradient: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
  --hero-glow: radial-gradient(circle at center, hsl(var(--primary-glow)) 0%, transparent 70%);
  
  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
  --shadow-medical: 0 4px 20px -4px hsl(var(--primary) / 0.15);
  
  /* Typography */
  --font-arabic: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dark Mode */
.dark {
  --background: 0 0% 3.9%;
  --foreground: 0 0% 98%;
  --muted: 0 0% 14.9%;
  --muted-foreground: 0 0% 63.9%;
  --card: 0 0% 3.9%;
  --card-foreground: 0 0% 98%;
  --border: 0 0% 14.9%;
  --input: 0 0% 14.9%;
}

/* Body and Typography */
body {
  font-family: var(--font-arabic);
  direction: rtl;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  font-size: 16px;
}

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

/* Arabic Text Styling */
.arabic-text {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

/* Header Styles */
.site-header {
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  height: 40px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  color: white;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: hsl(var(--primary));
  color: white;
  box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
  background: hsl(var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px hsl(var(--primary) / 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* CTA Section */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background: hsl(var(--muted) / 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: hsl(var(--card));
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-medical);
  transition: all 0.3s ease;
  border: 1px solid hsl(var(--border));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px hsl(var(--primary) / 0.2);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.service-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Clinic Cards */
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.clinic-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-medical);
  transition: all 0.3s ease;
  border: 1px solid hsl(var(--border));
}

.clinic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px hsl(var(--primary) / 0.2);
}

.clinic-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.clinic-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: hsl(var(--primary));
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-weight: bold;
  font-size: 0.9rem;
}

.clinic-content {
  padding: 1.5rem;
}

.clinic-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.clinic-location {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clinic-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.5;
}

.clinic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.clinic-tag {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  border: 1px solid hsl(var(--border));
}

.clinic-experience {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: hsl(var(--secondary-foreground) / 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--secondary-foreground) / 0.2);
  padding-top: 1rem;
  text-align: center;
  color: hsl(var(--secondary-foreground) / 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .clinics-grid {
    grid-template-columns: 1fr;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.font-bold { font-weight: bold; }
.font-semibold { font-weight: 600; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: 1rem; }
.shadow { box-shadow: var(--shadow-medical); }