/* style.css */
:root {
  --primary-dark: #0a2f1f;
  --primary-light: #1a4d2e;
  --gold: #d4af37;
  --gold-light: #f3d779;
  --blue: #4A90E2;
  --green: #2E7D32;
  --text-dark: #1e1e1e;
  --text-light: #f5f5f5;
  --bg-light: #f9fbfa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --border-radius: 16px;
  --font-main: 'Cairo', 'Tajawal', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  direction: rtl;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== الأزرار ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--gold);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  background: #e6c451;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--gold);
  margin-right: 15px;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--primary-dark);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ===== شريط التنقل ===== */
.navbar {
  background-color: rgba(10, 47, 31, 0.95);
  backdrop-filter: blur(8px);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo .gold {
  color: var(--gold);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  background: rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--white);
  transition: all 0.3s;
}

/* ===== الهيرو ===== */
.hero {
  background: linear-gradient(135deg, #0a2f1f 0%, #1a4d2e 100%);
  color: var(--white);
  padding: 60px 0 80px;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--gold);
  margin-bottom: 25px;
  color: var(--gold);
  font-weight: 500;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-text .gold {
  color: var(--gold);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.hero-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  padding: 12px 20px;
  border-radius: 12px;
  min-width: 100px;
  transition: 0.3s;
  backdrop-filter: blur(4px);
}

.hero-icon-item:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.hero-icon-item i {
  font-size: 2rem;
  color: var(--gold);
}

.hero-icon-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-contact {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
}

.hero-contact i {
  font-size: 1.3rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image-wrapper {
  background: rgba(255,255,255,0.05);
  padding: 40px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-image-text {
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: var(--white);
}

/* ===== أقسام عامة ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1rem;
  display: block;
  margin-bottom: 10px;
}

.section-subtitle i {
  margin: 0 8px;
  color: var(--primary-dark);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.light .section-subtitle i {
  color: var(--gold);
}

.light h2, .light p {
  color: var(--white);
}

/* ===== عن الشركة ===== */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.about-card {
  background: var(--bg-light);
  padding: 35px 25px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.about-card:hover {
  transform: translateY(-8px);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: var(--primary-dark);
  color: var(--gold);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 25px;
}

.about-card h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.about-description {
  background: #f0f5f2;
  padding: 30px;
  border-radius: var(--border-radius);
  border-right: 6px solid var(--gold);
  font-size: 1.1rem;
  text-align: justify;
}

/* ===== الخدمات ===== */
.services-section {
  background: linear-gradient(145deg, #0e2a1a, #1a4d2e);
  padding: 80px 0;
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-item {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  padding: 35px 25px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s;
  text-align: center;
}

.service-item:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  transform: scale(1.02);
}

.service-item i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* ===== اتصل بنا ===== */
.contact-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-card i {
  font-size: 2rem;
  color: var(--gold);
  background: var(--primary-dark);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.info-card h3 {
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  background: var(--primary-dark);
  color: var(--gold);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  transition: 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-4px);
}

/* نموذج الاتصال */
.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-dark);
}

.contact-form label span {
  color: #c62828;
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon i {
  position: absolute;
  right: 18px;
  color: #999;
  font-size: 1.1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 45px 14px 18px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
  background: #fafafa;
}

.contact-form textarea {
  padding-top: 18px;
  border-radius: 20px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: var(--white);
}

/* ===== تذييل ===== */
footer {
  background: #051a0f;
  color: #ccc;
  padding-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo i {
  font-size: 2rem;
  margin: 0 5px;
}

.footer-logo i.fa-crown {
  color: var(--gold);
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  display: block;
  margin-top: 10px;
}

.footer-logo p {
  margin-top: 5px;
  color: #aaa;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 5px;
}

.footer-links i {
  font-size: 0.7rem;
  margin-left: 5px;
}

.footer-contact p {
  margin-bottom: 12px;
  color: #bbb;
}

.footer-contact i {
  color: var(--gold);
  margin-left: 8px;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid #1e3a2a;
  padding: 20px 0;
  text-align: center;
  color: #999;
  font-size: 0.95rem;
}

/* ===== حركات ===== */
.fade-in {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== تجاوب ===== */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-icons {
    justify-content: center;
  }
  .hero-text h1 { font-size: 2.5rem; }
  .nav-contact { display: none; }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 75px;
    flex-direction: column;
    background-color: #0a2f1f;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    gap: 20px;
  }
  .nav-menu.active { right: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-icons {
    gap: 10px;
  }
  .hero-icon-item {
    min-width: 80px;
    padding: 10px;
  }
}