/*
Theme Name: Itec Audio Studios
Theme URI: https://www.itecaudio.com
Author: Itec Audio Studios LLC
Author URI: https://www.itecaudio.com
Description: Professional music production education and Pro Tools certification theme. Modern, accessible, and conversion-optimized design for Avid Authorized Training Centers.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
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: itec-audio
Tags: education, dark-mode, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, one-column, two-columns, block-styles, wide-blocks

Itec Audio Studios Theme - Professional Music Production Education
*/

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Primary Palette - Brightened for better accessibility */
  --color-background: 240 8% 12%;
  --color-foreground: 60 9% 98%;
  --color-card: 240 8% 16%;
  --color-card-foreground: 60 9% 98%;
  --color-primary: 45 93% 47%;
  --color-primary-foreground: 240 10% 4%;
  --color-secondary: 240 5% 22%;
  --color-secondary-foreground: 60 9% 98%;
  --color-muted: 240 5% 22%;
  --color-muted-foreground: 240 5% 72%;
  --color-accent: 45 93% 47%;
  --color-accent-foreground: 240 10% 4%;
  --color-border: 240 5% 28%;
  --color-ring: 45 93% 47%;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, hsl(45, 93%, 47%) 0%, hsl(38, 92%, 50%) 50%, hsl(45, 93%, 47%) 100%);
  --gradient-dark: linear-gradient(180deg, hsl(240, 10%, 4%) 0%, hsl(240, 10%, 8%) 100%);

  /* Shadows */
  --shadow-gold: 0 4px 20px -4px hsla(45, 93%, 47%, 0.3);
  --shadow-soft: 0 4px 12px -2px hsla(0, 0%, 0%, 0.3);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --spacing-section: 5rem;
  --spacing-container: 1.5rem;

  /* Border Radius */
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--color-foreground));
  background-color: hsl(var(--color-background));
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--color-foreground));
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: hsl(var(--color-muted-foreground));
}

a {
  color: hsl(var(--color-primary));
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: hsl(var(--color-foreground));
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-container);
  padding-right: var(--spacing-container);
}

.section {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gradient-gold);
  color: hsl(var(--color-primary-foreground));
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: hsl(var(--color-secondary));
  color: hsl(var(--color-secondary-foreground));
  border: 1px solid hsl(var(--color-border));
}

.btn-secondary:hover {
  background-color: hsl(var(--color-muted));
  border-color: hsl(var(--color-primary));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Cards */
.card {
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: hsl(var(--color-primary) / 0.5);
  box-shadow: var(--shadow-soft);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-description {
  color: hsl(var(--color-muted-foreground));
  font-size: 0.875rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: hsl(var(--color-primary) / 0.1);
  color: hsl(var(--color-primary));
  border: 1px solid hsl(var(--color-primary) / 0.3);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: hsl(var(--color-background) / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--color-border));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--color-foreground));
}

.site-logo span {
  color: hsl(var(--color-primary));
}

.main-nav {
  display: flex;
  align-items: center;
}

/* WordPress Nav Menu - Critical for menu visibility */
.nav-menu,
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li,
.main-nav ul li {
  position: relative;
}

.nav-menu a,
.main-nav a,
.main-nav ul li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--color-muted-foreground));
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  display: block;
}

.nav-menu a:hover,
.main-nav a:hover,
.main-nav ul li a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: hsl(var(--color-foreground));
}

/* Dropdown Submenus */
.nav-menu .sub-menu,
.main-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: var(--radius);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-soft);
  z-index: 100;
  flex-direction: column;
  gap: 0;
}

.nav-menu li:hover > .sub-menu,
.main-nav ul li:hover > ul {
  display: flex;
}

.nav-menu .sub-menu a,
.main-nav ul ul a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.nav-menu .sub-menu a:hover,
.main-nav ul ul a:hover {
  background-color: hsl(var(--color-primary) / 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: hsl(var(--color-foreground));
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(var(--color-background));
  z-index: 99;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-nav.is-active {
  display: block;
}

.mobile-nav-menu,
.mobile-nav ul {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.mobile-nav-menu li,
.mobile-nav ul li {
  border-bottom: 1px solid hsl(var(--color-border));
}

.mobile-nav-menu a,
.mobile-nav ul a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--color-foreground));
  text-decoration: none;
}

.mobile-nav-menu a:hover,
.mobile-nav ul a:hover {
  color: hsl(var(--color-primary));
}

/* Mobile Submenus */
.mobile-nav-menu .sub-menu,
.mobile-nav ul ul {
  margin: 0;
  padding-left: 1rem;
  border-top: 1px solid hsl(var(--color-border));
}

.mobile-nav-menu .sub-menu li:last-child,
.mobile-nav ul ul li:last-child {
  border-bottom: none;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-actions .btn {
  text-align: center;
  width: 100%;
}

/* Nav Menu - WordPress Menu Styles */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--color-muted-foreground));
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: hsl(var(--color-foreground));
}

/* Dropdown Menu */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 100;
  list-style: none;
}

.nav-menu li:hover > .sub-menu {
  display: block;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.nav-menu .sub-menu a:hover {
  background-color: hsl(var(--color-muted));
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 6rem 0;
  background: var(--gradient-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, hsl(var(--color-primary) / 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--color-muted-foreground));
  margin-bottom: 2rem;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--color-border));
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--color-primary));
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
}

@media (max-width: 640px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Trust Section
   ========================================================================== */

.trust-section {
  padding: 3rem 0;
  background-color: hsl(var(--color-card));
  border-top: 1px solid hsl(var(--color-border));
  border-bottom: 1px solid hsl(var(--color-border));
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--color-muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item svg {
  color: hsl(var(--color-primary));
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
  padding: var(--spacing-section) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--color-primary) / 0.1);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  color: hsl(var(--color-primary));
}

/* ==========================================================================
   Training Section
   ========================================================================== */

.training-section {
  padding: var(--spacing-section) 0;
  background-color: hsl(var(--color-card));
}

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

.pathway-step {
  position: relative;
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--gradient-gold);
  color: hsl(var(--color-primary-foreground));
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 50%;
}

.pathway-step h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .pathway-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
  padding: var(--spacing-section) 0;
}

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

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature svg {
  flex-shrink: 0;
  color: hsl(var(--color-primary));
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
  padding: var(--spacing-section) 0;
  background-color: hsl(var(--color-card));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: hsl(var(--color-foreground));
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: hsl(var(--color-primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--color-primary));
  font-weight: 600;
}

.author-info h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.75rem;
  color: hsl(var(--color-muted-foreground));
  margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  padding: var(--spacing-section) 0;
  background: var(--gradient-dark);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, hsl(var(--color-primary) / 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.cta-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--color-muted-foreground));
  font-size: 0.875rem;
}

.cta-contact a:hover {
  color: hsl(var(--color-primary));
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 4rem 0 2rem;
  background-color: hsl(var(--color-background));
  border-top: 1px solid hsl(var(--color-border));
}

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

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--color-foreground));
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
}

.footer-column a:hover {
  color: hsl(var(--color-primary));
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--color-border));
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
}

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

.footer-social a {
  color: hsl(var(--color-muted-foreground));
}

.footer-social a:hover {
  color: hsl(var(--color-primary));
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Screen Reader Text */
.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;
}

/* WordPress Block Editor Styles */
.wp-block-button__link {
  background: var(--gradient-gold);
  color: hsl(var(--color-primary-foreground));
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid hsl(var(--color-border));
  color: hsl(var(--color-foreground));
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: hsl(var(--color-primary)); }
.text-muted { color: hsl(var(--color-muted-foreground)); }

.bg-card { background-color: hsl(var(--color-card)); }
.bg-dark { background-color: hsl(var(--color-background)); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-section { 
  padding-top: var(--spacing-section); 
  padding-bottom: var(--spacing-section); 
}

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* ==========================================================================
   Hero Slideshow (Elementor-Compatible)
   ========================================================================== */

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-slideshow__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slideshow__slide.is-active {
  opacity: 1;
}

.hero-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    hsl(var(--color-background) / 0.8) 0%,
    hsl(var(--color-background) / 0.6) 50%,
    hsl(var(--color-background)) 100%
  );
}

.hero-slideshow__indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-slideshow__indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: hsl(var(--color-muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hero-slideshow__indicator.is-active {
  background-color: hsl(var(--color-primary));
}

.hero-slideshow__indicator:hover {
  background-color: hsl(var(--color-primary) / 0.7);
}

/* Hero with slideshow */
.hero--with-slideshow {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.hero--with-slideshow .hero-content {
  position: relative;
  z-index: 10;
}

/* Stats with backdrop */
.stat-card {
  background-color: hsl(var(--color-background) / 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1rem;
}

/* Site Logo */
.site-logo img {
  height: 48px;
  width: auto;
}

/* ==========================================================================
   Address Styles
   ========================================================================== */

.footer-address {
  font-style: normal;
  margin-top: 1rem;
}

.footer-address > div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
}

.footer-address svg {
  flex-shrink: 0;
  color: hsl(var(--color-primary));
  margin-top: 0.125rem;
}

.footer-address a {
  color: hsl(var(--color-muted-foreground));
}

.footer-address a:hover {
  color: hsl(var(--color-primary));
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: hsl(var(--color-foreground));
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: hsl(var(--color-primary));
  box-shadow: 0 0 0 3px hsl(var(--color-primary) / 0.1);
}

input::placeholder,
textarea::placeholder {
  color: hsl(var(--color-muted-foreground));
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: hsl(var(--color-foreground));
}

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

/* Search Form */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form label {
  flex: 1;
  margin: 0;
}

.search-field {
  width: 100%;
}

.search-submit {
  flex-shrink: 0;
}

/* ==========================================================================
   Comments Styles
   ========================================================================== */

.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--color-border));
}

.comments-title {
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(var(--color-border));
}

.comment-list .comment:last-child {
  border-bottom: none;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-author img {
  border-radius: 50%;
}

.comment-author .fn {
  font-weight: 600;
  color: hsl(var(--color-foreground));
}

.comment-metadata {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
}

.comment-content {
  color: hsl(var(--color-muted-foreground));
}

.comment-content p {
  margin-bottom: 1rem;
}

.comment-reply-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
  margin-bottom: 1rem;
}

.no-comments {
  color: hsl(var(--color-muted-foreground));
  font-style: italic;
}

/* ==========================================================================
   Post Navigation
   ========================================================================== */

.posts-navigation,
.post-navigation,
.pagination {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--color-border));
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pagination .nav-links {
  justify-content: center;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background-color: hsl(var(--color-card));
  border: 1px solid hsl(var(--color-border));
  border-radius: var(--radius);
  color: hsl(var(--color-foreground));
  text-decoration: none;
}

.page-numbers:hover {
  border-color: hsl(var(--color-primary));
  color: hsl(var(--color-primary));
}

.page-numbers.current {
  background: var(--gradient-gold);
  color: hsl(var(--color-primary-foreground));
  border-color: transparent;
}

/* ==========================================================================
   Post Thumbnails
   ========================================================================== */

.post-thumbnail {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
  transform: scale(1.05);
}

/* Page Content */
.page-content,
.post-content {
  line-height: 1.8;
}

.page-content h2,
.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content h3,
.post-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content ul,
.post-content ul,
.page-content ol,
.post-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li,
.post-content li {
  margin-bottom: 0.5rem;
  color: hsl(var(--color-muted-foreground));
}

.page-content blockquote,
.post-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  padding-left: 2rem;
  background-color: hsl(var(--color-card));
  border-left: 4px solid hsl(var(--color-primary));
  border-radius: 0 var(--radius) var(--radius) 0;
}

.page-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ==========================================================================
   Courses Page Specific
   ========================================================================== */

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card .card-title {
  margin-bottom: 0.5rem;
}

.course-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--color-primary));
  margin-bottom: 0.5rem;
}

.course-details {
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
  margin-bottom: 1rem;
}

.course-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.course-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--color-muted-foreground));
}

.course-highlights svg {
  flex-shrink: 0;
  color: hsl(var(--color-primary));
  margin-top: 0.125rem;
}

.course-card .btn {
  margin-top: auto;
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid hsl(var(--color-border));
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--color-foreground));
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: hsl(var(--color-muted-foreground));
}

/* Contact Info Cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.contact-info-card .service-icon {
  flex-shrink: 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  body {
    background: white;
    color: black;
  }

  .site-header,
  .site-footer,
  .mobile-nav,
  .hero-slideshow,
  .btn,
  .cta-section {
    display: none !important;
  }

  .hero {
    background: none !important;
    padding: 2rem 0;
  }

  .hero-content {
    text-align: left;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
