/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables for Premium Design System */
:root {
  --color-primary: #e5a93b;      /* Warm Gold */
  --color-primary-dark: #b8832a; /* Darker Gold for hover states */
  --color-bg-dark: #120b07;      /* Deep Coffee bean black */
  --color-bg-card: #1d140e;      /* Roasted dark brown */
  --color-bg-light: #fdfaf6;     /* Creamy oat milk white */
  --color-text-dark: #120b07;    /* Slate/Dark brown for light sections */
  --color-text-light: #fdfaf6;   /* Creamy white for dark sections */
  --color-text-muted: #bda290;   /* Muted roasted brown text */
  --color-glass-bg: rgba(29, 20, 14, 0.7);
  --color-glass-border: rgba(229, 169, 59, 0.2);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --box-shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.5);
  --box-shadow-glow: 0 0 20px rgba(229, 169, 59, 0.35);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
}

/* Navbar Upgrades */
.navbar {
  transition: var(--transition-smooth);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(18, 11, 7, 0.95) !important;
}

.navbar.scrolled {
  background: rgba(18, 11, 7, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--color-text-light) !important;
}

.navbar-brand span {
  color: var(--color-primary);
}

.nav-link {
  color: var(--color-text-muted) !important;
  font-weight: 400;
  margin: 0 0.5rem;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary) !important;
}

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

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

/* Cart Toggle Button */
.cart-btn-trigger {
  position: relative;
  background: rgba(229, 169, 59, 0.1);
  border: 1px solid var(--color-glass-border);
  color: var(--color-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  outline: none;
}

.cart-btn-trigger:hover {
  background: var(--color-primary);
  color: var(--color-bg-dark);
  box-shadow: var(--box-shadow-glow);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff3333;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: popBadge 0.3s ease-out;
}

@keyframes popBadge {
  0% { transform: scale(0); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(18, 11, 7, 0.6), rgba(18, 11, 7, 0.9)), url("../images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay-gfx {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--color-bg-dark), transparent);
  z-index: 2;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
  font-size: 1.35rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 1.5rem auto 2.5rem;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-ctas {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* Buttons styling */
.btn-gold {
  background: var(--color-primary);
  color: var(--color-bg-dark);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.btn-gold:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-bg-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-glow);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
  background: rgba(229, 169, 59, 0.1);
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* Scroll Down Mouse Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: fadeIn 2s ease-in 1s forwards;
}

.scroll-mouse {
  width: 26px;
  height: 45px;
  border: 2px solid var(--color-text-muted);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  animation: scrollAnim 1.6s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0; }
}
/* About Section */
#about {
  background-color: var(--color-bg-dark);
  padding: 8rem 0;
  position: relative;
}

#about p {
  color: #ebd1bc !important; /* Lighter warm peach-cream for high visibility */
}
.about-img-container {
  position: relative;
  padding-right: 20px;
  padding-bottom: 20px;
}

.about-img-container::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 85%;
  height: 85%;
  border: 3px solid var(--color-primary);
  border-radius: 8px;
  z-index: 1;
}

.about-img-container img {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  box-shadow: var(--box-shadow-premium);
  transition: var(--transition-smooth);
}

.about-img-container img:hover {
  transform: translate(-5px, -5px);
}

.about-badge {
  display: inline-block;
  background: rgba(229, 169, 59, 0.1);
  color: var(--color-primary);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border: 1px solid rgba(229, 169, 59, 0.2);
}

/* Interactive Brew Configurator Section */
#brew-configurator {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, #1e130c 100%);
  padding: 8rem 0;
}

.brew-card {
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--box-shadow-premium);
}

/* The Animated Cup Gfx */
.cup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  min-height: 350px;
}

.glass-mug {
  width: 170px;
  height: 230px;
  border: 6px solid rgba(255, 255, 255, 0.4);
  border-top: none;
  border-radius: 0 0 60px 60px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 25px rgba(255,255,255,0.05);
  z-index: 2;
}

/* Handle of the Mug */
.glass-handle {
  position: absolute;
  top: 50px;
  right: calc(50% - 118px);
  width: 45px;
  height: 100px;
  border: 6px solid rgba(255, 255, 255, 0.4);
  border-left: none;
  border-radius: 0 40px 40px 0;
  z-index: 1;
}

/* Liquid Layers in the Cup */
.liquid-layer {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  overflow: hidden;
  white-space: nowrap;
}

.layer-water {
  z-index: 3;
  background-color: rgba(90, 180, 240, 0.75);
}

.layer-syrup {
  z-index: 4;
  background-color: rgba(90, 50, 20, 0.85); /* Rich Caramel/Choc */
}

.layer-espresso {
  z-index: 5;
  background-color: rgba(60, 30, 10, 0.95); /* Deep Black Coffee */
}

.layer-milk {
  z-index: 6;
  background-color: rgba(245, 240, 230, 0.9); /* Milky Oat Cream */
}

.layer-foam {
  z-index: 7;
  background-color: rgba(255, 255, 255, 0.85); /* Frothy Foam */
}

.brew-sliders .form-label {
  font-weight: 500;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.brew-sliders .form-label span {
  color: var(--color-primary);
  font-weight: 600;
}

.brew-slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin-bottom: 1.5rem;
}

.brew-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.brew-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.brew-feedback-box {
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  background: rgba(229, 169, 59, 0.05);
}

/* Menu Section */
#menu {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  padding: 8rem 0;
}

#menu h2 {
  color: var(--color-bg-dark);
}

.menu-card {
  border: none;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  height: 100%;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(18, 11, 7, 0.1);
}

.menu-img-wrap {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

.menu-card:hover .menu-img-wrap img {
  transform: scale(1.08);
}

.menu-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(18, 11, 7, 0.85);
  color: var(--color-primary);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.menu-card-body {
  padding: 1.75rem;
}

.menu-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-bg-dark);
  margin-bottom: 0.5rem;
}

.menu-card p {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  min-height: 40px;
}

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1rem;
}

.menu-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-bg-dark);
  font-family: var(--font-sans);
}

.btn-menu-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-dark);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-menu-add:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  box-shadow: 0 4px 10px rgba(229, 169, 59, 0.4);
}

/* Gallery Section */
#gallery {
  background-color: var(--color-bg-dark);
  padding: 8rem 0;
}

#gallery p, #gallery .text-muted {
  color: #ebd1bc !important;
}

.gallery-grid img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-premium);
}

.gallery-grid img:hover {
  transform: scale(1.03) translateY(-5px);
  border-color: var(--color-primary);
}

/* Reviews / Testimonials Section */
.testimonials {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  padding: 8rem 0;
}

.testimonials h2 {
  color: var(--color-bg-dark);
}

.review-card {
  border: none;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.review-card::after {
  content: "“";
  position: absolute;
  top: 15px;
  right: 25px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(229, 169, 59, 0.15);
  line-height: 1;
}

.review-stars {
  color: var(--color-primary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.review-card p {
  font-size: 1rem;
  font-style: italic;
  color: #495057;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 45px;
  height: 45px;
  background-color: rgba(229, 169, 59, 0.2);
  color: var(--color-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-sans);
}

.review-author h6 {
  margin: 0;
  font-weight: 700;
  color: var(--color-bg-dark);
}

/* Contact Section */
#contact {
  background-color: var(--color-bg-dark);
  padding: 8rem 0;
}

.contact-card {
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--box-shadow-premium);
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.contact-info-list i {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-top: 3px;
}

.contact-info-list p {
  margin: 0;
  color: #ebd1bc;
}

.contact-card p.text-muted {
  color: #ebd1bc !important;
}

.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  transition: var(--transition-smooth);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(229, 169, 59, 0.3);
  color: #ffffff;
}

/* Cart Slide-out Drawer */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: #1a110a;
  border-left: 1px solid var(--color-glass-border);
  box-shadow: -10px 0 35px rgba(0,0,0,0.6);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h4 {
  font-family: var(--font-serif);
  color: var(--color-text-light);
  margin: 0;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  color: var(--color-primary);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  animation: slideInCart 0.3s ease;
}

@keyframes slideInCart {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

.cart-item-info h6 {
  margin: 0 0 0.2rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.cart-item-customizations {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255,255,255,0.05);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.cart-item-price {
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #ff3333;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  opacity: 1;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cart-total-row span:first-child {
  color: var(--color-text-muted);
}

.cart-total-row.grand-total {
  font-size: 1.25rem;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

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

.cart-coupon-wrap {
  display: flex;
  gap: 8px;
  margin: 1rem 0;
}

.cart-coupon-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.cart-coupon-input:focus {
  border-color: var(--color-primary);
  outline: none;
}

.btn-apply-coupon {
  background: var(--color-primary);
  border: none;
  color: var(--color-bg-dark);
  font-weight: 600;
  border-radius: 6px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-apply-coupon:hover {
  background: var(--color-primary-dark);
}

.cart-checkout-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 50px;
  border: none;
  background: var(--color-primary);
  color: var(--color-bg-dark);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cart-checkout-btn:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--box-shadow-glow);
}

.empty-cart-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.empty-cart-state i {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
  display: block;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  transition: transform 0.35s ease;
}

.lightbox-modal.show .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--color-primary);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 1102;
}

.lightbox-nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-bg-dark);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* Custom Modal styling for Drink customization */
.modal-content.custom-modal {
  background-color: #1d140e;
  border: 1px solid var(--color-glass-border);
  color: var(--color-text-light);
  border-radius: 16px;
}

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

.modal-header.custom-modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

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

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

.modal-drink-preview {
  display: flex;
  gap: 20px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modal-drink-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

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

.customization-section h7 {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.75rem;
}

.option-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-pill {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.option-pill input {
  display: none;
}

.option-pill label {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-pill input:checked + label {
  background: rgba(229, 169, 59, 0.15);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.option-checkbox-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-checkbox-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.option-checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Media Queries */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  #about, #brew-configurator, #menu, #gallery, .testimonials, #contact {
    padding: 5rem 0;
  }
  .display-5 {
    font-size: 2.25rem !important;
  }
  .brew-card.h-100 {
    height: auto !important;
  }
  .navbar-nav {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }
  .nav-link {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-link::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
  }
  .lightbox-prev {
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
  }
  .lightbox-next {
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
  }
  .lightbox-close {
    top: -50px;
    right: 10px;
  }
  .contact-info-list {
    margin: 1.5rem 0;
  }
  .brew-slider-input::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }
  .brew-slider-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 575px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .cart-drawer {
    max-width: 100%;
  }
  .contact-card {
    padding: 1.5rem;
  }
  .brew-card {
    padding: 1.25rem;
  }
  .about-img-container {
    padding-right: 0;
    padding-bottom: 0;
  }
  .about-img-container::before {
    display: none;
  }
  .gallery-grid img {
    height: 250px;
  }
  .review-card {
    padding: 1.5rem;
  }
}

footer .text-muted, footer p {
  color: #ebd1bc !important;
}

#brew-configurator .text-muted, #brew-configurator p {
  color: #ebd1bc !important;
}
