@font-face {
  font-family: "MyFont";
  /* Name you’ll use in CSS */
  src: url("./fonts/fa-brands-400.woff2") format("truetype");
  /* Path to your font file */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Grand";
  /* Name you’ll use in CSS */
  src: url("./fonts/Niconne/Niconne-Regular.ttf") format("truetype");
  /* Path to your font file */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Grand1";
  /* Name you’ll use in CSS */
  src: url("./fonts/Special_Gothic_Expanded_One/SpecialGothicExpandedOne-Regular.ttf") format("truetype");
  /* Path to your font file */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MyFont1";
  /* Name you’ll use in CSS */
  src: url("./fonts/fa-regular-400.woff2") format("truetype");
  /* Path to your font file */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MyFont2";
  /* Name you’ll use in CSS */
  src: url("./fonts/fazfood-icon-1.0.4.woff2") format("truetype");
  /* Path to your font file */
  font-weight: normal;
  font-style: normal;
}

/* Font Face Declarations */
@font-face {
  font-family: "FontAwesome-Brands";
  src: url("./fonts/fa-brands-400.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "FontAwesome-Regular";
  src: url("./fonts/fa-regular-400.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Fazfood-Icon";
  src: url("./fonts/fazfood-icon-1.0.4.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Light";
  src: url("./fonts/HTx3L3I-JCGChYJ8VI-L6OO_au7B6xHT2g.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Regular";
  src: url("./fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4-Lwz3bWuQ.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Medium";
  src: url("./fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuQ.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Medium-Extended";
  src: url("./fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuYMBYro.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Bold";
  src: url("./fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3bWuQ.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Bold-Extended";
  src: url("./fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3bWuYMBYro.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Black";
  src: url("./fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3bWuQ.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Condensed";
  src: url("./fonts/lJwE-pIzkS5NXuMMrFitibIgxC_D.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "iris";
  src: url("./fonts/IrishGrover-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  background-color: white;
}

/* Grand Opening Animation Styles */
.grand-opening-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in;
}

.grand-opening-overlay.fade-out {
  animation: fadeOut 1s ease-out forwards;
}

.grand-opening-content {
  text-align: center;
  position: relative;
  z-index: 10001;
  max-width: 600px;
  padding: 40px;
}

.grand-title {
  font-family: "Grand1", sans-serif;
  font-size: 4rem;
  color: #ffd700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: bounceIn 1s ease-out 0.5s both;
}

.restaurant-name {
  font-family: "Grand", cursive;
  font-size: 2.5rem;
  color: #ff6b35;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out 1s both;
}

.opening-subtitle {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 1.5s both;
}

.celebration-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

a {
  text-decoration: none;
}

.celebration-icon {
  font-size: 3rem;
  animation: bounce 2s infinite;
}

.celebration-icon:nth-child(2) {
  animation-delay: 0.3s;
}

.celebration-icon:nth-child(3) {
  animation-delay: 0.6s;
}

.continue-btn {
  background: linear-gradient(45deg, #ff6b35, #f5b700);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
  animation: pulse 2s infinite;
}

.continue-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.continue-btn .arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.continue-btn:hover .arrow {
  transform: translateX(5px);
}

/* Confetti Animation */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  animation: confettiFall linear infinite;
}

.confetti-piece:nth-child(odd) {
  border-radius: 50%;
}

.confetti-piece:nth-child(even) {
  transform: rotate(45deg);
}

/* Fireworks Animation */
.fireworks-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.firework {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: fireworkExplode 2s ease-out infinite;
}

.spark {
  position: absolute;
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, #ffd700, transparent);
  border-radius: 2px;
  transform-origin: bottom center;
  animation: sparkFade 1s ease-out infinite;
}

.spark:nth-child(odd) {
  background: linear-gradient(to bottom, #ff6b35, transparent);
}

.spark:nth-child(even) {
  background: linear-gradient(to bottom, #f5b700, transparent);
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-100px);
  }

  50% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes fireworkExplode {
  0% {
    opacity: 1;
    transform: scale(0);
  }

  20% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes sparkFade {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scale(0.5) translateY(-30px);
  }
}

/* Additional keyframes for confetti and fireworks */
@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes fireworkExplode {
  0% {
    opacity: 1;
    transform: scale(0);
  }

  20% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes sparkFade {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  100% {
    opacity: 0;
    transform: scale(0.5) translateY(-30px);
  }
}

/* Additional Mobile Responsive Styles */
@media (max-width: 480px) {


  .hero {
    margin-top: 55px;
  }

  .hero-content {
    padding: 0 10px;
    padding-top: 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-title span {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 12px;
    padding: 0 10px;
  }

  .hero-image {
    height: 250px;
  }

  .hero-image::after {
    width: 200px;
    height: 120px;
  }

  .burger-text {
    font-size: 1.8rem;
  }

  .burger-text1 {
    font-size: 1rem;
  }

  .kopittiyam-text {
    font-size: 2rem;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-1deg);
  }

  .btn-order img {
    width: 180px;
    height: 90px;
  }
}

/* Extra Small Mobile (320px - 479px) */
@media (max-width: 479px) and (min-width: 320px) {
  .hero-title {
    font-size: 1.8rem;
    margin-top: 10px;
  }

  .hero-title span {
    font-size: 1rem;
  }

  .hero-subtitle {
    font-size: 11px;
    padding: 0 5px;
  }

  .hero-image {
    height: 220px;
  }

  .hero-image::after {
    width: 180px;
    height: 100px;
  }

  .burger-text {
    font-size: 1.3rem;
  }

  .burger-text1 {
    font-size: 0.9rem;
  }

  .kopittiyam-text {
    font-size: 1.6rem;
    top: 48%;
  }

  .btn-order img {
    width: 160px;
    height: 80px;
  }
}

/* Mobile Responsive for Grand Opening */
@media (max-width: 768px) {
  .grand-title {
    font-size: 2.5rem;
  }

  .restaurant-name {
    font-size: 1.8rem;
  }

  .opening-subtitle {
    font-size: 1rem;
  }

  .celebration-icon {
    font-size: 2rem;
  }

  .continue-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Top Bar Styles */
.top-bar {
  background: #2c2c2c;
  color: white;
  font-size: 12px;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

.top-bar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 30px;
}

.store-finder,
.order-tracking {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.store-finder:hover,
.order-tracking:hover {
  color: #ff6b35;
}

.top-bar-center {
  flex: 1;
  text-align: center;
}

.delivery-text {
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: white;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.social-icon:hover {
  color: #ff6b35;
}



.hero {
  background-image: url(./images/rev_home4_4.jpg);
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 0px;
  /* Account for nvbar height */
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.hero-text {
  flex: 1;
  z-index: 2;
  margin-top: 10px;
  position: relative;
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.floating-element img {
  width: 100%;
  height: auto;
  filter: drop-shadow(2px 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.floating-element:hover img {
  transform: scale(1.1);
}

/* Individual Floating Element Positions */
.floating-mushroom {
  top: -20px;
  left: -90px;
  width: 120px;
  animation: float-gentle 4s ease-in-out infinite;
  animation-delay: 0s;
}

.floating-leaf-1 {
  top: 30px;
  right: -0px;
  width: 100px;
  animation: float-gentle 3.5s ease-in-out infinite, sway 6s ease-in-out infinite;
  animation-delay: 1s;
  z-index: -1;
  transform: rotate(15deg);
}

.floating-leaf-2 {
  bottom: 120px;
  left: -50px;
  width: 55px;
  animation: float-gentle 4.5s ease-in-out infinite, sway-reverse 7s ease-in-out infinite;
  animation-delay: 2s;
  transform: rotate(-20deg);
}

.floating-decor {
  top: 180px;
  right: -110px;
  width: 80px;
  animation: float-gentle 3.8s ease-in-out infinite, pulse 5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.floating-home {
  bottom: -30px;
  right: -90px;
  width: 165px;
  animation: float-gentle 4.2s ease-in-out infinite, wobble 6s ease-in-out infinite;
  animation-delay: 1.5s;
  transform: rotate(10deg);
}

/* Enhanced Floating Animations */
@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate-gentle {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes sway {

  0%,
  100% {
    transform: rotate(15deg);
  }

  50% {
    transform: rotate(25deg);
  }
}

@keyframes sway-reverse {

  0%,
  100% {
    transform: rotate(-20deg);
  }

  50% {
    transform: rotate(-10deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes wobble {

  0%,
  100% {
    transform: rotate(10deg);
  }

  25% {
    transform: rotate(15deg);
  }

  75% {
    transform: rotate(5deg);
  }
}

/* Responsive adjustments for floating elements */
@media (max-width: 1200px) {
  .floating-element {
    opacity: 0.7;
  }

  .floating-mushroom,
  .floating-decor,
  .floating-home {
    width: 50px;
  }

  .floating-leaf-1,
  .floating-leaf-2 {
    width: 40px;
  }
}

@media (max-width: 768px) {
  .floating-element {
    display: none;
    /* Hide on mobile for cleaner look */
  }
}

/* Slide-up animation */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Rotating swing loop */
@keyframes swing {
  0% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }

  100% {
    transform: rotate(-3deg);
  }
}

.hero-title {
  font-family: "Grand1";
  font-size: 80px;
  color: rgb(255, 255, 255);
  text-align: center;
  width: 800px;
  font-weight: 900;
  line-height: 0.9;
  margin-left: 0;
  /* Changed from -100px to 0 since text is now on right */
  margin-bottom: 20px;
  letter-spacing: 2px;
  margin-top: 150px;
}

.hero-title span {
  font-family: "Grand", cursive;
  font-size: 40px;
  color: rgb(255, 0, 0);

}


.hero-subtitle {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.6;
  margin-left: 0;
  width: 600px;
  text-align: center;
}



.arrow {
  font-size: 20px;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
  order: 1;
  /* Move image to the left */
}

.hero-image::after {
  content: "";
  position: absolute;
  width: 550px;
  height: 300px;
  background: url("./images/hero_fullmeal.png") center / cover;
  left: -100px;
  /* Changed from right to left */
  top: 75%;
  transform: translateY(-50%);
}

.burger-text {
  position: absolute;
  font-family: "Grand";
  font-size: 80px;
  color: #f5b700;
  top: 20%;
  left: 45%;
  /* Changed from 55% to 45% to move left */
  transform: translate(-50%, -50%) rotate(-10deg);

  font-style: italic;
  z-index: 1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  transform-origin: right center;
  /* left side stays fixed */
  animation: floatSwing 4s ease-in-out infinite;
}

@keyframes floatSwing {
  0% {
    transform: translate(-50%, -50%) rotate(-10deg);
  }

  50% {
    transform: translate(-50%, -50%) rotate(-6deg);
    /* gentle upward swing */
  }

  100% {
    transform: translate(-50%, -50%) rotate(-10deg);
  }
}

.burger-text1 {
  position: absolute;
  font-family: "Grand";
  font-size: 40px;
  color: #ffffff;
  top: 18%;
  left: 45%;
  /* Changed from 55% to 45% to move left */
  transform: translate(-50%, -50%) rotate(-5deg);
  font-style: italic;
  z-index: 2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.kopittiyam-text {
  position: absolute;
  font-family: "iris";
  font-size: 70px;
  color: #ff0000;
  top: 35%;
  left: 45%;
  transform: translate(-50%, -50%) rotate(-3deg);
  font-style: italic;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.kopittiyam-text_in {
  position: absolute;
  font-family: "iris";
  font-size: 42px;
  color: #ffffff;
  top: 35%;
  left: 60%;
  transform: translate(-50%, -50%) rotate(-3deg);
  font-style: italic;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.badge-50 {
  position: absolute;
  top: 50px;
  right: 100px;
  background: transparent;
  border: 4px solid #f5b700;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", cursive;
  font-size: 42px;
  color: #f5b700;
  z-index: 3;
  line-height: 1.2;
  transform: rotate(-20deg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: rotate(-20deg) translateY(0px);
  }

  50% {
    transform: rotate(-20deg) translateY(-20px);
  }
}

.floating-ingredient {
  position: absolute;
  animation: float 3s ease-in-out infinite;
}

.leaf1 {
  width: 80px;
  height: 40px;
  background: #4a7c59;
  border-radius: 50%;
  top: 100px;
  left: 150px;
  clip-path: polygon(0% 50%, 25% 0%, 50% 50%, 75% 0%, 100% 50%, 75% 100%, 50% 50%, 25% 100%);
  animation-delay: 0.5s;
}

.leaf2 {
  width: 100px;
  height: 50px;
  background: #5a8c69;
  border-radius: 50%;
  top: 120px;
  left: 200px;
  clip-path: polygon(0% 50%, 25% 0%, 50% 50%, 75% 0%, 100% 50%, 75% 100%, 50% 50%, 25% 100%);
  animation-delay: 1s;
}

.leaf3 {
  width: 90px;
  height: 45px;
  background: #6a9c79;
  border-radius: 50%;
  top: 80px;
  left: 180px;
  clip-path: polygon(0% 50%, 25% 0%, 50% 50%, 75% 0%, 100% 50%, 75% 100%, 50% 50%, 25% 100%);
  animation-delay: 1.5s;
}

.mushroom1 {
  width: 60px;
  height: 60px;
  background: #e8d5b7;
  border-radius: 50%;
  top: 100px;
  left: 50px;
  animation-delay: 0.8s;
}

.mushroom1::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 30px;
  background: #f5e6d3;
  border-radius: 0 0 50% 50%;
  bottom: -15px;
  left: 10px;
}

.categories {
  background: #f5f5f5;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  position: relative;
}

.categories.active {
  cursor: grabbing;
}

.categories::-webkit-scrollbar {
  display: none;
}

.categories {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Prevent over-scrolling */
.categories::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  pointer-events: none;
}

.category-grid {
  display: flex;
  width: max-content;
  user-select: none;
  /* Ensure proper width calculation */
  min-width: fit-content;
}

.category-card img,
.category-card svg {
  pointer-events: none;
  user-select: none;
}

.category-grid {
  display: flex;
  width: max-content;
}

.category-card {
  background: white;
  padding: 60px 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  min-height: 500px;
  min-width: 300px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  --svg-hover-shift: 100px;
  /* move text higher on hover */
  --img-hover-shift: 100px;
  /* move image lower on hover */
}

.category-card:hover {
  background: linear-gradient(180deg, #ffb8b8 0%, #ff2e04 100%);
}

.category-card:hover svg {
  fill: white;
  /* changes SVG shape color */
  stroke: white;
  /* optional, if SVG uses stroke */
}

.category-card.active {
  background: linear-gradient(180deg, #f5a623 0%, #f7b733 100%);
  color: white;
}

.cat-description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  top: 0px;
  color: #ffffff;
  transform: skewY(-30deg);
  padding: 20px;
  font-size: 60px;
  font-weight: 900;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Straighten text inside slanted box */
.cat-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  z-index: 0;
  transform: skewY(-30deg);
}

.category-card:hover .cat-description {
  opacity: .2;
  pointer-events: auto;
}

.category-card>svg,
.category-card .category-header>svg {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  /* centered by default */
  z-index: 2;
  /* ensure it sits above the image */
  pointer-events: none;
  /* keep hover on the card */
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
  will-change: transform;
}

.category-card .category-image {
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  z-index: 1;
}

.category-card:hover>svg,
.category-card:hover .category-header>svg {
  fill: white;
  transform: translate(-50%, calc(-150% - var(--svg-hover-shift)));
}

.category-card:hover>svg path,
.category-card:hover .category-header>svg path {
  fill: white !important;
}

.category-card:hover .category-image {
  transform: translateY(var(--img-hover-shift));
}

.category-header h2 {
  font-family: "Bebas Neue", cursive;
  font-size: 32px;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.category-header p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 30px;
}

.category-footer {
  margin-top: 30px;
}

.category-footer h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 36px;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.category-footer p {
  font-size: 16px;
}

.category-image {
  width: 250px;
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 20px auto;
  margin-top: -50px;
}

.hotdog {
  background-image: url("./images/dosai.png");
}

.chicken {
  background-image: url("./images/idly.png");
}

.biryani {
  background-image: url("./images/vegetable_briyani.png");
}

.burger-center {
  background-image: url("./images/filter-coffee.png");
  width: 200px;
  height: 200px;
}

.pizza {
  background-image: url("./images/pongal.png");
}

.fries {
  background-image: url("./images/mango_lassie.png");
}

.categories svg {
  margin-top: 50px;
}


.category-subtitle {
  font-size: 14px;
  color: #999;
  font-style: italic;
  margin-top: 50px;
  display: none;
}

.about {
  background: white;
  padding: 100px 50px;
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image {
  flex: 1;
  position: relative;
  height: 600px;
  background: url("./images/R6M25866.jpg") center / contain no-repeat;
}

.floating-fries {
  position: absolute;
  width: 200px;
  height: 300px;
  background: url("./svg/pongal_vector.svg") center / contain no-repeat;
  top: -50px;
  left: -60px;
  animation: float 3s ease-in-out infinite;
}

.about-text {
  flex: 1;
}

.section-label {
  color: #c92a2a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  font-family: "Bebas Neue", cursive;
  font-size: 44px;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.section-description {
  color: #666;
  line-height: 1.8;
  margin-bottom: 50px;
  font-size: 16px;
  text-align: justify;
  /* aligns text to the right */
}

.features {
  display: flex;
  gap: 40px;
}

.feature {
  text-align: center;
  flex: 1;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.burger-icon {
  background-image: url('./svg/food_svg.svg');
}

.quality-icon {
  background-image: url('./svg/hotel-reception-svgrepo-com.svg');
}

.delivery-icon {
  background-image: url('./svg/scooter-delivery-food-svgrepo-com.svg');
}

.feature h5 {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
}

.products {
  padding: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
  align-items: center;
  justify-content: center;
  /* ✅ Centers the grid horizontally */
  justify-items: center;
  /* ✅ Centers each item inside the grid cells */
}

.product-card {
  margin: 0;
  min-height: 400px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  border-radius: 40px;
  background-size: cover;
  background-position: center;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.product-card.orange {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(255, 140, 0, 0.3)),
    url("./images/h2_bn-1.jpg") no-repeat center center;
  background-size: cover;
}

.product-card.brown {
  background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(255, 165, 0, 0.3)),
    url("./images/h2_bn-2.jpg") no-repeat center center;
  background-size: cover;
}



.product-content {
  position: relative;
  z-index: 2;
  text-align: left;
  margin-left: -150px;
}

.food-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.food-overlay .food-image {
  max-width: 350px;
  max-height: 350px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.product-card:hover .food-overlay .food-image {
  transform: scale(1.1);
}

.product-title {
  font-family: "Bebas Neue", cursive;
  font-size: 72px;
  color: white;
  line-height: 0.9;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.product-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 30px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-price {
  font-family: "Bebas Neue", cursive;
  font-size: 48px;
  color: #f5b700;
  margin-bottom: 30px;
}

.btn-order-white {
  background: white;
  color: #1a1a1a;
  border: none;
  padding: 16px 35px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-order-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Food Overlay Styles */
.food-overlay {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.food-image {
  width: 300px;
  height: 300px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .food-image {
  transform: scale(1.1);
}

.best-selling {
  padding: 100px 50px;
  background: #fafafa;
  position: relative;
}

.marquee {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: transparent;
}

.marquee-content {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-content span {
  font-family: "Bebas Neue", cursive;
  font-size: 80px;
  color: rgba(0, 0, 0, 0.063);
  letter-spacing: 4px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.best-selling-title {
  font-family: "Grand";
  font-size: 64px;
  text-align: center;
  margin-bottom: 80px;
  color: #1a1a1a;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

/* Grid Layout (Second Image UI - Default) */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.grid-layout .dish-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.grid-layout .dish-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.grid-layout .dish-image {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.grid-layout .dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grid-layout .dish-card:hover .dish-image img {
  transform: scale(1.1);
}

.dish-info {
  text-align: left;
}

.dish-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.stars {
  color: #f5b700;
  font-size: 14px;
}

.rating-count {
  color: #666;
  font-size: 12px;
}

.dish-name {
  font-family: "Bebas Neue", cursive;
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.dish-description {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.dish-price {
  font-family: "Bebas Neue", cursive;
  font-size: 20px;
  color: #2d8653;
  font-weight: bold;
  margin-bottom: 10px;
}

.add-to-cart-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #2d8653;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #246b44;
  transform: scale(1.1);
}

/* List Layout (First Image UI) */
.dishes-list {
  max-width: 1400px;
  margin: 0 auto;
}

.dishes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dish-item {
  background: white;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  gap: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.dish-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dish-image-small {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.dish-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dish-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.dish-title {
  font-family: "Bebas Neue", cursive;
  font-size: 16px;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin: 0;
}

.favorite-btn {
  background: none;
  border: none;
  color: #ff4757;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.favorite-btn:hover {
  transform: scale(1.2);
}

.list-layout .dish-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.rating-text {
  color: #666;
  font-size: 12px;
}

.dish-desc {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: auto;
}

.dish-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.price-range {
  font-family: "Bebas Neue", cursive;
  font-size: 16px;
  color: #2d8653;
  font-weight: bold;
}

.cart-btn {
  background: #2d8653;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cart-btn:hover {
  background: #246b44;
  transform: scale(1.1);
}

/* Toggle Button */
.view-toggle-container {
  text-align: center;
  margin-top: 50px;
}

.view-all-btn {
  background: #2d8653;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.view-all-btn:hover {
  background: #246b44;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 134, 83, 0.4);
}

/* Hidden class */
.hidden {
  display: none;
}

/* Tablet Styles */
@media (max-width: 1200px) {
  .nav-container {
    padding: 0 30px;
  }

  .hero-content {
    padding: 0 30px;
  }

  .hero-title {
    font-size: 70px;
    width: 700px;
    margin-left: 0;
    /* Keep at 0 for right-aligned text */
  }

  .hero-subtitle {
    width: 500px;
  }

  .hero-image::after {
    width: 600px;
    height: 350px;
    display: none;
    left: -50px;
    /* Changed from right to left */
  }

  .burger-text {
    font-size: 100px;
    left: 45%;
    /* Keep consistent with desktop */
  }

  .burger-text1 {
    font-size: 40px;
    left: 45%;
    /* Keep consistent with desktop */
  }

  .category-card {
    min-width: 280px;
    flex: 0 0 280px;
  }

  .about {
    padding: 80px 30px;
  }

  .about-content {
    gap: 60px;
  }

  .section-title {
    font-size: 38px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-card {
    min-height: 500px;
    padding: 50px;
  }

  .food-overlay {
    right: 20px;
  }

  .food-image {
    width: 250px;
    height: 250px;
  }

  .product-title {
    font-size: 60px;
  }

  .best-selling {
    padding: 80px 30px;
  }

  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .dishes-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .best-selling-title {
    font-size: 56px;
  }

  .marquee-content span {
    font-size: 70px;
  }
}

/* ===== RESPONSIVE HERO SECTION ===== */

/* Large Desktops (1920px and above) */
@media (min-width: 1920px) {
  .hero-title {
    font-size: 90px;
    width: 900px;
  }

  .hero-subtitle {
    font-size: 18px;
    width: 700px;
  }

  .burger-text {
    font-size: 100px;
  }

  .burger-text1 {
    font-size: 60px;
  }

  .kopittiyam-text {
    font-size: 80px;
  }
}

/* Standard Desktops (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-title {
    font-size: 85px;
    width: 850px;
  }

  .hero-subtitle {
    font-size: 16px;
    width: 650px;
  }

  .burger-text {
    font-size: 90px;
  }

  .burger-text1 {
    font-size: 45px;
    margin-left: -10px;
  }

  .kopittiyam-text {
    margin-top: 40px;
    font-size: 100px;
  }
}

/* Laptops (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero-title {
    font-size: 70px;
    width: 700px;
    margin-top: 120px;
  }

  .hero-subtitle {
    font-size: 14px;
    width: 550px;
  }

  .burger-text {
    font-size: 70px;
  }

  .burger-text1 {
    font-size: 45px;
  }

  .kopittiyam-text {
    margin-top: 40px;
    font-size: 80px;
  }

  .hero-image::after {
    width: 500px;
    height: 300px;
  }
}

/* Small Laptops / Large Tablets (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-content {
    padding: 0 30px;
  }

  .hero-title {
    font-size: 60px;
    width: 600px;
    margin-top: 100px;
  }

  .hero-subtitle {
    font-size: 13px;
    width: 500px;
  }

  .burger-text {
    font-size: 60px;
  }

  .burger-text1 {
    font-size: 35px;
  }

  .kopittiyam-text {
    margin-top: 40px;
    font-size: 80px;
  }

  .hero-image::after {
    width: 450px;
    height: 270px;
  }
}

/* Tablet Portrait (820px - 991px) - Missing breakpoint */
@media (min-width: 820px) and (max-width: 991px) {
  .hero {
    margin-top: 70px;
    min-height: 100vh;
    padding: 20px 0;
  }

  .hero-content {
    flex-direction: column;
    padding: 0 25px;
    text-align: center;
    gap: 30px;
    max-width: 100%;
  }

  .hero-text {
    order: 2;
    width: 100%;
    margin-top: 0;
  }

  .hero-title {
    font-size: 3.5rem;
    width: 100%;
    margin-top: 30px;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .hero-title span {
    font-size: 2rem;
  }

  .hero-subtitle {
    width: 100%;
    font-size: 15px;
    text-align: center;
    padding: 0 40px;
    margin-bottom: 30px;
  }

  .hero-image {
    order: 1;
    height: 350px;
    width: 100%;
    margin-top: 0;
  }

  .hero-image::after {
    width: 380px;
    height: 220px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
  }

  .burger-text {
    font-size: 3rem;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    margin-top: 0;
  }

  .burger-text1 {
    font-size: 1.8rem;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    margin-top: 0;
  }

  .kopittiyam-text {
    font-size: 3.2rem;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    margin-top: 0;
  }

  .kopittiyam-text_in {
    font-size: 1.6rem;
    top: 30%;
    left: 65%;
    transform: translate(-50%, -50%) rotate(-2deg);
    margin-top: 0;
  }

  .btn-order {
    margin-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .btn-order img {
    width: 240px;
    height: 120px;
  }

  /* Categories */
  .category-card {
    min-width: 260px;
    flex: 0 0 260px;
    min-height: 450px;
    padding: 50px 15px;
  }

  .category-image {
    width: 200px;
    height: 200px;
  }

  .burger-center {
    width: 160px;
    height: 160px;
  }

  /* About Section */
  .about {
    padding: 70px 25px;
  }

  .about-content {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .about-image {
    height: 350px;
  }

  .section-title {
    font-size: 36px;
  }

  .features {
    flex-direction: row;
    justify-content: space-around;
  }

  /* Products */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .product-card {
    min-height: 450px;
    padding: 45px 25px;
  }

  .food-overlay {
    right: 15px;
    top: 55%;
  }

  .food-image {
    width: 220px;
    height: 220px;
  }

  .product-title {
    font-size: 56px;
  }

  /* Best Selling */
  .best-selling {
    padding: 70px 25px;
  }

  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .best-selling-title {
    font-size: 48px;
  }

  .marquee-content span {
    font-size: 60px;
  }

  /* Reservation */
  .reservation-section {
    padding: 70px 0;
  }

  .reservation-container {
    padding: 0 25px;
  }

  .reservation-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .reservation-title {
    font-size: 38px;
  }

  .reservation-form {
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    margin: 0 auto;
  }

  /* Newsletter */
  .newsletter-section {
    padding: 70px 0;
  }

  .newsletter-container {
    padding: 0 25px;
  }

  .newsletter-form {
    padding: 50px 30px;
  }

  .newsletter-title {
    font-size: 48px;
  }

  .burger-img {
    width: 300px;
    height: 300px;
    left: -50px;
  }

  .pizza-img {
    width: 200px;
    height: 200px;
    right: -30px;
  }

  /* Footer */
  .footer-container {
    padding: 0 25px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* Specific fix for iPad Air 5 (820x1180) screens */
@media (min-width: 820px) and (max-width: 820px) and (min-height: 1180px) {

  /* Navbar adjustments for iPad Air 5 */
  .navbar {
    padding: 12px 0;
  }

  .nav-container {
    padding: 0 40px;
    gap: 25px;
  }

  .logo-image {
    width: 35px;
    height: 35px;
  }

  .logo-text h2 {
    font-size: 20px;
  }

  .nav-menu {
    gap: 25px;
  }

  .nav-link {
    font-size: 14px;
  }

  .order-now-btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .support-center {
    display: flex;
  }

  .support-text {
    display: block;
  }

  .support-label {
    font-size: 10px;
  }

  .support-number {
    font-size: 14px;
  }

  /* Hero section adjustments */
  .hero {
    min-height: 100vh;
    padding: 20px 0;
    margin-top: 80px;
    /* Account for navbar height */
  }

  .hero-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 40px;
    text-align: center;
  }

  .hero-text {
    order: 2;
    width: 100%;
    margin-top: 0;
  }

  .hero-title {
    font-size: 3.5rem;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 15px;
  }

  .hero-title span {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 15px;
    width: 100%;
    padding: 0 40px;
    margin-bottom: 25px;
    text-align: center;
  }

  .hero-image {
    order: 1;
    height: 400px;
    width: 100%;
    margin-top: 0;
  }

  .hero-image::after {
    width: 420px;
    height: 250px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
  }

  .burger-text {
    font-size: 3.2rem;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    margin-top: 0;
  }

  .burger-text1 {
    font-size: 1.8rem;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    margin-top: 0;
  }

  .kopittiyam-text {
    font-size: 3.5rem;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    margin-top: 0;
  }

  .kopittiyam-text_in {
    font-size: 1.8rem;
    top: 25%;
    left: 65%;
    transform: translate(-50%, -50%) rotate(-2deg);
    margin-top: 0;
  }

  .btn-order {
    margin-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 25px;
  }

  .btn-order img {
    width: 260px;
    height: 130px;
  }

  .btn-order .btn-text {
    font-size: 20px;
  }

  /* Categories adjustments */
  .category-card {
    min-width: 250px;
    flex: 0 0 250px;
    min-height: 450px;
    padding: 45px 20px;
  }

  .category-image {
    width: 200px;
    height: 200px;
  }

  .burger-center {
    width: 170px;
    height: 170px;
  }

  /* Other sections */
  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .reservation-form {
    max-width: 450px;
  }

  .best-selling-title {
    font-size: 50px;
  }

  .marquee-content span {
    font-size: 65px;
  }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero {
    margin-top: 70px;
  }

  .hero-content {
    flex-direction: column;
    padding: 0 20px;
    text-align: center;
  }

  .hero-text {
    order: 2;
    width: 100%;
  }

  .hero-title {
    font-size: 3.5rem;
    width: 100%;
    margin-top: 30px;
    text-align: center;
  }

  .hero-title span {
    font-size: 2rem;
  }

  .hero-subtitle {
    width: 100%;
    font-size: 15px;
    text-align: center;
    padding: 0 40px;
  }

  .hero-image {
    order: 1;
    height: 300px;
    width: 100%;
  }

  .hero-image::after {
    width: 350px;
    height: 200px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
  }

  .burger-text {
    font-size: 1.8rem;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
  }

  .burger-text1 {
    font-size: 1.2rem;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
  }

  .kopittiyam-text {
    font-size: 2.2rem;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {

  /* Hero Section */
  .hero {
    min-height: 100vh;
    background-position: center;
    background-attachment: scroll;
    margin-top: 5px;
    /* Account for mobile nvbar height */
    padding: 20px 0;
  }

  .hero-content {
    flex-direction: column;
    padding: 0 15px;
    padding-top: 40px;
    text-align: center;
    gap: 30px;
    max-width: 100%;
  }

  .hero-text {
    order: 2;
    margin-top: 0;
    width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
    width: 100%;
    margin-left: 0;
    line-height: 1.1;
    margin-bottom: 15px;
    margin-top: 20px;
    text-align: center;
  }

  .hero-title span {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    width: 100%;
    font-size: 14px;
    margin-bottom: 25px;
    text-align: center;
    margin-left: 0;
    padding: 0 20px;
  }

  .hero-image {
    order: 1;
    height: 300px;
    margin-top: 0;
    width: 100%;
  }

  .hero-image::after {
    width: 250px;
    height: 150px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 50%;
  }

  .burger-text {
    font-size: 4.5rem;
    top: 0%;
    left: 50%;
    margin-top: -150px;
    transform: translate(-50%, -50%) rotate(-10deg);
  }

  .burger-text1 {
    font-size: 2rem;
    margin-top: -150px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
  }

  .kopittiyam-text {
    font-size: 3.8rem;
    margin-top: -50px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
  }

  .kopittiyam-text_in {
    font-size: 1.8rem;
    margin-top: -85px;
    left: 65%;
    transform: translate(-50%, -50%) rotate(-2deg);
  }

  .btn-order {
    margin-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .btn-order img {
    width: 200px;
    height: 100px;
  }

  .btn-order .btn-text {
    font-size: 16px;
  }

  /* Categories Section */
  .categories {
    padding: 20px 0;
  }

  .category-card {
    min-width: 250px;
    flex: 0 0 250px;
    min-height: 400px;
    padding: 40px 15px;
  }

  .category-image {
    width: 180px;
    height: 180px;
    margin-top: -30px;
  }

  .burger-center {
    width: 150px;
    height: 150px;
  }

  .cat-description {
    font-size: 40px;
  }

  .category-card>svg,
  .category-card .category-header>svg {
    width: 200px;
    height: auto;
  }

  /* About Section */
  .about {
    padding: 60px 20px;
  }

  .about-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .about-image {
    height: 300px;
    background-size: cover;
  }

  .floating-fries {
    display: none;
  }

  .section-title {
    font-size: 32px;
    text-align: center;
  }

  .section-description {
    font-size: 15px;
    text-align: left;
  }

  .features {
    flex-direction: column;
    gap: 30px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .feature h5 {
    font-size: 12px;
  }

  /* Products Section */
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 400px;
    padding: 40px 20px;
  }

  .food-overlay {
    right: 10px;
    top: 60%;
  }

  .food-image {
    width: 200px;
    height: 200px;
  }

  .product-title {
    font-size: 48px;
    text-align: center;
  }

  .product-subtitle {
    font-size: 12px;
    text-align: center;
  }

  .product-price {
    font-size: 36px;
    text-align: center;
  }

  .product-content {
    text-align: center;
  }

  .btn-order-white {
    padding: 14px 30px;
    font-size: 12px;
  }

  /* Best Selling Section */
  .best-selling {
    padding: 60px 20px;
  }

  .marquee {
    top: 30px;
  }

  .marquee-content span {
    font-size: 50px;
  }

  .best-selling-title {
    font-size: 42px;
    margin-bottom: 60px;
  }

  .dishes-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dishes-container {
    grid-template-columns: 1fr;
  }

  .dish-card {
    padding: 30px;
  }

  .dish-item {
    flex-direction: column;
    text-align: center;
  }

  .dish-image-small {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
  }

  .dish-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Scroll to top button */
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

.btn-order {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: 0;
  display: inline-block;
}

.btn-order img {
  width: 308px;
  /* same as your image resolution */
  height: 161px;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.btn-order .btn-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Roboto-Light";
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 1px;
  color: white;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    -2px -2px 0 black,
    2px -2px 0 black,
    -2px 2px 0 black,
    2px 2px 0 black;
  /* black border effect */
}

.btn-order:hover img {
  transform: scale(1.05);
}

.btn-order:hover,
.btn-order:focus,
.btn-order:active {
  background: none !important;
  outline: none;
  box-shadow: none;
}

/* R
eservation Section */
.reservation-section {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("./images/JP-Night-Shot.webp");
  background-size: cover;
  background-position: center;
  padding: 0px 0;
  position: relative;
}

.reservation-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.reservation-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.reservation-text {
  flex: 1;
  color: white;
}

.reservation-title {
  font-family: "Bebas Neue", cursive;
  font-size: 48px;
  color: white;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.reservation-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.quick-order {
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone-icon {
  width: 50px;
  height: 50px;
  background: #2d8653;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.phone-info {
  display: flex;
  flex-direction: column;
}

.quick-order-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 1px;
}

.phone-number {
  font-size: 20px;
  font-weight: 700;
  color: #ff6b35;
}

.reservation-form {
  position: relative;
  background-color: #007b43;
  background-image: url("./svg/form_bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  padding: 60px 70px;
  border-radius: 20px;
  color: white;
  width: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  top: 100px;
  min-height: 500px;
  display: flex;
  flex-shrink: 0;
  z-index: 4;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* ensures overlay stays inside the box */
}

/* 👇 Overlay with reduced image opacity */
.reservation-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
  background-position: inherit;
  opacity: 0.1;
  /* adjust between 0.1 - 0.5 for desired fade */
  z-index: 0;
  border-radius: inherit;
}

/* keep text/content above the overlay */
.reservation-form * {
  position: relative;
  z-index: 1;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  font-family: "Bebas Neue", cursive;
  font-size: 48px;
  letter-spacing: 1px;
  margin: 10px 0 5px;
}

.form-subtitle {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-select,
.form-input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  outline: none;
}

.full-width {
  width: 100%;
}

.book-now-btn {
  background: #ffc300;
  border: none;
  color: #000;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.book-now-btn:hover {
  background: #ffb300;
  transform: translateY(-3px);
}

/* WhatsApp Reservation Button */
.whatsapp-reservation {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 18px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  letter-spacing: 0.5px;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
}


/* Newsletter Section */
.newsletter-section {
  background: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

.newsletter-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  position: relative;
}

.newsletter-background-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 100px;
  z-index: 1;
  pointer-events: none;
}

.newsletter-background-text span {
  font-family: "Bebas Neue", cursive;
  font-size: 120px;
  color: rgba(0, 0, 0, 0.03);
  letter-spacing: 4px;
  white-space: nowrap;
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.newsletter-images {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.food-image {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.burger-img {
  width: 400px;
  height: 400px;
  background-image: url("./images/R6M25866-removebg-preview.png");
  left: 0px;
  top: 50px;
  border-radius: 50%;
}

.pizza-img {
  width: 250px;
  height: 250px;
  background-image: url("./images/pongal.png");
  right: 50px;
  bottom: 50px;
  border-radius: 50%;
}

.newsletter-form {
  background: rgb(255, 255, 255);
  padding: 60px;
  border-radius: 15px;

  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: "Bebas Neue", cursive;
  font-size: 62px;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.newsletter-description {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.subscribe-form {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.email-input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.email-input:focus {
  border-color: #2d8653;
}

.subscribe-btn {
  background: #2d8653;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  background: #246b44;
  transform: translateY(-2px);
}

.privacy-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #666;
}

.privacy-checkbox {
  width: 16px;
  height: 16px;
}

.privacy-link {
  color: #2d8653;
  text-decoration: none;
}

.privacy-link:hover {
  text-decoration: underline;
}

.newsletter-decorations {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.decoration-leaf,
.decoration-tomato,
.decoration-olive {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0.6;
}

.decoration-leaf {
  background: #4a7c59;
  top: 20%;
  right: 20%;
  animation: float-gentle 3s ease-in-out infinite;
}

.decoration-tomato {
  background: #ff6b35;
  bottom: 30%;
  left: 15%;
  animation: float-gentle 4s ease-in-out infinite;
  animation-delay: 1s;
}

.decoration-olive {
  background: #2d8653;
  top: 60%;
  right: 10%;
  animation: float-gentle 3.5s ease-in-out infinite;
  animation-delay: 2s;
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: white;
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  gap: 25px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: "Bebas Neue", cursive;
  font-size: 24px;
  color: #ff6b35;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-address,
.footer-contact {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.footer-phone {
  color: #ff6b35;
  font-weight: 700;
}

.footer-title {
  font-family: "Bebas Neue", cursive;
  font-size: 18px;
  color: white;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6b35;
}

.opening-hours {
  margin-bottom: 30px;
  width: 250px;
}

.opening-hours p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.day {
  color: rgba(255, 255, 255, 0.8);
}

.time {
  color: #ff6b35;
  font-weight: 600;
}

.footer .social-icons {
  display: flex;
  gap: 15px;
}

.footer .social-icon {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer .social-icon:hover {
  background: #ff6b35;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.brand-name {
  color: #ff6b35;
  font-weight: 700;
}

/* Responsive Styles for New Sections */
@media (max-width: 1200px) {
  .reservation-content {
    gap: 60px;
  }

  .reservation-form {
    min-width: 350px;
  }

  .newsletter-background-text {
    gap: 80px;
  }

  .newsletter-background-text span {
    font-size: 100px;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .reservation-section {
    padding: 60px 0;
  }

  .reservation-container {
    padding: 0 20px;
  }

  .reservation-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .reservation-title {
    font-size: 36px;
  }

  .reservation-form {
    min-width: auto;
    width: 100%;
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-container {
    padding: 0 20px;
  }

  .newsletter-background-text {
    gap: 50px;
  }

  .newsletter-background-text span {
    font-size: 60px;
  }

  .newsletter-form {
    padding: 40px 20px;
  }

  .newsletter-title {
    font-size: 32px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .burger-img,
  .pizza-img {
    display: none;
  }

  .footer {
    padding: 60px 0 0;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .opening-hours p {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .reservation-title {
    font-size: 28px;
  }

  .newsletter-title {
    font-size: 28px;
  }

  .newsletter-background-text span {
    font-size: 40px;
  }

  .footer-content {
    gap: 30px;
  }
}

/* G
rand Opening Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.popup-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.popup-card {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.5s ease-out;
}

@keyframes popupSlideIn {
  from {
    transform: scale(0.8) translateY(-50px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.popup-content {
  padding: 40px 30px 30px;
  text-align: center;
  color: white;
  position: relative;
}

.popup-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.popup-header p {
  font-size: 1.2rem;
  margin: 5px 0 30px;
  opacity: 0.9;
  font-weight: 500;
}

.popup-illustration {
  position: relative;
  height: 150px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.celebration-people {
  display: flex;
  gap: 40px;
  align-items: flex-end;
}

.person {
  position: relative;
  animation: celebrate 2s ease-in-out infinite alternate;
}

.person-1 {
  animation-delay: 0s;
}

.person-2 {
  animation-delay: 0.5s;
}

@keyframes celebrate {
  0% {
    transform: translateY(0px) rotate(-5deg);
  }

  100% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.person-body {
  width: 40px;
  height: 60px;
  background: #f39c12;
  border-radius: 20px 20px 10px 10px;
  position: relative;
}

.person-body::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  background: #d4a574;
  border-radius: 50%;
}

.person-arms {
  position: absolute;
  top: 15px;
  left: -15px;
  right: -15px;
  height: 30px;
}

.person-arms::before,
.person-arms::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 8px;
  background: #d4a574;
  border-radius: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-30deg);
}

.person-arms::before {
  left: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.person-arms::after {
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}

.person:nth-child(2) .person-body {
  background: #e67e22;
}

.food-boxes {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.food-box {
  width: 25px;
  height: 20px;
  background: #f39c12;
  border-radius: 3px;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.food-box:nth-child(1) {
  animation-delay: 0s;
}

.food-box:nth-child(2) {
  animation-delay: 0.5s;
}

.food-box:nth-child(3) {
  animation-delay: 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.food-box::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 2px;
  right: 2px;
  height: 3px;
  background: #e67e22;
  border-radius: 2px;
}

.popup-offer {
  margin: 30px 0 20px;
}

.popup-offer h3 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.5);
  }

  to {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

.popup-offer p {
  font-size: 0.9rem;
  margin: 5px 0 0;
  opacity: 0.9;
}

.popup-cta p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.9;
  font-weight: 500;
}

/* Crackers Animation Styles */
.crackers-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.popup-cracker-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

@keyframes popupSparkleFloat {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-30px) rotate(180deg) scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: translateY(-60px) rotate(360deg) scale(0);
    opacity: 0;
  }
}

/* Enhanced popup card for crackers */
.popup-card {
  position: relative;
  overflow: visible;
}

.popup-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.popup-btn:hover {
  background: #219a52;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.popup-btn:active {
  transform: translateY(0);
}

/* Decorative elements */
.popup-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

.popup-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: rotate 8s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .popup-card {
    width: 95%;
    margin: 20px;
  }

  .popup-content {
    padding: 30px 20px 25px;
  }

  .popup-header h2 {
    font-size: 2rem;
  }

  .popup-offer h3 {
    font-size: 1.5rem;
  }

  .celebration-people {
    gap: 30px;
  }

  .popup-illustration {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .popup-header h2 {
    font-size: 1.8rem;
  }

  .popup-header p {
    font-size: 1rem;
  }

  .popup-offer h3 {
    font-size: 1.3rem;
  }

  .celebration-people {
    gap: 20px;
  }

  .person-body {
    width: 35px;
    height: 50px;
  }
}

/* Invitation Image Popup Styles */
.invitation-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  opacity: 1;
  visibility: visible;
  transition: all 0.4s ease !important;
  backdrop-filter: blur(10px) !important;
  pointer-events: all;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.invitation-overlay.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.invitation-container {
  position: relative !important;
  max-width: 70% !important;
  max-height: 80% !important;
  animation: invitationSlideIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  transform-origin: center center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Prevent body scroll and layout shift when popup is active */
body.popup-active {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

@keyframes invitationSlideIn {
  0% {
    transform: scale(0.3) rotate(-10deg) translateY(-100px);
    opacity: 0;
  }

  50% {
    transform: scale(1.1) rotate(2deg) translateY(0px);
    opacity: 0.8;
  }

  100% {
    transform: scale(1) rotate(0deg) translateY(0px);
    opacity: 1;
  }
}

.invitation-image {
  width: 100%;
  height: auto;
  max-width: 500px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 15px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 50px rgba(255, 215, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: invitationGlow 3s ease-in-out infinite alternate;
}

@keyframes invitationGlow {
  0% {
    box-shadow:
      0 25px 50px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 30px rgba(255, 215, 0, 0.3);
    transform: scale(1);
  }

  100% {
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.2),
      0 0 60px rgba(255, 215, 0, 0.5);
    transform: scale(1.02);
  }
}

.invitation-image:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 80px rgba(255, 215, 0, 0.6);
}

.invitation-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border: 3px solid white;
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.invitation-close:hover {
  background: linear-gradient(135deg, #f7931e, #ff6b35);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.invitation-close:active {
  transform: scale(0.95) rotate(90deg);
}

/* Responsive Design for Invitation */
@media (max-width: 768px) {
  .invitation-container {
    max-width: 95%;
    max-height: 85%;
  }

  .invitation-image {
    max-width: 100%;
    border-radius: 10px;
  }

  .invitation-close {
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .invitation-container {
    max-width: 98%;
    max-height: 80%;
  }

  .invitation-image {
    border-radius: 8px;
  }

  .invitation-close {
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* Crackers 
Animation for Invitation */
.crackers-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 10;
}

.cracker-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: crackersFloat 2s ease-out forwards;
}

.cracker-sparkle {
  position: absolute;
  font-size: 20px;
  pointer-events: none;
  animation: sparkleFloat 3s ease-out forwards;
}

@keyframes crackersFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translate(var(--dx), var(--dy)) scale(0) rotate(720deg);
    opacity: 0;
  }
}

@keyframes sparkleFloat {
  0% {
    transform: translate(0, 0) scale(0) rotate(0deg);
    opacity: 0;
  }

  20% {
    transform: translate(var(--dx), var(--dy)) scale(1.2) rotate(180deg);
    opacity: 1;
  }

  100% {
    transform: translate(calc(var(--dx) * 1.5), calc(var(--dy) * 1.5)) scale(0) rotate(720deg);
    opacity: 0;
  }
}

/* Explosion rings around invitation */
.explosion-ring {
  position: absolute;
  border: 3px solid #ffd700;
  border-radius: 50%;
  pointer-events: none;
  animation: ringExpand 2s ease-out forwards;
}

@keyframes ringExpand {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive crackers */
@media (max-width: 768px) {
  .invitation-container {
    max-width: 85% !important;
    max-height: 75% !important;
  }

  .invitation-image {
    max-width: 350px;
    max-height: 60vh;
  }

  .cracker-sparkle {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-image {
    margin-top: 100px;
  }

  .hero-title {
    width: 800px;
    font-size: 30px;
  }

  .invitation-container {
    max-width: 95% !important;
    max-height: 70% !important;
  }

  .invitation-image {
    max-width: 280px;
    max-height: 50vh;
  }

  .cracker-sparkle {
    font-size: 14px;
  }
}

@media only screen and (max-width: 400px) and (max-height: 800px) {
  .hero-image {
    margin-top: 200px;
  }
}
