/* ============================================
   Utah Valley DJs — Home Base Stylesheet
   High-energy dark theme inspired by classic
   mobile DJ aesthetics + modern party energy
   ============================================ */
:root {
  /* Color scheme — deep purple/black with neon accents
     echoing high-energy 2000s DJ site vibes updated for 2026 */
  --bg-deep: #0a0014;
  --bg-card: #120024;
  --bg-elevated: #1a0033;
  --purple-primary: #9b30ff;
  --purple-glow: #c77dff;
  --cyan-accent: #00f5ff;
  --hot-pink: #ff2d95;
  --gold: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #d4c4e8;
  --text-muted: #a08bb8;
  --border-glow: rgba(155, 48, 255, 0.4);
  --shadow-neon: 0 0 20px rgba(155, 48, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.15);
  --gradient-hero: linear-gradient(135deg, #0a0014 0%, #1a0033 40%, #2d0052 100%);
  --gradient-btn: linear-gradient(90deg, #9b30ff, #ff2d95);
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--cyan-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--hot-pink);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Animated energy background */
.energy-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(155, 48, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 45, 149, 0.08) 0%, transparent 60%),
    var(--bg-deep);
  pointer-events: none;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 0, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}

.logo {
  height: 56px;
  width: auto;
  transition: transform var(--transition), filter var(--transition);
}

.logo-link:hover .logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px var(--purple-glow));
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

.main-nav ul {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: rgba(155, 48, 255, 0.25);
  box-shadow: 0 0 15px rgba(155, 48, 255, 0.3);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(155, 48, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

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

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #fff, var(--purple-glow), var(--cyan-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 40px rgba(155, 48, 255, 0.5);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 25px rgba(155, 48, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 35px rgba(255, 45, 149, 0.5);
  color: #fff;
}

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

.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.15);
  color: #fff;
  border-color: var(--hot-pink);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.btn-accent {
  background: linear-gradient(90deg, var(--hot-pink), var(--purple-primary));
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 45, 149, 0.4);
  margin-top: 0.5rem;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 45, 149, 0.55);
  color: #fff;
}

.pulse {
  animation: btn-pulse 2.5s infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 4px 25px rgba(155, 48, 255, 0.45); }
  50% { box-shadow: 0 4px 40px rgba(255, 45, 149, 0.7); }
}

/* ========== SECTIONS ========== */
section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--purple-glow), var(--cyan-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

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

/* ========== SERVICE CARDS ========== */
.service-cards {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-neon);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 50px rgba(155, 48, 255, 0.35);
}

.service-card.reverse {
  direction: rtl;
}

.service-card.reverse > * {
  direction: ltr;
}

.card-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 40%, rgba(18, 0, 36, 0.7));
  pointer-events: none;
}

.service-card.reverse .card-overlay {
  background: linear-gradient(to left, transparent 40%, rgba(18, 0, 36, 0.7));
}

.card-body {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.energy-narrative {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ========== GALLERY TEASER ========== */
.gallery-teaser {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-elevated) 50%, var(--bg-deep) 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(155, 48, 255, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.35);
  z-index: 2;
}

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

/* ========== BOOKING WIDGET ========== */
.booking {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.widget-wrapper {
  background: linear-gradient(180deg, rgba(18, 0, 36, 0.95) 0%, rgba(10, 0, 20, 0.98) 100%);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem;
  border: 1px solid var(--border-glow);
  box-shadow:
    0 0 0 1px rgba(155, 48, 255, 0.25),
    0 8px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 60px rgba(155, 48, 255, 0.08);
  min-height: 420px;
  overflow: auto;
  color-scheme: dark;
}

/* Ensure CheckCherry widget blends */
.checkcherry__widget__appointment-scheduler {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  border-radius: 12px !important;
}

/* Common container / root elements the widget creates */
.checkcherry__widget__appointment-scheduler,
.checkcherry__widget__appointment-scheduler * {
  box-sizing: border-box;
}

/* Force dark backgrounds on major blocks */
.checkcherry__widget__appointment-scheduler,
.checkcherry__widget__appointment-scheduler > div,
.checkcherry__widget__appointment-scheduler .cc-widget,
.checkcherry__widget__appointment-scheduler [class*="widget"],
.checkcherry__widget__appointment-scheduler [class*="scheduler"],
.checkcherry__widget__appointment-scheduler [class*="calendar"],
.checkcherry__widget__appointment-scheduler [class*="container"],
.checkcherry__widget__appointment-scheduler [class*="panel"],
.checkcherry__widget__appointment-scheduler [class*="card"] {
  background-color: transparent !important;
  background: transparent !important;
  color: var(--text-primary) !important;
  border-color: rgba(155, 48, 255, 0.35) !important;
}

/* Text colors */
.checkcherry__widget__appointment-scheduler h1,
.checkcherry__widget__appointment-scheduler h2,
.checkcherry__widget__appointment-scheduler h3,
.checkcherry__widget__appointment-scheduler h4,
.checkcherry__widget__appointment-scheduler h5,
.checkcherry__widget__appointment-scheduler h6,
.checkcherry__widget__appointment-scheduler p,
.checkcherry__widget__appointment-scheduler span,
.checkcherry__widget__appointment-scheduler label,
.checkcherry__widget__appointment-scheduler div,
.checkcherry__widget__appointment-scheduler li {
  color: var(--text-secondary) !important;
}

.checkcherry__widget__appointment-scheduler strong,
.checkcherry__widget__appointment-scheduler b {
  color: var(--text-primary) !important;
}

/* Buttons inside the widget – match our accent style */
.checkcherry__widget__appointment-scheduler button,
.checkcherry__widget__appointment-scheduler .btn,
.checkcherry__widget__appointment-scheduler [class*="button"],
.checkcherry__widget__appointment-scheduler [type="button"],
.checkcherry__widget__appointment-scheduler [type="submit"],
.checkcherry__widget__appointment-scheduler a.button,
.checkcherry__widget__appointment-scheduler .cc-button {
  background: linear-gradient(90deg, var(--purple-primary), var(--hot-pink)) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-family: var(--font-body) !important;
  padding: 0.7rem 1.4rem !important;
  box-shadow: 0 4px 18px rgba(155, 48, 255, 0.4) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  text-transform: none !important;
}

.checkcherry__widget__appointment-scheduler button:hover,
.checkcherry__widget__appointment-scheduler .btn:hover,
.checkcherry__widget__appointment-scheduler [class*="button"]:hover,
.checkcherry__widget__appointment-scheduler [type="button"]:hover,
.checkcherry__widget__appointment-scheduler [type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(255, 45, 149, 0.5) !important;
  filter: brightness(1.1);
}

/* Inputs, selects, textareas */
.checkcherry__widget__appointment-scheduler input,
.checkcherry__widget__appointment-scheduler select,
.checkcherry__widget__appointment-scheduler textarea {
  background-color: rgba(26, 0, 51, 0.85) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(155, 48, 255, 0.45) !important;
  border-radius: 10px !important;
  padding: 0.65rem 1rem !important;
  font-family: var(--font-body) !important;
}

.checkcherry__widget__appointment-scheduler input:focus,
.checkcherry__widget__appointment-scheduler select:focus,
.checkcherry__widget__appointment-scheduler textarea:focus {
  outline: none !important;
  border-color: var(--cyan-accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.25) !important;
}

.checkcherry__widget__appointment-scheduler input::placeholder {
  color: var(--text-muted) !important;
}

/* Calendar / date cells */
.checkcherry__widget__appointment-scheduler [class*="day"],
.checkcherry__widget__appointment-scheduler [class*="date"],
.checkcherry__widget__appointment-scheduler [class*="cell"],
.checkcherry__widget__appointment-scheduler td,
.checkcherry__widget__appointment-scheduler th {
  background-color: rgba(18, 0, 36, 0.6) !important;
  color: var(--text-secondary) !important;
  border-color: rgba(155, 48, 255, 0.2) !important;
}

.checkcherry__widget__appointment-scheduler [class*="selected"],
.checkcherry__widget__appointment-scheduler [class*="active"],
.checkcherry__widget__appointment-scheduler [aria-selected="true"] {
  background: linear-gradient(135deg, var(--purple-primary), var(--hot-pink)) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.checkcherry__widget__appointment-scheduler [class*="available"]:hover,
.checkcherry__widget__appointment-scheduler [class*="day"]:hover {
  background-color: rgba(155, 48, 255, 0.35) !important;
  color: #fff !important;
}

/* Headers / titles inside widget */
.checkcherry__widget__appointment-scheduler [class*="header"],
.checkcherry__widget__appointment-scheduler [class*="title"] {
  color: var(--gold) !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.03em;
}

/* Links */
.checkcherry__widget__appointment-scheduler a {
  color: var(--cyan-accent) !important;
}

.checkcherry__widget__appointment-scheduler a:hover {
  color: var(--hot-pink) !important;
}

/* Tables / lists */
.checkcherry__widget__appointment-scheduler table {
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 4px !important;
}

.checkcherry__widget__appointment-scheduler tr,
.checkcherry__widget__appointment-scheduler td,
.checkcherry__widget__appointment-scheduler th {
  background: rgba(18, 0, 36, 0.5) !important;
}

/* Scrollbars inside the widget (WebKit) */
.widget-wrapper::-webkit-scrollbar,
.checkcherry__widget__appointment-scheduler::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.widget-wrapper::-webkit-scrollbar-track,
.checkcherry__widget__appointment-scheduler::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.widget-wrapper::-webkit-scrollbar-thumb,
.checkcherry__widget__appointment-scheduler::-webkit-scrollbar-thumb {
  background: var(--purple-primary);
  border-radius: 4px;
}

.widget-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--hot-pink);
}

/* Fallback: if the widget still forces a light background, soften the clash */
@supports (color-scheme: dark) {
  .widget-wrapper {
    color-scheme: dark;
  }
}

/* ========== HUB LINKS ========== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  color: var(--text-primary);
  display: block;
}

.hub-card:hover {
  background: var(--bg-elevated);
  border-color: var(--cyan-accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
  color: var(--text-primary);
}

.hub-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--purple-glow);
}

.hub-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ========== CONTACT & SOCIAL ========== */
.contact-social {
  background: linear-gradient(180deg, var(--bg-deep), #150028);
}

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

.contact-info h2,
.social-block h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.contact-info p,
.social-block p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact-list li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.contact-list strong {
  color: var(--text-muted);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.contact-list a {
  color: var(--cyan-accent);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--hot-pink);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.social-btn.facebook {
  background: #1877f2;
  color: #fff;
}

.social-btn.facebook:hover {
  background: #0d65d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
  color: #fff;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.social-btn.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(188, 24, 136, 0.45);
  color: #fff;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #05000c;
  border-top: 1px solid var(--border-glow);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo img {
  margin: 0 auto 1rem;
  height: 48px;
  opacity: 0.9;
}

.footer-tag {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(155, 48, 255, 0.2);
  padding-top: 1.5rem;
}

.powered {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--purple-glow);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .service-card,
  .service-card.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .card-image {
    min-height: 240px;
  }

  .card-overlay {
    background: linear-gradient(to top, rgba(18, 0, 36, 0.85), transparent 60%) !important;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(10, 0, 20, 0.98);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border-glow);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 44px;
  }

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

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

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .card-body {
    padding: 1.5rem 1.25rem;
  }

  .widget-wrapper {
    padding: 1rem;
  }
}

/* Accessibility focus */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan-accent);
  outline-offset: 3px;
}

/* Smooth image loading */
img {
  background: var(--bg-elevated);
}

/* ========== BLOG PAGE ========== */
.blog-hero {
  padding: 4rem 0 3.5rem;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.blog-hero .hero-glow {
  top: -40%;
  opacity: 0.7;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.cat-pill {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(155, 48, 255, 0.15);
  color: var(--text-secondary);
  border: 1px solid rgba(155, 48, 255, 0.35);
  transition: all var(--transition);
  cursor: pointer;
}

.cat-pill:hover,
.cat-pill.active {
  background: rgba(155, 48, 255, 0.35);
  color: var(--text-primary);
  border-color: var(--purple-glow);
  box-shadow: 0 0 15px rgba(155, 48, 255, 0.3);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.post-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(155, 48, 255, 0.3);
}

.post-card.featured {
  grid-template-columns: 150px 1fr;
}

.post-card.featured .post-image {
  min-height: auto;
  aspect-ratio: auto;
}

.post-image {
  position: relative;
  width: 150px;
  max-width: 150px;
  min-height: 120px;
  overflow: hidden;
  flex-shrink: 0;
}

.post-image img {
  width: 100%;
  max-width: 150px;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.06);
}

.post-body {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-meta .cat {
  color: var(--cyan-accent);
  font-weight: 600;
}

.post-body h2,
.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.post-card.featured .post-body h2 {
  font-size: 1.7rem;
}

.post-excerpt {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.read-more {
  font-weight: 700;
  color: var(--hot-pink);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more:hover {
  color: var(--cyan-accent);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.sidebar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.sidebar-links li {
  margin-bottom: 0.6rem;
}

.sidebar-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.sidebar-links a:hover {
  color: var(--cyan-accent);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(0, 245, 255, 0.1);
  color: var(--cyan-accent);
  border: 1px solid rgba(0, 245, 255, 0.25);
}

/* Responsive blog */
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .sidebar-card {
    margin-bottom: 0;
  }

  .post-card {
    grid-template-columns: 150px 1fr;
  }

  .post-image {
    width: 150px;
    max-width: 150px;
    min-height: 100px;
    aspect-ratio: auto;
  }

  .post-image img {
    max-width: 150px;
  }
}

@media (max-width: 600px) {
  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .post-body h2,
  .post-body h3 {
    font-size: 1.2rem;
  }
}
