/* =====================================================
   JTalksTech Official - Stylesheet
   Design: Editorial Minimalist with Terracotta Accent
   Inspired by Framer design principles
   ===================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* =====================================================
   CSS Variables - Terracotta Design System
   ===================================================== */
:root {
  /* Primary Colors */
  --background: #fafafa;
  --foreground: #1a1a1a;
  --accent: #b85c38;
  --accent-hover: #a04d2e;
  --accent-light: #d4836a;
  --accent-subtle: rgba(184, 92, 56, 0.08);
  --accent-glow: rgba(184, 92, 56, 0.15);

  /* Neutral Colors */
  --secondary: #777777;
  --muted: #999999;
  --card-bg: rgba(255, 255, 255, 0.8);
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max: 1200px;
}

/* =====================================================
   Reset & Base
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

::selection {
  background: var(--accent);
  color: white;
}

/* Scrollbar - Minimal */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* =====================================================
   News Ticker - Elegant Minimal
   ===================================================== */
.news-ticker {
  background: var(--background);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--border);
}

.ticker-label svg {
  display: none;
}

.ticker-label span {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, black 0%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 95%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 40px;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--secondary);
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: var(--accent);
}

.ticker-item .source {
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 600;
}

.ticker-item .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

/* =====================================================
   Header & Navigation
   ===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.logo-icon {
  display: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  padding: 8px 4px;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 500;
}

/* Subtle underline on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }
}

/* =====================================================
   Hero Section - Centered Editorial
   ===================================================== */
.hero {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
  background: var(--background);
}

/* Decorative circle - top right */
.hero::before {
  content: '';
  position: absolute;
  top: 12%;
  right: 8%;
  width: clamp(120px, 15vw, 200px);
  height: clamp(120px, 15vw, 200px);
  border: 1px solid rgba(184, 92, 56, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

/* Decorative circle - bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 6%;
  width: clamp(80px, 12vw, 150px);
  height: clamp(80px, 12vw, 150px);
  background: var(--accent-subtle);
  border-radius: 50%;
  pointer-events: none;
}

/* Home page hero with portrait */
.hero.hero-home {
  background: var(--background);
}

/* Split hero layout with image */
.hero.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  min-height: calc(100vh - 140px);
  align-items: center;
  text-align: left;
}

.hero.hero-split::before,
.hero.hero-split::after {
  display: none;
}

.hero.hero-split .hero-content {
  max-width: 100%;
}

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

.hero.hero-split .social-links {
  justify-content: flex-start;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Hero image - clean styling without decorative border */
.hero-image {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
    gap: 40px;
  }

  .hero.hero-split .hero-content::before {
    text-align: center;
  }

  .hero.hero-split .social-links {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* Name label above headline */
.hero-content::before {
  content: 'JORDAN JONES';
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent) 0%, var(--foreground) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--accent);
}

.badge {
  display: none; /* Hidden in new design */
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.hero h1 .accent {
  display: block;
  position: relative;
  color: var(--foreground);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--foreground);
  background-clip: unset;
}

/* Terracotta underline on accent text */
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Shorter hero for subpages */
.hero.hero-short {
  min-height: 45vh;
  padding: 100px 24px 80px;
}

.hero.hero-short::before,
.hero.hero-short::after {
  display: none;
}

.hero.hero-short .hero-content::before {
  display: none;
}

.tagline {
  font-family: var(--font-main);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--secondary);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-description {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 92, 56, 0.25);
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
  transform: translateY(-3px);
}

.social-links img {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.social-links a:hover img {
  opacity: 1;
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-padding) 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.stat-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =====================================================
   Section Styles
   ===================================================== */
.section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-padding) 24px;
}

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.section-header p {
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
}

/* =====================================================
   Cards Grid
   ===================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tag {
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--foreground);
}

.card p {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.card-highlight {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
}

/* =====================================================
   Timeline (Experience)
   ===================================================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 4px solid var(--background);
}

.timeline-content {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--foreground);
}

.timeline-company {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
}

.timeline-date {
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.timeline-list {
  list-style: none;
}

.timeline-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* =====================================================
   Certifications Grid
   ===================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.cert-card {
  background: white;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s ease;
}

.cert-card:hover {
  border-color: var(--accent);
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.cert-card.professional { border-left-color: #d4a574; }
.cert-card.specialty { border-left-color: #c27c5c; }
.cert-card.associate { border-left-color: #9b6b5a; }
.cert-card.foundational { border-left-color: #8b7355; }

.cert-info h4 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--foreground);
}

.cert-info span {
  font-size: 0.8rem;
  color: var(--secondary);
}

.cert-badge {
  width: 44px;
  height: 44px;
  background: var(--accent-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* =====================================================
   Contact Form
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--foreground);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

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

/* Newsletter */
.newsletter-box {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
}

.newsletter-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--foreground);
}

.newsletter-box p {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--foreground);
  font-size: 0.95rem;
}

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

.newsletter-form button {
  padding: 14px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 92, 56, 0.25);
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* =====================================================
   Calendly Embed
   ===================================================== */
.calendly-container {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  margin-top: 60px;
}

.calendly-container h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--foreground);
}

.calendly-container > p {
  color: var(--secondary);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.calendly-inline-widget {
  min-height: 650px;
  border-radius: 12px;
  overflow: hidden;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 80px 24px 40px;
  margin-top: var(--section-padding);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  color: var(--foreground);
}

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

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

.footer-links a {
  color: var(--secondary);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: var(--container-max);
  margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--secondary);
  font-size: 0.85rem;
}

/* =====================================================
   About Page Specific
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--foreground);
}

.about-content p {
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* =====================================================
   Speaking Page - Gallery
   ===================================================== */
.speaking-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  pointer-events: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.video-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

.video-item h4 {
  padding: 20px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--foreground);
}

/* =====================================================
   Animations
   ===================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation for decorative elements */
.float {
  animation: float 6s ease-in-out infinite;
}

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

/* =====================================================
   Utility Classes
   ===================================================== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Terracotta divider */
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto;
}

/* =====================================================
   Print Styles
   ===================================================== */
@media print {
  .news-ticker,
  .header,
  .social-links,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
