/* 브랜드 소개 페이지 전용 CSS */
/* CSS 버전: 1.0.7 */

.brand-intro-section {
    padding: 100px 0 120px 0;
    min-height: calc(100vh - 200px);
}

.brand-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 섹션 */
.brand-header {
    text-align: center;
}

.brand-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #212529;
    margin: 0 0 30px 0;
    letter-spacing: -1px;
}

.brand-divider {
    width: 80px;
    height: 4px;
    background: #0058a3;
    border: none;
    margin: 0 auto;
}

/* 브랜드 의미 설명 섹션 */
.brand-meaning-section {
    margin-bottom: 80px;
    text-align: center;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.brand-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.6;
    word-spacing: 0.1em;
}

.brand-line-1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.brand-line-2 {
    font-size: 28px;
    font-weight: 600;
}

.brand-line-3 {
    font-size: 28px;
    font-weight: 600;
}

.brand-line-4 {
    font-size: 28px;
    font-weight: 400;
}

/* 색상 스타일 - 이미지와 동일한 색상 */
.brand-word-re {
    color: #60a5fa;
    font-weight: 800;
}

.brand-word-market {
    color: #ff6b35;
    font-weight: 800;
}

.brand-word-en {
    color: #60a5fa;
    font-weight: 700;
}

.brand-word-kr {
    color: #1e3a8a;
    font-weight: 600;
}

.brand-separator {
    color: #1e3a8a;
}

.brand-quote {
    color: #1e3a8a;
}

/* 브랜드 이미지 섹션 */
.brand-image-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.brand-image-wrapper {
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    padding: 20px;
}

.brand-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

/* 리마켓 히스토리 섹션 */
.brand-history-section {
    padding: 80px 0;
}

.brand-history-header {
    text-align: center;
    margin-bottom: 80px;
}

.brand-history-title {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #0058a3 0%, #00a8cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-history-subtitle {
    font-size: 20px;
    color: #4a5568;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* 타임라인 컨테이너 */
.brand-history-timeline {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.brand-history-timeline::before {
    content: '';
    position: absolute;
    left: 400px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0058a3 0%, #00a8cc 100%);
    border-radius: 2px;
}

/* 히스토리 아이템 */
.history-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 80px;
    padding-left: 0;
}

.history-item:last-child {
    margin-bottom: 0;
}

/* 히스토리 이미지 */
.history-image-wrapper {
    flex-shrink: 0;
    width: 332px;
    height: 240px;
    position: relative;
}

/* 이미지가 없는 경우 - 완전히 투명하게 */
.history-image-wrapper.empty {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

/* 이미지가 있는 경우 스타일 적용 */
.history-image-wrapper:not(.empty) {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 88, 163, 0.15);
    background: #ffffff;
    border: 3px solid #e2e8f0;
    transition: all 0.3s ease;
}

.history-image-wrapper:not(.empty):hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 88, 163, 0.25);
    border-color: #0058a3;
}

.history-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 히스토리 콘텐츠 */
.history-content {
    flex: 1;
    padding-top: 10px;
    position: relative;
}

.history-year {
    font-size: 36px;
    font-weight: 900;
    color: #0058a3;
    margin: 0 0 30px 0;
    line-height: 1;
    position: relative;
    padding-left: 20px;
    letter-spacing: -2px;
}

.history-year::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #0058a3;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #0058a3;
    z-index: 2;
}

.history-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 30px;
}

.history-event {
    font-size: 18px;
    color: #2d3748;
    line-height: 1.7;
    padding: 12px 20px;
    background: #ffffff;
    border-radius: 10px;
    border-left: 4px solid #0058a3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.history-event:hover {
    background: #f7fafc;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 88, 163, 0.1);
    border-left-color: #00a8cc;
}

.history-event::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #0058a3;
    font-weight: 900;
    font-size: 20px;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .brand-intro-section {
        padding: 80px 0 100px 0;
    }

    .brand-header {
        margin-bottom: 60px;
    }

    .brand-main-title {
        font-size: 36px;
    }

    .brand-text-wrapper {
        padding: 50px 30px;
        gap: 25px;
    }

    .brand-line-1 {
        font-size: 40px;
    }

    .brand-line-2,
    .brand-line-3,
    .brand-line-4 {
        font-size: 24px;
    }

    .brand-image-section {
        gap: 35px;
    }

    .brand-history-section {
        margin-top: 80px;
        padding: 60px 0;
    }

    .brand-history-title {
        font-size: 40px;
    }

    .brand-history-subtitle {
        font-size: 18px;
    }

    .brand-history-timeline {
        padding: 0 30px;
    }

    .brand-history-timeline::before {
        left: 280px;
    }

    .history-item {
        gap: 30px;
        margin-bottom: 60px;
    }

    .history-image-wrapper {
        width: 240px;
        height: 160px;
    }
    
    .history-image-wrapper.empty {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .history-year {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .history-event {
        font-size: 16px;
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    .brand-intro-section {
        padding: 60px 0 80px 0;
    }

    .brand-intro-container {
        padding: 0 20px;
    }

    .brand-header {
        margin-bottom: 50px;
    }

    .brand-main-title {
        font-size: 28px;
    }

    .brand-meaning-section {
        margin-bottom: 50px;
    }

    .brand-text-wrapper {
        padding: 40px 25px;
        gap: 20px;
        border-radius: 16px;
    }

    .brand-line {
        justify-content: center;
        text-align: center;
    }

    .brand-line-1 {
        font-size: 32px;
    }

    .brand-line-2,
    .brand-line-3,
    .brand-line-4 {
        font-size: 18px;
    }

    .brand-image-section {
        gap: 30px;
    }

    .brand-image-wrapper {
        padding: 15px;
        border-radius: 16px;
    }

    .brand-history-section {
        margin-top: 60px;
        padding: 50px 0;
    }

    .brand-history-header {
        margin-bottom: 50px;
    }

    .brand-history-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .brand-history-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .brand-history-timeline {
        padding: 0 20px;
    }

    .brand-history-timeline::before {
        left: 30px;
    }

    .history-item {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 50px;
        padding-left: 60px;
    }

    .history-image-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        margin: 0 auto;
    }
    
    .history-image-wrapper.empty {
        background: transparent;
        border: none;
        box-shadow: none;
        height: 0;
        margin: 0;
    }

    .history-content {
        padding-top: 0;
    }

    .history-year {
        font-size: 36px;
        margin-bottom: 20px;
        padding-left: 0;
    }

    .history-year::before {
        left: -50px;
        width: 16px;
        height: 16px;
        border-width: 3px;
        box-shadow: 0 0 0 3px #0058a3;
    }

    .history-event {
        font-size: 15px;
        padding: 10px 14px;
    }
}

@media (max-width: 576px) {
    .brand-text-wrapper {
        padding: 30px 20px;
        gap: 16px;
    }

    .brand-line-1 {
        font-size: 28px;
    }

    .brand-line-2,
    .brand-line-3,
    .brand-line-4 {
        font-size: 16px;
    }

    .brand-image-section {
        gap: 25px;
    }

    .brand-image-wrapper {
        padding: 10px;
    }

    .brand-history-section {
        margin-top: 50px;
        padding: 40px 0;
    }

    .brand-history-title {
        font-size: 28px;
    }

    .brand-history-subtitle {
        font-size: 14px;
    }

    .brand-history-timeline {
        padding: 0 15px;
    }

    .brand-history-timeline::before {
        left: 25px;
    }

    .history-item {
        padding-left: 50px;
        margin-bottom: 40px;
    }

    .history-image-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }
    
    .history-image-wrapper.empty {
        background: transparent;
        border: none;
        box-shadow: none;
        height: 0;
    }

    .history-year {
        font-size: 32px;
    }

    .history-year::before {
        left: -40px;
        width: 14px;
        height: 14px;
        border-width: 2px;
        box-shadow: 0 0 0 2px #0058a3;
    }

    .history-event {
        font-size: 14px;
        padding: 8px 12px;
    }
}
