/* style/terms-conditions.css */
.page-terms-conditions {
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
    padding-top: var(--header-offset, 120px);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-terms-conditions__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Constrain max width for hero content */
    margin: 0 auto;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-terms-conditions__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-terms-conditions__section {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background for sections */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold brand color */
    margin-bottom: 20px;
    border-bottom: 2px solid #DC143C; /* Red accent line */
    padding-bottom: 10px;
}

.page-terms-conditions__text-block {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-terms-conditions__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-terms-conditions__list li strong {
    color: #FFD700;
}

.page-terms-conditions__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-terms-conditions__button {
    display: inline-block;
    background-color: #DC143C; /* Red brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__button:hover {
    background-color: #ff3355;
    transform: translateY(-3px);
}

.page-terms-conditions__button--primary {
    background-color: #FFD700; /* Gold brand color */
    color: #1A1A1A;
}

.page-terms-conditions__button--primary:hover {
    background-color: #e6c200;
    color: #000000;
}

.page-terms-conditions__call-to-action {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(45deg, #DC143C, #FFD700);
    border-radius: 15px;
}

.page-terms-conditions__call-to-action .page-terms-conditions__section-title {
    color: #ffffff;
    border-bottom: none;
    margin-bottom: 15px;
}

.page-terms-conditions__call-to-action .page-terms-conditions__text-block {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 2.8em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1.1em;
    }
    .page-terms-conditions__section-title {
        font-size: 2em;
    }
    .page-terms-conditions__text-block, .page-terms-conditions__list li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }
    .page-terms-conditions__hero-section {
        min-height: 300px;
    }
    .page-terms-conditions__hero-content {
        padding: 40px 15px;
    }
    .page-terms-conditions__hero-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1em;
    }
    .page-terms-conditions__content-area {
        padding: 40px 15px;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    /* Mobile image constraint */
    .page-terms-conditions__image {
        max-width: 100%;
        height: auto;
    }
    .page-terms-conditions__call-to-action {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__hero-description {
        font-size: 0.9em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__text-block, .page-terms-conditions__list li {
        font-size: 0.9em;
    }
    .page-terms-conditions__button {
        font-size: 1em;
        padding: 10px 20px;
    }
}