/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  --primary-color: #ff4757; /* Vibrant Pink/Red */
  --primary-dark: #ff253a;
  --secondary-color: #ffa502; /* Warm Orange/Gold */
  --text-dark: #2f3542;
  --text-light: #747d8c;
  --bg-light: #ffffff;
  --bg-surface: #fcf4f5; /* Very subtle pink tint */
  --white: #ffffff;
  --black: #000000;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

/* Custom Buttons */
.btn-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-custom:hover {
  background-color: var(--white);
  color: var(--text-dark);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  background-color: transparent;
  z-index: 1030;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar.scrolled .navbar-brand {
  color: var(--primary-color) !important;
}

.navbar-brand i {
  color: var(--primary-color);
}

/* Hanging Logo Styles */
.logo-wrapper {
  position: relative;
  width: 200px;
  height: 60px;
  margin-right: 30px;
  display: block;
}

.hanging-logo {
  position: absolute;
  top: -20px;
  left: 0;
  background-color: var(--bg-surface);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  border: 4px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  transition: var(--transition);
  z-index: 1050;
}

.navbar.scrolled .hanging-logo {
  top: -10px;
  width: 140px;
  padding: 12px;
}

.hanging-logo img {
  width: 100%;
  max-height: 160px; /* Greatly increased logo height */
  object-fit: contain;
}

.nav-link {
  font-weight: 600;
  color: var(--white) !important;
  margin: 0 10px;
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  color: var(--white);
  padding-top: 100px;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--white);
  margin-top: 50px;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 600px;
  color: var(--white);
}

.floating-food {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  background-color: var(--bg-surface);
}

.about-img-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,71,87,0.2), transparent);
  z-index: 1;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--primary-color);
  color: var(--white);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 8px solid var(--bg-surface);
}

.experience-badge h3 {
  font-size: 2.5rem;
  margin: 0;
  color: var(--white);
  line-height: 1;
}

.experience-badge p {
  font-size: 0.9rem;
  margin: 0;
  text-transform: uppercase;
  font-weight: 600;
}

.counter-box {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.counter-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.counter-box i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.counter-box .counter {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 5px;
  display: block;
}

.counter-box p {
  color: var(--text-light);
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   Featured Dishes
   ========================================================================== */
.dish-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
}

.dish-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.dish-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.dish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dish-card:hover .dish-img img {
  transform: scale(1.1);
}

.dish-price {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 50px;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.dish-content {
  padding: 25px;
}

.dish-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.dish-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.dish-rating i {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* ==========================================================================
   Flipbook Styles
   ========================================================================== */
.menu-section {
  background-color: var(--bg-surface);
  overflow-x: hidden;
}

.flipbook-container {
    width: 800px;
    height: 500px;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    background-color: #fff;
    border-radius: 5px;
    margin: 0 auto;
}

.flipbook-container .page, 
.flipbook-container .hard {
    background-color: #fdfaf6;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.flipbook-container .cover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flipbook-container .back-cover {
    background-color: var(--white);
    border-left: 1px solid #eee;
}

.menu-cover-logo {
    max-width: 120px;
    filter: brightness(0) invert(1);
}

.menu-item-simple {
    margin-bottom: 25px;
}

.menu-item-simple h5 {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    padding-bottom: 5px;
}

.menu-item-simple h5 span {
    color: var(--primary-color);
}

.menu-item-simple p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-surface);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-content p {
  color: var(--text-light);
  margin: 0;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-surface);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-control {
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
  background-color: var(--white);
}

.error-message {
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.success-message {
  background-color: #2ed573;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}

.footer-logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo i {
  color: var(--primary-color);
}

.footer h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

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

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: #222630;
  padding: 20px 0;
  margin-top: 60px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
  .flipbook-container {
      transform: scale(0.85);
      transform-origin: top center;
  }

  .navbar {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
  }
  
  .navbar-brand {
    color: var(--primary-color) !important;
  }
  
  .nav-link {
    color: var(--text-dark) !important;
    padding: 10px 0;
  }
  
  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: var(--shadow-md);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .experience-badge {
    right: 20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
  }
  
  .experience-badge h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .flipbook-container {
      transform: scale(0.65);
      transform-origin: top center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .map-container {
    margin-top: 40px;
  }
}

/* ==========================================================================
   Branches Section Styles
   ========================================================================== */
.branches-section {
  background-color: var(--white);
}

.branches-swiper {
  padding: 20px 15px 60px 15px !important;
}

.branch-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.branch-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.branch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.branch-card:hover .branch-img img {
  transform: scale(1.08);
}

.branch-status-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #2ed573;
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.branch-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.branch-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.branch-details {
  margin-bottom: 20px;
}

.branch-details p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.branch-details p i {
  color: var(--primary-color);
  font-size: 1.05rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.branch-actions {
  display: flex;
  gap: 12px;
}

.btn-branch {
  flex: 1;
  padding: 10px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  border: 2px solid #25d366;
}

.btn-whatsapp:hover {
  background-color: transparent;
  color: #25d366;
}

.btn-maps {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-maps:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* Swiper Controls Theme Coloring */
.branches-swiper .swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

.branches-swiper .swiper-button-next,
.branches-swiper .swiper-button-prev {
  color: var(--primary-color) !important;
  background: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.branches-swiper .swiper-button-next:after,
.branches-swiper .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: 800;
}

.branches-swiper .swiper-button-next:hover,
.branches-swiper .swiper-button-prev:hover {
  background: var(--primary-color);
  color: var(--white) !important;
}

/* ==========================================================================
   Floating Quick Action Buttons Styles
   ========================================================================== */
.floating-quick-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1040;
}

.btn-floating {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.btn-floating:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.btn-call {
  background-color: var(--primary-color);
}

.btn-whatsapp-floating {
  background-color: #25d366;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 767px) {
  .branches-swiper .swiper-button-next,
  .branches-swiper .swiper-button-prev {
    display: none !important;
  }
  .floating-quick-actions {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }
  .btn-floating {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}
