/* style/about-our-story.css */

/* Base Styles */
.page-about-our-story {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main color */
    background-color: #0A0A0A; /* Background color */
}

/* Hero Section */
.page-about-our-story__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.page-about-our-story__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.page-about-our-story__hero-image-container {
    width: 100%;
    margin-bottom: 40px;
    text-align: center; /* Center image if it's smaller than container */
}

.page-about-our-story__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about-our-story__hero-text-content {
    text-align: center;
    max-width: 800px;
}

.page-about-our-story__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
    color: #F2C14E; /* Main brand color */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.page-about-our-story__hero-description {
    font-size: 1.15rem;
    color: #FFF6D6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about-our-story__hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* General Section Styling */
.page-about-our-story__section {
    padding: 80px 0;
    background-color: #0A0A0A; /* Background color */
}

.page-about-our-story__dark-section {
    background-color: #111111; /* Card BG color for dark sections */
    color: #FFF6D6; /* Text Main color */
}

.page-about-our-story__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about-our-story__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F2C14E; /* Main brand color */
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
    line-height: 1.3;
}

.page-about-our-story__content-block {
    margin-bottom: 40px;
}

.page-about-our-story__content-block p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main color */
}

.page-about-our-story__content-block a {
    color: #FFD36B; /* Glow color for links */
    text-decoration: underline;
}

.page-about-our-story__content-block a:hover {
    color: #F2C14E; /* Main brand color on hover */
}

/* Image and Text Group */
.page-about-our-story__image-text-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-about-our-story__image-text-group--reversed {
    flex-direction: row-reverse;
}

.page-about-our-story__image {
    flex: 1;
    min-width: 300px; /* Ensure images don't get too small */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure no extra space below image */
}

.page-about-our-story__text-content {
    flex: 2;
    min-width: 300px;
}

.page-about-our-story__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #FFD36B; /* Auxiliary brand color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about-our-story__sub-title:first-child {
    margin-top: 0;
}

/* Call to Action Section */
.page-about-our-story__section--cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors gradient */
    text-align: center;
}

.page-about-our-story__cta-content {
    max-width: 900px;
}

.page-about-our-story__cta-content .page-about-our-story__section-title {
    color: #111111; /* Dark text on light background */
    margin-bottom: 20px;
}

.page-about-our-story__cta-description {
    font-size: 1.2rem;
    color: #333333; /* Dark text on light background */
    margin-bottom: 40px;
}

.page-about-our-story__cta-description a {
    color: #0A0A0A; /* Darker link on light background */
    text-decoration: underline;
    font-weight: bold;
}

.page-about-our-story__cta-description a:hover {
    color: #111111;
}

/* Buttons */
.page-about-our-story__btn-primary,
.page-about-our-story__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Important for mobile responsiveness */
    box-sizing: border-box; /* Important for mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-about-our-story__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
    color: #111111; /* Dark text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about-our-story__btn-primary:hover {
    background: linear-gradient(180deg, #FFE082 0%, #E8B42F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about-our-story__btn-secondary {
    background: transparent;
    color: #111111; /* Dark text for contrast */
    border: 2px solid #111111; /* Border color */
    box-shadow: none;
}

.page-about-our-story__btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about-our-story__btn-primary--large,
.page-about-our-story__btn-secondary--large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about-our-story__hero-title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }

    .page-about-our-story__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    }

    .page-about-our-story__sub-title {
        font-size: clamp(1.4rem, 2.5vw, 2rem);
    }

    .page-about-our-story__image-text-group {
        flex-direction: column;
        gap: 30px;
    }

    .page-about-our-story__image-text-group--reversed {
        flex-direction: column; /* Stacks vertically even when reversed */
    }

    .page-about-our-story__image,
    .page-about-our-story__text-content {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about-our-story {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about-our-story__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile specific header offset */
        padding-bottom: 40px;
        min-height: 400px;
    }

    .page-about-our-story__hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .page-about-our-story__hero-description {
        font-size: 1rem;
    }

    .page-about-our-story__section {
        padding: 60px 0;
    }

    .page-about-our-story__section-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
        margin-bottom: 40px;
    }

    .page-about-our-story__sub-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

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

    /* Containers for images/buttons */
    .page-about-our-story__section,
    .page-about-our-story__container,
    .page-about-our-story__hero-content-wrapper,
    .page-about-our-story__content-block,
    .page-about-our-story__image-text-group,
    .page-about-our-story__hero-cta-buttons,
    .page-about-our-story__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button responsiveness */
    .page-about-our-story__btn-primary,
    .page-about-our-story__btn-secondary,
    .page-about-our-story a[class*="button"],
    .page-about-our-story 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; /* Added for consistency with container padding */
        padding-right: 15px; /* Added for consistency with container padding */
        margin-bottom: 15px; /* Add space between stacked buttons */
    }
    
    .page-about-our-story__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }

    .page-about-our-story__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
    .page-about-our-story__cta-buttons .page-about-our-story__btn-primary,
    .page-about-our-story__cta-buttons .page-about-our-story__btn-secondary {
        margin-bottom: 0; /* Reset margin-bottom if gap is used */
    }
}