/* style/terms-conditions.css */

/* Custom properties for colors */
:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --background-color: #B71C1C;
    --text-main: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold: #F4D34D;
    --deep-red: #7A0E0E;
}

/* Base styles for the terms and conditions page */
.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--background-color);
}

/* Hero Section */
.page-terms-conditions__hero-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 40px;
    background-color: var(--deep-red);
    color: var(--text-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-terms-conditions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold); /* Gold color for main title */
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(255, 204, 102, 0.6); /* Subtle glow */
}

.page-terms-conditions__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    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-terms-conditions__btn-primary {
    background: var(--button-gradient); /* Gold gradient */
    color: #333333; /* Dark text for gold button for contrast */
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-terms-conditions__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
    transform: translateY(-2px);
}

.page-terms-conditions__btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(242, 181, 68, 0.3);
}

.page-terms-conditions__btn-secondary:hover {
    background-color: rgba(242, 181, 68, 0.1);
    box-shadow: 0 6px 15px rgba(242, 181, 68, 0.5);
    transform: translateY(-2px);
}

/* Content Area */
.page-terms-conditions__content-area {
    padding: 40px 0;
    background-color: var(--background-color); /* Main background color */
    color: var(--text-main);
}

.page-terms-conditions__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--gold); /* Gold color for section titles */
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    text-shadow: 0 0 5px rgba(255, 204, 102, 0.4);
}

.page-terms-conditions__sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--glow-color); /* Using glow for better contrast on dark red background */
}

.page-terms-conditions__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-terms-conditions__paragraph strong {
    color: var(--gold);
}

.page-terms-conditions__image-figure {
    margin: 30px 0;
    text-align: center;
    background-color: var(--card-bg); /* Card BG color for figure background */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__image-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-terms-conditions__image-caption {
    font-size: 0.9rem;
    color: rgba(255, 245, 225, 0.8);
    margin-top: 10px;
    font-style: italic;
}

.page-terms-conditions__contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--card-bg); /* Card BG color */
    border-left: 5px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__contact-text {
    font-size: 1.1rem;
    margin: 0;
}

.page-terms-conditions__contact-link {
    color: var(--gold);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-terms-conditions__contact-link:hover {
    color: var(--glow-color);
}

.page-terms-conditions__promo-box {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--card-bg); /* Card BG color */
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-terms-conditions__promo-title {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 204, 102, 0.4);
}

.page-terms-conditions__promo-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__promo-cta {
    margin-top: 20px;
}

/* General image styling for content area */
.page-terms-conditions img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensures images behave as block elements for margin auto */
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}