/*Global Rules*/
:root {
  --primary-color: #ff6b08;
  --secondary-color: #1a1a1a;
  --text-color: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --bg-light: #f9f9f9;
  --accent-color: #2ecc71;

  --body-font: "Poppins", sans-serif;
  --heading-font: "Playfair Display", serif;

  --container-width: 1200px;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.sub-title {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 14px;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #e65a00;
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* =========================================
        Main Header Styles
   ========================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: var(--transition);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 28px;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--secondary-color);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary-color);
  font-size: 16px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.mobile-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: var(--transition);
}

.cart-icon {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--primary-color);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
}

.cart-badge.bump {
  transform: scale(1.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 40px;
    transition: 0.5s ease;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 25px;
  }

  .nav-links a {
    font-size: 20px;
  }

  .header-actions .btn-primary {
    display: none;
  }
}

/* =========================================
        Hero Section Styles
   ========================================= */
.hero {
  padding: 160px 0 100px;
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.main-title {
  font-family: var(--heading-font);
  font-size: 64px;
  line-height: 1.1;
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.main-title span {
  color: var(--primary-color);
  display: block;
}

.description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 32px;
  color: var(--secondary-color);
  font-weight: 700;
}

.stat-item span {
  font-size: 14px;
  color: var(--text-light);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.image-container {
  position: relative;
  z-index: 1;
}

.floating-img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  animation: floating 3s ease-in-out infinite;
}

.badge-nutrition {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background-color: var(--white);
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.badge-nutrition i {
  color: var(--accent-color);
  font-size: 24px;
}

.badge-nutrition span {
  font-weight: 600;
  font-size: 14px;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 991px) {
  .hero {
    padding: 120px 0 60px;
    text-align: center;
  }

  .hero-wrapper {
    flex-direction: column;
  }

  .hero-content {
    order: 2;
  }

  .main-title {
    font-size: 42px;
  }

  .description {
    margin: 0 auto 30px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: 1;
    margin-bottom: 50px;
  }

  .badge-nutrition {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }
}

/* =========================================
      Features Section Styles
   ========================================= */
.features-section {
  padding: 100px 0;
  background-color: var(--white);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  padding: 50px 30px;
  background-color: var(--white);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); /* ظل خفيف جداً */
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 107, 8, 0.1);
  color: var(--primary-color);
  font-size: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border-radius: 50%;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(360deg);
}

.feature-card h3 {
  font-family: var(--heading-font);
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 40px 20px;
  }
}

/* =========================================
      Menu Section Styles
   ========================================= */
.menu-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 25px;
  border-radius: 50px;
  background-color: var(--white);
  color: var(--secondary-color);
  font-weight: 500;
  border: 1px solid #ddd;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.main-header.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.menu-item {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.menu-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.item-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.menu-item:hover .item-img img {
  transform: scale(1.1);
}

.price {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 700;
}

.item-info {
  padding: 25px;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.item-header h3 {
  font-family: var(--heading-font);
  font-size: 20px;
}

.nutrition-badge {
  background-color: rgba(46, 204, 113, 0.1);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
}

.item-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  height: 45px;
  overflow: hidden;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.macros {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.add-to-cart {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.add-to-cart:hover {
  background-color: var(--primary-color);
  transform: rotate(90deg);
}

.menu-footer {
  text-align: center;
  margin-top: 60px;
}

@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* =========================================
      Chef Section Styles
   ========================================= */
.chef-section {
  padding: 120px 0;
  background-color: var(--white);
}

.chef-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.chef-image {
  flex: 1;
}

.image-stack {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}

.main-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  z-index: 1;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 25px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 20px rgba(255, 107, 8, 0.3);
  z-index: 2;
}

.experience-badge .years {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 5px;
}

.chef-content {
  flex: 1;
}

.chef-content .section-title {
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: 45px;
}

.chef-content .section-desc {
  margin-bottom: 30px;
  line-height: 1.8;
}

.chef-features {
  margin-bottom: 40px;
}

.chef-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--secondary-color);
}

.chef-features i {
  color: var(--primary-color);
  font-size: 20px;
}

.chef-cta {
  display: flex;
  align-items: center;
  gap: 40px;
}

.chef-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chef-signature img {
  max-width: 120px;
  height: auto;
  filter: grayscale(1);
  opacity: 0.8;
}

.chef-signature span {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 5px;
  font-style: italic;
}

@media (max-width: 991px) {
  .chef-wrapper {
    flex-direction: column;
    gap: 60px;
  }

  .chef-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .chef-content {
    text-align: center;
  }

  .chef-features li {
    justify-content: center;
  }

  .chef-cta {
    flex-direction: column;
    gap: 30px;
  }
}

/* =========================================
      Testimonials Section Styles
   ========================================= */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 8, 0.2);
}

.quote-icon {
  color: var(--primary-color);
  font-size: 30px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.review-text {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.user-details h4 {
  font-size: 17px;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.stars {
  color: #ffb400;
  font-size: 13px;
}

.stars i {
  margin-right: 2px;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 25px;
  }
}

/* =========================================
      Reservation Section Styles
   ========================================= */
.reservation-section {
  padding: 100px 0;
  background-color: var(--white);
}

.reservation-wrapper {
  display: flex;
  gap: 60px;
  background-color: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.reservation-form {
  flex: 1.5;
  padding: 60px;
}

.reservation-form .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.booking-form .form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
  background-color: #fcfcfc;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 107, 8, 0.1);
}

.booking-form textarea {
  margin-bottom: 20px;
  resize: none;
}

.full-width {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info {
  flex: 1;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-box h3 {
  font-family: var(--heading-font);
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.info-box p {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #ccc;
}

.info-box i {
  color: var(--primary-color);
}

.opening-hours li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours li span:first-child {
  color: #ccc;
}

.map-placeholder {
  margin-top: auto;
  border-radius: 15px;
  overflow: hidden;
  height: 180px;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: var(--transition);
}

.map-placeholder:hover img {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .reservation-wrapper {
    flex-direction: column;
  }

  .reservation-form,
  .contact-info {
    padding: 40px;
  }

  .booking-form .form-group {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================================
      Main Footer Styles
   ========================================= */
.main-footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand .logo a {
  color: var(--white);
  font-size: 32px;
  display: block;
  margin-bottom: 20px;
}

.brand-desc {
  color: #999;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.footer-links h3,
.footer-newsletter h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-newsletter h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  color: #999;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.footer-newsletter p {
  color: #999;
  margin-bottom: 20px;
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.newsletter-form input:focus {
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #666;
  font-size: 14px;
}

.footer-bottom strong {
  color: var(--primary-color);
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: #666;
  font-size: 14px;
}

.legal-links a:hover {
  color: var(--white);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-links h3::after,
  .footer-newsletter h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}
