/* style/about.css */

/* Variables for colors */
:root {
    --k9k9-primary: #11A84E;
    --k9k9-secondary: #22C768;
    --k9k9-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --k9k9-card-bg: #11271B;
    --k9k9-background: #08160F;
    --k9k9-text-main: #F2FFF6;
    --k9k9-text-secondary: #A7D9B8;
    --k9k9-border: #2E7A4E;
    --k9k9-glow: #57E38D;
    --k9k9-gold: #F2C14E;
    --k9k9-divider: #1E3A2A;
    --k9k9-deep-green: #0A4B2C;
}

.page-about {
    color: var(--k9k9-text-main); /* Light text for dark background */
    background-color: var(--k9k9-background);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-about__hero-content-wrapper {
    max-width: 800px;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--k9k9-text-main);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2rem;
    color: var(--k9k9-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-about__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--k9k9-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-about__text-block {
    font-size: 1.1rem;
    color: var(--k9k9-text-main);
    margin-bottom: 30px;
    text-align: justify;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-about__btn-primary {
    background: var(--k9k9-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--k9k9-primary);
    border: 2px solid var(--k9k9-primary);
}

.page-about__btn-secondary:hover {
    background-color: var(--k9k9-primary);
    color: #ffffff;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Story Section */
.page-about__story-section {
    padding: 80px 0;
    background-color: var(--k9k9-background);
}

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

.page-about__value-card {
    background-color: var(--k9k9-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--k9k9-border);
}

.page-about__value-title {
    font-size: 1.5rem;
    color: var(--k9k9-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__value-description {
    color: var(--k9k9-text-secondary);
    font-size: 1rem;
}

/* Why Choose Section */
.page-about__why-choose-section {
    padding: 80px 0;
    background-color: var(--k9k9-deep-green);
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-about__feature-item {
    background-color: var(--k9k9-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--k9k9-border);
    text-align: center;
    padding-bottom: 30px;
}

.page-about__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-about__feature-title {
    font-size: 1.6rem;
    color: var(--k9k9-gold);
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-about__feature-description {
    color: var(--k9k9-text-secondary);
    font-size: 1rem;
    padding: 0 20px;
}

/* Products Section */
.page-about__products-section {
    padding: 80px 0;
    background-color: var(--k9k9-background);
}

.page-about__product-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__product-card {
    background-color: var(--k9k9-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--k9k9-border);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-about__product-title {
    font-size: 1.4rem;
    color: var(--k9k9-gold);
    margin: 20px 20px 10px 20px;
    font-weight: 600;
}

.page-about__product-description {
    color: var(--k9k9-text-secondary);
    font-size: 1rem;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

/* Commitment Section */
.page-about__commitment-section {
    padding: 80px 0;
    background-color: var(--k9k9-deep-green);
    text-align: center;
}

.page-about__commitment-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.page-about__commitment-item {
    background-color: var(--k9k9-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--k9k9-border);
}

.page-about__commitment-title {
    font-size: 1.5rem;
    color: var(--k9k9-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__commitment-description {
    color: var(--k9k9-text-secondary);
    font-size: 1rem;
}

/* Team Section */
.page-about__team-section {
    padding: 80px 0;
    background-color: var(--k9k9-background);
}

.page-about__team-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--k9k9-deep-green);
}

.page-about__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-about__faq-item {
    background-color: var(--k9k9-card-bg);
    border: 1px solid var(--k9k9-border);
    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 25px;
    font-size: 1.2rem;
    color: var(--k9k9-gold);
    font-weight: 600;
    cursor: pointer;
    background-color: var(--k9k9-card-bg);
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--k9k9-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
    max-height: 500px; /* Adjust as needed */
    transition: max-height 0.5s ease-in;
}

.page-about__faq-answer p {
    margin-bottom: 0;
}

.page-about__faq-answer a {
    color: var(--k9k9-primary);
    text-decoration: underline;
}

/* CTA Section */
.page-about__cta-section {
    padding: 80px 0;
    background-color: var(--k9k9-background);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-section {
        padding: 40px 0;
    }

    .page-about__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-about__hero-description {
        font-size: 1.1rem;
    }

    .page-about__section-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .page-about__text-block {
        font-size: 1rem;
    }

    .page-about__features-grid,
    .page-about__product-cards-grid,
    .page-about__values-grid,
    .page-about__commitment-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

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

    .page-about__container {
        padding: 0 15px;
    }

    .page-about__hero-section,
    .page-about__story-section,
    .page-about__why-choose-section,
    .page-about__products-section,
    .page-about__commitment-section,
    .page-about__team-section,
    .page-about__faq-section,
    .page-about__cta-section {
        padding: 40px 0;
    }

    .page-about__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-about__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-about__hero-description {
        font-size: 1rem;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-about__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-about__text-block {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-about__values-grid,
    .page-about__features-grid,
    .page-about__product-cards-grid,
    .page-about__commitment-items {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-about__feature-image,
    .page-about__product-image,
    .page-about__team-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__feature-item,
    .page-about__product-card,
    .page-about__value-card,
    .page-about__commitment-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px;
    }

    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-about__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 15px 20px;
    }

    /* Ensure all image containers are responsive */
    .page-about__hero-image-wrapper,
    .page-about__features-grid,
    .page-about__product-cards-grid,
    .page-about__team-section .page-about__container,
    .page-about__value-card,
    .page-about__feature-item,
    .page-about__product-card,
    .page-about__commitment-item,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
}

@media (max-width: 480px) {
    .page-about__hero-section {
        padding: 30px 0;
    }

    .page-about__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .page-about__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .page-about__faq-question {
        font-size: 0.95rem;
    }
}