/* style/register.css */

/* General page styling */
.page-register {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-register__hero-section {
    background: #000000; /* Dark background for hero */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex; /* Use flex to center content over image */
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6; /* Slightly transparent to let content stand out */
}

.page-register__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Ensure no filter is applied */
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-register__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0 10px;
    min-width: 200px; /* Ensure buttons are large enough */
    text-align: center;
}

.page-register__button--register {
    background-color: #FCBC45; 
    color: #000000; 
    border: 2px solid #FCBC45;
}

.page-register__button--register:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-register__button--login {
    background-color: #000000; 
    color: #FCBC45; 
    border: 2px solid #FCBC45;
}

.page-register__button--login:hover {
    background-color: #1a1a1a;
    color: #fcd070;
}

/* Value Section */
.page-register__value-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff; /* Explicitly white background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__value-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
}

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

.page-register__value-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.page-register__value-item img {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure min 200px, but responsive */
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
    /* Ensure no filter is applied */
    min-width: 200px;
    min-height: 200px;
}

.page-register__value-item-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-register__value-item-description {
    font-size: 1em;
    color: #555555;
}

/* Steps Section */
.page-register__steps-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #000000; /* Dark background */
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-register__steps-title {
    font-size: 2.5em;
    color: #FCBC45; /* Accent color for title */
    margin-bottom: 40px;
}

.page-register__steps-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-register__steps-image {
    flex: 1;
    min-width: 200px; /* Ensure min 200px */
}

.page-register__steps-image img {
    width: 100%;
    height: auto;
    max-width: 600px; /* Limit max width */
    border-radius: 8px;
    object-fit: cover;
    /* Ensure no filter is applied */
    min-width: 200px;
    min-height: 200px;
}

.page-register__steps-list {
    flex: 1.5;
    list-style: none;
    padding: 0;
    text-align: left;
}

.page-register__steps-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.page-register__steps-number {
    background-color: #FCBC45;
    color: #000000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.page-register__steps-item-title {
    font-size: 1.6em;
    color: #FCBC45;
    margin-top: 0;
    margin-bottom: 5px;
}

.page-register__steps-item-description {
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-register__steps-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FCBC45;
    color: #000000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: 2px solid #FCBC45;
}

.page-register__steps-button:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

/* Conditions Section */
.page-register__conditions-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__conditions-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
}

.page-register__conditions-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__conditions-content img {
    width: 100%;
    height: auto;
    max-width: 800px; /* Limit max width */
    border-radius: 8px;
    margin-bottom: 30px;
    object-fit: cover;
    opacity: 0.7; /* Make it a subtle background */
    /* Ensure no filter is applied */
    min-width: 200px;
    min-height: 200px;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 700px;
    margin: 0 auto 30px auto;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white over image */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.page-register__conditions-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333;
    position: relative;
    padding-left: 25px;
}

.page-register__conditions-item::before {
    content: '✓';
    color: #FCBC45;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.page-register__conditions-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: #000000;
    color: #FCBC45;
    border: 2px solid #FCBC45;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__conditions-link:hover {
    background-color: #1a1a1a;
    color: #fcd070;
}

/* FAQ Section */
.page-register__faq-section {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 40px 20px;
    background-color: #f0f0f0; /* Light grey background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-register__faq-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
}

.page-register__faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.page-register__faq-question {
    display: block;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    position: relative;
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-register__faq-question:hover {
    background-color: #f5f5f5;
}

.page-register__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FCBC45;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: translateY(-50%) rotate(45deg); /* Change + to X or similar */
}

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.1em;
    color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__steps-container {
        flex-direction: column;
    }
    .page-register__steps-list {
        margin-top: 30px;
    }
    .page-register__steps-image {
        order: -1; /* Image above steps on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__hero-button {
        padding: 12px 25px;
        font-size: 1em;
        margin: 0 5px 15px 5px;
        min-width: unset;
        width: calc(100% - 10px); /* Adjust for margin */
        box-sizing: border-box;
    }
    .page-register__hero-button:last-of-type {
        margin-bottom: 0;
    }

    .page-register__value-title,
    .page-register__steps-title,
    .page-register__conditions-title,
    .page-register__faq-title {
        font-size: 2em;
    }

    .page-register__value-grid {
        grid-template-columns: 1fr;
    }

    .page-register__steps-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-register__steps-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-register__steps-item-title {
        font-size: 1.4em;
    }
    .page-register__steps-item-description {
        font-size: 1em;
    }

    .page-register__conditions-list {
        padding: 20px;
    }
    .page-register__conditions-item {
        font-size: 0.95em;
        padding-left: 20px;
    }
    .page-register__conditions-item::before {
        font-size: 0.9em;
    }

    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-toggle {
        right: 20px;
        font-size: 1.3em;
    }
    .page-register__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 1em;
    }

    /* Content area images must use max-width: 100%; height: auto; */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}