* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #faf9f5;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Cairo", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--primary-color);
  overflow-x: hidden;
}

/* Header */
.header-section {
  background: var(--white);
  box-shadow: 0 2px 15px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-section.scrolled {
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.navbar {
  padding: 1.2rem 0;
}

.logo {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0.8rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--text-dark);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-dark);
}

.btn-cta {
  background: var(--text-dark);
  color: var(--white);
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 25px;
  border: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-medium);
  color: var(--white);
}

/* Hero Section */
.hero-section {
  background: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: 2rem 0;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 500;
}

.price-highlight {
  color: var(--text-dark);
  font-weight: 800;
  background: var(--primary-color);
  padding: 0.2rem 0.8rem;
  border-radius: 8px;
}

.btn-hero {
  background: var(--text-dark);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  border: none;
  transition: all 0.4s ease;
  display: inline-block;
  box-shadow: 0 5px 15px var(--shadow-medium);
}

.btn-hero:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-medium);
  color: var(--white);
}

.hero-image {
  animation: fadeInRight 1s ease;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 50px var(--shadow-medium);
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* Decorative circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: 50px;
  right: -50px;
  animation-delay: 2s;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: var(--primary-color);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 60%;
  height: 3px;
  background: var(--text-dark);
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
  box-shadow: 0 5px 15px var(--shadow-light);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-medium);
  border-color: var(--text-dark);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  background: var(--text-dark);
  color: var(--white);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotateY(360deg);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.feature-text {
  color: var(--text-light);
  font-size: 1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background: var(--white);
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px var(--shadow-light);
  margin-bottom: 1.5rem;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.9), transparent);
  color: var(--white);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay p {
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--text-dark);
  color: var(--white);
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-title::after {
  background: var(--white);
}

.contact-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-contact {
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
  background: var(--white);
  color: #25d366;
}

.btn-whatsapp:hover {
  background: #25d366;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
  background: var(--white);
  color: #e1306c;
}

.btn-instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(221, 42, 123, 0.3);
}

.btn-contact i {
  font-size: 1.4rem;
}

/* Footer */
.footer-section {
  background: #1a1a1a;
  color: var(--primary-color);
  padding: 2rem 0;
}

.footer-text {
  font-size: 1rem;
  opacity: 0.9;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive - محسّن */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .section-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 991px) {
  .navbar {
    padding: 1rem 0;
  }
  .logo {
    height: 50px;
  }
  .nav-link {
    margin: 0.5rem 0;
    text-align: center;
  }
  .btn-cta {
    width: 100%;
    margin-top: 1rem;
  }
  .hero-section {
    padding: 3rem 0;
  }
  .hero-content {
    text-align: center;
    order: 2;
  }
  .hero-image {
    order: 1;
    margin-bottom: 2rem;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .features-section,
  .gallery-section,
  .contact-section {
    padding: 4rem 0;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn-hero {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .features-section,
  .gallery-section,
  .contact-section {
    padding: 3.5rem 0;
  }
  .feature-card {
    padding: 1.8rem 1.5rem;
  }
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .gallery-item img {
    height: 250px;
  }
  .contact-buttons {
    flex-direction: column;
  }
  .btn-contact {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .feature-icon {
    width: 55px;
    height: 55px;
  }
  .gallery-item img {
    height: 220px;
  }
}
