/*
Theme Name: Little Masterz Art Studio
Theme URI: https://littlemasterz.com
Author: Little Masterz
Author URI: https://littlemasterz.com
Description: A bold, playful custom WordPress theme for Little Masterz Art Studio. Red and black brand colors with a fun, energetic aesthetic designed for kids art classes.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: little-masterz
Tags: art, kids, studio, woocommerce, custom-colors, custom-menu, featured-images, full-width-template
*/

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --red:        #E31E24;
  --red-dark:   #B71418;
  --red-light:  #FF4D52;
  --black:      #111111;
  --black-soft: #1E1E1E;
  --white:      #FFFFFF;
  --cream:      #FFF8F0;
  --yellow:     #FFD700;
  --orange:     #FF7A1A;
  --teal:       #00C9A7;
  --font-display: 'Boogaloo', cursive;
  --font-body:    'Nunito', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
}

p { line-height: 1.7; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  transition: padding 0.3s;
}

.site-header.scrolled { padding: 12px 60px; }

.site-branding { display: flex; align-items: center; gap: 10px; }

.site-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 1px;
}

.site-title a { color: inherit; }
.site-title span { color: var(--red); }

/* Primary Nav */
.primary-navigation { display: flex; align-items: center; gap: 36px; }

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.primary-navigation ul li a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

.primary-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s;
}

.primary-navigation ul li a:hover { color: var(--red); }
.primary-navigation ul li a:hover::after { width: 100%; }

.nav-enroll-btn {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 800 !important;
  transition: background 0.2s !important;
}

.nav-enroll-btn::after { display: none !important; }
.nav-enroll-btn:hover { background: var(--red-dark) !important; color: var(--white) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--red);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 140px 60px 80px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title .accent  { color: var(--red); }
.hero-title .accent2 { color: var(--yellow); }

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-canvas {
  width: 420px;
  height: 420px;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background: var(--black-soft);
  border: 3px solid var(--red);
  position: relative;
  overflow: hidden;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(227,30,36,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-canvas .canvas-emoji { font-size: 8rem; position: relative; z-index: 2; }

.paint-splat {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
}
.splat-1 { width: 80px; height: 80px; background: var(--red);    top: 10%;    left: 10%;   border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
.splat-2 { width: 50px; height: 50px; background: var(--yellow); top: 60%;    right: 15%;  border-radius: 40% 60% 30% 70% / 60% 40% 50% 50%; }
.splat-3 { width: 65px; height: 65px; background: var(--orange); bottom: 15%; left: 20%;   border-radius: 70% 30% 40% 60% / 40% 50% 60% 50%; }
.splat-4 { width: 40px; height: 40px; background: var(--teal);   top: 30%;    right: 20%;  border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--red);
  padding: 20px 60px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.site-section { padding: 100px 60px; }
.site-section--dark  { background: var(--black); }
.site-section--soft  { background: var(--black-soft); }
.site-section--red   { background: var(--red); }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}

.site-section--red .section-eyebrow { color: rgba(255,255,255,0.8); }

.section-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.section-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 60px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--red);
  padding: 18px 44px;
  font-size: 1.05rem;
}
.btn-white:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ============================================================
   CLASSES / PRODUCTS GRID
   ============================================================ */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.class-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.class-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 20px 50px rgba(227,30,36,0.2);
}

.class-card__image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.class-card__image--red    { background: linear-gradient(135deg, #E31E24 0%, #7B0810 100%); }
.class-card__image--orange { background: linear-gradient(135deg, #FF7A1A 0%, #C45200 100%); }
.class-card__image--yellow { background: linear-gradient(135deg, #FFD700 0%, #B89900 100%); }

.age-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.class-card__body { padding: 24px; }

.class-card__title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.class-card__desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.class-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.class-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
}

.class-price__period {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
}

/* WooCommerce product loop overrides */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 20px 50px rgba(227,30,36,0.2);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.4rem;
  padding: 16px 24px 4px;
}

.woocommerce ul.products li.product .price {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 0 24px;
}

.woocommerce ul.products li.product .button {
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  font-weight: 800;
  margin: 16px 24px 24px;
  transition: background 0.2s;
}

.woocommerce ul.products li.product .button:hover { background: var(--red-dark); }

/* Single product */
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 3rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2rem;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--red);
  color: var(--white);
  border-radius: 50px;
  font-weight: 800;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--red-dark); color: var(--white); }

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}

.gallery-item.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.gallery-item__placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.gi--red    { background: linear-gradient(135deg, #E31E24, #7B0810); }
.gi--yellow { background: linear-gradient(135deg, #FFD700, #B89900); }
.gi--orange { background: linear-gradient(135deg, #FF7A1A, #C45200); }
.gi--teal   { background: linear-gradient(135deg, #00C9A7, #007A65); }
.gi--dark   { background: linear-gradient(135deg, #111, #E31E24); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--red);
  opacity: 0.3;
  position: absolute;
  top: 10px; left: 24px;
  line-height: 1;
}

.testimonial-body {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 24px;
  padding-top: 40px;
}

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

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.avatar--red    { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.avatar--orange { background: linear-gradient(135deg, var(--orange), #C45200); }
.avatar--teal   { background: linear-gradient(135deg, var(--teal), #007A65); }

.author-name  { font-weight: 800; font-size: 0.9rem; }
.author-role  { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.review-stars { color: var(--yellow); font-size: 0.9rem; margin-bottom: 4px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 100px 60px;
  background: var(--red);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  pointer-events: none;
}

.cta-section .section-title { position: relative; z-index: 1; }

.cta-section .section-subtitle {
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 40px;
  position: relative; z-index: 1;
}

.cta-section .btn { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0A0A0A;
  padding: 60px 60px 30px;
  border-top: 2px solid var(--red);
}

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

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer-brand-name span { color: var(--red); }

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright { color: rgba(255,255,255,0.35); font-size: 0.82rem; }

.square-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
}

.square-badge-icon {
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--black);
  font-weight: 900;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; }
  33%       { border-radius: 60% 40% 45% 55% / 55% 60% 40% 45%; }
  66%       { border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%; }
}

/* ============================================================
   PAGE HERO (shared across About, Gallery, Contact)
   ============================================================ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 140px 60px 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,30,36,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__content { position: relative; z-index: 2; max-width: 640px; }

.page-hero__title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
}

.page-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  animation: fadeUp 0.6s 0.15s ease both;
}

.page-hero__shapes {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 280px;
}

.shape {
  font-size: 3.5rem;
  animation: float 4s ease-in-out infinite;
  display: block;
}

.shape--1 { animation-delay: 0s; }
.shape--2 { animation-delay: 0.8s; }
.shape--3 { animation-delay: 1.6s; }
.shape--4 { animation-delay: 2.4s; }

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

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--red);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-soft);
  font-size: 6rem;
}

.about-content h2 { margin-bottom: 20px; font-size: 2.8rem; }
.about-content p  { color: rgba(255,255,255,0.7); margin-bottom: 16px; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

.value-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.value-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
}

.team-card__avatar--red    { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.team-card__avatar--orange { background: linear-gradient(135deg, var(--orange), #C45200); }
.team-card__avatar--teal   { background: linear-gradient(135deg, var(--teal), #007A65); }

.team-card__name {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 4px;
}

.team-card__role {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.team-card__bio {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Gallery filter buttons */
.gallery-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.filter-btn {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Gallery masonry grid */
.gallery-masonry {
  columns: 4;
  column-gap: 16px;
}

.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-masonry__item.hidden {
  display: none;
}

.gallery-masonry__img-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-masonry__img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

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

.gallery-placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform 0.4s;
}

.gallery-masonry__item:hover .gallery-placeholder { transform: scale(1.05); }

.gallery-masonry__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 32px 16px 16px;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-masonry__item:hover .gallery-masonry__overlay { opacity: 1; }

.gallery-masonry__title {
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
}

.gallery-masonry__student {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
}

/* FAQ grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--red); }

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}

.faq-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-details { margin-bottom: 40px; }

.contact-social h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }

.social-link {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.social-link:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.contact-form-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 8px;
}

/* Native contact form */
.lm-contact-form .form-row { margin-bottom: 20px; }

.lm-contact-form .form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.lm-contact-form .form-field { margin-bottom: 20px; }

.lm-contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.lm-contact-form .req { color: var(--red); }

.lm-contact-form input[type="text"],
.lm-contact-form input[type="email"],
.lm-contact-form input[type="tel"],
.lm-contact-form select,
.lm-contact-form textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  appearance: none;
}

.lm-contact-form input:focus,
.lm-contact-form select:focus,
.lm-contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.lm-contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' opacity='0.5' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.lm-contact-form textarea { resize: vertical; min-height: 130px; }

.form-field--checkbox .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.form-field--checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Square notice in checkout */
.lm-square-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(227,30,36,0.1);
  border: 1px solid rgba(227,30,36,0.3);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.lm-square-notice .square-badge-icon { flex-shrink: 0; }

/* WPForms / CF7 form styles */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  width: 100%;
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus {
  outline: none;
  border-color: var(--red);
}

.wpcf7-submit,
.wpforms-submit {
  background: var(--red) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
  font-weight: 800 !important;
  font-family: var(--font-body) !important;
  cursor: pointer;
  transition: background 0.2s !important;
}

.wpcf7-submit:hover,
.wpforms-submit:hover { background: var(--red-dark) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-section    { grid-template-columns: 1fr; padding: 120px 40px 60px; text-align: center; }
  .hero-description { max-width: 100%; }
  .hero-buttons    { justify-content: center; }
  .hero-visual     { display: none; }
  .classes-grid    { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid    { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.gallery-item--tall { grid-row: span 1; aspect-ratio: 1; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr 1fr; }
  .team-grid       { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 3; }
  .page-hero       { flex-direction: column; text-align: center; padding: 120px 40px 60px; }
  .page-hero__shapes { justify-content: center; max-width: 100%; }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .site-header { padding: 16px 24px; }
  .primary-navigation ul { display: none; }
  .primary-navigation ul.toggled { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--black); padding: 24px; border-bottom: 2px solid var(--red); gap: 20px; }
  .menu-toggle { display: block; }
  .site-section, .hero-section, .cta-section, .page-hero { padding: 80px 24px; }
  .stats-strip { gap: 40px; padding: 20px 24px; }
  .classes-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .values-grid   { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .faq-grid      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lm-contact-form .form-row--two { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
}
