:root {
  --royal-blue: #0056a3;
  --white: #ffffff;
  --mustard-yellow: #ffc400;
  --light-yellow: #fff5b0;
  --orange-red: #f94144;
  --dark-gray: #2d2d2d;
  --banana-yellow: #ffe08f;
  --sky-blue: #1976d2;
}

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

body {
  font-family: "Gowun Batang", serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.gowun-batang-regular {
  font-family: "Gowun Batang", serif;
  font-weight: 400;
  font-style: normal;
}

/* Navigation */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 70px;
  width: 150px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--dark-gray) !important;
  font-weight: 600;
  margin: 0 15px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--royal-blue) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 50%;
  background: var(--mustard-yellow);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar .nav-item .nav-link.active {
  font-weight: 700;
  color: var(--royal-blue) !important;
}

.btn-order {
  background: var(--orange-red) !important;
  color: var(--white) !important;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 65, 68, 0.3);
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 65, 68, 0.4);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg,
      var(--royal-blue) 0%,
      var(--sky-blue) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-family: "Ultra", serif;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary-custom {
  background: var(--mustard-yellow);
  color: var(--royal-blue);
  border: none;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 196, 0, 0.4);
  color: var(--mustard-yellow);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background: var(--white);
  color: var(--royal-blue);
  transform: translateY(-3px);
}

/* Hero Section */

.hero-section_one {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  /* Fallback */
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  object-fit: cover;
  /* Fills entire area, crops edges if needed */
  object-position: center center;
  /* Keep important parts centered */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(83, 83, 78, 0.192) 0%,
      rgba(63, 63, 58, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
  /* Allow clicks through overlay */
}

.hero-overlay::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.hero-section_one .container {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 40px 15px;
}

.hero-one-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding: 20px 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
  line-height: 1.2;
}

.hero-title em {
  font-style: italic;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.2s both;
  line-height: 1.5;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.4s both;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Enhanced hero-2-section with professional KFC-style overlay */
.hero-2-section {
  margin: 0;
  background-color: #ffcc33;
  position: relative;
  max-height: 100vh;
  font-family: "Gowun Batang", serif !important;
  overflow: hidden;
}

.first-line {
  white-space: nowrap;
  display: inline-block;
  width: 100%;
}

.hero-2-image-space {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #ffcc33;
}

.hero-2-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* border-radius: 20px; */
}

/* NEW: Professional Text Overlay - KFC Style */
.flavors-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.4) 100%);
  z-index: 10;
  /* padding: 40px 20px; */
}

.overlay-content {
  text-align: center;
  max-width: fit-content;
  margin-top: 80px;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeInUp 1.5s ease-out 0.5s forwards;
}

.main-title {
  font-size: 5.5rem;
  font-family: "Ultra", serif;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 0px #000000, 6px 6px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: 3px;
  line-height: 0.9;
  text-transform: uppercase;
}

.highlight-text {
  color: #ffcc33;
  text-shadow: 3px 3px 0px #ff8c00, 6px 6px 10px rgba(255, 140, 0, 0.8);
  position: relative;
}

.highlight-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  border-radius: 2px;
}

.subtitle-text {
  font-family: "Permanent Marker", cursive;
  font-size: 1.8rem;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 1.5px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 1s forwards;
}

.cta-section {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

.btn-premium {
  background: linear-gradient(135deg, #ffcc33 0%, #ff8c00 100%);
  color: #000000;
  font-family: "Gowun Batang", serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(255, 204, 51, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  border: 3px solid #ffcc33;
  position: relative;
  overflow: hidden;
}

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

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

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 204, 51, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #000000;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  font-family: "Gowun Batang", serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 18px 40px;
  border: 3px solid #ffffff;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-title {
    font-size: 4.5rem;
  }

  .subtitle-text {
    font-size: 1.5rem;
  }

  .hero-section_one {
    min-height: 85vh; /* Reduced height */
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section_one {
    min-height: 60vh; /* KEY: Much shorter height = less zoom */
    max-height: 70vh;
  }

  .hero-video {
    object-fit: cover; /* Still cover, but less area to fill */
    width: auto;
    height: auto;
  }

  .hero-title {
    padding-top: 8px;
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .hero-one-content {
    padding: 10px 0;
  }

  .hero-2-image-space {
    height: 80vh;
  }

  .main-title {
    font-size: 3.5rem;
    letter-spacing: 2px;
  }

  .subtitle-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .cta-section {
    gap: 1.5rem;
  }

  .btn-premium,
  .btn-outline {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section_one {
    background: linear-gradient(180deg, 
      #1976d2 0%, 
      #0056a3 100%
    );
  }

  #home .container {
  margin-top: 10px ;
  }

  .hero-video {
    object-fit: contain;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-buttons .btn {
    min-width: 160px;
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .hero-one-content {
    padding: 10px 0;
  }

  .hero-2-section {
    height: 60vh;
  }

  .first-line {
    width: 80%;
    font-size: large;
  }

  .main-title {
    font-size: 2.8rem;
    letter-spacing: 1px;
    line-height: 0.95;
  }

  .subtitle-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .cta-section {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-premium,
  .btn-outline {
    padding: 14px 25px;
    font-size: 0.95rem;
    min-width: 200px;
  }

  .overlay-content {
    padding: 0 10px;
  }
}

/* Extra Small Devices */
@media (max-width: 400px) {
  .hero-section_one {
    min-height: 50vh;
  }

  .hero-title {
    font-size: 1.4rem !important;
  }

  .hero-subtitle {
    font-size: 0.75rem;
  }

  .hero-buttons .btn {
    min-width: 140px;
    padding: 9px 14px;
    font-size: 0.75rem;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section_one {
    min-height: 90vh;
    max-height: 100vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .hero-one-content {
    padding: 5px 0;
  }

  .hero-buttons {
    gap: 10px;
  }
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Updated Features Section */
.features-section {
  background: var(--royal-blue);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.features-content {
  position: relative;
  z-index: 2;
}

.features-text h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--white);
}

.features-text p {
  font-family: "Permanent Marker", cursive;
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.8;
}

.btn-explore {
  background: var(--mustard-yellow);
  color: var(--dark-gray);
  border: none;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 196, 0, 0.3);
}

.btn-explore:hover {
  background: var(--white);
  color: var(--orange-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/*  */

.features-section {
  background-color: white;
  padding: 80px 0;
}

.features-text {
  color: #1e3a8a;
  /* Blue color for text */
}

.features-text h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: #1e3a8a;
}

.features-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #1e3a8a;
}

.btn-explore {
  background-color: #1e3a8a;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-explore:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  color: white;
}

.features-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.features-image img {
  max-width: 100%;
  height: auto;
  width: 400px;
  max-height: 500px;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .features-text h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .features-text p {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .features-text {
    text-align: center;
    margin-bottom: 2rem;
  }

  .features-image {
    margin-top: 2rem;
  }

  .features-image img {
    width: 300px;
  }
}

@media (max-width: 767.98px) {
  .features-section {
    padding: 60px 0;
  }

  .features-text h2 {
    font-size: 2rem;
  }

  .features-image img {
    width: 250px;
  }
}

@media (max-width: 567px) {
  .features-text h2 {
    font-size: 1.8rem;
  }

  .features-text p {
    font-size: 1rem;
  }

  .features-image img {
    width: 200px;
  }

  .features-text p {
    font-family: "Ultra", serif;
  }

  .franchise-section p {
    font-family: "Ultra", serif;
  }
}

/* Menu Preview Section */
.menu-section {
  background: var(--light-yellow);
  padding: 80px 0;
  color: var(--royal-blue);
}

.menu-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.menu-item-image {
  height: 200px;
  background: linear-gradient(45deg, var(--orange-red), var(--mustard-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.menu-item-content {
  padding: 25px;
}

.menu-item-content h4 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

/* Franchising Section */
.franchise-section {
  background: var(--royal-blue);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.franchise-section .section-title {
  margin-bottom: 1.5rem;
}

.franchise-section .lead {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg,
      var(--orange-red) 0%,
      var(--mustard-yellow) 100%);
  color: var(--white);
  padding: 60px 0;
  height: 70vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-control-custom {
  border: none;
  border-radius: 25px;
  padding: 15px 25px;
  font-size: 1.1rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-control-custom:focus {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  border: none;
  outline: none;
}

.btn-newsletter {
  background: var(--royal-blue);
  color: var(--white);
  border: none;
  border-radius: 25px;
  padding: 15px 40px;
  font-weight: 700;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-newsletter:hover {
  background: var(--dark-gray);
  transform: translateY(-2px);
}

.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 50px 0 20px;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer h5 {
  color: var(--mustard-yellow);
  margin-bottom: 20px;
  font-weight: 700;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--mustard-yellow);
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--royal-blue);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--mustard-yellow);
  color: var(--royal-blue);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
    font-family: "Bebas Neue", sans-serif;
    margin-bottom: 1.5rem;
  }

  .lead {
    font-family: "Permanent Marker", cursive;
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .navbar-nav {
    text-align: center;
    margin-top: 20px;
  }

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

/* Accessibility */
.btn:focus,
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(0, 86, 163, 0.25);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* hero-3-section */

.hero-3-section {
  font-family: "Gowun Batang", serif;
  background-image: url("../public/IMG_6365.PNG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.active-item-display {
  font-family: "Bebas Neue", sans-serif;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--sky-blue);
  margin-top: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);

  /* Additional modern styling */
  letter-spacing: -0.02em;
  /* Tight letter spacing */
  line-height: 1.2;
  margin-bottom: 20px;

  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.05));
  padding: 12px 24px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  position: relative;

  /* Smooth transitions for dynamic changes */
  transition: all 0.3s ease;
}

.active-item-display::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--sky-blue);
  border-radius: 2px;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 500px;
  perspective: 1000px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  position: absolute;
  width: 300px;
  height: 400px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border-radius: 0 0 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-overlay {
  opacity: 1;
}

/* Card positions */
.card.active {
  transform: translateX(0) translateZ(0) scale(1);
  opacity: 1;
  z-index: 10;
}

.card.next {
  transform: translateX(200px) translateZ(-100px) scale(0.8);
  opacity: 0.7;
  z-index: 5;
}

.card.prev {
  transform: translateX(-200px) translateZ(-100px) scale(0.8);
  opacity: 0.7;
  z-index: 5;
}

.card.hidden-next {
  transform: translateX(400px) translateZ(-200px) scale(0.6);
  opacity: 0.3;
  z-index: 1;
}

.card.hidden-prev {
  transform: translateX(-400px) translateZ(-200px) scale(0.6);
  opacity: 0.3;
  z-index: 1;
}

.card.far-next {
  transform: translateX(600px) translateZ(-300px) scale(0.4);
  opacity: 0;
  z-index: 0;
}

.card.far-prev {
  transform: translateX(-600px) translateZ(-300px) scale(0.4);
  opacity: 0;
  z-index: 0;
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
  left: 50px;
}

.nav-arrow.right {
  right: 50px;
}

/* Slide indicator */
.slide-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Hover effects */
.card:hover {
  transform: translateX(0) translateZ(20px) scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card.active:hover {
  transform: translateX(0) translateZ(20px) scale(1.05);
}

.card.next:hover {
  transform: translateX(200px) translateZ(-80px) scale(0.85);
}

.card.prev:hover {
  transform: translateX(-200px) translateZ(-80px) scale(0.85);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.prefooter-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.fresh-badge {
  display: inline-block;
  background: var(--white);
  color: var(--orange-red);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-3px);
  }
}

.main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--royal-blue);
  line-height: 1.1;
}

.subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 20px;
  font-weight: 400;
  opacity: 0.9;
}

.flavor-text {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-section {
  margin-top: 40px;
}

.btn-korean {
  background: var(--royal-blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 20px 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 86, 163, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-korean::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: left 0.5s;
}

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

.btn-korean:hover {
  background: var(--dark-gray);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(45, 45, 45, 0.4);
}

.btn-korean:active {
  transform: translateY(-1px);
}

/* Decorative elements */
.corn-emoji {
  font-size: 2rem;
  display: inline-block;
  margin: 0 10px;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.sparkle {
  position: absolute;
  color: var(--white);
  font-size: 1.5rem;
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 30%;
  right: 15%;
  animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

.sparkle:nth-child(4) {
  bottom: 30%;
  right: 10%;
  animation-delay: 1.5s;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Tablet Styles */
@media (max-width: 991px) {
  .franchise-section {
    padding: 60px 0;
    min-height: auto;
  }

  .section-title {
    font-size: 2.2rem;
    text-align: center !important;
  }

  .lead {
    text-align: center;
    margin-bottom: 2rem;
  }

  .btn-container {
    text-align: center;
    margin-bottom: 3rem;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .carousel-container {
    max-width: 90%;
    height: 400px;
  }

  .card {
    width: 250px;
    height: 320px;
  }

  .card.next {
    transform: translateX(150px) translateZ(-100px) scale(0.7);
  }

  .card.prev {
    transform: translateX(-150px) translateZ(-100px) scale(0.7);
  }

  .nav-arrow.left {
    left: 20px;
  }

  .nav-arrow.right {
    right: 20px;
  }

  .active-item-display {
    font-size: 20px;
    margin-top: 35px;
    padding-top: 10px;
  }

  .korean-prefooter {
    padding: 60px 0;
  }

  .btn-korean {
    padding: 18px 40px;
    font-size: 1.1rem;
  }

  .corn-emoji {
    font-size: 1.5rem;
  }

  .franchise-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .franchise-card {
    padding: 30px 15px;
    border-radius: 15px;
    margin-bottom: 15px;
  }

  .franchise-number {
    font-size: 2.5rem;
  }

  .franchise-card p {
    font-size: 0.9rem;
  }
}

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

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 12px 25px;
    font-size: 1rem;
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .franchise-section {
    padding: 30px 0;
  }

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

  .franchise-card {
    padding: 25px 10px;
    margin-bottom: 15px;
  }

  .franchise-number {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }

  .franchise-card p {
    font-size: 0.85rem;
  }

  .btn-primary-custom {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
  .franchise-section {
    padding: 30px 0;
  }

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

  .franchise-card {
    padding: 25px 10px;
    margin-bottom: 15px;
  }

  .franchise-number {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }

  .franchise-card p {
    font-size: 0.85rem;
  }

  .btn-primary-custom {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .navbar-collapse .btn-order {
    display: block;
    width: fit-content;
    margin: 1rem auto 0;
  }

  .navbar-nav {
    margin-right: 0 !important;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .franchise-cards-row .col-6 {
    padding: 0 8px;
  }

  .franchise-card {
    padding: 20px 8px;
  }

  .franchise-number {
    font-size: 2rem;
  }

  .franchise-card p {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}