/**
 * Brand Philosophy Section Styles
 * 숨카(SUMCAR) 프로젝트 - 브랜드 철학 섹션
 */

/* ========================================
   Brand Philosophy Section
   ======================================== */
.brand-philosophy {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

/* ========================================
   Background Image & Overlay
   ======================================== */
.brand-philosophy__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.brand-philosophy__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.brand-philosophy__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   Container
   ======================================== */
.brand-philosophy__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    max-width: var(--container-max-width, 1200px);
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px 80px 400px;
    padding: var(--space-80, 80px) var(--space-24, 24px) var(--space-80, 80px) 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ========================================
   Content
   ======================================== */
.brand-philosophy__text {
    font-size: 42px;
    font-weight: 700;
    font-weight: var(--fw-bold, 700);
    color: #000000;
    line-height: 1.3;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 120px;
    margin-right: -260px;
    animation: fadeInRight 1s ease-out;
    animation-fill-mode: both;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.brand-philosophy__text-line {
    display: inline-block;
}

.brand-philosophy__text-highlight {
    color: #2199B1;
}

/* ========================================
   Button
   ======================================== */
.brand-philosophy__button-wrapper {
    position: relative;
    margin-right: -260px;
    animation: fadeInRight 1s ease-out 0.5s;
    animation-fill-mode: both;
    align-self: flex-end;
}

.brand-philosophy__button {
    font-size: 34px;
    font-weight: 600;
    font-weight: var(--fw-semibold, 600);
    color: #FFFFFF;
    color: var(--c-text-light, #FFFFFF);
    background-color: #2199B1;
    border: none;
    border-radius: 50px;
    padding: 20px 48px;
    padding: var(--space-20, 20px) var(--space-48, 48px);
    text-decoration: none;
    display: inline-block;
    transition: all 300ms ease;
    transition: all var(--transition-base, 300ms ease);
}

.brand-philosophy__button:hover {
    background-color: #1a7f94;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(33, 153, 177, 0.4);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUpCentered {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========================================
   Tablet Responsive
   ======================================== */
@media (max-width: 991px) {
    .brand-philosophy__container {
        padding: 64px 32px;
        padding: var(--space-64, 64px) var(--space-32, 32px);
        align-items: center;
    }

    .brand-philosophy__text {
        font-size: 32px;
        align-items: center;
        margin-bottom: 100px;
    }

    .brand-philosophy__text-line {
        text-align: center;
    }

    .brand-philosophy__button {
        font-size: 28px;
        padding: 16px 40px;
        padding: var(--space-16, 16px) var(--space-40, 40px);
    }

    .brand-philosophy__button-wrapper {
        bottom: 20px;
    }
}

/* ========================================
   Mobile Responsive
   ======================================== */
@media (max-width: 767px) {
    .brand-philosophy {
        min-height: auto;
        flex-direction: column;
        justify-content: flex-start;
    }

    .brand-philosophy__background {
        position: relative;
        width: 100%;
        height: 45vh;
    }

    .brand-philosophy__background-image {
        object-position: 8% center;
    }

    .brand-philosophy__overlay {
        display: none;
    }

    .brand-philosophy__container {
        position: relative;
        padding: 48px 16px;
        padding: var(--space-48, 48px) var(--space-16, 16px);
        background: #FFFFFF;
        align-items: center;
    }

    .brand-philosophy__text {
        font-size: 24px;
        align-items: center;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .brand-philosophy__text-line {
        text-align: center;
    }

    .brand-philosophy__button {
        font-size: 18px;
        padding: 14px 28px;
        padding: var(--space-14, 14px) var(--space-28, 28px);
    }

    .brand-philosophy__button-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        animation: fadeInUp 1s ease-out 0.5s;
        margin-right: 0;
        text-align: center;
        align-self: center;
    }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .brand-philosophy__text,
    .brand-philosophy__button-wrapper {
        animation: none;
    }
}
