/* Google Fonts Link */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Miniver&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  cursor: none;
}
button *,
button,
a *,
a {
  cursor: none !important;
}

/* --- Preloader Styles --- */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to right, #f9f1ca 0%, #f9f1ca 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensures it's on top of all other content */

  /* For the fade-out effect */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease-out, visibility 0.7s ease-out;
}

/* This class will be added by JavaScript to hide the loader */
#loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-gif {
  width: 250px; /* Adjust the size of your GIF as needed */
  height: auto;
}
:root {
  /* Colors */
  --white-color: #fff;
  --dark-color: #252525;
  --primary-color: #3b141c;
  --secondary-color: #f3961c;
  --light-gray-color: #f2f2f2;
  --medium-gray-color: #ccc;
  --primary-color-alpha: rgba(31, 57, 89, 0.1);
  --secondary-color-alpha: rgba(10, 21, 56, 0.1);
  --hero-bg-beige: #f5e6d3;
  --hero-bg-mocha: #d2b48c;
  --text-color: #5c4033;

  /* Font weight */
  --font-weight-n: 400;
  --font-weight-m: 500;
  --font-weight-s: 600;
  --font-weight-b: 700;

  /* Font Size */
  --font-size-s: 1rem;
  --font-size-m: 1.13rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2.16rem;
  --font-size-xxl: 2.25rem;

  /* Border Radius */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site max width */
  --site-max-width: 1300px;
}

/* Beige Theme */
.theme-beige {
  --bg-color: #f5e6d3;
  --text-color: #c0551f;
  --primary-color: #915519;
  --secondary-color: #f3961c;
  --primary-color-rgb: 145, 85, 25;
  --text-color-rgb: 192, 85, 31;
}

/* Mocha Theme */
.theme-mocha {
  --bg-color: #d2b48c;
  --text-color: #252525;
  --primary-color: #5c4033;
  --secondary-color: #f3961c;
  --primary-color-rgb: 92, 64, 51;
  --text-color-rgb: 37, 37, 37;
}

/* Brown Theme */
.theme-brown {
  --bg-color: #8b4513;
  --text-color: #fff;
  --primary-color: #3b141c;
  --secondary-color: #f3961c;
  --primary-color-rgb: 59, 20, 28;
  --text-color-rgb: 255, 255, 255;
}

html {
  scroll-behavior: smooth;
  /* Prevent horizontal scroll */
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  /* Prevent horizontal scroll */
  overflow-x: hidden;
 /* cursor: url("./images/coffeeBeanCursor.png") 16 16, auto; */
}
/* for cursor bean */
#bean-cursor {
  position: fixed;
  width: 25px;
  height: 25px;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate('30');
  transition: transform 0.1s ease-out;
  z-index: 9999;
}

/* Setting for the whole website */
a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.section-container {
  margin: 0 auto;
  padding: 0 20px;
  max-width: var(--site-max-width);
}

.section-title {
  text-align: center;
  padding: 60px 0 100px;
  font-size: var(--font-size-xl);
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  width: 80px;
  background: var(--secondary-color);
  height: 5px;
  display: block;
  margin: 7px auto 0;
  border-radius: var(--border-radius-s);
}

/* Styling for the header section */
.header {
  position: fixed;
  top: 0;
  left: 0; /* Added left: 0 for full width */
  width: 100%;
  z-index: 5;
  background: var(--primary-color);
}

.nav {
  max-width: var(--site-max-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10px;
  margin: 0 auto;
}

.nav .nav-logo .logo-text {
  color: var(--white-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-s);
}

.nav .nav-menu {
  display: flex;
  align-items: center; /* Align items vertically */
  gap: 10px;
}

.nav .nav-menu .nav-item .nav-link {
  display: block;
  padding: 10px 20px;
  color: var(--white-color);
  font-weight: var(--font-weight-n);
  font-size: var(--font-size-m);
  border-radius: var(--border-radius-m);
  transition: 0.3s ease;
}

.nav .nav-menu .nav-item .nav-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Live Time Display */
.live-time-display {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white-color);
  font-size: var(--font-size-s);
  font-weight: var(--font-weight-m);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.live-time-display:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.live-time-display i {
  font-size: 1.1rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

#live-time {
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}

#open-menu-button,
#close-menu-button {
  font-size: var(--font-size-l);
  color: var(--white-color);
  cursor: pointer;
  display: none;
}
/* Hide LI wrapper for close button on desktop */
.nav-close-button {
  display: none;
}

/* Hero Section Redesign */
.hero {
  min-height: 100vh; /* Use min-height for responsiveness */
  height: auto;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
  padding: 8rem 0 4rem; /* Add padding for content */
  z-index: 1; /* --- THIS IS THE FIX --- */
}

.hero-diagonal-container {
  position: relative; /* Change from absolute */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 90%;
  max-width: 1200px;
  position: relative;
  z-index: 10;
  align-items: center; /* Vertically align grid items */
}

.hero-text-zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

.hero-title {
  font-family: "Clash Display", "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary-color);
  line-height: 1.2;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(var(--text-color-rgb), 0.8);
  margin-bottom: 1.5rem;
  max-width: 500px; /* Constrain width */
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; /* Allow buttons to wrap */
}

.hero-cta {
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.start-sippin {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 25px rgba(var(--primary-color-rgb), 0.3);
  background: linear-gradient(
    100deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.start-sippin:hover {
  background: transparent;
  color: black;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.4);
}

.our-playlist {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.our-playlist:hover {
  transform: translateY(-5px);
  background: rgba(var(--primary-color-rgb), 0.1);
  background: linear-gradient(
    100deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: #fff;
  box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.3);
}

.cursor {
  display: inline-block;
  margin-left: 4px;
  font-weight: light;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

.floating-elements {
  position: absolute;
  top: -50px;
  right: -50px;
}

.floating-emoji {
  position: absolute;
  font-size: 3rem;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite alternate;
}

.floating-emoji.coffee {
  top: 174px;
  right: 110px;
  animation-delay: 0s;
}

.floating-emoji.sparkle {
  top: 45px;
  right: 510px;
  animation-delay: 0.5s;
}

.floating-emoji.camera {
  top: 100px;
  right: 4px;
  animation-delay: 1s;
}
@media screen and (max-width: 1180px) {
  .floating-emoji.coffee {
    top: 160px;
    right: 90px;
  }

  .floating-emoji.sparkle {
    top: 45px;
    right: 470px;
  }

  .floating-emoji.camera {
    top: 100px;
    right: 2px;
  }
}
@keyframes float {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-20px);
  }
}

.hero-visual-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.latte-art-blob {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}

.latte-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  z-index: 2;
}

.latte-steam {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.3));
  animation: steam 2s ease-in-out infinite alternate;
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: scaleY(0);
  }

  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.glassmorphic-menu-preview {
  position: absolute;
  bottom: -50px;
  right: -50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 1rem;
  width: 250px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-preview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.menu-preview-item img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.menu-preview-item .item-details h5 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.menu-preview-item .item-details p {
  font-size: 0.8rem;
  color: rgba(var(--text-color-rgb), 0.7);
}

/* Responsive Adjustments (Original) */
/* This media query is oddly placed, but I will keep it */
@media (max-width: 1024px) {
  .hero {
    min-height: 100vh;
  }
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual-zone {
    order: -1;
    margin: 4rem 2rem;
  }
  .latte-art-blob {
    position: absolute;
    top: -20px;
  }

  .hero-text-zone {
    align-items: center; /* Center text and buttons */
  }

  .floating-elements {
    display: none;
  }

  .glassmorphic-menu-preview {
    position: static;
    margin: 2rem auto 0; /* Centered */
  }
}

@media (max-width: 576px) {
  .latte-art-blob {
    width: 250px;
    height: 250px;
  }

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

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
}

/* About Us Section */
.about-us {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
  overflow: hidden;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  margin-top: 3rem;
}

.about-image-wrapper {
  flex: 1;
  max-width: 50%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image-wrapper:hover {
  transform: scale(1.02);
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block; /* Fix bottom space */
}

.about-text-wrapper {
  flex: 1;
  max-width: 50%;
}

.about-text-wrapper .section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  text-align: left; /* Override general section-title */
  padding: 0 0 1.5rem; /* Override padding */
}

.about-text-wrapper .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
  margin: 0; /* Override margin */
}

.about-description p {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  align-items: stretch;
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  flex-grow: 0;
}

.value-card p {
  font-size: 0.95rem;
  color: rgba(var(--text-color-rgb), 0.8);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5; /* Added */
}

/* Responsive adjustments (Original) */
@media (max-width: 992px) {
  .about-values {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 1rem;
  }

  .value-card h3 {
    font-size: 1.2rem;
  }

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

/* Responsive Design (Original) */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
  }

  .about-image-wrapper,
  .about-text-wrapper {
    max-width: 100%;
  }

  /* Center title on mobile */
  .about-text-wrapper .section-title {
    text-align: center;
    padding: 0 0 1.5rem;
  }
  .about-text-wrapper .section-title::after {
    margin: 0 auto;
    left: 0;
    right: 0;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .about-text-wrapper .section-title {
    font-size: 2rem;
  }

  .value-card h3 {
    font-size: 1.2rem;
  }

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

/* Special Offers Section */
.special-offers {
  background-color: #f0f0f0;
  padding: 50px 0;
  text-align: center;
}

.special-offers .section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  padding: 0 0 20px; /* Override */
}
.special-offers .section-title::after {
  display: none; /* Hide line */
}

.offers-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.offer-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 300px;
  text-align: center;
  width: 90%; /* Responsive width */
}

.offer-image {
  width: 100%;
  height: auto; /* Added */
  max-width: 200px; /* Constrain image */
  border-radius: 10px;
}

.offer-title {
  font-size: 1.8rem;
  margin: 15px 0;
  color: orange;
}

.offer-description {
  font-size: 1.1rem;
  color: black;
}

/* Diwali Theme */
#diwali-offer .offer-item {
  border: 2px solid gold;
}

#diwali-offer .offer-title {
  color: darkorange;
}

/* Christmas Theme */
#christmas-offer .offer-item {
  border: 2px solid green;
}

#christmas-offer .offer-title {
  color: red;
}

/* New Year Theme */
#newyear-offer .offer-item {
  border: 2px solid silver;
}

#newyear-offer .offer-title {
  color: navy;
}

/* Holi Theme */
#holi-offer .offer-item {
  border: 2px solid pink;
}

#holi-offer .offer-title {
  color: violet;
}

/* Raksha Bandhan Theme */
#rakhi-offer .offer-item {
  border: 2px solid blue;
}

#rakhi-offer .offer-title {
  color: purple;
}

/* Live Coffee Order Tracker Styles */
.order-tracker {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
  text-align: center;
}

.tracker-container {
  max-width: 800px;
  margin: 0 auto;
}

.tracker-progress {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.tracker-step {
  position: relative;
  width: 30%;
}

.tracker-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.tracker-icon {
  font-size: 2rem;
}

.tracker-status {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Menu Section */
.menu {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
  position: relative;
  overflow: hidden;
}

.menu .section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.menu .section-head {
  text-align: center;
  margin-bottom: 0.8rem;
}

.menu .section-head h1 {
  /* background: linear-gradient(45deg, var(--primary-color), #ff6b6b); */
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  color: var(--primary-color); /* Simplified for theme */
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
}
/* menu search */
.search-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 220px;
  margin-bottom: 0.8rem;
  position: relative;
}
#searchMenu {
  border-radius: 20px;
  border: 1px solid transparent;
  outline: none;
  padding: 10px 40px 10px 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) inset;
}
.search-menu i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* icon stays, no click issue */
}

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

.menu-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-btn .emoji {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.menu-btn:hover,
.menu-btn.active {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.menu-wrapper {
  position: relative;
  padding: 2rem 0;
}

.menu-grid {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  margin: 0 -1rem;
}

.menu-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.menu-item {
  flex: 0 0 300px;
  opacity: 0.7;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 2rem;
}

.menu-item.active {
  opacity: 1;
  transform: scale(1);
}

.menu-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
  pointer-events: none;
}

.menu-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  color: var(--text-color);
}

.menu-nav-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

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

.menu-progress {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem auto;
  border-radius: 2px;
  overflow: hidden;
  max-width: 300px;
}

.menu-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.menu-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

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

.menu-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* REMOVED CONFLICTING RULE:
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
} 
*/

.menu-card {
  position: relative;
  height: 400px;
  perspective: 1500px;
  cursor: pointer;
}

.menu-card-front,
.menu-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  overflow: hidden;
}

.menu-card-front {
  background: var(--white-color);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.menu-card-back {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  padding: 2rem;
  transform: rotateY(180deg);
  color: var(--white-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-card:hover .menu-card-front {
  transform: rotateY(-180deg);
}

.menu-card:hover .menu-card-back {
  transform: rotateY(0);
}

.menu-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.trending-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(45deg, #ff6b6b, var(--primary-color));
  color: var(--white-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.price {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: bold;
}

.tags {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.tags span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

.order-btn {
  background: var(--white-color);
  color: var(--primary-color);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1rem 0;
  width: 100%;
}

.order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.customization {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
}

.custom-option {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.price-tag {
  color: rgba(255, 255, 255, 0.8);
}

.mobile-order {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
}

.mobile-order-btn {
  background: linear-gradient(45deg, var(--primary-color), #ff6b6b);
  color: var(--white-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.order-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff6b6b;
  color: var(--white-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  border: 2px solid var(--white-color);
}

/* Responsive Design (Original) */
@media (max-width: 768px) {
  /* .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  } */ /* This was commented out because it conflicts */

  .menu-card {
    height: 350px;
  }

  .menu-image {
    width: 150px;
    height: 150px;
  }

  .menu-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .mobile-order {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .mobile-order-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Modern Gen Z-inspired styles for the coffee section */
.coffee-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}

.coffee-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.coffee-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin: 1rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.coffee-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

.coffee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #1f3959 0%, rgb(10, 21, 56) 100%);
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.coffee-item:hover .coffee-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgb(10, 21, 56) 0%, #1f3959 100%);
}

.coffee-item h6 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0;
  color: #1f3959;
  transition: color 0.3s ease;
}

.coffee-item:hover h6 {
  color: rgb(10, 21, 56);
}

.coffee-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 0;
}

.pointerBtn {
  cursor: pointer;
}

.section-head {
  margin-bottom: 3rem; /* Added */
  text-align: center; /* Added */
}

.section-head h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--text-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

/* Testimonial Section */
.testimonial {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}

.testimonial .section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonial .section-head h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial .section-head p {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 0; /* Override */
}

.testimonial-slider {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 250px; /* Ensure slides have height */
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.quote-icon {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.rating {
  color: #ffd700;
  font-size: 0.9rem;
}

.testimonial-text {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background: var(--white-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}

.gallery .section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery .section-head p {
  margin-bottom: 0; /* Override */
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  background: var(--white-color);
  color: var(--text-color);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.gallery-item {
  opacity: 1;
  transform: scale(1);
  transition: all 0.4s ease;
}

.gallery-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 300px;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
  text-align: center;
}

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

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

.gallery-overlay h3 {
  color: var(--white-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-overlay p {
  color: var(--white-color);
  font-size: 1rem;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.gallery-card:hover .gallery-overlay h3,
.gallery-card:hover .gallery-overlay p {
  transform: translateY(0);
}

.view-more {
  margin-top: 1rem;
  color: var(--white-color);
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease 0.2s;
}

.gallery-card:hover .view-more {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
  flex-direction: column;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-caption {
  color: var(--white-color);
  text-align: center;
  margin-top: 1rem;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--white-color);
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-lightbox:hover {
  transform: rotate(90deg);
}

/* Responsive Design (Original) */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .gallery-card {
    height: 250px;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .gallery-overlay h3 {
    font-size: 1.2rem;
  }

  .gallery-overlay p {
    font-size: 0.9rem;
  }
}

/* Subscription Section Styles */
.subscription {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}
.subscription .section-title {
  padding: 0 0 60px; /* Override */
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.subscription-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.subscription-plan {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  padding: 30px;
  margin: 20px;
}

.subscription-plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.plan-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.plan-price {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 700;
}

.plan-description {
  color: var(--dark-color);
  opacity: 0.8;
  font-size: 1.2rem;
  margin: 10px 0;
}

.subscribe-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 15px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.subscribe-button:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
  padding: 4rem 0;
}

.contact-section .section-head p {
  margin-bottom: 0; /* Override */
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0; /* Prevent shrinking */
}

.contact-text h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-text p {
  font-size: 1rem;
  color: rgba(var(--text-color-rgb), 0.8);
  word-break: break-word; /* Wrap long text */
}

.contact-social {
  margin-top: 2rem;
  text-align: center;
}

.contact-social h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: var(--secondary-color);
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

.submit-btn i {
  font-size: 1.2rem;
}

.contact-map {
  margin-top: 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-wrapper {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Footer Section */
.footer {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer-social-links .social-icon {
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.footer-social-links .social-icon:hover {
  transform: scale(1.2);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
  opacity: 1;
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.footer-newsletter h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.newsletter-form {
  display: flex;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 12px;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--secondary-color);
}

.newsletter-disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
}

.newsletter-disclaimer a {
  color: white;
  text-decoration: underline;
}

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

.footer-legal {
  display: flex;
  justify-content: space-between; /* Changed */
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; /* Added */
}

.footer-payments {
  display: flex;
  gap: 1.5rem;
  font-size: 2rem;
  color: white;
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center; /* Center brand */
  }

  .footer-links {
    grid-template-columns: 1fr; /* Stack columns */
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-legal {
    justify-content: center; /* Center legal */
  }
}

@media (max-width: 576px) {
  .footer-container {
    padding: 0 1rem;
  }

  .footer-payments {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Playlist Section */
.playlist-vibes {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}
.playlist-vibes .section-head p {
  margin-bottom: 0; /* Override */
}

.playlist-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.spotify-embed {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.spotify-embed iframe {
  border-radius: 10px;
  width: 100%; /* Ensure iframe is responsive */
}

.playlist-description {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 2rem;
  color: var(--primary-color);
}

.playlist-description h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.playlist-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(var(--text-color-rgb), 0.8);
}

@media (max-width: 1024px) {
  .playlist-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .playlist-description {
    margin-top: 2rem;
  }
}

/* Features Section Redesign */
.features-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}
.features-section .section-head p {
  margin-bottom: 0; /* Override */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-item {
  perspective: 1000px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  height: 100%; /* Make cards equal height */
}

.feature-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  color: rgba(var(--text-color-rgb), 0.8);
  margin-bottom: 1.5rem;
}

.feature-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.feature-link:hover {
  color: var(--secondary-color);
}

/* Order Tracking Section */
.order-tracking {
  background: rgba(255, 255, 255, 0.1);
  padding: 4rem 0;
}

.order-tracking-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.order-input-zone {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.order-input-zone input {
  flex-grow: 1;
  padding: 12px;
  border: none;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  min-width: 100px; /* Prevent over-shrinking */
}

.order-input-zone button {
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.order-input-zone button:hover {
  background: var(--secondary-color);
}

.order-status-display {
  display: flex;
  justify-content: space-between;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.status-step.active {
  opacity: 1;
}

.status-step i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.status-step span {
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-tracking-container {
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .order-input-zone {
    flex-direction: column;
  }

  /* Responsive styles for live time display */
  /* This was moved to the main responsive query */
  /* .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .live-time-display {
    order: 1;
    flex: 1 1 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .live-time-display i {
    font-size: 1rem;
  }

  #open-menu-button {
    display: block;
  } */
}

/* ---================================--- */
/* --- BEGIN RESPONSIVE MEDIA QUERIES --- */
/* ---================================--- */

@media (max-width: 992px) {
  /* --- Navbar --- */
  #open-menu-button {
    display: block; /* Show hamburger */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    height: 100vh;
    width: 70%; /* Or a fixed width like 300px */
    max-width: 320px;
    background: var(--primary-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 4rem 2rem 2rem;
    gap: 1.5rem;
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }

  /* Show menu */
  body.show-mobile-menu .nav-menu {
    right: 0;
  }

  .nav-menu .nav-item {
    width: 100%;
  }

  .nav-menu .nav-item .nav-link {
    font-size: 1.1rem;
    padding: 10px 0; /* Adjust padding for vertical layout */
  }

  .nav-menu .nav-link:hover {
    background: none; /* Remove desktop hover */
    color: var(--secondary-color); /* Change color on hover */
  }

  .nav-close-button {
    display: block; /* Show the LI wrapper */
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }

  #close-menu-button {
    display: block; /* Show the 'X' icon */
    font-size: 1.5rem;
  }

  /* Adjust theme & time elements in mobile menu */
  .live-time-display {
    background: none;
    backdrop-filter: none;
    padding: 0;
    border: none;
    box-shadow: none;
    order: 10; /* Move to bottom */
    margin-top: auto; /* Push to bottom */
    justify-content: flex-start;
  }

  .theme-dropdown {
    order: 9; /* Move to bottom */
    width: 100%;
  }
  .theme-btn {
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }
  .theme-options {
    position: static; /* Un-do absolute positioning */
    box-shadow: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
  }
  .theme-options li {
    color: var(--white-color);
  }

  /* --- Hero Section --- */
  .hero-content-wrapper {
    gap: 2rem;
    padding-top: 6rem; /* Add padding to avoid navbar overlap */
  }

  /* --- Features Section --- */
  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  /* --- Menu Section --- */
  .menu-slider {
    gap: 1rem;
  }
  .menu-item {
    flex: 0 0 80%; /* Show 80% of one slide */
    margin-right: 1rem;
    max-width: 300px;
  }
  .menu-navigation {
    display: none; /* Hide desktop arrows */
  }
  .menu-wrapper {
    padding: 1rem 0;
  }

  /* --- Playlist Section --- */
  .playlist-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  /* --- Testimonial Section --- */
  .testimonial-slider {
    padding: 1rem 0;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none; /* Hide nav arrows on mobile */
  }

  /* --- Gallery Section --- */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* --- Contact Section --- */
  .contact-container {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  /* --- Subscription Section --- */
  .subscription-plan {
    width: 90%;
    max-width: 320px;
    margin: 1rem auto;
  }
}

/* Smaller mobile fixes */
@media (max-width: 576px) {
  /* --- General --- */
  .section-container {
    padding: 0 1rem;
  }
  .section-head h1,
  .section-title {
    font-size: 2rem;
  }

  /* --- Hero --- */
  .hero-content-wrapper {
    padding-top: 5rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-ctas {
    width: 100%;
  }
  .hero-cta {
    width: 90%;
    justify-content: center;
  }

  /* --- Menu --- */
  .menu-filter {
    gap: 0.5rem;
  }
  .menu-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  .menu-item {
    flex-basis: 90%; /* Show 90% */
  }

  /* --- Contact --- */
  .contact-info,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  .contact-card {
    gap: 1rem;
  }
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* --- Footer --- */
  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
  }
  .newsletter-form input,
  .newsletter-form button {
    border-radius: 30px;
  }
}

/* Cart Styles */
.cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.cart i {
  font-size: 1.5rem;
  color: var(--white-color);
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary-color);
  color: var(--white-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  border: 2px solid var(--white-color);
}

.cart.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white-color);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px; /* Increase width - was 400px */
  max-width: 90vw;
  height: 100vh;
  background: var(--white-color);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* OR if you want more space, adjust the max-width on mobile */
@media (max-width: 768px) {
  .cart-panel {
    width: 95vw; /* Increase from 100vw to take more screen space */
    max-width: 95vw;
    padding: 1.5rem; /* Adjust padding */
  }
}

.cart-panel:not(.hidden) {
  transform: translateX(0);
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-color);
}

.cart-price {
  font-weight: 600;
  color: var(--primary-color);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.qty-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.cart-subtotal {
  font-weight: 600;
  color: var(--primary-color);
}

.remove-btn {
  background: #ff6b6b;
  color: var(--white-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: #ff5252;
  transform: translateY(-2px);
}

.cart-total {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin: 1rem 0;
}

.card-divider_2 {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: auto;
  padding-top: 1rem;
}

.export-table-btn,
.close-cart {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.export-table-btn {
  background: var(--primary-color);
  color: var(--white-color);
}

.export-table-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.close-cart {
  background: #e0e0e0;
  color: #333;
}

.close-cart:hover {
  background: #d0d0d0;
  transform: translateY(-2px);
}

.hidden {
  display: none !important;
}

/* Notification Styles */
#added {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

#added.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Cart Styles */
@media (max-width: 768px) {
  .cart-panel {
    width: 100vw;
    max-width: 100vw;
    padding: 1rem;
  }

  .cart-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cart-image {
    width: 50px;
    height: 50px;
  }

  .qty-controls {
    order: 2;
  }

  .cart-subtotal {
    order: 3;
  }

  .remove-btn {
    order: 4;
    align-self: flex-end;
  }

  .card-divider_2 {
    flex-direction: column;
  }

  .export-table-btn,
  .close-cart {
    width: 100%;
  }
}

/* --- AI Recommender Section --- */
.ai-recommender {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}

.ai-recommender .section-head p {
  margin-bottom: 0; /* Override */
}

.recommender-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.recommender-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: #000; /* Changed to black */
}

.form-group select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  color: #000; /* Changed to black */
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

/* Style the submit button (re-using .submit-btn) */
.recommender-form .submit-btn {
  margin-top: 1rem;
  background: var(--primary-color);
}

.recommender-form .submit-btn:hover {
  background: var(--secondary-color);
}

.recommendation-result {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px; /* Ensure it has height */
  transition: all 0.3s ease;
}

.recommendation-result .placeholder-text {
  color: #000; /* Changed to black */
  opacity: 0.6;
}

.recommendation-result .placeholder-text i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* When result is shown */
.recommendation-result.loading {
  opacity: 0.5;
  transform: scale(0.98);
}

.recommendation-result h3 {
  font-size: 1.5rem;
  color: #000; /* Changed to black */
  margin-bottom: 0.5rem;
}

.recommendation-result h2 {
  color: #000; /* Added for the main result title */
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.recommendation-result p {
  font-size: 1.1rem;
  color: #000; /* Changed to black */
  line-height: 1.6;
}

.recommendation-result .result-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .recommender-wrapper {
    grid-template-columns: 1fr;
  }
  .recommendation-result {
    min-height: 250px;
  }
}

#mood-quiz {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--hero-bg-beige) 0%,
    var(--hero-bg-mocha) 100%
  );
}

.quiz-box {
  max-width: 700px;
  margin: auto;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quiz-question {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #4a2e19;
}

.quiz-options button {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  background: #eaddcd;
  color: #4a2e19;
  cursor: pointer;
  transition: 0.3s;
}

.quiz-options button:hover {
  background: #caa98c;
}

.quiz-result {
  text-align: center;
  margin-top: 40px;
  color: #4a2e19;
}

.quiz-drink {
  padding: 20px;
  font-size: 2rem;
  color: #7c543a;
  font-weight: bold;
}

.hidden {
  display: none;
}
.quiz-restart-btn {
  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: #dfc2a3;
  color: #4a2e19;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.quiz-restart-btn:hover {
  background: #caa98c;
}

.menu-card {
  position: relative;
  height: 400px;
  perspective: 1500px;
  cursor: pointer;
  transition: transform 0.1s ease;
}

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

.menu-card.rotate-3d {
  transform-style: preserve-3d;
}

.menu-card-front,
.menu-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.menu-card:hover::before {
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
}

/* Shine effect that follows mouse */
.menu-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
  border-radius: 20px;
}

.menu-card:hover::after {
  transform: translateX(100%);
}
/* Theme Dropdown Styles */
.theme-dropdown {
  position: relative;
  display: inline-block;
}

.theme-btn {
  display: block;
  padding: 10px 20px;
  color: var(--white-color);
  font-weight: var(--font-weight-n);
  font-size: var(--font-size-m);
  border-radius: var(--border-radius-m);
  transition: 0.3s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.theme-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.theme-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white-color);
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  z-index: 1000;
  margin-top: 5px;
}

.theme-dropdown:hover .theme-options,
.theme-options:hover {
  display: block;
}

.theme-options li {
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  color: var(--primary-color);
  font-weight: var(--font-weight-m);
}

.theme-options li:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

@media (max-width: 992px) {
  .theme-dropdown {
    order: 9;
    width: 100%;
  }

  .theme-btn {
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }

  .theme-options {
    position: static;
    box-shadow: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    display: none;
  }

  .theme-dropdown.active .theme-options {
    display: block;
  }

  .theme-options li {
    color: var(--white-color);
  }

  .theme-options li:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}
.virtual-tour {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--hero-bg-beige) 0%, var(--hero-bg-mocha) 100%);
}

.virtual-tour .section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.virtual-tour .section-head p {
  margin-bottom: 0;
}

.tour-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.tour-frame-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  padding-bottom: 56.25%;
  height: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.tour-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tour-overlay-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  animation: floatHint 3s ease-in-out infinite;
}

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

@media (max-width: 768px) {
  .tour-frame-container {
    padding-bottom: 100%;
  }
}

.nav .nav-menu {
  gap: 5px;
}

.nav .nav-menu .nav-item .nav-link {
  padding: 8px 12px;
  font-size: 0.95rem;
}

.theme-btn {
  padding: 8px;
  font-size: 1rem;
}

@media (max-width: 1200px) {
  .nav .nav-menu {
    gap: 2px;
  }
  .nav .nav-menu .nav-item .nav-link {
    padding: 8px 8px;
    font-size: 0.9rem;
  }
}
#scroll-progress-wrap {
  position: fixed;
  top: 0; /* JS will override this automatically */
  left: 0;
  width: 100%;
  height: 5px;
  background: transparent;
  z-index: 99999;
  pointer-events: none;
}

#scroll-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd89b, #f06d06);
  transition: width 120ms linear;
}