/* ================================================
   HENDOSHI - PAGES - ABOUT
   ================================================
   
   Purpose: About page specific styling and enhancements
   
   Contains:
   - Stats section cards
   - About page layout
   - Team/company information displays
   - Interactive stat cards
   
   Dependencies: variables.css, ui-components.css
   Load Order: Load after foundation and components
   ================================================ */

/* Stats Section */
.about-stats-section {
    padding-bottom: 0 !important;
}

.about-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
    cursor: default;
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.2);
}

.stat-icon {
    margin-bottom: 1rem;
    color: var(--neon-pink);
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.stat-number {
    margin-bottom: 0.75rem;
    color: var(--off-white);
    font-weight: 900;
    font-size: 2.5rem;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
    text-shadow: 0 2px 10px rgba(255, 20, 147, 0.3);
}

.stat-label {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stat-icon {
        margin-bottom: 0.75rem;
        font-size: 2rem;
    }

    .stat-number {
        margin-bottom: 0.5rem;
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .about-stat-card {
        min-height: 160px;
        padding: 1.5rem 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background: rgba(0, 0, 0, 0.2);
    padding-top: 0 !important;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    border: 1px solid rgba(255, 105, 180, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--electric-yellow);
    box-shadow: 0 10px 30px rgba(255, 255, 0, 0.15);
}

.testimonial-stars {
    margin-bottom: 1rem;
    color: var(--electric-yellow);
    font-size: 1.2rem;
}

.testimonial-stars i {
    margin-right: 0.25rem;
}

.testimonial-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--off-white);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    padding-top: 1rem;
    gap: 1rem;
    border-top: 1px solid rgba(255, 105, 180, 0.2);
}

.testimonial-author,
.author-avatar {
    display: flex;
    align-items: center;
}

.author-avatar {
    flex-shrink: 0;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-pink), var(--electric-yellow));
    color: var(--black);
    font-size: 1.5rem;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--off-white);
}

.author-meta {
    color: var(--gray);
    font-size: 0.85rem;
}

/* About Buttons */
.about-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
}

.about-quote {
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 4px solid var(--neon-pink);
    border-radius: 8px;
    background: rgba(255, 20, 147, 0.05);
    color: var(--neon-pink);
    font-style: italic;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number,
    .stat-icon {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }
}

/* About page specific section title styling */
.about-section .section-title {
    font-size: 2rem;
    letter-spacing: 2px;
}

/* ================================================
   LIGHT MODE OVERRIDES
   ================================================ */
:root.light-mode .about-stat-card {
    background: rgba(0, 0, 0, 0.03);
}

:root.light-mode .about-stat-card:hover {
    background: rgba(0, 0, 0, 0.05);
}

:root.light-mode .testimonials-section {
    background: rgba(255, 255, 255, 0.5);
}

:root.light-mode .testimonial-card {
    background: rgba(0, 0, 0, 0.03);
}

:root.light-mode .stat-number {
    color: #222;
}

:root.light-mode .stat-label {
    color: rgba(0, 0, 0, 0.6);
}

:root.light-mode .testimonial-text {
    color: #333;
}

:root.light-mode .testimonial-author strong {
    color: #222;
}

:root.light-mode .author-meta {
    color: rgba(0, 0, 0, 0.6);
}

/* Light-mode background for the testimonials container (page-scoped via ID) */
:root.light-mode #about-testimonials-container {
    background: #f5f5f5;
    margin-bottom: -3rem;
    padding-bottom: 2rem;
}

:root.light-mode #about-contact-card {
    background: #f5f5f5;
}


/* Override the gray background for about page contact section */
.contact-form-section {
    background: transparent !important;
    padding-top: 0 !important;
}

/* Page-scoped contact card spacing */
#about-contact-card {
    padding-top: 0.5rem;
}

/* Collections list */
.about-collections-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
}

.about-collections-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--off-white);
    font-size: 0.9rem;
    margin: 0;
}

.about-collections-list li i {
    color: var(--neon-pink);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* Jasmine origin story */
.jasmine-story {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin: 2rem 0;
}

.jasmine-photo-col {
    flex-shrink: 0;
    text-align: center;
}

.jasmine-photo-wrap {
    width: 180px;
    height: 180px;
    min-width: 180px;
    min-height: 180px;
    max-width: 180px;
    max-height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--neon-pink);
    box-shadow: 0 0 24px rgba(255, 20, 147, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.jasmine-photo {
    display: block;
    width: 180px;
    height: 180px;
    max-width: 180px;
    max-height: 180px;
    object-fit: cover;
    object-position: center top;
}

.jasmine-caption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.jasmine-text-col {
    flex: 1;
    min-width: 0;
}

.jasmine-title {
    color: var(--neon-pink);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.jasmine-text-col p {
    color: var(--off-white);
    line-height: 1.75;
    margin-bottom: 0.85rem;
    font-size: 0.97rem;
}

.jasmine-quote {
    margin: 1rem 0 0;
    padding: 0.85rem 1.25rem;
    border-left: 3px solid var(--neon-pink);
    background: rgba(255, 20, 147, 0.05);
    border-radius: 6px;
    color: var(--neon-pink);
    font-style: italic;
    font-weight: 600;
    font-size: 0.97rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .jasmine-story {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .jasmine-photo-wrap {
        width: 140px;
        height: 140px;
    }

    .jasmine-text-col {
        text-align: center;
    }

    .jasmine-quote {
        text-align: left;
    }
}

/* Light mode */
.about-collections-list li:last-child {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    font-size: 0.82rem;
}

:root.light-mode .about-collections-list li { color: #1a1a1a; }
:root.light-mode .about-collections-list li:last-child { color: rgba(0, 0, 0, 0.35); }
:root.light-mode .jasmine-caption { color: rgba(0, 0, 0, 0.4); }
:root.light-mode .jasmine-text-col p { color: #1a1a1a; }

/* Community section */
.about-community-text {
    max-width: 540px;
    margin: 0 auto;
    color: rgba(245, 245, 245, 0.6);
    font-size: 1rem;
    line-height: 1.7;
}

.about-community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 20, 147, 0.15);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.about-community-card:hover {
    border-color: var(--neon-pink);
    background: rgba(255, 20, 147, 0.07);
    transform: translateY(-3px);
    text-decoration: none;
}

.about-community-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 20, 147, 0.12);
    border: 1px solid rgba(255, 20, 147, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-pink);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.about-community-card strong {
    color: var(--off-white);
    font-size: 0.95rem;
    font-weight: 700;
}

.about-community-card span {
    color: rgba(245, 245, 245, 0.45);
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 768px) {
    .about-community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .about-community-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

:root.light-mode .about-community-text { color: rgba(30, 30, 40, 0.6); }
:root.light-mode .about-community-card { background: rgba(0,0,0,0.03); border-color: rgba(255,20,147,0.12); }
:root.light-mode .about-community-card strong { color: #1a1a2e; }
:root.light-mode .about-community-card span { color: rgba(30,30,40,0.5); }
