@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Bungee&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Theme Palette (90s-Y2K High-Contrast Saturated Cyber Palette) */
  --bg-primary: #ffffff;
  --bg-secondary: #f3f5fc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --border-glass: rgba(0, 0, 0, 0.15);

  --color-primary: #0044ff; /* Electric/Cyber Blue */
  --color-secondary: #ff007f; /* Hot Magenta/Pink */
  --color-accent: #39ff14; /* Acid/Lime Green */
  
  --text-white: #0f0f15; /* Saturated Dark Contrast Text */
  --text-gray: #303040; /* Readable Body Text */
  --text-muted: #5e5e78; /* Muted slate */

  --shadow-neon: 4px 4px 0px var(--text-white);
  --shadow-neon-pink: 4px 4px 0px var(--color-secondary);
  --shadow-card: 6px 6px 0px var(--text-white);
  
  --border-radius-sm: 10px;
  --border-radius-md: 20px;
  --border-radius-lg: 30px;
  
  --transition-smooth: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* --- BASE & LAYOUT --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
}

/* --- REUSABLE COMPONENTS & UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #00a2ff);
  color: #ffffff;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 225, 255, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--text-white);
  box-shadow: var(--shadow-neon-pink);
  transform: translateY(-2px);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  background: linear-gradient(to right, var(--text-white), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* --- NAVIGATION BAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.header-active {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-right: 4px;
}

.logo-icon {
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
  display: inline-block;
  margin-right: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-gray);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  transition: var(--transition-smooth);
}

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

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- NAV DROPDOWN STYLING --- */
.nav-dropdown-content {
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glass) !important;
  transition: var(--transition-smooth);
}

.nav-dropdown-wrapper:hover .nav-dropdown-content,
.nav-dropdown-wrapper.active .nav-dropdown-content {
  display: block !important;
}

.nav-dropdown-content a {
  color: var(--text-gray) !important;
  transition: var(--transition-smooth);
}

.nav-dropdown-content a:hover {
  background: rgba(0, 225, 255, 0.08) !important;
  color: var(--color-primary) !important;
  padding-left: 20px !important;
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 0, 127, 0.08), transparent),
              radial-gradient(circle at 10% 80%, rgba(0, 225, 255, 0.08), transparent);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.text-gradient-blue {
  background: linear-gradient(to right, var(--color-primary), #00a2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-pink {
  background: linear-gradient(to right, var(--color-secondary), #ff0055);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-circle-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}

.hero-cup-image {
  position: relative;
  z-index: 2;
  max-height: 460px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}


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

/* --- POPULAR CATEGORIES & PRODUCTS --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 32px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon);
}

.category-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.category-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-glass);
}

.about-title {
  font-size: 3rem;
  margin-bottom: 24px;
}

/* --- INSTAGRAM / GALLERY --- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.instagram-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  aspect-ratio: 1;
}

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

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

/* --- MENU PAGE SPECIFICS --- */
.menu-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.search-filter-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 14px 20px 14px 48px;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon);
  outline: none;
}

.search-icon-inside {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 14px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sort-select:focus {
  border-color: var(--color-primary);
}

.category-tags {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.category-tag {
  white-space: nowrap;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.category-tag:hover, .category-tag.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon);
}

/* --- MENU GRID & CARD --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.drink-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.drink-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-neon-pink);
}

.drink-image-wrap {
  width: 100%;
  height: 220px;
  background: #f4f5f8;
  overflow: hidden;
  position: relative;
}

.drink-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.favorite-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-glass);
  z-index: 10;
}

.favorite-btn.active {
  color: var(--color-secondary);
  background: var(--text-white);
}

.drink-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drink-category-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.drink-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.drink-description {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.drink-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.drink-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-accent);
}

/* --- CALORIE CALCULATOR --- */
.calc-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 40px;
}

.calc-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 32px;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-white);
}

.calc-select, .calc-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: 12px;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.calc-select:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon);
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.calc-option-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calc-option-card.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon);
  background: rgba(0, 225, 255, 0.05);
}

.calc-results-sticky {
  position: sticky;
  top: 110px;
}

.calc-results {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-neon);
}

.calc-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .calc-panel-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.calc-result-number {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 225, 255, 0.4);
}

/* Visual Cup Styling - Premium Glassmorphism */
.nutrition-cup-container {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}
.nutrition-cup {
  position: relative;
  width: 95px;
  height: 150px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top: none;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 
    inset 0 0 15px rgba(255, 255, 255, 0.15), 
    0 10px 30px rgba(0, 0, 0, 0.5), 
    0 0 20px rgba(0, 225, 255, 0.1);
  overflow: hidden;
  backdrop-filter: blur(2px);
}
/* Rolled Cup Lip */
.nutrition-cup::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 8px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 5;
}
/* Glass Reflection Shine */
.nutrition-cup::after {
  content: '';
  position: absolute;
  top: 5%;
  left: 8px;
  width: 6px;
  height: 90%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
  border-radius: 3px;
  z-index: 4;
  pointer-events: none;
}
.cup-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, #00f2fe, #4facfe);
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1), background 0.8s ease;
  opacity: 0.88;
  z-index: 1;
}
.liquid-wave {
  position: absolute;
  top: -8px;
  left: 0;
  width: 200%;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 38% 44% 42% 46%;
  animation: wave-move 3.5s infinite linear;
}
.cup-ice-cube {
  position: absolute;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2), inset 0 0 6px rgba(255,255,255,0.2);
  z-index: 3;
}
.cup-ice-cube.ice-1 {
  bottom: 25px;
  left: 18px;
  transform: rotate(15deg);
}
.cup-ice-cube.ice-2 {
  bottom: 65px;
  right: 18px;
  transform: rotate(-20deg);
}
.cup-straw {
  position: absolute;
  top: -35px;
  right: 24px;
  width: 9px;
  height: 190px;
  background: linear-gradient(90deg, #ff007f, #7f00ff);
  border-radius: 4px;
  transform: rotate(-6deg);
  z-index: 2;
  opacity: 0.85;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Floating Bubbles inside the drink */
.cup-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  animation: bubble-climb 3s infinite ease-in;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.6);
}
@keyframes bubble-climb {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-110px) scale(1.1); opacity: 0; }
}

@keyframes wave-move {
  0% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

.calc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
}

.calc-stat-val {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-white);
}

/* --- LOCATIONS PAGE --- */
.locations-search-container {
  max-width: 600px;
  margin: 0 auto 40px auto;
  display: flex;
  gap: 12px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 28px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon);
}

.location-status {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 225, 255, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.location-hours {
  margin: 16px 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.location-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.location-amenity-badge {
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-white);
}

/* --- BLOG PAGE --- */
.featured-blog-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  margin-bottom: 60px;
}

.featured-blog-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background: var(--bg-secondary);
  padding: 20px;
}

.featured-blog-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.blog-card-img {
  height: 200px;
  object-fit: contain;
  background: var(--bg-secondary);
  padding: 15px;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.blog-card-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.pagination-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pagination-btn:hover, .pagination-btn.active {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}

/* --- CONTACT & FAQ --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 40px;
  border-radius: var(--border-radius-md);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-gray);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

/* --- MODAL POPUP --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-card);
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-neon);
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border-glass);
}

.modal-body {
  padding: 40px;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px 0;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.footer-links-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .featured-blog-card {
    grid-template-columns: 1fr;
  }
  .featured-blog-img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 60px 40px;
    align-items: flex-start;
    gap: 32px;
    transition: 0.4s ease;
    border-top: 1px solid var(--border-glass);
  }

  .nav-menu.active {
    left: 0;
    overflow-y: auto; /* Allow scrolling menu if it overflows */
  }

  .nav-dropdown-wrapper {
    width: 100%;
  }

  .nav-dropdown-content {
    position: static !important;
    display: block !important; /* Keep nested sub-menus visible inside the drawer */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px 0 6px 15px !important;
    min-width: unset !important;
  }

  .nav-dropdown-content a {
    display: block !important;
    padding: 6px 0 !important;
    font-size: 0.95rem !important;
    color: var(--text-gray) !important;
  }

  .nav-dropdown-content a:hover {
    padding-left: 10px !important;
    background: transparent !important;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-image-container {
    order: -1;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

/* --- RESPONSIVE GRIDS FOR REWARDS --- */
.rewards-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.rewards-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .rewards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .rewards-grid > div {
    padding-left: 0 !important;
  }
}
@media (max-width: 576px) {
  .rewards-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
