/* style/about.css */

/* --- Base Styles --- */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main - light color for dark background */
    background-color: #08160F; /* Background */
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.page-about__section {
    padding: 60px 0;
    position: relative;
}

.page-about__section-title {
    font-size: 3em; 
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-about__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Buttons --- */
.page-about__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Responsive button */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main - for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-about__btn-secondary {
    background: #11271B; /* Card BG */
    color: #F2C14E; /* Gold */
    border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
    background: #1E3A2A; /* Divider */
    color: #57E38D; /* Glow */
    transform: translateY(-2px);
}

.page-about__link-button {
    display: inline-block;
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-about__link-button:hover {
    color: #F2C14E; /* Gold */
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Ensure consistent background */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and text */
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.page-about__hero-content-wrapper {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 with clamp */
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.page-about__intro-text {
    font-size: 1.3em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- General Sections --- */
.page-about__general-introduction,
.page-about__history-development,
.page-about__featured-products,
.page-about__safety-fairness,
.page-about__responsible-gambling,
.page-about__customer-support,
.page-about__future-vision,
.page-about__faq-section,
.page-about__cta-bottom {
    background-color: #08160F; /* Background */
    padding: 60px 0;
}

.page-about__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-about__image-text-block .page-about__image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.page-about__image-text-block .page-about__text-content {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

/* --- Product Grid --- */
.page-about__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__product-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
}

.page-about__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-about__product-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-about__product-card .page-about__product-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin: 20px 20px 10px;
    font-weight: 700;
}

.page-about__product-card .page-about__product-title a {
    color: inherit;
    text-decoration: none;
}

.page-about__product-card .page-about__product-title a:hover {
    text-decoration: underline;
    color: #57E38D; /* Glow */
}

.page-about__product-card .page-about__product-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 20px 20px;
    flex-grow: 1; /* Push content to bottom */
}

.page-about__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* --- FAQ Section --- */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #1E3A2A; /* Divider */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-about__faq-item[open] .page-about__faq-question {
    background-color: #0A4B2C; /* Deep Green */
    color: #F2C14E; /* Gold */
}

.page-about__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    background-color: #11271B; /* Card BG */
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}
.page-about__faq-answer p:last-child {
    margin-bottom: 0;
}


/* --- Bottom CTA Section --- */
.page-about__cta-bottom {
    padding: 80px 0;
    text-align: center;
    background: #0A4B2C; /* Deep Green */
}

.page-about__section-title--cta {
    color: #F2FFF6; /* Text Main */
}

.page-about__text-block--cta {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2.5em;
    }
    .page-about__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-about__hero-content-wrapper {
        padding: 0 15px;
    }
    .page-about__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-about__intro-text {
        font-size: 1.1em;
    }
    .page-about__image-text-block {
        gap: 30px;
    }
    .page-about__image-text-block .page-about__image,
    .page-about__image-text-block .page-about__text-content {
        max-width: 100%;
        flex: none;
    }
    .page-about__image-text-block--reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-about__intro-text {
        font-size: 1em;
    }
    .page-about__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-about__hero-image-wrapper,
    .page-about__image-text-block,
    .page-about__product-grid,
    .page-about__product-card,
    .page-about__faq-list,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-about__product-card .page-about__product-image {
        height: 180px; /* Adjust height for mobile */
    }

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

    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-about__faq-answer {
        padding: 15px;
        font-size: 1em;
    }

    .page-about__cta-bottom {
        padding: 50px 0;
    }
}

/* Ensure content area images are at least 200px */
.page-about__image-text-block img,
.page-about__product-card img {
    min-width: 200px;
    min-height: 200px;
}
.page-about__product-card .page-about__product-image {
    height: 200px; /* Fixed height for product cards */
}
/* For images that are not product cards, ensure they are not too small */
.page-about__image {
    min-width: 200px;
    min-height: 200px;
}