/* style/promotions-claim-guide.css */

/* General Page Styling */
.page-promotions-claim-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherit from shared.css, assuming dark */
}

.page-promotions-claim-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-promotions-claim-guide__section {
    padding: 60px 0;
}

.page-promotions-claim-guide__dark-bg {
    background-color: #26A9E0; /* Main brand color for dark sections */
    color: #ffffff;
}

.page-promotions-claim-guide__light-bg {
    background-color: #ffffff; /* Auxiliary color for light sections */
    color: #333333; /* Dark text for light background */
}

.page-promotions-claim-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

.page-promotions-claim-guide__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: inherit;
}

/* Buttons */
.page-promotions-claim-guide__btn-primary,
.page-promotions-claim-guide__btn-secondary,
.page-promotions-claim-guide__btn-small,
.page-promotions-claim-guide__btn-large {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-claim-guide__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-promotions-claim-guide__btn-primary:hover {
    background-color: #1e87b6;
    border-color: #1e87b6;
}

.page-promotions-claim-guide__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-promotions-claim-guide__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-promotions-claim-guide__btn-small {
    font-size: 0.9em;
    padding: 8px 15px;
    margin: 5px;
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-promotions-claim-guide__btn-small:hover {
    background-color: #bf6606;
    border-color: #bf6606;
}

.page-promotions-claim-guide__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Hero Section */
.page-promotions-claim-guide__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    text-align: center;
}

.page-promotions-claim-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-promotions-claim-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-promotions-claim-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-promotions-claim-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions-claim-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-promotions-claim-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay to ensure text readability */
}

/* Video Section */
.page-promotions-claim-guide__video-section {
    position: relative;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    text-align: center;
    background-color: #000000; /* Dark background for video */
    color: #ffffff;
}

.page-promotions-claim-guide__video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-promotions-claim-guide__video-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-promotions-claim-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.page-promotions-claim-guide__video-wrapper .page-promotions-claim-guide__video,
.page-promotions-claim-guide__video-wrapper .page-promotions-claim-guide__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-promotions-claim-guide__video-description {
    font-size: 1em;
    color: #f0f0f0;
}


/* Why Claim Section */
.page-promotions-claim-guide__why-claim {
    background-color: #ffffff;
    color: #333333;
}

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

.page-promotions-claim-guide__feature-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-promotions-claim-guide__feature-icon {
    width: 100%;
    max-width: 400px; /* Constrain image width */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-claim-guide__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-promotions-claim-guide__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Promotions Types Section */
.page-promotions-claim-guide__promotions-types {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-promotions-claim-guide__promo-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-promotions-claim-guide__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-promotions-claim-guide__promo-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-promotions-claim-guide__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Step-by-Step Guide Section */
.page-promotions-claim-guide__guide-steps {
    background-color: #ffffff;
    color: #333333;
}

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

.page-promotions-claim-guide__step-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions-claim-guide__step-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-promotions-claim-guide__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-promotions-claim-guide__step-text {
    font-size: 0.95em;
    color: #555555;
    flex-grow: 1; /* Ensure text takes up available space */
}

/* Terms & Conditions Summary */
.page-promotions-claim-guide__terms {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-promotions-claim-guide__terms-list {
    list-style: disc inside;
    padding-left: 20px;
    max-width: 800px;
    margin: 40px auto 0 auto;
    color: #f0f0f0;
}

.page-promotions-claim-guide__terms-item {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Tips Section */
.page-promotions-claim-guide__tips {
    background-color: #ffffff;
    color: #333333;
}

.page-promotions-claim-guide__tip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-promotions-claim-guide__tip-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-promotions-claim-guide__tip-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-promotions-claim-guide__tip-text {
    font-size: 0.95em;
    color: #555555;
}

/* FAQ Section */
.page-promotions-claim-guide__faq-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-promotions-claim-guide__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-promotions-claim-guide__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-promotions-claim-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-promotions-claim-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-promotions-claim-guide__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.page-promotions-claim-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-promotions-claim-guide__faq-item.active .page-promotions-claim-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions-claim-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-promotions-claim-guide__faq-item.active .page-promotions-claim-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px;
}

.page-promotions-claim-guide__faq-answer p {
    margin: 0;
    font-size: 0.95em;
}

/* Final CTA Section */
.page-promotions-claim-guide__final-cta {
    background-color: #ffffff;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-claim-guide__hero-title {
        font-size: 3em;
    }
    .page-promotions-claim-guide__hero-description {
        font-size: 1.1em;
    }
    .page-promotions-claim-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-claim-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-claim-guide__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
        min-height: unset;
    }

    .page-promotions-claim-guide__hero-title {
        font-size: 2.2em;
    }

    .page-promotions-claim-guide__hero-description {
        font-size: 1em;
    }

    .page-promotions-claim-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-promotions-claim-guide__btn-primary,
    .page-promotions-claim-guide__btn-secondary,
    .page-promotions-claim-guide__btn-small,
    .page-promotions-claim-guide__btn-large,
    .page-promotions-claim-guide a[class*="button"],
    .page-promotions-claim-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-promotions-claim-guide__cta-buttons,
    .page-promotions-claim-guide__button-group,
    .page-promotions-claim-guide__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions-claim-guide__section {
        padding: 40px 0;
    }

    .page-promotions-claim-guide__container {
        padding: 0 15px;
    }

    .page-promotions-claim-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-promotions-claim-guide__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Images responsiveness */
    .page-promotions-claim-guide img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-promotions-claim-guide__section,
    .page-promotions-claim-guide__card,
    .page-promotions-claim-guide__container,
    .page-promotions-claim-guide__feature-card,
    .page-promotions-claim-guide__step-card,
    .page-promotions-claim-guide__tip-card,
    .page-promotions-claim-guide__promo-item,
    .page-promotions-claim-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-promotions-claim-guide__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-promotions-claim-guide video,
    .page-promotions-claim-guide__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-promotions-claim-guide__video-section,
    .page-promotions-claim-guide__video-container,
    .page-promotions-claim-guide__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 0;
      padding-right: 0;
      overflow: hidden !important;
    }
    .page-promotions-claim-guide__video-wrapper {
      padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    }
}

@media (max-width: 480px) {
    .page-promotions-claim-guide__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-claim-guide__btn-primary,
    .page-promotions-claim-guide__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-promotions-claim-guide__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-promotions-claim-guide__faq-answer {
        padding: 10px 20px;
    }
    .page-promotions-claim-guide__faq-item.active .page-promotions-claim-guide__faq-answer {
        padding: 10px 20px;
    }
}

/* Ensure content images are not small icons */
.page-promotions-claim-guide__feature-icon,
.page-promotions-claim-guide__step-image {
    min-width: 200px;
    min-height: 200px;
}

/* CSS for color contrast fix if needed */
.page-promotions-claim-guide__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-promotions-claim-guide__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* Content area images CSS size lower bound */
.page-promotions-claim-guide img {
  min-width: 200px; /* Enforce minimum width for all images in content area */
  min-height: 200px; /* Enforce minimum height for all images in content area */
}

.page-promotions-claim-guide__feature-icon,
.page-promotions-claim-guide__step-image {
    width: 100%; /* Ensure they take full width within their container */
    height: auto;
    object-fit: cover;
    max-width: 600px; /* Example max width */
    margin-left: auto;
    margin-right: auto;
}

/* Specific button color for "Đăng Ký", "Đăng Nhập" */
.page-promotions-claim-guide__btn-small[href="register.html"],
.page-promotions-claim-guide__btn-small[href="login.html"] {
    background-color: #EA7C07;
    border-color: #EA7C07;
    color: #ffffff;
}
.page-promotions-claim-guide__btn-small[href="register.html"]:hover,
.page-promotions-claim-guide__btn-small[href="login.html"]:hover {
    background-color: #bf6606;
    border-color: #bf6606;
}