/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: linear-gradient(135deg, #1a0033 0%, #2d1b69 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Scheme Variables */
:root {
  --primary-purple: #2d1b69;
  --dark-purple: #1a0033;
  --soft-gold: #d4af37;
  --light-gold: #f4d03f;
  --text-light: #e0e0e0;
  --text-muted: #b0b0b0;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  color: var(--text-light);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: var(--soft-gold);
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: var(--soft-gold);
  color: var(--dark-purple);
}

.cookie-btn.accept:hover {
  background: var(--light-gold);
  transform: translateY(-2px);
}

.cookie-btn.decline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--soft-gold);
}

.cookie-btn.decline:hover {
  background: var(--soft-gold);
  color: var(--dark-purple);
}

/* Header */
.header {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 40px;
}

.logo h1 {
  color: var(--soft-gold);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-list a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-list a:hover {
  color: var(--soft-gold);
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--soft-gold);
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.cta-btn {
  background: var(--soft-gold);
  color: var(--dark-purple);
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: var(--light-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.cta-btn.large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Burger Menu */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--soft-gold);
  border-radius: 2px;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-toggle span:nth-child(1) {
  top: 0;
  width: 100%;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
  width: 100%;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
  width: 100%;
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(2) {
  transform: scale(0);
}

.menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    url("images/Voices of South Africa.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  color: var(--soft-gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Section Styles */
.section-title {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--glass-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--soft-gold);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--soft-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.service-icon i {
  font-size: 2rem;
  color: var(--dark-purple);
}

.service-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Podcasts Section */
.podcasts {
  padding: 80px 0;
}

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.podcast-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.podcast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.podcast-image {
  height: 200px;
  overflow: hidden;
}

.podcast-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.podcast-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 20px 20px 10px;
}

.podcast-card p {
  color: var(--text-muted);
  margin: 0 20px 20px;
  line-height: 1.6;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: var(--glass-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
}

.review-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.7;
}

.review-author h4 {
  color: var(--soft-gold);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.review-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(
      135deg,
      rgba(33, 17, 69, 0.92) 0%,
      rgba(16, 6, 33, 0.92) 100%
    ),
    url("images/National Perspectives.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-item i {
  color: var(--soft-gold);
  font-size: 1.5rem;
  margin-top: 5px;
  min-width: 24px;
}

.info-item h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--soft-gold);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-group a {
  color: var(--soft-gold);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: var(--glass-bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
}

.faq-item h3 {
  color: var(--soft-gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--dark-purple);
  padding: 60px 0 20px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--soft-gold);
  margin-bottom: 20px;
}

.footer-section p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--soft-gold);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--soft-gold);
  color: var(--dark-purple);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* Image Placeholder */
.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-purple) 0%,
    var(--dark-purple) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-gold);
  font-weight: 600;
  font-size: 1.1rem;
  aspect-ratio: 16/9;
}

/* Legal Pages */
.legal-page {
  padding: 60px 0;
  min-height: 100vh;
}

.back-btn {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--soft-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: var(--light-gold);
}

.legal-page h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.legal-page h2 {
  color: var(--soft-gold);
  font-size: 1.8rem;
  margin: 30px 0 20px;
}

.legal-page p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.legal-page ul {
  color: var(--text-light);
  margin-left: 30px;
  margin-bottom: 20px;
}

.legal-page li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .menu-checkbox:checked ~ .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid,
  .podcasts-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .header-content {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .legal-page h1 {
    font-size: 2rem;
  }

  .service-card,
  .podcast-card,
  .review-card,
  .contact-form {
    padding: 30px 20px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-icon,
  .social-links a {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
