:root {
  /* Color Palette - Royal Arabic Theme */
  --shahi-red: #8b0000;
  --shahi-red-dark: #5e0000;
  --shahi-gold: #c5a059;
  --shahi-gold-light: #e2c792;
  --shahi-white: #ffffff;
  --shahi-off-white: #f8f1e5;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  
  /* Typography */
  --font-display: 'Cinzel', serif; /* Classic royal feel */
  --font-body: 'Playfair Display', serif;
}

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

body {
  background-color: var(--shahi-off-white);
  color: var(--shahi-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Patterns */
.arabic-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l15 15-15 15-15-15zM30 30l15 15-15 15-15-15z' fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Header/Nav */
.nav {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) clamp(1rem, 5vw, 4rem);
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--shahi-white);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  color: var(--shahi-white);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav-link:hover {
  border-color: var(--shahi-gold);
}

/* Hero Banner Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--shahi-red-dark) 0%, var(--shahi-red) 50%, var(--shahi-red-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: var(--space-xl) var(--space-md);
}

/* Decorative Ornaments */
.ornament-frame {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 40px;
  right: 40px;
  border: 2px solid var(--shahi-gold);
  pointer-events: none;
}

.ornament-corner {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 4px solid var(--shahi-gold);
  pointer-events: none;
}

.corner-tl { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.corner-tr { top: -10px; right: -10px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -10px; left: -10px; border-right: none; border-top: none; }
.corner-br { bottom: -10px; right: -10px; border-left: none; border-top: none; }

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.subheading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--shahi-gold);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: block;
  animation: fadeInDown 1s ease-out;
}

.main-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--shahi-white);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  margin-bottom: var(--space-md);
  animation: scaleUp 1.2s ease-out;
}

.main-title span {
  display: block;
  font-size: 0.4em;
  letter-spacing: 15px;
  margin-top: -10px;
}

.arabic-text {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
  color: var(--shahi-gold-light);
  opacity: 0.9;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  color: rgba(255,255,255,0.9);
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background-color: var(--shahi-white);
  color: var(--shahi-red);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: 2px solid var(--shahi-white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--shahi-white);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Decorative elements */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: var(--space-md);
}

.divider-line {
  height: 2px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--shahi-gold), transparent);
}

.divider-icon {
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  background-color: var(--shahi-gold);
}

/* Image Grid Section */
.showcase {
  padding: var(--space-xl) clamp(1rem, 5vw, 4rem);
  background-color: var(--shahi-off-white);
  color: var(--shahi-red-dark);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

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

.card {
  background: white;
  border: 1px solid #eee;
  padding: var(--space-md);
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-10px);
}

.placeholder-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: attr(data-label);
  color: #999;
  font-size: 0.9rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* Footer */
footer {
  background-color: var(--shahi-red-dark);
  padding: var(--space-xl) clamp(1rem, 5vw, 4rem) var(--space-md);
  text-align: center;
  margin-top: var(--space-xl);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--shahi-white);
  margin-bottom: var(--space-md);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}

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

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
