/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    overflow: hidden;
    min-height: 100vh;
    /* transition: all 0.5s; */
}

a {
    text-decoration: none;
    color: inherit;
}

p, h1, h3, h5 {
    white-space: nowrap;
    color: #333;
}

ul {
    list-style: none;
}

.container {
    /* max-width: 1200px; */
    margin: 0 auto;
}

/* 풀페이지 스크롤 */
.fullpage-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    min-height: 640px !important;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.fullpage-section {
    width: 100%;
    height: 100vh;
    flex-shrink: 0;
    position: relative;
}

.fullpage-section:first-child {
    padding-top: 0;
}

.fullpage-section::-webkit-scrollbar {
    display: none;
}

.fullpage-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 헤더 */
.header {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
    position: fixed;
    transition: background-color 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow 0.3s;
    background-color: rgba(255, 255, 255, 0); 
    border-bottom: none;
}

.header.scrolled {
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px;
    transition: all 0.7s;
}

.logo {
    display: block;
    width: 180px;
    height: 53.5px;
    position: absolute;
    top: 30px;
    left: 80px;
    transition: all 1s;
    background-image: url("../img/logo-b.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.nav {
    width: 100%;
    height: 100%;
}

.nav-list {
    display: flex;
    gap: 70px;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.nav-item {
    position: relative;
    text-align: center;
}

.nav-item > a {
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
    font-weight: bold;
}

.lang-button > a > img {
    width: 30px;
    /* height: 100%; */
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    padding: 10px 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    transition: background 0.3s;
}

.dropdown a:hover {
    background: #f5f5f5;
    color: black;
    text-decoration: underline;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-btn,
.login-btn,
.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s;
}

.search-btn:hover,
.login-btn:hover,
.cart-btn:hover {
    color: #5d8c7b;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    transition: all 0.3s;
}

/* 히어로 섹션 */
.hero-section {
    background-image: url("../img/brand-overview-bg.jpeg");
    background-repeat: inherit;
    background-size: cover;
    background-position: bottom;
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    width: 100%;
    height: 300px;
    position: absolute;
    bottom: 0;
    color: black;
    display: flex;
    margin: 50px;
}

/* 우측 하단 요소 */
.title-content {
    margin-right: 110px;
    width: 100%;
    text-align: right;
    margin-top: auto;
}

.hero-title {
    font-size: 40px;
    font-weight: bold;
}

/* 좌측 하단 요소 */

.hero-description-content {
    width: 100%;
    text-align: left;
    margin-top: auto;
}

.hero-subtitle {
    white-space: nowrap;
    font-size: 30px;
    margin-bottom: 50px; 
    font-weight: 600;
}

.description-body {
    font-size: 30px;
}

/* 브랜드 about 섹션 */
.brand-about-section {
    /* padding: 60px 20px; */
    background-image: url("../img/brand-about-bg.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand-about-section .container {
    padding: 0px 20px;
    margin: 0;
}

.about-title {
    margin-top: 120px;
    margin-left: 20px;
}

.about-title h1 {
    font-weight: bold;
    font-size: 50px;
}

.about-description {
    text-align: right;
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.about-description p {
    margin-bottom: 30px;
    margin-right: 30px;
    font-size: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* 효과 섹션 */
.brand-identity {
    background-image: url("../img/brand-identity-bg.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand-identity .container {
    padding: 0px 10px;
}

.identity-title {
    margin-top: 115px;
    margin-left: 20px;
}

.identity-title h1 {
    font-weight: bold;
    font-size: 55px;
}

.identity-description {
    text-align: right;
    position: absolute;
    bottom: 20px;
    right: 15px;
}
.identity-description p, h5 {
    margin-right: 30px;
    font-size: 25px;
}
.identity-description p {
    margin-bottom: 30px;
}


/* 반응형 디자인 */
@media (max-width: 1024px) {
    .nav-list {
        gap: 30px;
    }

    .brand-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .identity-item {
        gap: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .fullpage-section {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .nav,
    .header-right {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 20px;
    }

    .brand-cards {
        gap: 20px;
    }

    .brand-card {
        padding: 40px 30px;
    }

    .identity-item,
    .identity-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
        direction: ltr;
    }

    .identity-title {
        font-size: 22px;
    }

    .image-placeholder {
        height: 250px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .brand-about-section,
    .brand_identity,
    .brand_technology,
    .brand_effect,
    .solutions-section {
        padding: 40px 20px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .solutions-content {
        padding: 40px 30px;
        margin-top: 30px;
    }

    .footer {
        padding: 40px 20px 30px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .brand-about-section,
    .brand_identity,
    .brand_technology,
    .brand_effect,
    .solutions-section {
        padding: 40px 20px;
    }

    .card-title-main {
        font-size: 24px;
    }

    .card-title-sub {
        font-size: 20px;
    }

    .identity-title {
        font-size: 20px;
    }

    .solutions-content {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .image-placeholder {
        height: 200px;
    }

    .footer {
        padding: 30px 15px 20px;
    }

    .footer-top {
        gap: 25px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .footer-links {
        gap: 15px;
        margin-bottom: 25px;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-card,
.identity-item {
    animation: fadeInUp 0.8s ease-out;
}

.brand-card:nth-child(2) {
    animation-delay: 0.2s;
}

.identity-item:nth-child(2) {
    animation-delay: 0.2s;
}

.identity-item:nth-child(3) {
    animation-delay: 0.4s;
}