/* style/da-ga.css */

/* Core Styles for the page-da-ga wrapper */
.page-da-ga {
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-da-ga__hero-section {
  padding-top: 10px; /* Small top padding to avoid double spacing with body padding */
  padding-bottom: 40px;
  background-color: var(--background-color, #0A0A0A);
  overflow: hidden; /* Ensure no overflow from image */
}

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

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

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

.page-da-ga__hero-content {
  flex: 1 1 50%;
  color: var(--text-main-color, #FFF6D6);
  padding-right: 20px;
}

.page-da-ga__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--glow-color, #FFD36B);
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-da-ga__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF6D6);
}

.page-da-ga__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-da-ga__btn-primary,
.page-da-ga__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%;
}

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

.page-da-ga__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.6);
}

.page-da-ga__btn-secondary {
  background-color: transparent;
  color: var(--glow-color, #FFD36B);
  border: 2px solid var(--glow-color, #FFD36B);
  box-shadow: 0 2px 5px rgba(255, 211, 107, 0.2);
}

.page-da-ga__btn-secondary:hover {
  background-color: var(--glow-color, #FFD36B);
  color: #111111; /* Dark text for bright button */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

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

.page-da-ga__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: var(--glow-color, #FFD36B);
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-da-ga__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main-color, #FFF6D6);
}

/* Intro Section */
.page-da-ga__intro-section {
  background-color: var(--card-bg-color, #111111);
  padding: 60px 0;
}

.page-da-ga__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-da-ga__feature-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #3A2A12);
  transition: transform 0.3s ease;
}

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

.page-da-ga__icon-box-media {
  width: 200px; /* Fixed width */
  height: 200px; /* Fixed height for perfect circle */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--glow-color, #FFD36B);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-da-ga__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the circle without distortion */
  display: block;
}

.page-da-ga__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--glow-color, #FFD36B);
}

.page-da-ga__feature-text {
  font-size: 1rem;
  color: var(--text-main-color, #FFF6D6);
}

/* Content Area - Rules & Tips */
.page-da-ga__content-area {
  padding: 60px 0;
  background-color: var(--background-color, #0A0A0A);
}

.page-da-ga__text-block {
  background-color: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color, #3A2A12);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-da-ga__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--glow-color, #FFD36B);
}

.page-da-ga p {
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

.page-da-ga__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

.page-da-ga__ordered-list {
  list-style-type: decimal;
}

.page-da-ga__list li {
  margin-bottom: 8px;
  color: var(--text-main-color, #FFF6D6);
}

.page-da-ga__list li strong {
  color: var(--glow-color, #FFD36B);
}

.page-da-ga__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #3A2A12);
}

/* FAQ Section */
.page-da-ga__faq-section {
  background-color: var(--card-bg-color, #111111);
  padding: 60px 0;
}

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

.page-da-ga__faq-item {
  background-color: #1a1a1a;
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-da-ga__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15rem;
  color: var(--glow-color, #FFD36B);
  user-select: none;
  list-style: none; /* Hide default details marker */
}

.page-da-ga__faq-question::-webkit-details-marker {
  display: none; /* Hide default details marker for webkit browsers */
}

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

.page-da-ga__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
}

.page-da-ga__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-main-color, #FFF6D6);
}

/* CTA Banner */
.page-da-ga__cta-banner {
  background-color: var(--primary-color, #F2C14E); /* Using primary color for banner background */
  padding: 60px 0;
  text-align: center;
}

.page-da-ga__cta-content {
  color: #111111; /* Dark text for bright background */
}

.page-da-ga__banner-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #111111; /* Dark text for bright background */
}

.page-da-ga__banner-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #333333; /* Slightly darker text for contrast */
}

/* Ensure all images are responsive by default */
.page-da-ga img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Ensure all image containers are responsive */
.page-da-ga__section,
.page-da-ga__card,
.page-da-ga__container,
.page-da-ga__hero-section,
.page-da-ga__intro-section,
.page-da-ga__content-area,
.page-da-ga__faq-section,
.page-da-ga__cta-banner {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent horizontal scroll */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-da-ga__hero-container {
    padding: 30px 16px;
  }
  .page-da-ga__hero-content {
    padding-right: 0;
  }
  .page-da-ga__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-da-ga__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-da-ga__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  /* General mobile styles */
  .page-da-ga {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-da-ga__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-da-ga__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 20px;
  }
  .page-da-ga__hero-image {
    order: 1; /* Image above text */
    flex: 1 1 100%;
  }
  .page-da-ga__hero-content {
    order: 2;
    flex: 1 1 100%;
    text-align: center;
    padding-right: 0;
  }
  .page-da-ga__main-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-da-ga__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-da-ga__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
  }
  .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: 12px 15px; /* Adjust padding for smaller screens */
  }

  /* Module 1 - Intro Section */
  .page-da-ga__intro-section {
    padding: 40px 0;
  }
  .page-da-ga__container {
    padding: 30px 15px;
  }
  .page-da-ga__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
  }
  .page-da-ga__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-da-ga__features-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }
  .page-da-ga__icon-box-media {
    width: 150px; /* Adjust size for mobile */
    height: 150px; /* Maintain aspect ratio */
    border-width: 2px;
  }
  .page-da-ga__icon-box-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .page-da-ga__feature-title {
    font-size: 1.3rem;
  }

  /* Content Area (Rules & Tips) */
  .page-da-ga__content-area {
    padding: 40px 0;
  }
  .page-da-ga__text-block {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-da-ga__sub-title {
    font-size: 1.5rem;
  }
  .page-da-ga p,
  .page-da-ga__list li {
    font-size: 0.95rem;
  }
  .page-da-ga__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* FAQ Section */
  .page-da-ga__faq-section {
    padding: 40px 0;
  }
  .page-da-ga__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-da-ga__faq-toggle {
    font-size: 1.5rem;
  }
  .page-da-ga__faq-answer {
    padding: 0 15px 15px;
  }

  /* CTA Banner */
  .page-da-ga__cta-banner {
    padding: 40px 0;
  }
  .page-da-ga__banner-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 10px;
  }
  .page-da-ga__banner-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
}