* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}


/* Header */

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #0099dc;
    transition: width 0.3s;
}

nav a:hover:after {
    width: 100%;
}

nav a:hover {
    color: #0099dc;
}


/* Mobile Menu Toggle (Hamburger) */

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* Mobile Navigation */

.mobile-nav {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: 400px;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px 0;
    display: block;
}

.mobile-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a {
    display: block;
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.mobile-nav a:hover {
    background: #f8f9fa;
    color: #0099dc;
}

.mobile-nav a:after {
    display: none;
}


/* Breadcrumb */

.breadcrumb {
    margin-top: 100px;
    padding: 20px 50px;
    background: #f8f9fa;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #0099dc;
}

.breadcrumb span {
    color: #333;
    margin: 0 10px;
}


/* Hero Banner */

.hero-banner {
    margin-top: 0;
    background: #f8f9fa;
    padding: 80px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-wrapper {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: #333;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #333;
}

.hero-text h1 .highlight {
    color: #0099dc;
}

.hero-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #666;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}


/* Intro Section */

.intro-section {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 42px;
    font-weight: 300;
    color: #333;
    margin-bottom: 30px;
}

.intro-content h4 {
    font-size: 22px;
    color: #0099dc;
    margin-bottom: 25px;
    font-weight: 400;
}

.intro-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}


/* Products Grid */

.products-section {
    background: #e3f5ff;
    padding: 100px 50px;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 70px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    background: linear-gradient(180deg, transparent 40%, #ffd9e6 100%);
    text-decoration: none;
    /* 이 줄을 추가 */
    color: inherit;
    /* 링크 색상도 기본으로 유지 */
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    /* hover 시에도 밑줄 제거 */
}

.product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-code {
    font-size: 15px;
    color: #a9a9a9;
    margin-bottom: 5px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #4d4d4d;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-features {
    font-size: 14px;
    color: #a9a9a9;
    line-height: 1.8;
}


/* Filter Technology Section */

.filter-section {
    padding: 100px 50px;
    background: white;
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
}

.filter-content {
    text-align: center;
    margin-bottom: 60px;
}

.filter-content h2 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.filter-content p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.filter-image {
    margin-top: 50px;
    text-align: center;
}

.filter-image video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.filter-placeholder {
    background: #f8f9fa;
    padding: 60px;
    border-radius: 15px;
    color: #999;
    font-size: 16px;
}


/* Footer */

footer {
    background: #2c3e50;
    color: white;
    padding: 60px 50px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: #0099dc;
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-about p {
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0099dc;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}


/* Responsive */

@media (max-width: 1024px) {
    .header-container {
        padding: 20px 30px;
    }
    nav ul {
        gap: 25px;
    }
    nav a {
        font-size: 15px;
    }
    .hero-wrapper {
        gap: 40px;
    }
    .hero-text h1 {
        font-size: 38px;
    }
    .hero-text p {
        font-size: 16px;
    }
    .intro-content h2 {
        font-size: 36px;
    }
    .intro-content h4 {
        font-size: 20px;
    }
    .section-title {
        font-size: 36px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-section .products-grid[style*="repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .filter-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .header-container {
        padding: 15px 20px;
    }
    .logo img {
        height: 50px;
    }
    /* Hide desktop nav, show mobile menu toggle */
    .desktop-nav {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-nav {
        display: block;
        top: 80px;
    }
    /* Breadcrumb Mobile */
    .breadcrumb {
        margin-top: 80px;
        padding: 15px 20px;
    }
    .breadcrumb a,
    .breadcrumb span {
        font-size: 12px;
    }
    /* Hero Banner Mobile */
    .hero-banner {
        margin-top: 0;
        padding: 60px 20px;
    }
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-text h1 {
        font-size: 32px;
    }
    .hero-text p {
        font-size: 16px;
    }
    .hero-image {
        justify-content: center;
    }
    .hero-image img {
        transform: none !important;
    }
    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: 1fr;
    }
    .products-section .products-grid[style*="repeat(3"] {
        grid-template-columns: 1fr !important;
    }
    /* Sections Mobile */
    .intro-section,
    .products-section,
    .filter-section {
        padding: 60px 20px;
    }
    .intro-content h2 {
        font-size: 28px;
    }
    .intro-content h4 {
        font-size: 18px;
    }
    .intro-content p {
        font-size: 16px;
    }
    .section-title {
        font-size: 28px;
    }
    .filter-content h2 {
        font-size: 28px;
    }
    .filter-content p {
        font-size: 16px;
    }
    /* Footer Mobile */
    footer {
        padding: 40px 20px 20px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
    .footer-about h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .footer-about p {
        font-size: 14px;
    }
    .footer-links h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .footer-links a {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .footer-links ul {
        padding-left: 0;
    }
    .footer-links ul li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .footer-bottom {
        padding-top: 20px;
        font-size: 13px;
    }
}


/* Small Mobile (max-width: 480px) */

@media (max-width: 480px) {
    .header-container {
        padding: 15px 15px;
    }
    /* Breadcrumb */
    .breadcrumb {
        padding: 10px 15px;
    }
    .breadcrumb a,
    .breadcrumb span {
        font-size: 11px;
    }
    /* Hero Banner */
    .hero-banner {
        padding: 40px 15px;
    }
    .hero-text h1 {
        font-size: 26px;
    }
    .hero-text p {
        font-size: 15px;
    }
    /* Intro Section */
    .intro-section {
        padding: 50px 15px;
    }
    .intro-content h2 {
        font-size: 24px;
    }
    .intro-content h4 {
        font-size: 16px;
    }
    .intro-content p {
        font-size: 15px;
    }
    /* Products Section */
    .products-section {
        padding: 50px 15px;
    }
    .section-title {
        font-size: 24px;
    }
    .product-item {
        padding: 20px;
    }
    .product-image {
        height: 180px;
    }
    /* Filter Section */
    .filter-section {
        padding: 50px 15px;
    }
    .filter-content h2 {
        font-size: 24px;
    }
    .filter-content p {
        font-size: 15px;
    }
    /* Footer */
    footer {
        padding: 30px 15px 15px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 15px;
    }
    .footer-about {
        grid-column: 1;
    }
    .footer-about h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .footer-about p {
        font-size: 13px;
        line-height: 1.6;
    }
    .footer-links h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .footer-links a,
    .footer-links ul li {
        font-size: 13px;
        margin-bottom: 6px;
    }
    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }
}


/* Revolutionary body care Section (bottom image with text overlay) */

@media (max-width: 768px) {
    .filter-section div[style*="position: absolute"] h2 {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }
    .filter-section div[style*="position: absolute"] p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 480px) {
    .filter-section div[style*="position: absolute"] h2 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }
    .filter-section div[style*="position: absolute"] p {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}


/* Extra Small Mobile (max-width: 320px) */

@media (max-width: 320px) {
    .filter-section div[style*="position: absolute"] h2 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    .filter-section div[style*="position: absolute"] p {
        display: none !important;
    }
}


/* Revolutionary body care Section - Overlay styling */

.body-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 60%;
    /* 80%에서 60%로 변경 */
    max-width: 1200px;
    /* 최대 너비 추가 */
    z-index: 10;
}

.body-overlay-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.body-overlay-description {
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}


/* Revolutionary body care Section - Small screens */

@media (max-width: 425px) {
    .body-overlay-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    .body-overlay-description {
        display: none !important;
    }
}