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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Almarai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

/* ===== HEADER / NAVBAR ===== */
.header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header__logo {
  flex-shrink: 0;
  text-align: center;
}

.header__title {
  font-size: 24px;
  font-weight: 800;
  color: #c9a227;
  margin: 0;
  letter-spacing: 1px;
}

.header__subtitle {
  font-size: 18px;
  color: #e8d5a3;
  margin: 4px 0 0 0;
  font-weight: 700;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #e8d5a3;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link--active {
  color: #c9a227;
  background: rgba(201,162,39,0.1);
}

.header__contact {
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #c9a227;
  color: #1a1a2e;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.header__phone:hover {
  background: #e8d5a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,162,39,0.3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 8px;
}

.btn--primary {
  background: linear-gradient(135deg, #c9a227 0%, #e8d5a3 100%);
  color: #1a1a2e;
  box-shadow: 0 4px 12px rgba(201,162,39,0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201,162,39,0.4);
}

.btn--secondary {
  background: transparent;
  color: #c9a227;
  border: 2px solid #c9a227;
}

.btn--secondary:hover {
  background: rgba(201,162,39,0.1);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #2d1b4e 100%);
  color: white;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 70% 50%, rgba(201,162,39,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(139,90,43,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__text {
  text-align: right;
}

.hero__title {
  font-size: 24px;
  color: #c9a227;
  margin-bottom: 8px;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero__name {
  font-size: 56px;
  font-weight: 800;
  color: #c9a227;
  margin-bottom: 12px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero__tagline {
  font-size: 18px;
  color: #e8d5a3;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: 600;
}

.hero__description {
  font-size: 16px;
  color: #e8d5a3;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-direction: row-reverse;
}

.hero__avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 4px solid #c9a227;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(201,162,39,0.2) 0%, rgba(26,26,46,0.5) 100%);
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.avatar-circle::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(201,162,39,0.5);
  border-radius: 50%;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.avatar-text {
  font-size: 14px;
  color: #c9a227;
  text-align: center;
  line-height: 1.6;
  font-weight: 700;
}

.avatar-text small {
  font-size: 11px;
  color: #e8d5a3;
  display: block;
}

.hero__decoration {
  position: absolute;
  bottom: -50px;
  left: -50px;
  opacity: 0.1;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 42px;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #c9a227, transparent);
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 20px;
  background: #f8f9fa;
}

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

.about__card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.about__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.about__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.about__card-text {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 80px 20px;
  background: white;
}

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

.service-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  padding: 40px 30px;
  border-radius: 12px;
  border-left: 4px solid #c9a227;
  transition: all 0.3s ease;
  position: relative;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(201,162,39,0.15);
}

.service-item__number {
  font-size: 48px;
  font-weight: 800;
  color: rgba(201,162,39,0.1);
  position: absolute;
  top: 20px;
  left: 20px;
}

.service-item__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  margin-top: 20px;
}

.service-item__description {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-item__list {
  list-style: none;
  padding: 0;
}

.service-item__list li {
  font-size: 14px;
  color: #666;
  padding: 8px 0;
  padding-right: 24px;
  position: relative;
}

.service-item__list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #c9a227;
  font-weight: 700;
}

/* ===== GALLERY SECTION ===== */
.gallery {
  padding: 80px 20px;
  background: #f8f9fa;
}

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

.gallery-item {
  aspect-ratio: 1;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,162,39,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item--1 { background: linear-gradient(135deg, #2d1b4e, #1a1a2e); }
.gallery-item--2 { background: linear-gradient(135deg, #1a3a1a, #0d2b0d); }
.gallery-item--3 { background: linear-gradient(135deg, #3a1a1a, #2b0d0d); }
.gallery-item--4 { background: linear-gradient(135deg, #1a1a3a, #0d0d2b); }
.gallery-item--5 { background: linear-gradient(135deg, #3a3a1a, #2b2b0d); }
.gallery-item--6 { background: linear-gradient(135deg, #1a3a3a, #0d2b2b); }
.gallery-item--7 { background: linear-gradient(135deg, #2d2d2d, #1a1a1a); }
.gallery-item--8 { background: linear-gradient(135deg, #3a1a3a, #2b0d2b); }
.gallery-item--9 { background: linear-gradient(135deg, #1a2d1a, #0d1a0d); }

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 80px 20px;
  background: white;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.contact-card:hover {
  border-top-color: #c9a227;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.contact-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(201,162,39,0.1), rgba(201,162,39,0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.contact-card__link,
.contact-card__text {
  font-size: 15px;
  color: #666;
  transition: color 0.3s ease;
}

.contact-card__link:hover {
  color: #c9a227;
}

/* ===== CONTACT FORM ===== */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Almarai', sans-serif;
  transition: all 0.3s ease;
  background: white;
  color: #333;
}

.form-input:focus {
  outline: none;
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
}

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

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 60px 20px 20px;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201,162,39,0.2);
}

.footer__section {
  text-align: center;
}

.footer__title {
  font-size: 18px;
  font-weight: 700;
  color: #c9a227;
  margin-bottom: 16px;
}

.footer__text {
  font-size: 14px;
  color: #e8d5a3;
  line-height: 1.8;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: #e8d5a3;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #c9a227;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(201,162,39,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #c9a227;
  color: #1a1a2e;
  transform: translateY(-3px);
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #e8d5a3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header__container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .header__nav {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px 12px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__text {
    text-align: center;
  }

  .hero__name {
    font-size: 42px;
  }

  .hero__buttons {
    justify-content: center;
  }

  .avatar-circle {
    width: 220px;
    height: 220px;
  }

  .section-title {
    font-size: 32px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header__title {
    font-size: 20px;
  }

  .header__subtitle {
    font-size: 14px;
  }

  .header__phone {
    font-size: 12px;
    padding: 8px 12px;
  }

  .hero {
    padding: 60px 16px;
  }

  .hero__name {
    font-size: 32px;
  }

  .hero__tagline {
    font-size: 14px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .avatar-circle {
    width: 180px;
    height: 180px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .about__grid,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
