/*
Theme Name: J & B Barista Academy
Theme URI: https://jnbbaristaacademy.com
Author: J & B Barista Academy
Author URI: https://jnbbaristaacademy.com
Description: A custom WordPress theme for J & B Barista Academy, Hetauda, Nepal. Specialty coffee education with a premium design.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jandbbarista
Tags: custom-menu, featured-images, translation-ready
*/

/* ============================================================
   1. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* ============================================================
   2. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Core palette */
  --espresso: hsl(12, 22%, 14%);
  --cream: hsl(30, 40%, 95%);
  --oat: hsl(30, 12%, 93%);
  --accent: hsl(25, 52%, 58%);

  /* Semantic aliases */
  --background: var(--oat);
  --foreground: var(--espresso);
  --card: var(--cream);
  --muted: hsl(30, 15%, 88%);
  --muted-foreground: hsl(12, 10%, 40%);
  --border: hsl(30, 15%, 82%);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing & radius */
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 8px 8px 0px 0px hsl(12 22% 14% / 0.08),
    0 20px 40px -15px hsl(12 22% 14% / 0.12);
  --shadow-card-hover: 12px 12px 0px 0px hsl(12 22% 14% / 0.12),
    0 30px 60px -15px hsl(12 22% 14% / 0.18);
  --shadow-neo: 4px 4px 0px 0px hsl(12 22% 14% / 0.15);

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s ease;
  --transition-spring: 0.3s var(--ease-spring);
}

/* ============================================================
   3. CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

.custom-logo {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography */
.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

/* Float Card (converted from .float-card Tailwind component) */
.float-card {
  background-color: var(--cream);
  border-radius: var(--radius-2xl);
  border: 2px solid hsl(12 22% 14% / 0.10);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.float-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-card-hover);
}

/* Neo Brutal Border */
.neo-brutal-border {
  border: 2px solid hsl(12 22% 14% / 0.20);
  box-shadow: var(--shadow-neo);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--espresso), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reveal animation base (driven by JS IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Badge */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  line-height: 1.5;
}

.badge-accent {
  background-color: hsl(25 52% 58% / 0.15);
  color: var(--accent);
}

.badge-muted {
  background-color: hsl(12 22% 14% / 0.05);
  color: var(--muted-foreground);
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid hsl(25 52% 58% / 0.3);
  box-shadow: var(--shadow-neo);
  transition: filter var(--transition-base), transform var(--transition-base);
  font-size: 0.9375rem;
  text-decoration: none;
}

.btn-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid hsl(12 22% 14% / 0.20);
  box-shadow: var(--shadow-neo);
  transition: background-color var(--transition-base), transform var(--transition-base);
  font-size: 0.9375rem;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: hsl(30 40% 90%);
  transform: translateY(-1px);
}

/* Section heading eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

/* ============================================================
   5. NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: hsl(12 22% 14% / 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  text-decoration: none;
}

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

/* Desktop nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(30 40% 95% / 0.7);
  transition: color var(--transition-base);
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-enroll {
  background-color: var(--accent);
  color: #fff !important;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  border: 2px solid hsl(30 40% 95% / 0.20);
  box-shadow: var(--shadow-neo);
  transition: filter var(--transition-base) !important;
  color: #fff !important;
}

.nav-enroll:hover {
  filter: brightness(1.1);
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  background-color: var(--espresso);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.nav-mobile.is-open {
  display: block;
  max-height: 500px;
}

.nav-mobile-inner {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-mobile a {
  display: block;
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: hsl(30 40% 95% / 0.8);
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(30 40% 95% / 0.10);
}

.nav-mobile .nav-enroll-mobile {
  margin-top: 1rem;
  background-color: var(--accent);
  color: #fff;
  text-align: center;
  padding: 0.875rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  border-bottom: none;
}

/* WordPress menu reset */
.nav-links ul,
.nav-mobile-inner ul {
  display: contents;
}

.nav-links ul li,
.nav-mobile-inner ul li {
  display: contents;
}

/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.hero-bg-blob-1 {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background-color: hsl(25 52% 58% / 0.10);
  filter: blur(80px);
  pointer-events: none;
}

.hero-bg-blob-2 {
  position: absolute;
  bottom: 0;
  left: -5rem;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: hsl(12 22% 14% / 0.05);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-text {
  order: 2;
  text-align: center;
}

.hero-location-badge {
  display: inline-block;
  background-color: hsl(25 52% 58% / 0.15);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 2px solid hsl(25 52% 58% / 0.30);
  box-shadow: 4px 4px 0px 0px hsl(25 52% 58% / 0.15);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero-cup {
  order: 1;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Coffee Cup SVG Animations */
.coffee-cup-svg {
  width: 100%;
  height: 100%;
  max-width: 400px;
}

@keyframes steam1 {

  0%,
  100% {
    transform: translateY(0) scaleX(1);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-12px) scaleX(1.3);
    opacity: 0;
  }
}

@keyframes steam2 {

  0%,
  100% {
    transform: translateY(0) scaleX(1);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-10px) scaleX(0.8);
    opacity: 0;
  }
}

@keyframes float-cup {

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

  50% {
    transform: translateY(-12px);
  }
}

.cup-group {
  animation: float-cup 4s ease-in-out infinite;
}

.steam-1 {
  animation: steam1 2.5s ease-in-out infinite;
}

.steam-2 {
  animation: steam2 2.5s ease-in-out infinite 0.4s;
}

.steam-3 {
  animation: steam1 2.5s ease-in-out infinite 0.8s;
}

/* ============================================================
   7. COURSES SECTION
   ============================================================ */
.courses-section {
  padding: 5rem 0 6rem;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.75rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.course-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.course-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background-color: hsl(25 52% 58% / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color var(--transition-base);
}

.course-card:hover .course-icon-wrap {
  background-color: hsl(25 52% 58% / 0.25);
}

.course-icon-wrap svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.course-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.course-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  flex: 1;
}

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 1.5rem;
  transition: gap var(--transition-base);
}

.course-card:hover .course-link {
  gap: 0.75rem;
}

/* ============================================================
   8. ACADEMY VIBE SECTION
   ============================================================ */
.academy-section {
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.academy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.academy-gallery {
  position: relative;
}

.academy-main-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.academy-main-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.academy-float-img {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 140px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid hsl(12 22% 14% / 0.10);
  box-shadow: var(--shadow-card);
  animation: float-img 4s ease-in-out infinite;
}

.academy-float-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

@keyframes float-img {

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

  50% {
    transform: translateY(-8px);
  }
}

.academy-blob {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
  width: 8rem;
  height: 8rem;
  background-color: hsl(25 52% 58% / 0.20);
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}

.academy-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin: 0.75rem 0 1.5rem;
  line-height: 1.1;
}

.academy-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.academy-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.mini-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.mini-stat-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ============================================================
   9. TESTIMONIALS / SOCIAL PROOF SECTION
   ============================================================ */
.testimonials-section {
  padding: 5rem 0 6rem;
  background-color: var(--espresso);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.testimonials-section .eyebrow {
  color: hsl(25 52% 58% / 0.9);
}

.testimonials-section .section-title {
  color: var(--cream);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: hsl(30 40% 95% / 0.50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* Testimonial cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.testimonial-card {
  background-color: hsl(30 40% 95% / 0.05);
  border: 1px solid hsl(30 40% 95% / 0.10);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  backdrop-filter: blur(4px);
  transition: background-color var(--transition-base);
}

.testimonial-card:hover {
  background-color: hsl(30 40% 95% / 0.09);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--accent);
  color: var(--accent);
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: hsl(30 40% 95% / 0.80);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--cream);
}

.testimonial-author-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: hsl(30 40% 95% / 0.40);
  margin-top: 0.125rem;
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--espresso);
  border-top: 1px solid hsl(30 40% 95% / 0.10);
  padding: 3.5rem 0 2rem;
}

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

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(30 40% 95% / 0.50);
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-links li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(30 40% 95% / 0.50);
  transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-links li a:hover {
  color: var(--cream);
}

.footer-contact-item {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: hsl(30 40% 95% / 0.50);
}

.footer-bottom {
  border-top: 1px solid hsl(30 40% 95% / 0.10);
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: hsl(30 40% 95% / 0.30);
}

/* WordPress menu reset for footer */
.footer-links ul {
  padding: 0;
  margin: 0;
}

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

/* ============================================================
   11. RESPONSIVE — TABLET (640px+)
   ============================================================ */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero-cup {
    height: 380px;
  }

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

  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .academy-main-img img {
    height: 450px;
  }

  .academy-float-img {
    width: 180px;
    right: -2rem;
    bottom: -2.5rem;
  }

  .academy-float-img img {
    height: 180px;
  }
}

/* ============================================================
   12. RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {

  /* Navbar */
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero-text {
    order: 1;
    text-align: left;
  }

  .hero-subtitle {
    margin: 0 0 2.5rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-cup {
    order: 2;
    height: 580px;
  }

  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .academy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .academy-main-img img {
    height: 520px;
  }

  .academy-float-img {
    width: 220px;
    right: -3rem;
    bottom: -3rem;
  }

  .academy-float-img img {
    height: 220px;
  }

  .academy-text {
    margin-top: 0;
  }
}

/* ============================================================
   13. WORDPRESS ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ============================================================
   14. SCREEN READER / ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}


/* ============================================================
   15. SINGLE COURSE PAGE
   ============================================================ */
.single-course-hero {
  background-color: var(--espresso);
  color: var(--cream);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.single-course-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.single-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-body);
  color: hsl(30 40% 95% / 0.7);
}

.single-course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.single-course-meta svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.single-course-content {
  padding: 4rem 0;
  max-width: 48rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.single-course-content h2,
.single-course-content h3 {
  color: var(--foreground);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* ============================================================
   16. NEW TEMPLATES (Academy, Gallery, Contact)
   ============================================================ */
/* Page Hero */
.page-hero {
  background-color: var(--espresso);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-hero-title {
  color: var(--cream);
  margin-bottom: 1rem;
}

.page-hero-desc {
  color: hsl(30 40% 95% / 0.7);
  max-width: 36rem;
  margin: 0 auto;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--cream);
  box-shadow: var(--shadow-neo);
}

.team-name {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 4rem 0;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  color: white;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info-card {
  background: var(--espresso);
  color: var(--cream);
  padding: 3rem 2rem;
  border-radius: var(--radius-2xl);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  background: white;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-weight: 600;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}