/* style/da-ga.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --section-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;

  --dark-text: #333333;
  --light-text: #ffffff;
}

.page-da-ga {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text); /* Default for light background */
}

.page-da-ga__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Fixed header spacing */
  padding-bottom: 40px;
  background: var(--section-bg);
  color: var(--light-text);
}

.page-da-ga__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-da-ga__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--light-text);
}

.page-da-ga__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gold-color);
}

.page-da-ga__hero-description {
  font-size: 1.1em;
  margin-bottom: 24px;
}

.page-da-ga__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-da-ga__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-da-ga__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-da-ga__btn-primary {
  background: var(--button-gradient);
  color: var(--dark-text); /* Ensure contrast on gradient */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-da-ga__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-da-ga__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-da-ga__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--deep-red-color);
}

/* General Section Styles */
.page-da-ga__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-da-ga__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--dark-text);
}

.page-da-ga__dark-bg {
  background: var(--section-bg);
  color: var(--light-text);
}

.page-da-ga__light-bg {
  background: #ffffff;
  color: var(--dark-text);
}

/* Intro Section (Module 1 equivalent) */
.page-da-ga__intro-section {
  padding: 60px 0;
}

.page-da-ga__intro-section .page-da-ga__section-title {
  color: var(--primary-color);
}

.page-da-ga__intro-section .page-da-ga__section-description {
  color: var(--dark-text);
}

.page-da-ga__icon-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__icon-box {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: #f8f8f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-da-ga__icon-box:hover {
  transform: translateY(-5px);
}

.page-da-ga__icon-box-media {
  width: 240px;
  height: 240px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-color);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-da-ga__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-da-ga__icon-box-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-da-ga__icon-box-text {
  font-size: 1em;
  color: var(--dark-text);
}

/* Types Section */
.page-da-ga__types-section {
  padding: 60px 0;
}

.page-da-ga__types-section .page-da-ga__section-title,
.page-da-ga__types-section .page-da-ga__section-description {
  color: var(--light-text);
}

.page-da-ga__type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-da-ga__card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-da-ga__card:hover {
  transform: translateY(-5px);
}

.page-da-ga__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-da-ga__card-content {
  padding: 25px;
}

.page-da-ga__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-da-ga__card-text {
  font-size: 1em;
  line-height: 1.7;
}

/* Guide Section */
.page-da-ga__guide-section {
  padding: 60px 0;
}

.page-da-ga__guide-section .page-da-ga__section-title,
.page-da-ga__guide-section .page-da-ga__section-description {
  color: var(--primary-color);
}

.page-da-ga__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-da-ga__guide-item {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-da-ga__guide-step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-da-ga__guide-step-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-da-ga__guide-step-title a:hover {
  text-decoration: underline;
}

.page-da-ga__guide-step-text {
  font-size: 1em;
  color: var(--dark-text);
}

.page-da-ga__guide-cta {
  text-align: center;
  margin-top: 50px;
}

/* Benefits Section */
.page-da-ga__benefits-section {
  padding: 60px 0;
}

.page-da-ga__benefits-section .page-da-ga__section-title {
  color: var(--gold-color);
}

.page-da-ga__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-da-ga__benefits-item {
  background: var(--card-bg);
  color: var(--text-main);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
}

.page-da-ga__benefits-item-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-da-ga__benefits-item-text {
  font-size: 0.95em;
  line-height: 1.6;
}

.page-da-ga__benefits-item-text a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-da-ga__benefits-item-text a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-da-ga__faq-section {
  padding: 60px 0;
}

.page-da-ga__faq-section .page-da-ga__section-title {
  color: var(--primary-color);
}

.page-da-ga__faq-items {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-da-ga__faq-item {
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-da-ga__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #fff;
}

.page-da-ga__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-da-ga__faq-qtext {
  flex-grow: 1;
}

.page-da-ga__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-da-ga__faq-item[open] .page-da-ga__faq-toggle {
  transform: rotate(45deg);
}

.page-da-ga__faq-answer {
  padding: 0 25px 18px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--dark-text);
  transition: all 0.3s ease;
}

/* General Image Styles */
.page-da-ga img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-da-ga__hero-content {
    order: 2;
  }

  .page-da-ga__hero-image {
    order: 1;
    margin-bottom: 30px;
  }

  .page-da-ga__hero-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-da-ga__container,
  .page-da-ga__hero-container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* HERO Section */
  .page-da-ga__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }

  .page-da-ga__hero-title {
    font-size: 2em !important;
  }

  .page-da-ga__hero-description {
    font-size: 1em !important;
  }

  .page-da-ga__hero-cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Intro Section (Module 1 equivalent) */
  .page-da-ga__intro-section,
  .page-da-ga__types-section,
  .page-da-ga__guide-section,
  .page-da-ga__benefits-section,
  .page-da-ga__faq-section {
    padding: 40px 0 !important;
  }

  .page-da-ga__section-title {
    font-size: 1.5em !important;
  }

  .page-da-ga__section-description {
    font-size: 0.95em !important;
    margin-bottom: 20px !important;
  }

  .page-da-ga__icon-boxes,
  .page-da-ga__type-cards,
  .page-da-ga__guide-list,
  .page-da-ga__benefits-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 20px !important;
  }

  .page-da-ga__icon-box-media {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 15px !important;
  }

  .page-da-ga__icon-box-title,
  .page-da-ga__card-title,
  .page-da-ga__guide-step-title,
  .page-da-ga__benefits-item-title,
  .page-da-ga__faq-item summary {
    font-size: 1.1em !important;
  }

  .page-da-ga__icon-box-text,
  .page-da-ga__card-text,
  .page-da-ga__guide-step-text,
  .page-da-ga__benefits-item-text,
  .page-da-ga__faq-answer {
    font-size: 0.95em !important;
  }

  .page-da-ga__card-image {
    height: 200px !important;
  }

  /* General Images */
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ specific */
  .page-da-ga__faq-item summary {
    padding: 15px 20px !important;
  }

  .page-da-ga__faq-answer {
    padding: 0 20px 15px !important;
  }
}