/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
}

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

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}

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

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-register__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Section Styles */
.page-register__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #017439; /* Primary color for titles on light backgrounds */
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Default for dark sections */
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-register__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

/* Secondary button on dark backgrounds (like hero and dark sections) */
.page-register__btn-secondary {
    background-color: transparent;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-register__btn-secondary:hover {
    background-color: #C30808;
    color: #ffffff;
}

/* Secondary button on light backgrounds */
.page-register__steps-section .page-register__btn-secondary,
.page-register__security-section .page-register__btn-secondary,
.page-register__cta-section .page-register__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-register__steps-section .page-register__btn-secondary:hover,
.page-register__security-section .page-register__btn-secondary:hover,
.page-register__cta-section .page-register__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-register__btn-large {
    padding: 20px 40px;
    font-size: 1.3em;
}

/* Why Register Section */
.page-register__why-register {
    background-color: #1a1a2e;
    padding: 80px 20px;
    color: #ffffff;
}

.page-register__why-register .page-register__section-title {
    color: #ffffff;
}

.page-register__why-register .page-register__section-description {
    color: #f0f0f0;
}

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

.page-register__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-register__feature-card:hover {
    transform: translateY(-10px);
}

.page-register__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-register__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-register__feature-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Registration Steps Section */
.page-register__steps-section {
    background-color: #ffffff;
    padding: 80px 20px;
    color: #333333;
}

.page-register__steps-section .page-register__section-title {
    color: #017439;
}

.page-register__steps-section .page-register__section-description {
    color: #555555;
}

.page-register__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-register__step-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #017439;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-register__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439;
}

.page-register__step-text {
    font-size: 1em;
    color: #666666;
}

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

/* Bonuses Section */
.page-register__bonuses-section {
    background-color: #1a1a2e;
    padding: 80px 20px;
    color: #ffffff;
}

.page-register__bonuses-section .page-register__section-title {
    color: #ffffff;
}
.page-register__bonuses-section .page-register__section-description {
    color: #f0f0f0;
}

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

.page-register__bonus-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-register__bonus-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-register__bonus-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FFFF00;
}

.page-register__bonus-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-register__bonuses-footer-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-register__bonuses-footer-text a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-register__bonuses-footer-text a:hover {
    color: #ffffff;
}

/* Security Section */
.page-register__security-section {
    background-color: #ffffff;
    padding: 80px 20px;
    color: #333333;
}

.page-register__security-section .page-register__section-title {
    color: #017439;
}
.page-register__security-section .page-register__section-description {
    color: #555555;
}

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

.page-register__security-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__security-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-register__security-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-register__security-text {
    font-size: 1em;
    color: #666666;
}

.page-register__security-text a {
    color: #017439;
    text-decoration: underline;
}

.page-register__security-text a:hover {
    color: #004d2e;
}

/* FAQ Section */
.page-register__faq-section {
    background-color: #1a1a2e;
    padding: 80px 20px;
    color: #ffffff;
}

.page-register__faq-section .page-register__section-title {
    color: #ffffff;
}

.page-register__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-register__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFF00;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__faq-item[open] > .page-register__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__faq-question::-webkit-details-marker {
    display: none;
}

.page-register__faq-question::marker {
    display: none;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-register__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.7;
}

.page-register__faq-answer a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-register__faq-answer a:hover {
    color: #ffffff;
}

/* Final CTA Section */
.page-register__cta-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    color: #333333;
}

.page-register__cta-section .page-register__section-title {
    color: #017439;
}
.page-register__cta-section .page-register__section-description {
    color: #555555;
}

/* Responsive design for images, videos, and buttons */
.page-register img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        min-height: 500px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-register__hero-content {
        padding: 30px;
    }

    .page-register__hero-title {
        font-size: 2.2em;
    }

    .page-register__hero-description {
        font-size: 1em;
    }

    .page-register__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register 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-register__section-title {
        font-size: 1.8em;
    }

    .page-register__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-register__features-grid,
    .page-register__steps-grid,
    .page-register__bonus-grid,
    .page-register__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-register__feature-icon,
    .page-register__security-icon {
        width: 150px;
        height: 120px;
    }

    .page-register__bonus-image {
        height: 200px;
    }

    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-register__faq-answer {
        padding: 15px 20px;
    }

    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-register__section,
    .page-register__card,
    .page-register__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-register__hero-buttons,
    .page-register__steps-cta,
    .page-register__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}