@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --teal: #5e7279;
  --terracotta: #894734;
  --navy: #313444;
  --brown: #56220c;
  --cream: #faf8f5;
  --gold: #c9a227;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', 'Tahoma', sans-serif;
  background-color: var(--cream);
  color: var(--navy);
  direction: rtl;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* ==================== HEADER ==================== */
header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(137, 71, 52, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--terracotta), var(--brown));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::before {
  content: '✦';
  color: var(--gold);
  font-size: 24px;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--brown);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 10px 20px;
  font-weight: 500;
  font-size: 16px;
  border-radius: 30px;
  color: var(--navy);
  position: relative;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-links a.active {
  background: var(--terracotta);
  color: var(--white);
}

.nav-cta {
  background: var(--brown) !important;
  color: var(--white) !important;
}

/* Burger Button */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--brown);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {
  .burger-btn {
    display: flex;
    order: 2;
  }

  .logo {
    order: 1;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 40px;
    gap: 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 100;
    order: 3;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    padding: 16px 20px;
    font-size: 18px;
    border-radius: 12px;
    width: 100%;
    text-align: right;
  }

  .nav-links a:hover {
    background: rgba(137, 71, 52, 0.1);
  }

  .nav-cta {
    margin-top: 20px;
    text-align: center !important;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ==================== HERO SLIDER ==================== */
.hero {
  min-height: 100vh;
  position: relative;
  margin-top: 0;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 100vh;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-1 .slide-bg {
  background: linear-gradient(135deg, rgba(49, 52, 68, 0.7) 0%, rgba(94, 114, 121, 0.6) 50%, rgba(137, 71, 52, 0.7) 100%),
    url('/images/souad.jpg');
  background-size: cover;
  background-position: center;
}

.slide-2 .slide-bg {
  background: linear-gradient(135deg, rgba(137, 71, 52, 0.7) 0%, rgba(86, 34, 12, 0.6) 50%, rgba(49, 52, 68, 0.7) 100%),
    url('/images/souad.jpg');
  background-size: cover;
  background-position: center;
}

.slide-3 .slide-bg {
  background: linear-gradient(135deg, rgba(94, 114, 121, 0.7) 0%, rgba(49, 52, 68, 0.6) 50%, rgba(86, 34, 12, 0.7) 100%),
    url('/images/souad.jpg');
  background-size: cover;
  background-position: center;
}

.slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.slide-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a227'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='80' cy='0' r='3'/%3E%3Ccircle cx='0' cy='80' r='3'/%3E%3Ccircle cx='80' cy='80' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding-right: 60px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid var(--gold);
  border-radius: 50px;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 24px;
}

.slide-badge::before {
  content: '✦';
}

.slide h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.slide p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.slide-cta:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide-decoration {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border: 3px solid rgba(201, 162, 39, 0.3);
  border-radius: 50%;
  z-index: 1;
}

.slide-decoration::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.slide-decoration::after {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 50%;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 60px;
  right: 60px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0L100 50L50 100L0 50z' fill='%23894734' fill-opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  order: 1;
}

.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, rgba(94, 114, 121, 0.3), rgba(49, 52, 68, 0.3)),
    url('/images/111.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.about-image-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a227' fill-opacity='0.15'%3E%3Cpath d='M20 0L40 20L20 40L0 20z'/%3E%3C/g%3E%3C/svg%3E");
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: var(--terracotta);
  border-radius: 20px;
  z-index: -1;
}

.about-image-frame {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: 15px;
}

.about-content {
  order: 2;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--terracotta);
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-title span {
  color: var(--terracotta);
}

.about-text {
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border-radius: 12px;
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--terracotta), var(--brown));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.about-feature span {
  font-weight: 600;
  color: var(--navy);
}

/* ==================== MENU SECTION ==================== */
.menu-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #f0ebe4 100%);
}

.menu-header {
  text-align: center;
  margin-bottom: 60px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.menu-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(49, 52, 68, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(137, 71, 52, 0.08);
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(49, 52, 68, 0.15);
}

.menu-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--terracotta), var(--brown));
  position: relative;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.1);
}

.menu-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  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%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.menu-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  border-radius: 20px;
}

.menu-card-content {
  padding: 28px;
}

.menu-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.menu-card-desc {
  font-size: 15px;
  color: var(--teal);
  margin-bottom: 20px;
  line-height: 1.7;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-card-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--terracotta);
}

.menu-card-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
}

.menu-card-btn {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: all 0.3s ease;
}

.menu-card-btn:hover {
  background: var(--terracotta);
  transform: rotate(90deg);
}

.menu-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--brown);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(137, 71, 52, 0.3);
}

/* ==================== RESERVATION SECTION ==================== */
.reservation-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
}

.reservation-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3C/g%3E%3C/svg%3E");
}

.reservation-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.reservation-content .section-label {
  color: var(--gold);
}

.reservation-content .section-label::before {
  background: var(--gold);
}

.reservation-content .section-title {
  color: var(--white);
}

.reservation-content .section-title span {
  color: var(--gold);
}

.reservation-form {
  background: var(--white);
  padding: 50px;
  border-radius: 30px;
  margin-top: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  text-align: right;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e8e4df;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}

.form-submit {
  margin-top: 30px;
}

.form-submit button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--terracotta), var(--brown));
  color: var(--white);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(137, 71, 52, 0.4);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.8;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .slide-content {
    padding: 0 20px;
    text-align: center;
  }
  
  .slide-decoration {
    display: none;
  }
  
  .slider-controls {
    right: 50%;
    transform: translateX(50%);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: 2;
  }
  
  .about-content {
    order: 1;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* ==================== OTHER PAGES ==================== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 20px;
  opacity: 0.8;
}

.page-content {
  padding: 80px 0;
  background: var(--white);
}

.page-content .container {
  max-width: 900px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.phone-number {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block; /* Ensures the direction applies strictly to the element */
}
