@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ===== CORE PREMIUM VARIABLES ===== */
:root {
  --red: #c62828;
  --red-dark: #8e1c1c;
  --red-glow: rgba(198, 40, 40, 0.4);
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.2);
  --bg-deep: #050505;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-glass: rgba(15, 15, 15, 0.7);
  --border-dim: rgba(255, 255, 255, 0.05);
  --border-gold: rgba(212, 175, 55, 0.3);
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep); /* Prevents white flashes */
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== TYPOGRAPHY & UTILS ===== */
.gold-text { color: var(--gold); }
.red-text { color: var(--red); }
.italic-heading { font-style: italic; font-weight: 400; }

.section-padding { padding: 120px 6%; }
.container { max-width: 1400px; margin: 0 auto; }

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

.animate-up {
  animation: fadeInUp 1s ease forwards;
}

/* ===== LUXURY HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 6%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px; /* Space between links and centered logo */
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dim);
  padding: 10px 6%;
}

.logo img {
  height: 85px; 
  width: auto;
  max-width: 300px;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.15));
}

header.scrolled .logo img {
  height: 65px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links li a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main);
  position: relative;
  padding: 5px 0;
  opacity: 0.8;
}

.nav-links li a:hover,
.nav-links li a.active {
  opacity: 1;
  color: var(--gold);
}

/* ===== PREMIUM BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0; /* Sharp edges for luxury feel */
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  box-shadow: 0 4px 15px var(--red-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--red-dark);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-deep) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 30px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ===== SECTION TITLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header .subtitle {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

/* ===== FEATURED GRID (HOME) ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.featured-card {
  position: relative;
  height: 500px;
  border-radius: 4px;
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 30px;
  border: 1px solid var(--border-dim);
  transition: var(--transition);
}

.featured-card:hover .featured-overlay {
  border-color: var(--border-gold);
}

.featured-overlay h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.featured-overlay p {
  color: var(--text-muted);
  font-size: 0.95rem;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.featured-card:hover .featured-overlay p {
  transform: translateY(0);
  opacity: 1;
}

/* ===== SPLIT LAYOUT (ABOUT/HOME) ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.split-img {
  position: relative;
}

.split-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  z-index: 0;
}

.split-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.split-content h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
}

.split-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

/* ===== BANNER CTA ===== */
.lux-banner {
  background: linear-gradient(to right, #0a0a0a, #1a0505);
  padding: 80px 6%;
  text-align: center;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
}

.lux-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/LOGO.png') no-repeat center center;
  background-size: contain;
  opacity: 0.03;
  pointer-events: none;
}

.lux-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.lux-banner p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ===== CONTACT PAGE LUXURY ===== */
.page-header {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  margin-top: 0; /* Changed from old design */
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.page-header h1 {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  color: var(--gold);
  letter-spacing: 2px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  background: var(--bg-card);
  padding: 60px;
  border: 1px solid var(--border-dim);
  margin-top: -80px;
  position: relative;
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.contact-info-lux h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--gold);
}

.info-item {
  margin-bottom: 30px;
}

.info-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-main);
  font-size: 1.1rem;
}

.contact-form-lux .form-group {
  margin-bottom: 25px;
}

.contact-form-lux input,
.contact-form-lux textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dim);
  padding: 15px 0;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form-lux input:focus,
.contact-form-lux textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.contact-form-lux textarea {
  height: 120px;
  resize: none;
}

.map-lux {
  width: 100%;
  height: 400px;
  margin-top: 40px;
  border: 1px solid var(--border-dim);
  filter: grayscale(100%) invert(90%) contrast(1.2); /* Dark mode map illusion */
}

/* ===== MENU PAGE (DO NOT BREAK, USER LIKED THIS) ===== */
.menu-page-section {
  padding: 140px 6% 80px;
  background: var(--bg-deep);
}

.menu-page-header {
  text-align: center;
  margin-bottom: 80px;
}

.menu-page-header .logo-menu {
  height: 120px;
  width: auto;
  max-width: 400px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 10px 25px rgba(212, 175, 55, 0.2));
}

.menu-page-header h1 {
  font-size: 3.5rem;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 2px;
}

.menu-page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.menu-columns {
  column-count: 2;
  column-gap: 60px;
}

.menu-cat {
  break-inside: avoid;
  margin-bottom: 60px;
  padding: 40px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
}

.menu-cat-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.menu-cat-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--red);
}

.menu-cat-header h3 {
  font-size: 2rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 5px;
}

.menu-cat-header .ar {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 500;
  font-family: Arial, sans-serif; /* Fallback for Arabic */
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  position: relative;
}

.menu-row::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  border-bottom: 1px dotted var(--border-dim);
}

.menu-row .name {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-main);
  padding-right: 15px;
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.menu-row .price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  padding-left: 15px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  background: var(--bg-card);
}

/* ===== LUXURY FOOTER ===== */
footer {
  background: #000;
  padding: 80px 6% 30px;
  border-top: 1px solid var(--border-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 110px;
  width: auto;
  max-width: 350px;
  margin-bottom: 25px;
  filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.1));
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-links h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-links p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-dim);
  color: #555;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== GALLERY SLIDER ===== */
.marquee-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap; /* Forces elements to stay in one line */
  font-size: 0; /* Removes default inline-block spacing */
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  display: inline-block;
  width: 350px;
  height: 250px;
  margin-right: 20px; /* Replaces flex gap */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
  vertical-align: middle;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  z-index: 10;
  pointer-events: none;
  transition: var(--transition);
}

.gallery-item:hover::before {
  border-color: var(--gold);
}

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

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

/* 50% translation works perfectly because the track contains 2 identical sets of images (16 items total). 50% is exactly 8 items! */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3.5rem; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .menu-columns { column-count: 1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 2.5rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-padding { padding: 80px 5%; }
}
