/* ===== CSS Variables ===== */
:root {
  --primary: #d4819e;
  --primary-light: #f0c4d4;
  --primary-dark: #b85c7e;
  --accent: #c9a87c;
  --accent-light: #e8d5b8;
  --bg: #fdf6f9;
  --bg-card: rgba(255, 255, 255, 0.75);
  --text: #3a2a2e;
  --text-light: #7a6a6e;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(180, 92, 126, 0.12);
  --shadow-hover: 0 12px 40px rgba(180, 92, 126, 0.22);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Heebo', sans-serif;
  --font-body: 'Heebo', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 129, 158, 0.15);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(180, 92, 126, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background: rgba(212, 129, 158, 0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 129, 158, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero Sections ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(58, 42, 46, 0.6), rgba(184, 92, 126, 0.45));
  z-index: 1;
}

.hero-home .hero-bg { background-image: url('_uploads/ai_4b875eb2ae347393.jpg'); }
.hero-services .hero-bg { background-image: url('_uploads/ai_68db9e96b00ca465.jpg'); }
.hero-about .hero-bg { background-image: url('_uploads/ai_76ec9e081831db54.jpg'); }

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.95;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-mini {
  min-height: 50vh;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212, 129, 158, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 129, 158, 0.5);
  color: var(--white);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #b8944e);
  color: var(--white);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 124, 0.5);
  color: var(--white);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== Glass Cards ===== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 129, 158, 0.12);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(212, 129, 158, 0.15), rgba(201, 168, 124, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
}

.glass-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  text-align: center;
  padding: 48px 32px;
}

.service-card .service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.service-card .btn {
  margin-top: 20px;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  text-align: center;
  padding: 40px 28px;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary-dark);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--white);
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.7);
}

/* ===== About ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 129, 158, 0.15), rgba(201, 168, 124, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-item .details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item .details p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(212, 129, 158, 0.2);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  transition: all var(--transition);
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 129, 158, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  padding: 14px 20px;
  border-radius: 12px;
  margin-top: 16px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(72, 187, 120, 0.12);
  color: #276749;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.form-message.error {
  display: block;
  background: rgba(245, 101, 101, 0.12);
  color: #c53030;
  border: 1px solid rgba(245, 101, 101, 0.3);
}

/* ===== Quote Flow ===== */
.quote-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.quote-step {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: all var(--transition);
}

.quote-step.active {
  opacity: 1;
}

.quote-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 129, 158, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark);
  transition: all var(--transition);
}

.quote-step.active .step-num {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.quote-panel {
  display: none;
  animation: fadeUp 0.5s ease;
}

.quote-panel.active {
  display: block;
}

.service-option {
  padding: 20px 24px;
  border: 2px solid rgba(212, 129, 158, 0.15);
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-option:hover,
.service-option.selected {
  border-color: var(--primary);
  background: rgba(212, 129, 158, 0.05);
}

.service-option .radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(212, 129, 158, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.service-option.selected .radio-circle {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.service-option.selected .radio-circle::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
}

.quote-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Process Steps ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Service Detail Page ===== */
.service-detail-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-content h2 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin: 40px 0 16px;
}

.service-detail-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-detail-content ul {
  list-style: none;
  padding: 0;
}

.service-detail-content ul li {
  padding: 10px 0;
  padding-right: 30px;
  position: relative;
  color: var(--text-light);
}

.service-detail-content ul li::before {
  content: '✦';
  position: absolute;
  right: 0;
  color: var(--primary);
}

.price-info {
  background: linear-gradient(135deg, rgba(212, 129, 158, 0.08), rgba(201, 168, 124, 0.08));
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.price-info h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
  }

  .hero-content h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-bg { background-attachment: scroll; }

  .quote-steps { gap: 16px; }
  .quote-step span:not(.step-num) { display: none; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
}
