/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Color Scheme Variables */
:root {
  --primary-midnight-blue: #191970;
  --secondary-gold: #ffd700;
  --accent-gold-dark: #daa520;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  --border-light: #e9ecef;
  --white: #ffffff;
  --error: #dc3545;
  --success: #28a745;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--primary-midnight-blue);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo h1 {
  color: var(--secondary-gold);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo a {
  color: var(--secondary-gold);
  text-decoration: none;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--secondary-gold);
  color: var(--primary-midnight-blue);
}

.btn-primary:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--secondary-gold);
}

.btn-secondary:hover {
  background: var(--secondary-gold);
  color: var(--primary-midnight-blue);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-midnight-blue);
  color: var(--white);
  padding: 20px 0;
  z-index: 2000;
  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;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: var(--secondary-gold);
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  color: var(--white);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/Midnight-Echo-Waves.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(25, 25, 112, 0.85) 0%,
    rgba(42, 42, 143, 0.75) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  color: var(--secondary-gold);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-hero {
  font-size: 1.1rem;
  padding: 15px 30px;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--background-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  color: var(--primary-midnight-blue);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 16/9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
  aspect-ratio: 16/9;
  background: var(--border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Services Section */
.services {
  padding: 80px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header h2 {
  color: var(--primary-midnight-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--secondary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-midnight-blue);
}

.service-card h3 {
  color: var(--primary-midnight-blue);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Podcasts Section */
.podcasts {
  padding: 80px 0;
  background: var(--background-light);
}

.podcasts-header {
  text-align: center;
  margin-bottom: 4rem;
}

.podcasts-header h2 {
  color: var(--primary-midnight-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.podcasts-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.podcast-item {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.podcast-item:hover {
  transform: translateY(-5px);
}

.podcast-image {
  aspect-ratio: 16/9;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.podcast-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.podcast-item:hover .podcast-image img {
  transform: scale(1.05);
}

.podcast-item h3 {
  color: var(--primary-midnight-blue);
  font-size: 1.3rem;
  margin: 1.5rem;
  margin-bottom: 0.5rem;
}

.podcast-item p {
  color: var(--text-light);
  margin: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
}

.testimonials h2 {
  color: var(--primary-midnight-blue);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-card p {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-card h4 {
  color: var(--primary-midnight-blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.testimonial-card span {
  color: var(--secondary-gold);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary-midnight-blue) 0%,
    #2a2a8f 100%
  );
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--background-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  color: var(--primary-midnight-blue);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item i {
  color: var(--secondary-gold);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.contact-item h3 {
  color: var(--primary-midnight-blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-light);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-gold);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
}

.checkbox-group label {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-group a {
  color: var(--secondary-gold);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq h2 {
  color: var(--primary-midnight-blue);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: var(--primary-midnight-blue);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--primary-midnight-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--secondary-gold);
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--secondary-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--secondary-gold);
  color: var(--primary-midnight-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Legal Pages */
.legal-page {
  background: var(--background-light);
}

.legal-content {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-content h1 {
  color: var(--primary-midnight-blue);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  color: var(--primary-midnight-blue);
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  color: var(--primary-midnight-blue);
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
}

.legal-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.legal-content ul,
.legal-content ol {
  color: var(--text-light);
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.back-link {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.back-link a {
  color: var(--secondary-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link a:hover {
  color: var(--accent-gold-dark);
}

/* Mobile Menu Toggle */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-gold);
  margin: 3px 0;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

/* Responsive Design */
@media (max-width: 900px) {
  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--primary-midnight-blue);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 30px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .menu-checkbox:checked ~ .nav {
    right: 0;
  }

  .menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-checkbox:checked ~ .menu-toggle span:nth-child(2) {
    transform: scale(0);
  }

  .menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .nav-link {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }

  .cta-nav {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
  }

  /* Hero Section */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Podcasts Grid */
  .podcasts-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials Grid */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Section */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Legal Content */
  .legal-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .about-text h2,
  .services-header h2,
  .podcasts-header h2,
  .testimonials h2,
  .contact-info h2,
  .faq h2 {
    font-size: 2rem;
  }

  .cookie-content {
    text-align: center;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid var(--secondary-gold);
  outline-offset: 2px;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success and error states */
.success-message {
  color: var(--success);
  background: rgba(40, 167, 69, 0.1);
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
}

.error-message {
  color: var(--error);
  background: rgba(220, 53, 69, 0.1);
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem 0;
}
