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

/* Light mode palette */
/* :root {
  --color-nav: rgba(255, 255, 255, 0.95);
  --color-primary: #2c3e50;
  --color-secondary: #e74c3c;
  --color-accent: #3498db;
  --color-light: #ecf0f1;
  --color-contrast: #ecf0f1;
  --color-dark: #1a252f;
  --color-text: #333;
  --color-text-light: #666;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
  --background-color: #fff;
} */

/* Dark mode palette */
:root {
  --color-nav: rgba(61, 60, 76, 0.95);
  --color-primary: #e4e6eb;
  --color-secondary: #d881c7;
  --color-accent: #7dd3c0;
  --color-light: #e4e6eb;
  --color-contrast: #363336;
  --color-dark: #0a0c12;
  --color-text: #c9cdd4;
  --color-text-light: #8b92a3;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 6px 30px rgba(0, 0, 0, 0.6);
  --background-color: #0f1117;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--background-color);
}

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

/* Visually hidden but accessible to screen readers and search engines */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Navigation - Mobile First */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-nav);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  z-index: 1001;
}

/* Burger Menu Button - Mobile Only */
.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-menu.active .burger-line {
  background-color: var(--color-contrast);
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 7px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -7px);
}

/* Navigation Menu Container */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: var(--color-primary);
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
  right: 0;
}

.nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1.5rem;
}

.social-links {
  color: var(--color-contrast);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-nav);
}

.social-links li svg {
  color: var(--color-contrast);
  fill: var(--color-contrast);
  height: 1.5rem;
  width: 1.5rem;
}

.social-links li svg::hover {
  color: var(--color-secondary);
  fill: var(--color-secondary);
}

.nav-links a {
  color: var(--color-contrast);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background: url(assets/placeholder-headshot.jpg);
  background-size: cover;
  background-position: unset;
  color: var(--color-light);
}

.hero::before {
  content: '';
  z-index: 10;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: linear-gradient(0deg, rgb(15, 17, 23) 10%, rgba(15, 17, 23, 0) 80%);
}

.hero-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.hero-spacer {
  width: 0;
}

.reels-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 10%;
  z-index: 99;
  margin-top: 5rem;
}

.reels-section .reels-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.25rem;
}

.reels-section a {
  color: var(--color-light);
  text-decoration: none;
  transition: color var(--transition);
}

.reels-section a:hover {
  text-decoration: underline;
  color: var(--color-secondary);
}

/* Custom Audio Player */
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 35, 45, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 20;
  filter: drop-shadow(0px 5px 10px #00000075);
}

.audio-player audio {
  display: none;
}

.audio-play-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition), filter var(--transition);
}

.audio-play-btn:hover {
  filter: brightness(75%) saturate(150%);
  transform: scale(1.05);
}

.audio-play-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-light);
}

.audio-play-btn .play-icon {
  margin-left: -1px;
}

.audio-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.audio-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-artist {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: monospace;
  white-space: nowrap;
}

.audio-download {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  text-decoration: none;
}

.audio-download:hover {
  background: rgba(255, 255, 255, 0.2);
}

.audio-download svg {
  width: 18px;
  height: 18px;
  color: var(--color-light);
}

.audio-player.playing .audio-play-btn {
  background: var(--color-accent);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tagline {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-secondary);
  color: var(--color-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

/* Section Styles */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.section-intro {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

/* Voice Reels Section */
.reels {
  background: var(--color-light);
}

.reels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.reel-card {
  background: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.reel-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.reel-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.reel-card p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.reel-card audio {
  width: 100%;
  max-width: 300px;
}

.about-container {
  display: flex;
  flex-direction: column;
  margin: auto;
  justify-content: space-around;
}

.about-container>* {
  width: 100%;
  max-width: 800px;
  margin: 0;
}

.about-container>*:first-child {
  margin-right: 0;
}

.about-container>*:last-child {
  margin-left: 0;
}

.about-container>.about-blurb>h2 {
  text-align: center;
}

.about-container>.about-blurb>p {
  margin-bottom: .5rem;
}

.about-container>.about-image-wrapper {
  overflow: hidden;
  position: relative;
}

.about-container>.about-image-wrapper>img {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* setup section */
.setup-content h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.setup-cards-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.setup-cards-container>.setup-card {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: auto;
  text-align: center;
  position: relative;
  height: 256px;
  width: 256px;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.setup-cards-container>.setup-card::after {
  content: '';
  height: 100%;
  width: 100%;
  display: block;
  background-color: var(--color-primary);
  opacity: .3;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.setup-cards-container>.setup-card h2 {
  font-size: 1.5rem;
  color: var(--color-light);
  filter: drop-shadow(0px 1px 2px #00000075);
}

.setup-cards-container>.setup-card h3 {
  font-size: 1rem;
  color: var(--color-light);
  filter: drop-shadow(0px 1px 2px #00000075);
}

.setup-cards-container>.setup-card img {
  height: auto;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: -2;
  opacity: .25;
}

.setup-cards-container>.setup-card .setup-text {
  height: auto;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

/* Clients Carousel Section */
.clients {
  background: var(--background-color);
}

.carousel {
  position: relative;
  display: block;
  align-items: center;
  gap: 0.5rem;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease;
  gap: 1rem;
}

.carousel-slide {
  flex-shrink: 0;
  padding: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

.carousel-slide.active {
  width: 100%;
  opacity: 1;
  transform: scale(1);
}

.client-card {
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.client-card img {
  max-height: 260px;
  width: 100%;
  object-fit: contain;
  display: block;
}

.client-card p {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.carousel-btn {
  margin: auto;
  background: var(--color-primary);
  color: var(--color-contrast);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
  padding-bottom: 4px;
}

.carousel-btn-prev {
  padding-right: 1px;
}

.carousel-btn-next {
  padding-left: 1px;
}

.carousel-btn:hover {
  background: var(--color-secondary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-light);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: background var(--transition);
}

.carousel-dot.active {
  background: var(--color-primary);
}

/* Contact Section */
.contact {
  background: var(--color-contrast);
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--color-secondary);
  color: var(--color-light);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.submit-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: 2rem 0;
  text-align: center;
}

.footer .container {
  gap: 1rem;
}

.footer p {
  opacity: 0.8;
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: var(--color-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}

.social-links a svg {
  transition: color var(--transition), fill var(--transition);
}

.social-links a:hover {
  opacity: 1;
  color: var(--color-secondary);
}

.social-links a:hover svg {
  color: var(--color-secondary);
  fill: var(--color-secondary);
}

/* Tablet Styles */
@media (min-width: 768px) {

  /* Hide burger menu on tablet and up */
  .burger-menu {
    display: none;
  }

  /* Show standard horizontal navigation */
  .nav-menu {
    position: relative;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
    top: unset;
    right: unset;
    overflow-y: unset;
  }

  .nav-links {
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
  }

  .nav-links a {
    color: var(--color-text);
    font-size: 0.875rem;
  }

  .social-links {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    color: var(--color-text);
    height: 1.5rem;
  }

  .social-links li a svg {
    color: var(--color-text);
    fill: var(--color-text);
  }

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

  .hero h1 {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  client-card img {
    max-height: 400px;
  }

  .carousel {
    display: flex;
  }

  .client-card img {
    width: auto;
  }

  .carousel-slide.active {
    width: auto;
  }

  .carousel-btn {
    margin: unset;
  }

  .setup-content h1 {
    text-align: left;
  }

  .about-container>.about-blurb>h2 {
    text-align: left;
  }


}

/* Desktop Styles */
@media (min-width: 900px) {
  .nav-container {
    padding: 1rem 2rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* Hero Section */
  .hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
  }

  .hero::before {
    background: linear-gradient(270deg, rgb(15, 17, 23) 0%, rgba(15, 17, 23, 0) 70%);
  }

  .hero-spacer {
    width: 50%;
  }

  .reels-section {
    width: 50%;
    padding: 5%;
    margin-top: 0;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .tagline {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  section {
    padding: 3rem 0;
  }

  section h2 {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 2rem;
  }

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

  .contact-form {
    padding: 3rem;
  }

  .footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .about-container {
    flex-direction: row;
    margin: auto;
    justify-content: space-around;
  }

  .about-container>* {
    width: 50%;
    max-width: 800px;
  }

  .about-container>*:first-child {
    margin-right: 2rem;
  }

  .about-container>*:last-child {
    margin-left: 2rem;
  }

  .setup-cards-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .setup-cards-container>.setup-card {
    margin-left: .75rem;
    margin-right: .75rem;
  }

  .setup-cards-container>.setup-card:first-child {
    margin-left: 0;
    margin-right: .75rem;
  }

  .setup-cards-container>.setup-card:first-child {
    margin-left: .75rem;
    margin-right: 0;
  }

  .setup-cards-container>.setup-card h2 {
    font-size: 2rem;
  }

  .setup-cards-container>.setup-card h3 {
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .reels-section .reels-cta {
    flex-direction: row;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}