/* ==========================================================================
   Mobile About Page Styles - Completely Independent
   ========================================================================== */

/* ---------------------------------- */
/* 1. Global Mobile Variables & Reset */
/* ---------------------------------- */
:root {
    --m-about-color-background: #0a0a0a;
    --m-about-color-text-primary: #ffffff;
    --m-about-color-text-secondary: #a0aec0;
    --m-about-color-text-tertiary: #718096;
    --m-about-color-border: #2d3748;
    --m-about-font-main: 'Pretendard', sans-serif;
}

/* Global reset for mobile about pages */
.m-about-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ensure no horizontal scroll on mobile */
html.m-about-page,
body.m-about-page {
    width: 100%;
    overflow-x: hidden;
}

body.m-about-page {
    font-family: var(--m-about-font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--m-about-color-background);
    color: var(--m-about-color-text-primary);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body.m-about-nav-is-open {
    overflow: hidden;
}

/* Global styles for mobile about page elements */
.m-about-page a {
    color: inherit;
    text-decoration: none;
}

.m-about-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.m-about-page main {
    width: 100%;
    overflow-x: hidden;
}

/* ---------------------------------- */
/* 2. Mobile Container & Utilities    */
/* ---------------------------------- */
.m-about-container {
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
}

/* ---------------------------------- */
/* 3. Animation & Effects             */
/* ---------------------------------- */
@keyframes m-about-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes m-about-marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.m-about-fade-in {
    animation: m-about-fadeIn 1s ease-out forwards;
}

.m-about-fade-in--delay-2 {
    animation-delay: 0.2s;
}

.m-about-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.m-about-reveal.m-about-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------- */
/* 4. Mobile Header & Navigation      */
/* ---------------------------------- */
.m-about-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
}

.m-about-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.m-about-header__logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 1001;
    color: var(--m-about-color-text-primary);
    text-decoration: none;
}

.m-about-nav-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
    cursor: pointer;
}

.m-about-nav-toggle__icon {
    width: 28px;
    height: 28px;
    color: var(--m-about-color-text-primary);
}

.m-about-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--m-about-color-background);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.m-about-mobile-nav.m-about-is-open {
    transform: translateX(0);
}

.m-about-mobile-nav__close-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.m-about-mobile-nav__links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.m-about-mobile-nav__item {
    margin: 2rem 0;
}

.m-about-mobile-nav__link {
    font-size: 2rem;
    font-weight: 500;
    color: var(--m-about-color-text-secondary);
    transition: color 0.3s;
    text-decoration: none;
}

.m-about-mobile-nav__link:hover,
.m-about-mobile-nav__link.m-about-is-active {
    color: var(--m-about-color-text-primary);
}

/* ---------------------------------- */
/* 5. Section Headers                 */
/* ---------------------------------- */
.m-about-section-header__subtitle {
    font-size: 0.875rem;
    color: var(--m-about-color-text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}

.m-about-section-header__title {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 1rem;
    line-height: 1.3;
    margin-bottom: 0;
}

.m-about-section-header__description {
    margin-top: 1.5rem;
    color: var(--m-about-color-text-secondary);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ---------------------------------- */
/* 6. About Hero Section              */
/* ---------------------------------- */
.m-about-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    background-image:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?q=80&w=2158&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

/* ---------------------------------- */
/* 7. Journey Timeline Section        */
/* ---------------------------------- */
.m-about-journey-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.m-about-journey-step {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.m-about-journey-step__number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--m-about-color-text-tertiary);
    margin-bottom: 1rem;
}

.m-about-journey-step__title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.m-about-journey-step__text {
    color: var(--m-about-color-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.m-about-journey-step__image {
    width: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ---------------------------------- */
/* 8. Team Section                    */
/* ---------------------------------- */
.m-about-team-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 4rem;
}

.m-about-team-member {
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: var(--m-about-color-background-secondary);
}

.m-about-team-member__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.m-about-team-member__info {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--m-about-color-background-secondary);
}

.m-about-team-member__name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--m-about-color-text-primary);
    margin: 0 0 0.25rem 0;
}

.m-about-team-member__role {
    color: var(--m-about-color-text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* ---------------------------------- */
/* 9. Awards Section                  */
/* ---------------------------------- */
.m-about-awards {
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-top: 1px solid var(--m-about-color-border);
    border-bottom: 1px solid var(--m-about-color-border);
    overflow: hidden;
}

.m-about-awards__marquee {
    display: flex;
    width: 200%;
    animation: m-about-marquee 30s linear infinite;
}

.m-about-awards__list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    align-items: center;
}

.m-about-awards__item {
    font-size: 1rem;
    font-weight: 500;
    color: var(--m-about-color-text-secondary);
    margin: 0 2rem;
    white-space: nowrap;
}

.m-about-awards__item strong {
    font-weight: 600;
    color: var(--m-about-color-text-primary);
}

/* ---------------------------------- */
/* 10. Outro/CTA Section              */
/* ---------------------------------- */
.m-about-outro {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.m-about-outro__title {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 20ch;
    margin: 0 auto;
}

.m-about-outro__subtitle {
    margin-top: 1.5rem;
    color: var(--m-about-color-text-secondary);
    font-size: 1.125rem;
    max-width: 50ch;
}

.m-about-outro__cta {
    margin-top: 3rem;
    display: inline-block;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border: 1px solid var(--m-about-color-border);
    border-radius: 99px;
    color: var(--m-about-color-text-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.m-about-outro__cta:hover {
    background-color: var(--m-about-color-text-primary);
    color: var(--m-about-color-background);
}