:root {
  --primary-color: #cda873; /* Elegant Gold */
  --secondary-color: #1a1c20; /* Deep Dark */
  --text-color: #4a4a4a;
  --bg-color: #fafafa;
  --light-bg: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;
}

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

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: padding 0.3s ease;
}

header.scrolled {
  padding: 10px 5%;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-color);
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary-color);
}

.header-btn {
    text-decoration: none;
    color: white;
    background-color: #25D366;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background-color: #1ebe5a;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(26, 28, 32, 0.8), rgba(26, 28, 32, 0.6)), url('hero_decor.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  max-width: 700px;
  font-weight: 400;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out 0.3s both;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #25D366;
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
  background-color: #1ebc5a;
}

.whatsapp-btn i {
  font-size: 1.6rem;
}

/* Features */
.features {
  padding: 100px 5%;
  background-color: var(--light-bg);
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

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

.feature-card {
  background: var(--bg-color);
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: rgba(205, 168, 115, 0.3); /* primary color with low opacity */
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Gallery Section */
.gallery {
  padding: 100px 5%;
  background-color: var(--bg-color);
}

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

.gallery-header p {
    margin-top: 25px;
    font-size: 1.2rem;
    color: var(--text-color);
}

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

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  cursor: pointer;
  border: 1px solid rgba(205, 168, 115, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,28,32,0.95) 0%, rgba(26,28,32,0.6) 50%, rgba(26,28,32,0) 100%);
  padding: 40px 30px;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

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

.gallery-item .overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: var(--primary-color);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 40px;
  left: 40px; /* Physical left for RTL layout */
  background-color: #25D366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 60px 5% 20px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.footer-logo span {
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

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

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1.1rem; }
  header { padding: 15px 20px; }
  .logo { font-size: 1.5rem; }
  .header-btn { display: none; } /* Hide on mobile to save space */
  .section-title { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .features { padding: 60px 20px; }
  .gallery { padding: 60px 20px; }
  .floating-whatsapp { bottom: 20px; left: 20px; width: 55px; height: 55px; font-size: 1.8rem; }
}
