:root {
  /* Light Theme (Only) */
  --bg: #f8f9fa;
  --bg-muted: #f5f7fb;
  --text: #333333;
  --primary: #2c3e50;
  --secondary: #34495e;
  --accent: #3498db;

  /* Luxury Accents */
  --primary-gold: #d4af37; /* Gold */
  --gold-gradient: linear-gradient(135deg, #d4af37, #b8860b);

  /* Shared */
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition-time: 0.3s;
  --transition-normal: 0.3s;
  --border-radius: 15px;
  --font-weight-bold: 700;
}

body {
  font-family: 'Tajawal', sans-serif;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  transition: all var(--transition-time) ease;
}

/* ===================== Luxury Hero Section ===================== */
.luxury-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 3;
  padding: 0 20px;
}

.logo-container {
  margin-top: 250px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 40px;
  border-radius: var(--border-radius);
  transition: all var(--transition-time) ease;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.logo { margin-bottom: 20px; }

.logo-frame {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 5px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.logo-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid white;
}

.logo-img-1 {
  width: 150px; height: 150px;
  border-radius: 50%;
  background-color: #f0f0f0;
  border: 2px solid white;
}

.main-title {
  font-size: 3.5rem; font-weight: 700;
  color: white; margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.hero-scroll-indicator {
  position: absolute; bottom: 40px;
  display: flex; flex-direction: column; align-items: center;
  color: white; opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-text { font-size: 0.9rem; margin-bottom: 10px; }

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, white, transparent);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* ===================== Animations ===================== */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes titleSlide {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-logo { animation: logoFloat 4s ease-in-out infinite; }
.animate-title { animation: titleSlide 1.5s ease-out; }

.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-up {
  opacity: 0; transform: translateY(50px);
  transition: all 0.6s ease;
}
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* ===================== Main Content ===================== */
.luxury-main { padding: 80px 0; position: relative; }

.container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.section-header { text-align: center; margin-bottom: 40px; }

.subsection-title {
  font-size: 2.2rem; font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px; position: relative; display: inline-block;
}

.title-divider {
  width: 80px; height: 3px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  margin: 0 auto;
}

/* ===================== Location Section ===================== */
.location-section { margin-bottom: 60px; }

.location-card {
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  background: #ffffff;
}

.location-icon {
  font-size: 2rem; color: var(--accent); margin-bottom: 15px;
}

.section-title {
  font-size: 1.8rem; color: var(--primary); margin-bottom: 20px;
}

.location-map {
  height: 500px; margin-top: 20px;
  margin-left: 250px; margin-right: 250px;
  border-radius: var(--border-radius); overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow-color);
}

/* ===================== Luxury Footer (Gradient Light) ===================== */
.luxury-footer {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: rgb(46, 46, 46); padding: 60px 0 30px;
  position: relative; overflow: hidden;
}

.footer-content {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}

.footer-left { display: grid; gap: 30px; }

.contact-info {
  padding: 30px; border-radius: var(--border-radius);
  background: rgba(255,255,255,0.08);
}

.contact-title {
  font-size: 1.5rem; margin-bottom: 20px; position: relative; display: inline-block;
}
.contact-title::after {
  content: ''; position: absolute; bottom: -10px; left: 0;
  width: 50px; height: 3px; background: white;
}

.contact-details { display: grid; gap: 15px; }

.contact-item {
  display: flex; align-items: center; gap: 10px; font-size: 1rem;
}
.contact-item i {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); border-radius: 50%;
}

.social-links { padding: 30px; border-radius: var(--border-radius); }

.social-title {
  font-size: 1.5rem; margin-bottom: 20px; position: relative; display: inline-block;
}
.social-title::after {
  content: ''; position: absolute; bottom: -10px; left: 0; width: 50px; height: 3px; background: white;
}

.social-icons { display: flex; gap: 15px; }

.social-icons a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%; color: white; font-size: 1.1rem;
  transition: all var(--transition-time) ease;
}
.social-icons a:hover { background: white; color: var(--primary); transform: translateY(-5px); }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; }

.footer-logo {
  padding: 30px; border-radius: var(--border-radius);
  display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 300px;
  background: rgba(255,255,255,0.08);
}
.footer-logo img {
  width: 100px; height: 100px; object-fit: contain; margin-bottom: 15px;
}
.footer-text { font-size: 0.95rem; opacity: 0.9; line-height: 1.6; color: #fff; }

.footer-bottom {
  text-align: center; margin-top: 60px; padding-top: 20px; position: relative;
}
.footer-bottom::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px; background: rgba(255, 255, 255, 0.2);
}
.copyright { font-size: 0.9rem; opacity: 0.85; color: #2c2c2c; }

/* Footer Decoration */
.footer-decoration {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.floating-diamond {
  position: absolute; width: 100px; height: 100px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: rgba(255, 255, 255, 0.08);
  top: 20%; left: 10%; animation: float 8s ease-in-out infinite;
}
.floating-circle {
  position: absolute; width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  bottom: 15%; right: 10%; animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* ===================== Our Works ===================== */
.our-works-section {
  padding: 80px 0;
  background-color: var(--bg-muted);
}

.works-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; margin-top: 40px;
}

.work-card {
  border-radius: var(--border-radius); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff; box-shadow: 0 10px 20px var(--shadow-color);
}
.work-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3); }

.work-image-container { position: relative; height: 220px; overflow: hidden; }
.work-image {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.work-card:hover .work-image { transform: scale(1.05); }

.work-overlay {
  position: absolute; inset: 0;
  background: rgba(52, 152, 219, 0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.work-card:hover .work-overlay { opacity: 1; }

.work-link {
  color: white; font-size: 1.5rem; width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-gold); border-radius: 50%;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.work-details {
  padding: 20px; background: #ffffff;
}
.work-title {
  color: var(--primary); font-size: 1.3rem; margin-bottom: 10px; font-weight: 600;
}
.work-description {
  color: var(--text); opacity: 0.8; font-size: 0.95rem; margin-bottom: 15px;
}
.work-features { display: flex; gap: 15px; flex-wrap: wrap; }
.feature {
  font-size: 0.85rem; color: var(--secondary); display: flex; align-items: center; gap: 5px;
}
.feature i { font-size: 0.9rem; }

/* ===================== Footer (Light version) ===================== */
.footer {
  background: #ffffff;
  color: var(--text);
  padding: 4rem 0 2rem;
  box-shadow: 0 -8px 24px var(--shadow-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1rem; margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.2rem; font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem; color: var(--primary-gold);
}

.footer-logo {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.footer-logo .logo-frame { width: 50px; height: 50px; }
.footer-logo .logo-text h3 {
  font-size: 1.3rem; font-weight: var(--font-weight-bold); color: var(--primary);
}
.footer-logo .logo-text span { font-size: 0.9rem; color: #666; }

.footer-section p { color: #666; line-height: 1.6; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 1rem; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #2b2b2b; text-decoration: none; font-size: 1.1rem;
  transition: all var(--transition-normal);
}
.social-link:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); }

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.8rem; }
.footer-section ul li a {
  color: #222222; text-decoration: none; transition: color var(--transition-normal);
}
.footer-section ul li a:hover { color: var(--primary-gold); }

.footer-section .contact-info { display: flex; flex-direction: column; gap: 1rem; }
.footer-section .contact-item {
  display: flex; align-items: center; gap: 0.8rem; color: #242424;
}
.footer-section .contact-item i { color: var(--primary-gold); font-size: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08); padding-top: 2rem;
}
.footer-bottom-content {
  display: flex; justify-content: space-between; align-items: center; color: #1d1d1d;
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  color: #313131; text-decoration: none; transition: color var(--transition-normal);
}
.footer-links a:hover { color: var(--primary-gold); }

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
  .footer-content { grid-template-columns: 1fr; }
  .footer-right { align-items: center; }
  .footer-logo { max-width: 100%; }
  .hero-content { padding-top: 100px; }
  .main-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .luxury-hero { height: 80vh; min-height: 500px; }
  .logo-container { padding: 30px; }
  .logo-frame { width: 100px; height: 100px; }
  .main-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }
  .subsection-title { font-size: 1.8rem; }
  .property-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .location-map { margin-left: 0; margin-right: 0; }
}

@media (max-width: 576px) {
  .luxury-hero { height: 70vh; min-height: 400px; }
  .logo-container { padding: 20px; }
  .main-title { font-size: 2rem; }
  .logo-frame { width: 80px; height: 80px; }
  .subsection-title { font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .vision-card, .location-card { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
