/* Global Styles & Variables */
:root {
  --primary: #FFD700;
  --secondary: #FF4500;
  --dark: #121212;
  --dark-glass: rgba(18, 18, 18, 0.9);
  --light: #F5F5F5;
  --gray: #333333;
  --accent: #32CD32;
  --font-main: 'Outfit', sans-serif;
  --font-display: 'Oleo Script', cursive;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--dark-glass);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  color: var(--primary);
  font-family: var(--font-display);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--light);
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition);
  background-color: var(--light);
}

/* Hero Section */
#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('assets/images/hero_bg.png') no-repeat center center/cover;
}

#hero::overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* We need to use ::before pseudo element essentially as overlay but cleaner HTML */
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(18, 18, 18, 1));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* About Section */
#about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.about-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Menu Section */
#menu {
  background: #1a1a1a;
}

.section-title {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-card {
  background: var(--gray);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.card-img {
  height: 250px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.menu-card:hover .card-img img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.card-desc {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 1rem;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Stats/Parallax Section */
.parallax-strip {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/hero_bg.png') fixed center center/cover;
  padding: 4rem 0;
  text-align: center;
}

.stat-num {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
}

/* Contact Section & Footer */
#contact {
  background: var(--dark);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  color: var(--secondary);
  font-size: 3rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.map-container {
  flex: 1;
  min-width: 300px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  filter: grayscale(100%) invert(92%) contrast(83%);
  /* Dark mde map fix style */
}

/* Footer */
footer {
  background: black;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #333;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: var(--dark);
    width: 100%;
    text-align: center;
    transition: 0.3s;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 16px 0;
  }
}

/* Partners Section */
#partners {
  background: var(--dark);
  text-align: center;
}

.partner-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.partner-block {
  background: var(--gray);
  padding: 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidco-logo {
  max-width: 250px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.delivery-brands {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.brand-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
  color: white;
}

.brand-talabat {
  background: #FF5A00;
}

.brand-keeta {
  background: #FECD00;
  color: black;
}

.brand-btn:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

.free-delivery-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(50, 205, 50, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(50, 205, 50, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(50, 205, 50, 0);
  }
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column-reverse;
  /* Stack upwards */
  gap: 15px;
  z-index: 2000;
}

.float-btn {
  position: relative;
  /* Essential for absolute positioning of tooltip */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-talabat {
  background-color: #FF5A00;
}

.float-keeta {
  background-color: #FECD00;
  color: black;
}

/* Tooltip Labels (Always Visible) */
.float-btn::before {
  content: attr(title);
  position: absolute;
  right: 75px;
  /* Position to the left of the button */
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: black;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* PDF Modal Styles */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  height: 90%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

@keyframes animatetop {
  from {
    opacity: 0;
    transform: scale(0.9)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

.close-modal {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
  z-index: 3001;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  cursor: pointer;
}

#menu-frame {
  width: 100%;
  height: 100%;
}