/*
Theme Name: Beauty Uplog
Author: sm.lee
Contact: servicemindset99@gmail.com
Description: Beauty Uplog Korea를 위한 테마입니다.
Version: 1.0
Text Domain: beautyuplog

Copyright © 2025 sm.lee. All rights reserved.
제작자에게 모든 권리가 있습니다. 무단 복제 및 배포를 금합니다.
*/

/* ---------------------------------------------------- */
/* 1. 변수 및 기본 설정 (Variables & Basic Styles)
/* ---------------------------------------------------- */
:root {
    --pretendard: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    --pink-color: #fb80db;
    --mudpink-color: #ce9196;
    --white-color: #ffffff;
    --black-color: #000000;
    --main-text: #2d2d2d;
    --sub-text: #666666;
    --hover-color: #b24b5a;
    --background-color: #fafaff;
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--pretendard);
    line-height: 1.6;
    color: var(--white-color);
    background-color: var(--black-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;	
}
img, video {
  -webkit-user-drag: none; /* 드래그 방지 */
  user-drag: none;
}
a {
    text-decoration: none;
    color: inherit;
}
h1:not(.main-banner h1, .main-banner h2, .influencer-hero-banner h1, .influencer-hero-banner h2) {
    color:var(--main-text);
    font-weight: 700;
}
subtitle, h2, h3 {color:var(--sub-text);}
.main-banner h2 {color: #ffffff;}
p {color:var(--sub-text) !important;}
p.pink_text {
    color: var(--main-text) !important;
}
.cta-section h3, .cta-section p {
    color: #ffffff !important;
}
/* ---------------------------------------------------- */
/* 2. 헤더 및 네비게이션 (Header & Navigation)
/* ---------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 로고 이미지 */
#logo-image {
    max-width: 50%;
    align-items: center;
    display: flex;
    background-image: url('https://beautyuplog.com/wp-content/uploads/2025/08/뷰티업로그-로고-e1755830872733.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;    
    width: 15vw;
    height: -webkit-fill-available;
}

/* 데스크톱 메뉴 컨테이너 */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

header.scrolled {
    background-color: var(--white-color);
    color: var(--mudpink-color);
    border-bottom: 1px solid #ddd;
}

header.scrolled .nav-links a {
    color: var(--mudpink-color);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--white-color);
    text-decoration: none;
}

header.scrolled #logo-image {
    color: var(--black-color);
    background-image: url('https://beautyuplog.com/wp-content/uploads/2025/09/뷰티업로그로고.png');
    filter: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {    
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
    word-wrap: break-word;
}

.nav-links a:hover {
    color: #b24b5a;
}

header.scrolled .nav-links a:hover {
    color: #b24b5a;
}

/* 언어 선택 메뉴 */
.language-switcher {
    position: relative;
    z-index: 100;
}

.language-switcher select {
    background-color: transparent;
    color: var(--white-color);
    border: 1px solid var(--white-color);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--pretendard);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--pink-color);
}

header.scrolled .language-switcher select {
    background-color: var(--white-color);
    color: var(--black-color);
    border-color: var(--black-color);
}

li:has(a[href="/review/"]) {
    display: none;
}
/* 햄버거 버튼 스타일 (데스크톱에서는 숨김) */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

header.scrolled .hamburger .bar {
    background-color: var(--black-color);
}

/* 햄버거 메뉴가 열렸을 때 버튼 변화 */
.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 모바일 메뉴 컨테이너 스타일 */
.mobile-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    right: -100%; /* 초기에는 화면 밖에 숨김 */
    width: 77%; /* 데스크톱 메뉴와 구분하기 위해 너비 설정 */
    height: 100vh;
    background-color: var(--white-color);
    z-index: 50;
    transition: right 0.3s ease-in-out;
    padding-top: 100px;
}

.mobile-menu-container.is-active {
    right: 0; /* 활성화 시 화면 안으로 들어옴 */
}

.mobile-menu-container .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-menu-container .nav-links a {
    color: var(--black-color);
    font-size: 20px;
    padding: 15px 0;
    display: block;
    width: 100%;
    text-align: center;
}

.mobile-menu-container .language-switcher select {
    color: var(--black-color);
    border-color: var(--black-color);
    background-color: var(--white-color);
}
/* 모바일 메뉴 컨테이너 (왼쪽에서 슬라이드) */
.mobile-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 77vw;
    height: 100vh;
    background: #252525;
    z-index: 1000;
    transform: translateX(-100%); /* 기본적으로 왼쪽 화면 밖으로 숨김 */
    transition: transform 0.3s ease-in-out;
    padding-top: 20px; /* 헤더 높이만큼 여백 */
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}

.mobile-menu-container.open {
    transform: translateX(0); /* .open 클래스 추가 시 왼쪽에서 나타남 */
}
.mobile-menu-container .nav-links a {
    color: #fff; /* 모바일 메뉴의 기본 링크 색상 */
    padding: 1px;
    display: block;
    text-decoration: none;
}
.mobile-menu-container .nav-links {
	align-items: flex-start;
	padding-left: 15px;
    gap: 0;	
}
/* 현재 페이지 링크 색상 (요청하신 #fb80db) */
.mobile-menu-container .nav-links a.current-page {
    color: #fb80db;
}
.mobile-menu-container .close-btn {
    background: none;
    border: none;
    right: 20px;
}
/* 언어 선택 메뉴 */
.language-switcher {
    margin-top: 20px;
    padding: 0 20px;
}

/* 모바일 메뉴가 열렸을 때 스크롤 방지 */
body.menu-open {
    overflow: hidden;
}

/* 데스크톱에서는 햄버거 버튼과 모바일 메뉴 숨기기 */
@media (min-width: 768px) {
    .hamburger, .mobile-menu-container {
        display: none;
    }
}
@media (max-width: 768px) {
#logo-image {
    width: 50vw;
    max-width: none;
}
.scrolled #logo-image {
    max-width: 95%;    
    margin: 0 auto;
    padding-left: 10%;
    width: 55vw;
}
    header.scrolled {height: 70px;}
}

/* ---------------------------------------------------- */
/* 3. 섹션별 스타일 (Section-specific Styles)
/* ---------------------------------------------------- */

/* 메인 배너 섹션 (page-home.php) */
.main-banner {
    position: relative;
    width: 100vw;
    height: 260vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.main-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://uplog02.mycafe24.com/wp-content/uploads/2025/08/KakaoTalk_20250811_143912482-scaled.jpg') no-repeat center center/cover;
    z-index: -1;
}

.main-banner h1 {
    margin: 0 auto;
    font-size: 72px;
    position: relative;
    bottom: 35%;
    letter-spacing: -4px;
    text-align: center;
    line-height: 1.2;
    animation: fadeInFromLeft 1s ease-out forwards;
    opacity: 0;
}

.main-banner h1 .highlight {
    color: var(--pink-color);
}

.main-banner .subtitle {
    font-size: 24px;
    line-height: 1.5;
    overflow: hidden;
    position: relative;
    bottom: 35%;
    text-align: center;
    margin: 0 auto;
    padding-top: 30px;
}

.main-banner .subtitle span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInFromBottom 1s ease-out forwards;
}

.main-banner .subtitle span:nth-child(1) {
    animation-delay: 0.5s;
}

.main-banner .subtitle span:nth-child(2) {
    animation-delay: 0.8s;
}

.influncer-title {
    margin: 0 auto;
    position: relative;
    bottom: 10%;
}

h2#influencer {
    margin-left: 35%;
    width: max-content;
    text-align: end;
}


/* 인플루언서 섹션 */
.influencer-section {
    background-color: transparent;
    padding: 100px 50px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    bottom: -30%;
}

.influencer-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInFromBottom 1s ease-out forwards;
    animation-delay: 1s;
}

.influencer-section h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.influencer-section .sub-text {
    font-size: 26px;
    color: var(--sub-text);
    margin-top: 50px;
    margin-bottom: 30px;
    line-height: 1.5;
    z-index: 2;
    position: relative;
    opacity: 1;
    font-weight: 700;
}

.influencer-section .sub-text.visible {
    opacity: 1;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}
.gallery-wrapper {
    display: flex;
     width: max-content; /* 슬라이드 전체 너비에 맞춤 */
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  will-change: transform;
  gap: 10px
} 
.gallery {
    display: flex;
}

.gallery:hover {
    animation-play-state: paused;
}

.gallery-item {
flex: 0 0 370px;
    height: 208px;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}
.gallery-wrapper.gallery-row-1 {
    margin-bottom: 10px;

}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
display: block;
}
        @keyframes slideGalleryLeft {
            0% {
                transform: translateX(0%);
            }
            100% {
                transform: translateX(-100%);
            }
        }
        
        @keyframes slideGalleryRight {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(0%);
            }
        }

        .gallery-row-1, .gallery-row-2 {
            display: flex;
        }

        .gallery-row-2 {

        }

        .gallery-row-1:hover, .gallery-row-2:hover {
            animation-play-state: paused;
        }
.view-more-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 24px;
    color: var(--mudpink-color);
    border: 1px solid var(--mudpink-color);
    background-color: transparent;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.view-more-btn:hover {
    color: var(--hover-color);
}

/* 숫자 카운터 섹션 */
.stats-section {
    background-color: var(--background-color);
    padding: 150px 50px 30px;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.stats-container.animate-on-scroll.visible {
    transform: none;
    transition: none;
}

.stat-item {
    text-align: center;
    margin: 20px;
}

.stat-item svg {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.stat-item .count-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--main-text);
    margin-bottom: 5px;
    display: block;
    min-width: 150px;
}

.stat-item .stat-text {
    font-size: 16px;
    color: var(--sub-text);
    font-weight: 300;
}

.stats-section .text-group {
    margin-top: 90px;
    padding-left: 22%;
}

.stats-section .text-group h3 {
    font-size: 36px;
    color: var(--pink-color);
    font-weight: 700;
    margin-bottom: 10px;
    text-align: justify;
}

.stats-section .text-group p {
    font-size: 16px;
    color: var(--white-color);
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 0px;
}

/* 영상 갤러리 섹션 */
.video-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.carousel-btn {
    background: transparent;
    border: none;
    font-size: 3rem;
    color: #ccc;
    cursor: pointer;
    z-index: 30;
    transition: transform 0.3s ease, color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover {
    color: #666;
    transform: scale(1.1);
}

.video-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    perspective: 1000px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

.video-item {
    position: absolute;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.video-item img,
.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 1; /* Always show the overlay */
    transition: opacity 0.3s ease;
}

/* Hide description and button by default for non-active items */
.video-item .description,
.video-item .follow-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Only show description and button for the active item */
.video-item.active .description,
.video-item.active .follow-btn {
    opacity: 1;
    transform: translateY(0);
}

.video-item .description {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: left;
}

.video-item .description span {
    display: block;
}

.video-item .follow-btn {
    background-color: transparent;
    border: 1px solid var(--mudpink-color);
    color: var(--mudpink-color);
    padding: 8px 15px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.video-item .follow-btn:hover {
    background-color: #fff;
    color: var(--hover-color);
    box-shadow:         0 0 2px #b24b5a,
        0 0 4px #b24b5a,
        0 0 8px #b24b5a,
        0 0 16px #b24b5a;
    transition: box-shadow 0.3s ease-in-out;    
}

.video-list-small {
    display: none; /* Hide on large screens */
}


/* CTA 섹션 */
.cta-section {
    position: relative;
    width: 100%;
    height: 600px;
    background: url('https://beautyuplog.com/wp-content/uploads/2025/08/MIU_and_Tina.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.cta-section h3,
.cta-section p,
.cta-section .cta-btn {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
}

.cta-section p {
    margin-top: 20px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
}

.cta-section .cta-btn {
    margin-top: 30px;
    padding: 12px 40px;
    color: var(--white-color);
    border: 1px solid var(--white-color);
    background-color: transparent;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 30px;
}

.cta-section .cta-btn:hover {
    color: var(--hover-color);
    border-color: var(--hover-color);
}

/* 팝업 모달 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 100%;
}
.modal-content iframe[src^="https://www.youtube.com/"] {
    border: none;
    height: 70% !important;
    top: 15%;
}
.close-btn,
.nav-btn {
    position: absolute;
    color: var(--white-color);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}


/* 푸터 (Footer.php) */
footer {
    background-color: var(--white-color) !important;
    color: var(--black-color) !important;
    text-align: center !important;
    padding: 50px 20px !important;
    font-size: 14px !important;
}

footer p {
    margin-bottom: 0px;
}


/* 애니메이션 공통 스타일 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* 인플루언서 픽 페이지 (influencer-pick.php) */
.influencer-form-section {
    background: var(--background-color);
}
.influencer-pick-main-content {
    background-color: var(--black-color);
}

.influencer-hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('https://uplog02.mycafe24.com/wp-content/uploads/2025/08/MIU_and_Tina.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    overflow: hidden;
}

.influencer-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner-text-group {
    position: relative;
    z-index: 10;
}

.influencer-hero-banner h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
}

.influencer-hero-banner h1 .highlight {
    color: var(--mudpink-color);
}

.influencer-hero-banner h2 {
    font-size: 36px;
    font-weight: 400;
    margin-top: 10px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 50px;
    color: var(--white-color);
    font-size: 22px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 인플루언서 리스트 */
.container.mx-auto {
    width: 70%;
    margin: 0 auto;
}

.influencer-list-section {
    padding: 100px 20px;
    background-color: var(--background-color);
}

.influencer-content-wrapper {
    gap: 40px;
}

.influencer-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.influencer-text-area {
    width: 40%;
    top: 100px;
    text-align: right;
    padding-top: 200px;
    margin-left: auto;
}

.influencer-text-area h3 {
    letter-spacing: -2px;
    margin-bottom: 0px;
    font-size: 36px;
    color: var(--mudpink-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.influencer-text-area p {
    font-size: 26px;
    color: var(--white-color);
    line-height: 1.4;
}

/* 인플루언서 카드 스타일 */
.influencer-card {
    width: 93%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: transform 0.3s ease;
}

.card-image-wrapper {
    overflow: hidden;
}

.influencer-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.influencer-card:hover .hover-overlay {
    opacity: 1;
}

.card-image-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 125%;
    position: relative;
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hover-overlay span {
    font-size: 28px;
    font-weight: 700;
    color: var(--white-color);
}

.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: var(--background-color);
    text-align: center;
}

.influencer-name {
    font-size: 30px;
    font-weight: 600;
    color: var(--main-text);
    margin-bottom: 5px;
}

.subscribers {
    font-size: 26px;
    font-weight: 700;
    color: var(--mudpink-color);
}

/* 인플루언서 카드 상단 여백 (staggered) */
.stagger-70 {
    margin-top: 70px;
}

.stagger-140 {
    margin-top: 140px;
}


/* 신청 폼 섹션 */
.influencer-form-section {
    padding: 100px 20px;
    text-align: center;
}

.form-container {
    max-width: 1260px;
    margin: 0 auto;
}

.form-title {
    font-size: 78px;
    font-weight: 900;
    color: #292929;
    line-height: 1;
    margin-bottom: 50px;
    text-align: left;
    width: max-content;
    max-width: 1260px;
    letter-spacing: -1px;
}

/* Contact Form 7 폼 전체 스타일 */
.wpcf7 {
    max-width: 1260px;
    margin: 0 auto;
    text-align: left;
}

/* 폼 컨트롤 (입력 필드, 텍스트박스) 공통 스타일 */
.wpcf7-form-control:not(.wpcf7-submit) {
    display: block;
    width: 100%;
    padding: 15px 0 5px 0;
    margin-bottom: 0px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    font-size: 16px;
    color: var(--sub-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--hover-color);
    box-shadow: none;
}

/* 폼 라벨 스타일 (좌측 정렬) */
.wpcf7 p label {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;
}

/* wpcf7-list-item 세로 정렬 */
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin-bottom: 5px;
    margin-left: 0px;    
}

/* 체크박스와 라벨 가로 정렬 */
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.wpcf7-form-control-wrap option {
    color: black;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item-label {
    display: inline-block;
    vertical-align: middle;
    color: var(--sub-text);
    font-size: 16px;
    margin-left: 0;
}

/* 제출 버튼 스타일 */
.wpcf7-submit {
    display: block;
    width: 7%;
    padding: 12px 0;
    font-size: 14px;
    font-weight: bold;
    color: var(--mudpink-color);
    background-color: transparent;
    border: 1px solid var(--mudpink-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.wpcf7-submit:hover {
    background-color: #ffffff;
    color: var(--hover-color);
    border: 1px solid var(--hover-color);
}

/* 체크박스 체크 시 파란색 배경을 제거하고 검은색으로 변경 */
input[type="checkbox"] {
    accent-color: var(--hover-color);
}

span.Required.value::after {
    content: "•";
    color: var(--mudpink-color);
}
/*설문폼연락처추가*/
.wpcf7 .contact p {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

label:has([data-name="PhoneNumber-481"]) {
    flex-grow: 1;
}
.wpcf7-form-control[name="CountryCode-315"] option {
    color: var(--black-color);
}
/* -------------------------------------------------------------------------------- */
/* PC 레이아웃 (Grid) *//**/
/* -------------------------------------------------------------------------------- */
/*햄버거버튼내kor버튼숨김*/
.mobile-menu-container .language-switcher {
    display: none;
}
/* ---------------------------------------------------- */
/* 4. 반응형 디자인 (Responsive Design)
/* ---------------------------------------------------- */
@media (max-width: 1024px) {
    .main-banner h1 {
        font-size: 48px;
    }
    .main-banner .subtitle {
        font-size: 20px;
    }
    .stats-container {
        gap: 50px;
    }
    .main-banner {
        height: 100vh;
        justify-content: center;
        align-items: center;
    }
    .influencer-hero-banner h1 {
        font-size: 56px;
    }
    .influencer-hero-banner h2 {
        font-size: 28px;
    }
    .influencer-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .influencer-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .influencer-text-area {
        width: 100%;
        position: static;
        text-align: center;
        padding-top: 50px;
    }
    .stagger-70,
    .stagger-140 {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
.video-carousel-container {
        padding: 0;
    }

    .carousel-btn {
        display: none; /* Hide buttons on mobile */
    }

    .video-carousel {
        height: 300px;
        -ms-overflow-style: none; /* for Internet Explorer, Edge */
        scrollbar-width: none; /* for Firefox */
    }
    
    .video-item {
        width: 200px;
        height: 250px;
    }

    .video-item .overlay {
        padding: 15px;
    }

    .video-item .description {
        font-size: 0.800rem;
        padding-left: 1em;
    }
    a.follow-btn {
    margin-left: 1em;
    }
    .video-item .follow-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
/*메인페이지버튼및텍스트모바일최적화*/
	.stats-section .text-group h3 {
		text-align: left;
		word-break: keep-all;
		width: 55vw;
	}
	.main-banner h1 {
    font-size: 26px;
}
	.influencer-section .sub-text {font-size: 14px; word-break: keep-all;} 
h2#influencer {
    font-size: 14px;
    text-align: end;
}

h2#influencer {}

.influncer-title {
    bottom: 15%;
    left: 7%;
}
	.cta-section .cta-btn {
		padding: 7px 17px;
		font-size: 14px;
	}
	.cta-section h3 {
		font-size: 18px;
	}
    /* 모바일에서는 데스크톱 메뉴 숨기고 햄버거 버튼 보이기 */
    .header-right {
        display: none;
    }
    .hamburger {
        display: block;
    }
    
    header {
        padding: 0 20px;
    }
    
    .main-banner {
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }
    .main-banner h1 {
        font-size: 36px;
        margin-bottom: 30px;
        bottom: 25%;
        letter-spacing: -2px;
    }
    .main-banner .subtitle {
        font-size: 14px;
        bottom: 30%;
        position: relative;
        letter-spacing: -0.1px;
    }
    .influencer-section {
        padding: 50px 20px;
    }
    .influencer-section h2,
    .influencer-section .sub-text {
        font-size: 20px;
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
    .gallery-container {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .gallery-row-1, .gallery-row-2 {
            }
    .gallery-item {
	flex: 0 0 29.07vw;
        height: auto;
    }
    .gallery-wrapper.gallery-row-1 {
        margin-bottom: 0px;
    }
    .stats-container {
        gap: 30px;
    }
    .stat-item .count-number {
        font-size: 36px;
    }
    .stats-section .text-group h3 {
        font-size: 24px;
    }
    .cta-section {
        height: 400px;
    }
    .cta-section h3 {
        font-size: 24px;
    }
    .cta-section p {
        font-size: 14px;
    }
    .stats-section .text-group {
        padding-left: 0;
    }
    h2#influencer {
        margin-left: 0;
        text-align: center;
        width: auto;
    }
    .influencer-hero-banner h1 {
        font-size: 40px;
    }
    .influencer-hero-banner h2 {
        font-size: 20px;
    }
    .scroll-down-indicator {
        font-size: 16px;
    }
    .influencer-list-section {
        padding: 0px 10px;
    }
    .influencer-grid-container {
        grid-template-columns: 1fr;
    }
    .influencer-text-area h3 {
        font-size: 24px;
    }
    .influencer-text-area p {
        font-size: 18px;
    }
    .influencer-name {
        font-size: 24px;
    }
    .subscribers {
        font-size: 20px;
    }
    .form-title {
        font-size: 48px;
    }
    .form-group input,
    .submit-btn {
        font-size: 14px;
        padding: 12px 15px;
    }
/*모바일헤더헴버거*/
    header {    justify-content: flex-start;}

	.mobile-menu-container {
		align-items: flex-start;
	}
	html .mobile-menu-container .nav-links a {
    color: var(--sub-text);
}
	/*stat2x2형태*/
	.stats-section {
		padding: 50px 20px;
		/* 모바일 패딩 조정 */
	}
	.stats-container {
		display: grid;
		/* flex에서 grid로 변경 */
		grid-template-columns: repeat(2, 1fr);
		/* 2x2 그리드 레이아웃 */
		gap: 30px;
		/* 아이템 간 간격 조정 */
	}
	.stat-item {
		margin: 0;
		/* 기존 margin 초기화 */
	}
	.stat-item .count-number {
		font-size: 36px;
		/* 모바일 폰트 크기 조정 */
		min-width: unset;
		/* 최소 너비 제한 해제 */
	}
    .video-section {
        padding: 50px 0;
    }
    .video-grid {
        display: block; /* 그리드 해제 */
        position: relative;
        width: 100%;
        height: 300px; /* 캐러셀 높이 */
    }

    .video-item {
        position: absolute; /* 모든 아이템을 겹치게 함 */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1); /* 초기 위치 설정 */
        transform-origin: center center;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
        width: 80%; /* 아이템 너비 */
        max-width: 300px;
        backface-visibility: hidden;
        overflow: hidden;
    }
    .video-item img {
        height: 100%;
    }
    .follow-btn {
        padding: 8px 15px;
        font-size: 14px;
        margin: 0;
    }
    .description {
        font-size: 12px;
        padding: 0 0;
        margin-bottom: 5px;
    }
    .carousel-nav-buttons {
        display: none;
    }
}}
section.video-section {height: 750px;     position: relative;}

.video-item {
    width: 450px;
    height: 550px;
    display: flex;
    flex-direction: column;
    overflow: visible;
    left: 50%;
}
.carousel-btn {
    background-color: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    transform: scale(1.1);
}
@media (min-width: 768px) {
    .carousel-nav-buttons {
        position: absolute;
        top: 40%;
        left: 20%;
        right: 15%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        padding: 0 40px;
        pointer-events: none;
    }

    .carousel-btn {
        pointer-events: auto;
    }
}

.video-item .overlay {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    box-sizing: border-box;
    z-index: 2;
    color: #fff;
}
.video-item .follow-btn {
        margin-top: 5%;
        display: inline-block;
        width: fit-content;
}

.video-item img {
    border-radius: 20px;
}
