/* ===================================
   Malaysian Podcast Platform
   Colors: Deep Maroon, Beige, Bronze
   =================================== */

/* CSS Variables */
:root {
  --color-maroon: #6b0f1a;
  --color-maroon-dark: #4a0a12;
  --color-maroon-light: #8b1a27;
  --color-beige: #f5e6d3;
  --color-beige-dark: #d4c4b0;
  --color-bronze: #cd7f32;
  --color-bronze-light: #e39850;
  --color-bronze-dark: #9d5f22;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-gray: #666666;
  --color-gray-light: #999999;

  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease;
  --transition-burger: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-beige);
  color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   COOKIE BANNER
   =================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-maroon-dark);
  color: var(--color-white);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-text p {
  margin: 5px 0;
}

.cookie-text strong {
  color: var(--color-bronze-light);
}

.cookie-text a {
  color: var(--color-bronze-light);
  text-decoration: underline;
  transition: var(--transition);
}

.cookie-text a:hover {
  color: var(--color-bronze);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-buttons form {
  display: inline;
}

.cookie-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
  font-size: inherit;
}

.cookie-accept {
  background: var(--color-bronze);
  color: var(--color-white);
}

.cookie-accept:hover {
  background: var(--color-bronze-dark);
  transform: translateY(-2px);
}

.cookie-reject {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===================================
   HEADER
   =================================== */
.header {
  background: var(--color-maroon);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-bronze-light);
  text-decoration: none;
  letter-spacing: 1px;
  transition: var(--transition);
}

.logo:hover {
  color: var(--color-bronze);
}

.nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-link {
  color: var(--color-beige);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  transition: var(--transition);
  border-radius: 5px;
}

.nav-link:hover {
  background: var(--color-maroon-light);
  color: var(--color-white);
}

.cta-btn {
  background: var(--color-bronze);
  color: var(--color-white);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin-left: 20px;
}

.cta-btn:hover {
  background: var(--color-bronze-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(205, 127, 50, 0.3);
}

/* Burger Menu */
.burger-toggle {
  display: none;
}

.burger-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.burger-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-bronze-light);
  border-radius: 3px;
  transition: var(--transition-burger);
  position: absolute;
}

.burger-icon span:nth-child(1) {
  top: 0;
}

.burger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-icon span:nth-child(3) {
  bottom: 0;
}

.burger-toggle:checked ~ .burger-icon span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger-toggle:checked ~ .burger-icon span:nth-child(2) {
  transform: translateY(-50%) scale(0);
}

.burger-toggle:checked ~ .burger-icon span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  background: linear-gradient(
    135deg,
    var(--color-maroon-dark) 0%,
    var(--color-maroon) 100%
  );
  color: var(--color-white);
  padding: 100px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  color: var(--color-bronze-light);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--color-white);
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-beige);
  margin-bottom: 35px;
}

.hero-cta {
  display: inline-block;
  background: var(--color-bronze);
  color: var(--color-white);
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: var(--transition);
}

.hero-cta:hover {
  background: var(--color-bronze-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(205, 127, 50, 0.4);
}

/* ===================================
   SECTION COMMON STYLES
   =================================== */
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-maroon);
  margin-bottom: 20px;
  text-align: center;
}

.section-description,
.section-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
  padding: 80px 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-title {
  text-align: left;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
  padding: 80px 0;
  background: var(--color-beige-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-bronze);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 50px;
  color: var(--color-bronze);
  margin-bottom: 20px;
}

.service-title {
  font-size: 22px;
  color: var(--color-maroon);
  margin-bottom: 15px;
  font-weight: 600;
}

.service-description {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ===================================
   PODCASTS SECTION
   =================================== */
.podcasts {
  padding: 80px 0;
  background: var(--color-white);
}

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.podcast-card {
  background: var(--color-beige-dark);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.podcast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.podcast-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.podcast-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.podcast-title {
  font-size: 24px;
  color: var(--color-maroon);
  margin: 20px 20px 10px;
  font-weight: 600;
}

.podcast-description {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.6;
  padding: 0 20px 20px;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews {
  padding: 80px 0;
  background: var(--color-beige-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--color-bronze);
}

.review-stars {
  color: var(--color-bronze);
  font-size: 24px;
  margin-bottom: 15px;
}

.review-text {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-name {
  font-weight: 600;
  color: var(--color-maroon);
  margin-bottom: 5px;
}

.review-location {
  font-size: 14px;
  color: var(--color-gray-light);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-maroon) 0%,
    var(--color-maroon-dark) 100%
  );
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 18px;
  color: var(--color-beige);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--color-bronze);
  color: var(--color-white);
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: var(--transition);
}

.cta-button:hover {
  background: var(--color-bronze-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(205, 127, 50, 0.4);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
  padding: 80px 0;
  background: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--color-bronze);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 18px;
  color: var(--color-maroon);
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--color-gray);
  line-height: 1.6;
}

.contact-details a {
  color: var(--color-bronze);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--color-bronze-dark);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-beige-dark);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-maroon);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--color-beige);
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-bronze);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-gray);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--color-bronze);
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--color-maroon);
  color: var(--color-white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--color-maroon-dark);
  transform: translateY(-2px);
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq {
  padding: 80px 0;
  background: var(--color-beige-dark);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

.faq-item {
  background: var(--color-white);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--color-bronze);
}

.faq-question {
  font-size: 20px;
  color: var(--color-maroon);
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-answer {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.8;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--color-maroon-dark);
  color: var(--color-beige);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-heading {
  color: var(--color-bronze-light);
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-beige-dark);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--color-bronze);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-bronze-light);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-beige-dark);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-bronze-light);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(245, 230, 211, 0.2);
  color: var(--color-beige-dark);
  font-size: 14px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 900px) {
  /* Burger Menu */
  .burger-icon {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-maroon-dark);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 10px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  }

  .burger-toggle:checked ~ .nav {
    right: 0;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .cta-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  /* Sections */
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid,
  .podcasts-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 25px;
  }
}
