/* ============================================
   BRAND INTRODUCTION SECTION
   ============================================ */

.brand-intro-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   RED SECTION
   ============================================ */

.red-section {    background: #e93c1a;

    position: relative;
    height: 1050px;
    padding: 40px 0 60px;
    z-index: 1; /* 이미지 뒤로 이동 */
    overflow: hidden;
}

.red-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.red-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../img/dot.png') top left;
    z-index: 2;
    pointer-events: none;
}

.red-video-background > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.red-video-background iframe,
.red-video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    border: none;
}

/* Desktop styles - revenue-section과 동일 */
@media (min-width: 751px) {
    .red-video-background {
        height: 1050px;
    }
    
    .red-video-background iframe,
    .red-video-background video {
        height: 1050px;
        min-height: 1050px;
    }
}

.brand-content {
    text-align: center;
    position: relative;
    z-index: 5; /* 텍스트는 이미지 위에 표시 */
    padding-top: 50px; /* 상단 여백 추가 */
    width: 100%; /* PC에서 100% 너비 */
}

.brand-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-list li {
    font-family: 'GmarketSans', sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
}

.title-line {
    font-weight: 700;
    font-size: 72px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1;
    display: block;
}

.description-line {
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    margin-top: 20px;
    max-width: 100%;
    padding: 0 50px;
}

.description-line strong {
    font-weight: 700;
    color: #ffd700;
}

.description-line .hashtags {
    color: #fff;
    font-weight: 600;
}

/* ============================================
   PURPLE SECTION
   ============================================ */

.purple-section {
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 2px, transparent 2px),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%),
        #e93c1a;
    background-size: 20px 20px, 20px 20px, 40px 40px;
    position: relative;
    height: 300px;
    z-index: 2;
    overflow: hidden;
}

.food-images-container {
    position: absolute;
    top: 600px; /* 이미지를 더 위로 올림 */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* 최상단 z-index */
}

.food-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
    width: 100%;
    max-width: 1200px;
}

.food-item img {
    width: 1200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.food-item:hover img {
    transform: scale(1.05);
}

.food-label {
    font-family: 'GmarketSans', sans-serif;
    font-size: 12px;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    font-weight: 600;
}

/* Food Item Sizes */
.chicken-box {
    width: 100%;
    height: 100%;
}

/* ============================================
   GRAY SECTION
   ============================================ */s

.gray-section {
    position: relative;
    flex: 0 0 auto;
    height: 250px !important;
    padding: 0 !important;
    margin-top: 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px !important;
}

.gray-section .container-fluid {
    height: 100% !important;
    padding: 0 !important;
}

.gray-section .row {
    height: 100% !important;
    margin: 0 !important;
}

.gray-section .col-12 {
    height: 100% !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
}

.bottom-message h3 {
    font-family: 'GmarketSans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.bottom-message p {
    font-family: 'GmarketSans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Desktop styles - PC에서 확실한 높이 고정 */
@media (min-width: 751px) {
    .gray-section {
        height: 250px !important;
        min-height: 250px !important;
        padding: 0 !important;
        margin-top: 40px !important;
    }
    
    .gray-section .container-fluid {
        height: 250px !important;
        padding: 0 !important;
    }
    
    .gray-section .row {
        height: 250px !important;
        margin: 0 !important;
    }
    
    .gray-section .col-12 {
        height: 250px !important;
        padding: 0 !important;
    }
}

@media (max-width: 750px) {
    .brand-intro-section {
        min-height: auto;
    }

    .red-section {
        height: 500px;
        padding: 40px 0 30px;
    }

    /* 모바일에서 비디오 풀화면 설정 - revenue-section과 동일 */
    .red-video-background {
        height: 500px !important;
    }
    
    .red-video-background > div,
    .red-video-background div[data-vbg],
    .red-video-background iframe,
    .red-video-background video,
    .red-video-background embed,
    .red-video-background object,
    .red-video-background .vbg-video,
    .red-video-background .vbg-container,
    .red-video-background .vbg-video-wrapper {
        height: 500px !important;
        width: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: scale(1.2) !important;
    }
    
    .red-video-background iframe {
        width: 178vh !important;
        left: 50% !important;
        transform: translateX(-50%) scale(1.2) !important;
    }

    .title-line {
        font-size: 48px;
    }

    .description-line {
        font-size: 14px;
        line-height: 22px;
        padding: 0 30px;
        margin-top:20px;
    }

    .purple-section {
        height: 250px;
    }

    .food-images-container {
        top: 340px; /* 모바일에서 이미지 위치 조정 */
    }

    .food-item img {
        width: 100%;
        max-width: 600px;
    }

    .brand-content {
        padding-top: 30px; /* 모바일에서 상단 여백 조정 */
        width: 90%; /* 모바일에서 90% 너비 */
        margin: 0 auto; /* 중앙 정렬 */
    }

    .gray-section {
        height: 120px;
        padding: 0;
        margin-top: 20px;
    }

    .bottom-message {
        padding: 0 30px;
    }

    .bottom-message h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .bottom-message p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .red-section {
        height: 400px;
        padding: 30px 0 20px;
    }

    /* 480px에서 비디오 풀화면 설정 - revenue-section과 동일 */
    .red-video-background {
        height: 400px !important;
    }
    
    .red-video-background > div,
    .red-video-background div[data-vbg],
    .red-video-background iframe,
    .red-video-background video,
    .red-video-background embed,
    .red-video-background object,
    .red-video-background .vbg-video,
    .red-video-background .vbg-container,
    .red-video-background .vbg-video-wrapper {
        height: 400px !important;
        width: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: scale(1.2) !important;
    }
    
    .red-video-background iframe {
        width: 178vh !important;
        left: 50% !important;
        transform: translateX(-50%) scale(1.2) !important;
    }

    .title-line {
        font-size: 36px;
    }

    .description-line {
        font-size: 12px;
        line-height: 18px;
        padding: 0 20px;
        margin-top: 20px;
    }

    .purple-section {
        height: 200px;
    }

    .food-images-container {
        top: 340px; /* 480px에서 이미지 위치 조정 */
    }

    .food-item img {
        width: 100%;
        max-width: 400px;
    }

    .brand-content {
        padding-top: 25px; /* 480px에서 상단 여백 조정 */
        width: 90%; /* 480px에서도 90% 너비 */
        margin: 0 auto; /* 중앙 정렬 */
    }

    .gray-section {
        height: 120px;
        padding: 0;
        margin-top: 20px;
    }

    .bottom-message {
        padding: 0 20px;
    }

    .bottom-message h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .bottom-message p {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .red-section {
        height: 350px;
        padding: 25px 0 15px;
    }

    /* 320px에서 비디오 풀화면 설정 - revenue-section과 동일 */
    .red-video-background {
        height: 350px !important;
    }
    
    .red-video-background > div,
    .red-video-background div[data-vbg],
    .red-video-background iframe,
    .red-video-background video,
    .red-video-background embed,
    .red-video-background object,
    .red-video-background .vbg-video,
    .red-video-background .vbg-container,
    .red-video-background .vbg-video-wrapper {
        height: 350px !important;
        width: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: scale(1.2) !important;
    }
    
    .red-video-background iframe {
        width: 178vh !important;
        left: 50% !important;
        transform: translateX(-50%) scale(1.2) !important;
    }

    .title-line {
        font-size: 28px;
    }

    .description-line {
        font-size: 11px;
        line-height: 16px;
        margin-top: 20px;
    }

    .food-images-container {
        top: 340px; /* 320px에서 이미지 위치 조정 */
    }

    .food-item img {
        width: 100%;
        max-width: 300px;
    }

    .brand-content {
        padding-top: 20px; /* 320px에서 상단 여백 조정 */
        width: 90%; /* 320px에서도 90% 너비 */
        margin: 0 auto; /* 중앙 정렬 */
    }

    .bottom-message h3 {
        font-size: 14px;
    }

    .bottom-message p {
        font-size: 11px;
    }

    .gray-section {
        height: 120px;
        padding: 0;
        margin-top: 20px;
    }
}