/* ===== ROOT VARIABLES ===== */
:root {
  --pizza-black: #121212;
  --pizza-dark: #1a1a1a;
  --pizza-darker: #0a0a0a;
  --pizza-red: #ff6347;
  --pizza-red-dark: #e5533d;
  --pizza-orange: #ff8c00;
  --pizza-gold: #ffd700;
  --pizza-white: #ffffff;
  --pizza-gray: #e0e0e0;
  --pizza-gray-dark: #888888;
  --gradient-primary: linear-gradient(135deg, var(--pizza-red) 0%, var(--pizza-orange) 100%);
  --shadow-glow: 0 0 40px rgba(255, 99, 71, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--pizza-black);
  color: var(--pizza-white);
  overflow-x: hidden;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--pizza-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.pizza-loader {
  position: relative;
  width: 100px;
  height: 100px;
  animation: rotate 2s linear infinite;
}

.pizza-slice {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--pizza-red);
  border-radius: 50% 0 50% 50%;
  top: 50%;
  left: 50%;
}

.pizza-slice:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg) translateY(-20px);
  animation: pulse 0.6s ease-in-out infinite;
}

.pizza-slice:nth-child(2) {
  transform: translate(-50%, -50%) rotate(120deg) translateY(-20px);
  animation: pulse 0.6s ease-in-out 0.2s infinite;
}

.pizza-slice:nth-child(3) {
  transform: translate(-50%, -50%) rotate(240deg) translateY(-20px);
  animation: pulse 0.6s ease-in-out 0.4s infinite;
}

.loader-text {
  margin-top: 2rem;
  color: var(--pizza-gray);
  font-size: 0.9rem;
  animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--rotate, 0deg)) translateY(-20px) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) rotate(var(--rotate, 0deg)) translateY(-20px) scale(0.8);
  }
}

@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SECTION STYLES ===== */
.section-subtitle {
  display: inline-block;
  color: var(--pizza-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--pizza-gray-dark);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
#mainNav {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#mainNav.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  font-size: 1.8rem;
  color: var(--pizza-red);
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.brand-text {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pizza-white);
}

.brand-highlight {
  color: var(--pizza-red);
}

.nav-link {
  color: var(--pizza-gray) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--pizza-red);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--pizza-red) !important;
}

.nav-link:hover::after {
  width: 80%;
}

.btn-cart {
  background: transparent;
  border: 2px solid var(--pizza-gray);
  color: var(--pizza-white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-cart:hover {
  border-color: var(--pizza-red);
  color: var(--pizza-red);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 0.3s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url("/delicious-pizza-on-wooden-table-dark-background.jpg") center / cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.7) 100%);
}

.floating-pizzas {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-pizza {
  position: absolute;
  font-size: 3rem;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.fp-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.fp-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}
.fp-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 99, 71, 0.2);
  border: 1px solid var(--pizza-red);
  color: var(--pizza-red);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 99, 71, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 99, 71, 0);
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--pizza-gray);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-pizza {
  background: var(--gradient-primary);
  border: none;
  color: var(--pizza-white);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-pizza::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-pizza:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--pizza-white);
}

.btn-pizza:hover::before {
  left: 100%;
}

.btn-pizza-outline {
  background: transparent;
  border: 2px solid var(--pizza-red);
  color: var(--pizza-red);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-pizza-outline:hover {
  background: var(--pizza-red);
  color: var(--pizza-white);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pizza-red);
}

.stat-suffix {
  font-size: 1.5rem;
  color: var(--pizza-red);
}

.stat-label {
  display: block;
  color: var(--pizza-gray-dark);
  font-size: 0.9rem;
}

.hero-image-wrapper {
  position: relative;
  animation: floatImage 4s ease-in-out infinite;
}

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

.hero-pizza-img {
  width: 100%;
  max-width: 450px;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(255, 99, 71, 0.3);
}

.pizza-badge {
  position: absolute;
  background: var(--pizza-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-card);
}

.pizza-badge i {
  color: var(--pizza-red);
}

.pizza-badge-1 {
  top: 10%;
  right: -10%;
}

.pizza-badge-2 {
  bottom: 20%;
  left: -10%;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce-scroll 2s infinite;
}

.hero-scroll-indicator a {
  color: var(--pizza-gray);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.hero-scroll-indicator a:hover {
  color: var(--pizza-red);
}

@keyframes bounce-scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--pizza-dark);
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 80%;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 50%;
  border-radius: 20px;
  border: 5px solid var(--pizza-dark);
  box-shadow: var(--shadow-card);
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.exp-number {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  display: block;
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-text {
  color: var(--pizza-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 99, 71, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pizza-red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-content h5 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-content p {
  color: var(--pizza-gray-dark);
  margin: 0;
  font-size: 0.9rem;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background: var(--pizza-black);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card {
  background: var(--pizza-dark);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--pizza-red);
  box-shadow: var(--shadow-glow);
}

.feature-card-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 99, 71, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--pizza-red);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-card-icon {
  background: var(--gradient-primary);
  color: var(--pizza-white);
  transform: rotateY(360deg);
}

.feature-card h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--pizza-gray-dark);
  margin: 0;
}

/* ===== MENU SECTION ===== */
.menu-section {
  background: var(--pizza-black);
}

.menu-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--pizza-gray);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--pizza-white);
}

/* Pizza Cards */
.pizza-card {
  background: var(--pizza-dark);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
}

.pizza-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(255, 99, 71, 0.3);
}

.pizza-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.pizza-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.pizza-card:hover .pizza-image {
  transform: scale(1.15) rotate(3deg);
}

.pizza-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-primary);
  color: var(--pizza-white);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pizza-favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: var(--pizza-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pizza-favorite:hover,
.pizza-favorite.active {
  background: var(--pizza-red);
  color: var(--pizza-white);
}

.pizza-card-body {
  padding: 1.5rem;
}

.pizza-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pizza-desc {
  color: var(--pizza-gray-dark);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pizza-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pizza-rating i {
  color: var(--pizza-gold);
  font-size: 0.85rem;
}

.pizza-rating span {
  color: var(--pizza-gray-dark);
  font-size: 0.85rem;
}

.pizza-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pizza-price {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pizza-red);
}

.pizza-price small {
  font-size: 0.9rem;
  color: var(--pizza-gray-dark);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.btn-add-pizza {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: var(--pizza-white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-add-pizza:hover {
  transform: rotate(90deg) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* ===== SPECIALS SECTION ===== */
.specials-section {
  background: linear-gradient(180deg, var(--pizza-black) 0%, var(--pizza-dark) 100%);
}

.special-card {
  background: var(--pizza-dark);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  height: 100%;
}

.special-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.special-card:hover {
  transform: translateY(-10px);
}

.special-card:hover::before {
  opacity: 0.1;
}

.special-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-primary);
  color: var(--pizza-white);
  padding: 0.5rem 3rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.special-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 99, 71, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--pizza-red);
}

.special-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.special-offer {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.special-offer span {
  color: var(--pizza-red);
  font-size: 2rem;
  font-weight: 800;
}

.special-desc {
  color: var(--pizza-gray-dark);
  margin-bottom: 1.5rem;
}

.special-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.timer-item {
  background: rgba(255, 99, 71, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  min-width: 70px;
}

.timer-item span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pizza-red);
}

.timer-item small {
  color: var(--pizza-gray-dark);
  font-size: 0.75rem;
}

.special-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--pizza-gray-dark);
  font-size: 1.25rem;
}

.new-price {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pizza-red);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--pizza-black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 99, 71, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--pizza-white);
  transform: scale(0);
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

.gallery-item-1 {
  grid-column: span 2;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--pizza-dark);
}

.testimonial-card {
  background: var(--pizza-black);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 99, 71, 0.3);
}

.testimonial-card.featured {
  background: linear-gradient(135deg, rgba(255, 99, 71, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
  border-color: var(--pizza-red);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: var(--pizza-gold);
  font-size: 1rem;
}

.testimonial-text {
  color: var(--pizza-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pizza-red);
}

.author-info h5 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--pizza-gray-dark);
  font-size: 0.85rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--pizza-black);
}

.contact-desc {
  color: var(--pizza-gray);
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 99, 71, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pizza-red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info-item p {
  color: var(--pizza-gray-dark);
  margin: 0;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--pizza-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pizza-gray);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--pizza-white);
  transform: translateY(-5px);
}

.contact-form-wrapper {
  background: var(--pizza-dark);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form .form-control {
  background: var(--pizza-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--pizza-white);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.contact-form .form-control:focus {
  background: var(--pizza-black);
  border-color: var(--pizza-red);
  box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1);
  color: var(--pizza-white);
}

.contact-form .form-floating label {
  color: var(--pizza-gray-dark);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: var(--pizza-dark);
}

.newsletter-card {
  background: linear-gradient(135deg, rgba(255, 99, 71, 0.2) 0%, rgba(255, 140, 0, 0.2) 100%);
  border: 1px solid var(--pizza-red);
  border-radius: 24px;
  padding: 3rem;
}

.newsletter-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.newsletter-card p {
  color: var(--pizza-gray);
  margin: 0;
}

.newsletter-form .input-group {
  background: var(--pizza-dark);
  border-radius: 50px;
  padding: 0.5rem;
}

.newsletter-form .form-control {
  background: transparent;
  border: none;
  color: var(--pizza-white);
  padding: 1rem 1.5rem;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
}

.newsletter-form .form-control::placeholder {
  color: var(--pizza-gray-dark);
}

.newsletter-form .btn-pizza {
  border-radius: 50px;
  padding: 1rem 2rem;
}

/* ===== FOOTER ===== */
.footer-section {
  background: var(--pizza-darker);
  padding: 5rem 0 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pizza-white);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-brand i {
  color: var(--pizza-red);
}

.footer-brand span {
  color: var(--pizza-red);
}

.footer-desc {
  color: var(--pizza-gray-dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--pizza-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pizza-gray);
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: var(--pizza-white);
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--pizza-gray-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.app-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--pizza-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  color: var(--pizza-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.app-btn:hover {
  background: var(--gradient-primary);
  color: var(--pizza-white);
}

.app-btn i {
  font-size: 1.5rem;
}

.app-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-btn small {
  font-size: 0.7rem;
  color: var(--pizza-gray-dark);
}

.app-btn:hover small {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--pizza-gray-dark);
  margin: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: var(--pizza-white);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* ===== MODAL STYLES ===== */
.modal-dark {
  background: var(--pizza-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-dark .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.modal-dark .modal-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.modal-dark .modal-body {
  padding: 1.5rem;
}

.modal-dark .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.modal-pizza-img {
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.customize-section {
  margin-bottom: 1.5rem;
}

.customize-section h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.customize-section h6 i {
  color: var(--pizza-red);
}

.size-options {
  display: flex;
  gap: 1rem;
}

.size-option {
  flex: 1;
  cursor: pointer;
}

.size-option input {
  display: none;
}

.size-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--pizza-black);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.size-label i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--pizza-gray-dark);
}

.size-label small {
  color: var(--pizza-gray-dark);
  font-size: 0.75rem;
}

.size-option input:checked + .size-label {
  border-color: var(--pizza-red);
  background: rgba(255, 99, 71, 0.1);
}

.size-option input:checked + .size-label i {
  color: var(--pizza-red);
}

.form-select {
  background-color: var(--pizza-black);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--pizza-white);
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.form-select:focus {
  background-color: var(--pizza-black);
  border-color: var(--pizza-red);
  box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.1);
  color: var(--pizza-white);
}

.form-select option {
  background-color: var(--pizza-dark);
}

.toppings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.topping-option {
  cursor: pointer;
}

.topping-option input {
  display: none;
}

.topping-option span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--pizza-black);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.topping-option span i {
  opacity: 0;
  color: var(--pizza-red);
  transition: var(--transition-smooth);
}

.topping-option input:checked + span {
  border-color: var(--pizza-red);
  background: rgba(255, 99, 71, 0.1);
}

.topping-option input:checked + span i {
  opacity: 1;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--pizza-black);
  padding: 0.5rem;
  border-radius: 12px;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--pizza-dark);
  border: none;
  border-radius: 10px;
  color: var(--pizza-white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--gradient-primary);
}

.quantity-selector input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--pizza-white);
  font-size: 1.25rem;
  font-weight: 600;
}

.total-price-box {
  background: linear-gradient(135deg, rgba(255, 99, 71, 0.2) 0%, rgba(255, 140, 0, 0.2) 100%);
  border: 1px solid var(--pizza-red);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.total-price-box span:first-child {
  font-weight: 600;
}

.price-value {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pizza-red);
}

/* ===== OFFCANVAS CART ===== */
.offcanvas-dark {
  background: var(--pizza-dark);
  width: 400px !important;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.offcanvas-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.offcanvas-body {
  padding: 1.5rem;
}

.offcanvas-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  background: var(--pizza-black);
}

.empty-cart {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-cart i {
  font-size: 4rem;
  color: var(--pizza-gray-dark);
  margin-bottom: 1rem;
}

.empty-cart p {
  color: var(--pizza-gray-dark);
  margin-bottom: 1.5rem;
}

.cart-item {
  background: var(--pizza-black);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-options {
  font-size: 0.8rem;
  color: var(--pizza-gray-dark);
  margin-bottom: 0.5rem;
}

.cart-item-price {
  font-weight: 700;
  color: var(--pizza-red);
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--pizza-gray-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
  align-self: flex-start;
}

.cart-item-remove:hover {
  color: var(--pizza-red);
}

.cart-totals {
  margin-bottom: 1.5rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--pizza-gray);
}

.total-row.total-grand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pizza-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.total-row.total-grand span:last-child {
  color: var(--pizza-red);
}

/* ===== CHECKOUT MODAL ===== */
.checkout-summary {
  background: var(--pizza-black);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.checkout-summary h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--pizza-gray);
  margin-bottom: 0.5rem;
}

/* ===== SUCCESS MODAL ===== */
.success-icon {
  width: 100px;
  height: 100px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.success-icon i {
  font-size: 3rem;
  color: #22c55e;
  animation: checkmark 0.5s ease;
}

@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== FORM VALIDATION ===== */
.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.85rem;
}

/* ===== TOAST ===== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6347, #ff8c00);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(255, 99, 71, 0.3);
  z-index: 9999;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .offcanvas-dark {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-item {
    text-align: center;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .toppings-grid {
    grid-template-columns: 1fr;
  }

  .size-options {
    flex-direction: column;
  }

  .newsletter-card {
    text-align: center;
  }

  .newsletter-form {
    margin-top: 1.5rem;
  }

  .app-buttons {
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item-1 {
    grid-column: span 2;
  }
}
