:root {
  --primary-red: #dc3545;
  --primary-orange: #ff9800;
  --dark-bg: #2c3e50;
  --light-bg: #f8f9fa;
  --text-dark: #2d3436;
  --text-gray: #6c757d;
  --text-muted: #636e72;
  --gradient-primary: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Top Bar */
.top-bar {
  background: var(--dark-bg);
  padding: 0.8rem 0;
  font-size: 0.9rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-buttons {
  display: flex;
  gap: 0.8rem;
}

.app-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.app-btn i {
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-orange);
  transform: translateY(-2px);
}

/* Main Navbar */
.main-navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.8rem;
}

.logo-icon i {
  color: white;
  font-size: 1.8rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1;
}

.logo-text .brand-tagline {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.search-area {
  flex: 1;
  max-width: 600px;
  margin: 0 2rem;
}

.search-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.9rem 3.5rem 0.9rem 1.2rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #c82333;
}

.user-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.submit-recipe-btn {
  background: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.submit-recipe-btn:hover {
  background: #fb8c00;
  color: white;
  transform: translateY(-2px);
}

.login-btn {
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  background: white;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-btn:hover {
  background: var(--primary-red);
  color: white;
}

/* Secondary Navbar */
.secondary-navbar {
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.secondary-navbar .nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
}

.secondary-navbar .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.secondary-navbar .nav-link:hover,
.secondary-navbar .nav-link.active {
  background: var(--primary-red);
  color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Sidebar Menu */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 2001;
  transition: all 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-menu.active {
  left: 0;
}

.sidebar-header {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-nav {
  padding: 1rem 0;
}

.sidebar-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: #f8f9fa;
  border-left-color: var(--primary-red);
  color: var(--primary-red);
}

.sidebar-nav a i {
  margin-right: 0.8rem;
  width: 20px;
}

/* Hero Slider */
.hero-slider {
  height: 85vh;
  position: relative;
  overflow: hidden;
}

.carousel-item {
  height: 85vh;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.4),
    rgba(255, 152, 0, 0.3)
  );
  z-index: 1;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

/* Advanced Search Box */
.advanced-search-box {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
}

/* Quick Categories */
.quick-categories {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.quick-cat-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.quick-cat-btn {
  background: white;
  border: 1.5px solid #e9ecef;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-cat-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.quick-cat-btn i {
  font-size: 0.9rem;
}

/* Main Search Bar */
.main-search-bar {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.search-main-input {
  width: 100%;
  padding: 1.1rem 1.5rem 1.1rem 3.5rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-main-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.btn-main-search {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  color: white;
  border: none;
  padding: 1.1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-main-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Search Filters */
.search-filters {
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.filter-select {
  padding: 0.7rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
  font-weight: 500;
}

.filter-select:hover {
  border-color: var(--primary-red);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Custom Carousel Controls */
.custom-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.2rem;
}

.carousel-control-prev {
  left: 2rem;
}

.carousel-control-next {
  right: 2rem;
}

.custom-carousel-control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

/* Custom Indicators */
.custom-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 3;
}

.custom-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-indicator.active,
.custom-indicator:hover {
  background: white;
  width: 35px;
  border-radius: 6px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .quick-categories {
    justify-content: center;
  }

  .filter-group {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .advanced-search-box {
    padding: 1.5rem;
  }

  .quick-cat-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .filter-select {
    min-width: 120px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .hero-slider,
  .carousel-item {
    height: 70vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .advanced-search-box {
    padding: 1.2rem;
  }

  .quick-categories {
    gap: 0.2rem;
  }

  .quick-cat-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  .main-search-bar {
    flex-direction: column;
  }

  .btn-main-search {
    width: 100%;
    padding: 0.5rem;
  }

  .filter-select {
    width: 100%;
    min-width: auto;
  }

  .custom-carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-control-prev {
    left: 1rem;
  }

  .carousel-control-next {
    right: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-slider,
  .carousel-item {
    height: 80vh;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .quick-cat-label {
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .quick-categories {
    justify-content: center;
  }

  .search-main-input {
    padding: 1rem 1rem 1rem 3rem;
    font-size: 0.9rem;
  }

  .search-icon {
    left: 1rem;
  }

  .filter-label {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

/* Categories Section */
.categories-section {
  padding: 4rem 0;
  background: white;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  border-radius: 2px;
}

.category-card {
  position: relative;
  height: 220px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff000042, #ff000026);
  transition: all 0.3s ease;
  z-index: 1;
}

.category-card:hover::before {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.85),
    rgba(255, 152, 0, 0.75)
  );
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
}

.category-overlay i {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 0.8rem;
}

.category-overlay h3 {
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.category-count {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Recipes Section */
.recipes-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.recipe-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
  background: white;
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.recipe-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recipe-card:hover img {
  transform: scale(1.08);
}

.recipe-img-container {
  position: relative;
  overflow: hidden;
}

.recipe-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.recipe-time {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.recipe-time i {
  color: var(--primary-red);
  margin-right: 0.3rem;
}

.recipe-card .card-body {
  padding: 1.3rem;
}

.recipe-card .card-title {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-card .card-text {
  color: var(--text-gray);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.recipe-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recipe-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.recipe-author span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.recipe-rating {
  color: var(--primary-orange);
  font-weight: 600;
}

/* Blog Section */
.blog-section {
  padding: 4rem 0;
  background: white;
}

.blog-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  background: white;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.3rem;
}

.blog-date {
  color: var(--primary-red);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Video Section */
.video-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: #636e72;
  font-size: 1.05rem;
  margin-top: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  animation: fadeInUp 0.6s ease-out backwards;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(220, 53, 69, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .video-thumbnail::before {
  opacity: 1;
}

.video-thumbnail iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  color: #dc3545;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-new {
  background: #ff6b35;
  color: white;
}

.badge-popular {
  background: #ffd93d;
  color: #2d3436;
}

.badge-trending {
  background: #6c5ce7;
  color: white;
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1);
}

.play-overlay i {
  color: #dc3545;
  font-size: 1.8rem;
  margin-left: 4px;
}

.video-content {
  padding: 20px;
}

.video-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 54px;
}

.video-description {
  color: #636e72;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #636e72;
  font-size: 0.85rem;
}

.meta-item i {
  color: #dc3545;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.video-card:nth-child(1) {
  animation-delay: 0.1s;
}

.video-card:nth-child(2) {
  animation-delay: 0.2s;
}

.video-card:nth-child(3) {
  animation-delay: 0.3s;
}

.video-card:nth-child(4) {
  animation-delay: 0.4s;
}

.video-card:nth-child(5) {
  animation-delay: 0.5s;
}

.video-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .video-thumbnail {
    height: 200px;
  }

  .video-section {
    padding: 40px 0;
  }
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
}

.footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer ul li a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.8rem;
}

.footer-logo-icon i {
  color: white;
  font-size: 1.5rem;
}

.footer-brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-orange);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-brands {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-logo {
  opacity: 0.5;
  transition: all 0.3s ease;
  height: 30px;
}

.footer-brand-logo:hover {
  opacity: 1;
}

.mediaone-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.mediaone-highlight {
  color: var(--primary-orange);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .search-area {
    margin: 1rem 0;
    max-width: 100%;
  }

  .navbar-content {
    flex-wrap: wrap;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .secondary-navbar {
    display: none;
  }

  .user-actions .login-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2.2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .slider-search-box .btn-search {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .category-card {
    height: 180px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .top-bar-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .app-buttons {
    justify-content: center;
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-slider,
  .carousel-item {
    height: 80vh;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .submit-recipe-btn span {
    display: none;
  }

  .slider-search-box {
    padding: 0.3rem;
  }

  .slider-search-box input {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .slider-search-box .btn-search {
    padding: 0.8rem 1.2rem;
  }
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.video-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  max-height: 675px;
  margin: 10vh auto;
  z-index: 10000;
  animation: slideUp 0.4s ease;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10001;
}

.modal-close:hover {
  background: white;
  color: #dc3545;
  transform: rotate(90deg);
}

.modal-video-wrapper {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .modal-close {
    top: -45px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Calorie Calculator Section */
.calorie-calculator-section {
  padding: 4rem 0;
  background-color: #eafffe;
}

.calculator-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
}

.calculator-form-area {
  padding: 3rem;
  background: white;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header i {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.form-header h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.calc-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.calc-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Gender Selection */
.gender-select {
  display: flex;
  gap: 1rem;
}

.gender-select input[type='radio'] {
  display: none;
}

.gender-option {
  flex: 1;
  padding: 1.2rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gender-option i {
  font-size: 2rem;
  color: var(--text-gray);
}

.gender-option span {
  font-weight: 600;
  color: var(--text-dark);
}

.gender-select input[type='radio']:checked + .gender-option {
  border-color: var(--primary-red);
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.05),
    rgba(255, 152, 0, 0.05)
  );
}

.gender-select input[type='radio']:checked + .gender-option i {
  color: var(--primary-red);
}

/* Goal Selection */
.goal-select {
  display: flex;
  gap: 0.8rem;
}

.goal-select input[type='radio'] {
  display: none;
}

.goal-option {
  flex: 1;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.goal-option i {
  font-size: 1.5rem;
  color: var(--text-gray);
}

.goal-option span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.goal-select input[type='radio']:checked + .goal-option {
  border-color: var(--primary-orange);
  background: linear-gradient(
    135deg,
    rgba(255, 152, 0, 0.1),
    rgba(255, 152, 0, 0.05)
  );
}

.goal-select input[type='radio']:checked + .goal-option i {
  color: var(--primary-orange);
}

/* Calculate Button */
.btn-calculate {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
}

/* Results Area */
.calculator-results-area {
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  height: 100%;
}

.results-header {
  text-align: center;
  margin-bottom: 2rem;
}

.results-header i {
  font-size: 2.5rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.results-header h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-state i {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Result Items */
.result-item {
  background: white;
  padding: 1.3rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.result-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.result-item.highlight {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.05),
    rgba(255, 152, 0, 0.05)
  );
  border-color: var(--primary-red);
}

.result-item.success {
  background: linear-gradient(
    135deg,
    rgba(255, 152, 0, 0.05),
    rgba(255, 193, 7, 0.05)
  );
  border-color: var(--primary-orange);
}

.result-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.result-label i {
  color: var(--primary-red);
  font-size: 1.2rem;
}

.result-label span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.result-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.3rem;
}

.result-value::after {
  content: ' kcal';
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 500;
}

.result-desc {
  color: var(--text-gray);
  font-size: 0.85rem;
}

/* Macros Section */
.macros-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  border: 2px solid #e9ecef;
}

.macros-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.macro-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}

.macro-item:last-child {
  margin-bottom: 0;
}

.macro-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.macro-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.macro-icon.protein {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.macro-icon.carbs {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.macro-icon.fats {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.macro-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.macro-info small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-gray);
}

.macro-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* Tips Section */
.calorie-tips {
  margin-top: 3rem;
}

.tip-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.tip-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.tip-icon i {
  font-size: 2rem;
  color: white;
}

.tip-card h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.tip-card p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .calculator-form-area,
  .calculator-results-area {
    padding: 2rem;
  }

  .result-value {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .gender-select,
  .goal-select {
    flex-direction: column;
  }

  .calculator-form-area,
  .calculator-results-area {
    padding: 1.5rem;
  }

  .form-header i,
  .results-header i {
    font-size: 2rem;
  }

  .result-value {
    font-size: 1.5rem;
  }

  .macro-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .tip-card {
    margin-bottom: 1rem;
  }
}

.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  padding: 4rem 0 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin: 1.5rem 0 0;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.breadcrumb-custom .breadcrumb-item {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-custom .breadcrumb-item a {
  color: white;
  text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: white;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

/* Contact Info Cards */
.contact-info-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon i {
  font-size: 2rem;
  color: white;
}

.contact-info-card h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-info-card p {
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-info-card a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--primary-orange);
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  padding: 0.9rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  background: linear-gradient(
    135deg,
    var(--primary-red),
    var(--primary-orange)
  );
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.form-check-input:checked {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

/* Map Section */
.map-section {
  padding: 0;
  margin-top: 5rem;
}

.map-container {
  width: 100%;
  height: 450px;
  background: #e9ecef;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: white;
}

.accordion-item {
  border: 2px solid #e9ecef;
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  padding: 1.2rem 1.5rem;
  font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.05),
    rgba(255, 152, 0, 0.05)
  );
  color: var(--primary-red);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-red);
}

.accordion-body {
  padding: 1.5rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.link-style {
  text-decoration: none;
  color: var(--primary-red);
}

/* Menu Categories Section */
.menu-categories-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-red);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Menu Category Card */
.menu-category-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.menu-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.menu-category-card.featured {
  border: 2px solid var(--primary-red);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-red);
  color: white;
  padding: 0.35rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.featured-badge i {
  font-size: 0.7rem;
}

/* Card Image */
.menu-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-category-card:hover .menu-card-image img {
  transform: scale(1.1);
}

.menu-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  transition: all 0.3s ease;
}

.menu-category-card:hover .menu-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

/* Card Top Info */
.card-top-info {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

/* Menu Icon */
.menu-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.menu-icon i {
  font-size: 1.3rem;
  color: var(--primary-red);
}

/* Recipe Count Badge */
.recipe-count-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.recipe-count-badge i {
  color: var(--primary-red);
  font-size: 0.75rem;
}

/* Card Content */
.menu-card-content {
  padding: 1.2rem 1rem;
}

/* Menu Title */
.menu-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Menu Description */
.menu-desc {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Menu Button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  color: var(--primary-red);
  gap: 0.8rem;
}

.menu-btn i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.menu-btn:hover i {
  transform: translateX(3px);
}

/* View All Button */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: white;
  color: var(--primary-red);
  padding: 0.9rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary-red);
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(220, 53, 69, 0.15);
}

.btn-view-all:hover {
  background: var(--primary-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.25);
}

/* Responsive Design */
@media (max-width: 1400px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
  }
}

@media (max-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 992px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .menu-card-image {
    height: 160px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-categories-section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .menu-card-image {
    height: 140px;
  }

  .menu-card-content {
    padding: 1rem 0.8rem;
  }

  .menu-title {
    font-size: 1rem;
  }

  .menu-desc {
    font-size: 0.8rem;
  }

  .menu-icon {
    width: 38px;
    height: 38px;
  }

  .menu-icon i {
    font-size: 1.1rem;
  }

  .recipe-count-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .card-top-info {
    padding: 0 10px;
    bottom: 10px;
  }
}

@media (max-width: 576px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .menu-card-image {
    height: 180px;
  }

  .menu-card-content {
    padding: 1.2rem 1rem;
  }

  .menu-title {
    font-size: 1.1rem;
  }

  .menu-desc {
    font-size: 0.85rem;
  }

  .btn-view-all {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .menu-grid {
    gap: 0.8rem;
  }

  .menu-card-image {
    height: 160px;
  }
}

/* Animation Effects */
.menu-category-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.menu-category-card:nth-child(1) {
  animation-delay: 0.05s;
}
.menu-category-card:nth-child(2) {
  animation-delay: 0.1s;
}
.menu-category-card:nth-child(3) {
  animation-delay: 0.15s;
}
.menu-category-card:nth-child(4) {
  animation-delay: 0.2s;
}
.menu-category-card:nth-child(5) {
  animation-delay: 0.25s;
}
.menu-category-card:nth-child(6) {
  animation-delay: 0.3s;
}
.menu-category-card:nth-child(7) {
  animation-delay: 0.35s;
}
.menu-category-card:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}

.pagination a {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.pagination a:hover {
  background: #e63946;
  color: #fff;
}

.pagination a.active {
  background: #e63946;
  color: #fff;
}

.pagination a.prev,
.pagination a.next {
  font-size: 20px;
}

.main-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.main-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.main-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
}

/* Filter Container */
.filter-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
}

/* Category Pills */
.category-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-pill {
  padding: 12px 24px;
  border: 2px solid #e9ecef;
  border-radius: 30px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #495057;
}

.category-pill:hover {
  border-color: #ff6b35;
  background: #fff5f2;
  transform: translateY(-2px);
}

.category-pill.active {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  border-color: #ff6b35;
  color: white;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Filters */
.search-filters {
  display: flex;
  justify-content: center;
}

.filter-group {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.filter-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
  white-space: nowrap;
}

.filter-select {
  padding: 14px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 180px;
  color: #495057;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 45px;
}

.filter-select:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.filter-select:hover {
  border-color: #ff6b35;
}

/* Results Info */
.results-info {
  text-align: center;
  margin-bottom: 30px;
  color: #7f8c8d;
  font-size: 1rem;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  border-radius: 2px;
}

/* Recipe Grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.recipe-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.recipe-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.recipe-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.recipe-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recipe-card:hover .recipe-image {
  transform: scale(1.1);
}

/* New Badge */
.new-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
  z-index: 2;
}

/* Time Badge */
.time-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.recipe-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.recipe-title {
  font-size: 1.25rem;
  color: #2c3e50;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-description {
  font-size: 0.9rem;
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.recipe-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.recipe-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}

.author-text {
  font-size: 0.85rem;
  color: #7f8c8d;
}

.recipe-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #ffa500;
  font-size: 1.1rem;
}

.star-icon {
  color: #ffa500;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .filter-container {
    padding: 30px 20px;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .main-subtitle {
    font-size: 1rem;
  }

  .filter-group {
    flex-direction: column;
    width: 100%;
  }

  .filter-select {
    width: 100%;
    min-width: 100%;
  }

  .filter-label {
    display: none !important;
  }

  .category-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-pills::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    flex-shrink: 0;
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .main-section {
    padding: 40px 15px;
  }

  .filter-container {
    padding: 25px 15px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .recipe-image-wrapper {
    height: 220px;
  }
}

.d-none {
  display: none;
}

@media (min-width: 768px) {
  .d-md-flex {
    display: flex !important;
  }
}

.breadcrumb-section {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: var(--primary-red);
}

.breadcrumb-item.active {
  color: var(--text-dark);
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: var(--text-muted);
  padding: 0 8px;
}

.breadcrumb-item i {
  margin-right: 5px;
}

/* ============================================
   MAIN SECTION
   ============================================ */
.recipe-detail-section {
  padding: 40px 0 60px;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* ============================================
   RECIPE HEADER
   ============================================ */
.recipe-header {
  margin-bottom: 30px;
}

.recipe-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-trending {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
  color: white;
}

.badge-difficulty {
  background: #ffd93d;
  color: #2d3436;
}

.recipe-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}

.recipe-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.5;
}

.recipe-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
}

.meta-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.meta-info-item i {
  color: var(--primary-red);
  font-size: 1.1rem;
}

.recipe-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-action:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.recipe-video {
  margin-bottom: 35px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  padding: 15px 20px;
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================
   QUICK INFO CARDS
   ============================================ */
.recipe-quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.quick-info-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s;
}

.quick-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.quick-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.quick-info-content {
  display: flex;
  flex-direction: column;
}

.quick-info-content .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.quick-info-content .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ============================================
   RECIPE SECTIONS
   ============================================ */
.recipe-section {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-red);
}

.title-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.section-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 15px;
}

/* ============================================
   INGREDIENTS
   ============================================ */
.ingredients-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.ingredient-category {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-red);
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ingredient-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ingredient-items li {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  color: var(--text-dark);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ingredient-items li:last-child {
  border-bottom: none;
}

.ingredient-items li::before {
  content: '✓';
  color: white;
  background: var(--primary-red);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
}

.ingredient-items .amount {
  font-weight: 700;
  color: var(--primary-red);
  min-width: 80px;
}

/* ============================================
   INSTRUCTIONS
   ============================================ */
.instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s;
}

.step-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.step-image {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   TIPS SECTION
   ============================================ */
.tips-section {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe6e6 100%);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tip-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tip-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 15px;
}

.tip-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.tip-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comment-count {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.comment-form-wrapper {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.rating-input {
  margin-bottom: 20px;
}

.rating-input label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.star-rating {
  display: flex;
  gap: 8px;
}

.star-rating i {
  font-size: 2rem;
  color: #ddd;
  cursor: pointer;
  transition: all 0.2s;
}

.star-rating i:hover,
.star-rating i.active {
  color: #ffd93d;
  transform: scale(1.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.btn-submit-comment {
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-submit-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
}

.comment-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s;
}

.comment-item:hover {
  background: white;
  box-shadow: var(--shadow-sm);
}

.comment-avatar {
  flex-shrink: 0;
}

.comment-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.commenter-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.comment-rating {
  display: flex;
  gap: 3px;
}

.comment-rating i {
  color: #ffd93d;
  font-size: 0.9rem;
}

.comment-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.comment-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.btn-reply {
  background: transparent;
  border: 2px solid #e0e0e0;
  color: var(--text-muted);
  padding: 6px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.btn-reply:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.btn-load-more {
  width: 100%;
  background: white;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-load-more:hover {
  background: var(--primary-red);
  color: white;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-widget {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 25px;
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-red);
}

/* Nutrition Info */
.nutrition-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nutrition-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.nutrition-item .label {
  color: var(--text-muted);
  font-weight: 500;
}

.nutrition-item .value {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Category Tags */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  display: inline-block;
  padding: 8px 18px;
  background: #f8f9fa;
  border-radius: 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.tag-item:hover {
  background: linear-gradient(135deg, #dc3545 0%, #ff6b35 100%);
  color: white;
  transform: translateY(-2px);
}

/* Related Recipes */
.related-recipes {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.related-recipe-item {
  display: flex;
  gap: 15px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
}

.related-recipe-item:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.related-recipe-image {
  flex-shrink: 0;
}

.related-recipe-image img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.related-recipe-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-recipe-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.recipe-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.recipe-rating i {
  color: #ffd93d;
}

/* Ad Banner */
.ad-banner {
  border-radius: 12px;
  overflow: hidden;
}

.ad-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .recipe-title {
    font-size: 2rem;
  }

  .recipe-subtitle {
    font-size: 1rem;
  }

  .recipe-meta-info {
    gap: 15px;
  }

  .recipe-section {
    padding: 25px 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .ingredients-list {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .comment-item {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .recipe-quick-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-actions {
    flex-direction: column;
  }

  .btn-action {
    width: 100%;
    justify-content: center;
  }
}
