/* =======================================================
   1. GLOBAL VARIABLES
   ======================================================= */
:root {
  --primary-color: #333333;
  --secondary-color: #666666;
  --accent-color: #000000;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s ease;
}

/* =======================================================
   2. RESET & BASE
   ======================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* انزلاق ناعم للصفحة */
}

body {
  font-family: var(--font-main);
  color: var(--secondary-color);
  line-height: 1.6;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =======================================================
   3. UTILITY CLASSES (مساحات وتنسيقات جاهزة)
   ======================================================= */
.text-center {
  text-align: center;
}
.padding-y {
  padding: 80px 0;
}
.bg-light {
  background-color: var(--bg-light);
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-width-text {
  max-width: 700px;
}

/* =======================================================
   4. TYPOGRAPHY & BUTTONS
   ======================================================= */
.section-subtitle {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.link-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.link-more:hover {
  color: #888;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--bg-white);
}

/* =======================================================
   5. LAYOUT GRIDS
   ======================================================= */
.grid-2-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.align-center {
  align-items: center;
}

/* =======================================================
   6. HEADER STYLES
   ======================================================= */
.site-header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: #888;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  transition: var(--transition);
}

.hamburger-line:nth-child(1) {
  top: 0;
}
.hamburger-line:nth-child(2) {
  top: 11px;
}
.hamburger-line:nth-child(3) {
  top: 22px;
}

.mobile-nav {
  display: none;
}

/* =======================================================
   7. SECTIONS & CARDS (Home, Services, etc.)
   ======================================================= */
.service-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #eee;
  display: block;
  margin-bottom: 10px;
}

.story-images img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 600;
}

.feature-img-card img {
  border-radius: 8px;
  margin-bottom: 15px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.feature-img-card p {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.client-name {
  font-size: 1rem;
}

/* =======================================================
   8. CONTACT PAGE & FORMS
   ======================================================= */
.contact-card {
  background: var(--bg-light);
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  font-size: 30px;
  margin-bottom: 15px;
}

.contact-card h3 {
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.wa-form-container {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.wa-form-container label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.btn-whatsapp {
  width: 100%;
  background-color: #25d366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  color: white;
}

/* =======================================================
   9. FOOTER
   ======================================================= */
.site-footer {
  background-color: var(--bg-white);
  border-top: 1px solid #eee;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.copyright {
  font-size: 0.9rem;
  color: var(--secondary-color);
}
