@charset "utf-8";

/* Import fonts and common styles if needed, though they are usually in the HTML head */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* Main container for the split layout */
.intro-container {
    display: flex;
    width: 100%;
    height: 100vh;
    /* Occupy full viewport height */
    overflow: hidden;
    padding-top: 100px;
    /* Space for fixed header */
    background-color: #f4f4f4;
}

/* Individual Column Styling */
.intro-col {
    position: relative;
    flex: 1;
    /* Equal width initially */
    height: 100%;
    transition: flex 0.5s ease, background-color 0.3s;
    background-color: #fff;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
}

.intro-col:last-child {
    border-right: none;
}

/* Hover Effect: Expand the hovered column */
.intro-col:hover {
    flex: 1.5;
    /* Grow larger than others */
    background-color: #fafafa;
}

/* Dim other columns when one is hovered */
.intro-container:hover .intro-col:not(:hover) {
    opacity: 0.9;
}

/* Inner Content Content */
.col-content {
    width: 100%;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

/* Stagger animations */
.intro-col:nth-child(1) .col-content {
    animation-delay: 0.1s;
}

.intro-col:nth-child(2) .col-content {
    animation-delay: 0.2s;
}

.intro-col:nth-child(3) .col-content {
    animation-delay: 0.3s;
}

.intro-col:nth-child(4) .col-content {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Title */
.cate-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ba0c2f;
    /* Brand Color */
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.main-title {
    font-size: 2.2rem;
    /* Slightly smaller to fit 4 cols */
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    word-break: keep-all;
}

/* Product Image */
.prod-img {
    width: 90%;
    max-width: 350px;
    /* Adjusted max-width */
    height: 250px;
    /* Fixed height for alignment */
    object-fit: contain;
    margin: 20px auto;
    transition: transform 0.5s ease;
}

.intro-col:hover .prod-img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Custom scale for specific images */
.prod-img.scale-large {
    transform: scale(1.35);
}

.intro-col:hover .prod-img.scale-large {
    transform: scale(1.4);
}

/* Description Text */
.desc-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
}

/* Action Button */
.btn-view {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #333;
    border-radius: 50px;
    background: transparent;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-view:hover {
    background: #ba0c2f;
    border-color: #ba0c2f;
    color: #fff;
}

/* Mobile Responsive Styling */
@media screen and (max-width: 1024px) {
    .intro-container {
        flex-direction: column;
        height: auto;
        /* Allow scrolling */
        padding-top: 60px;
        /* Reduced padding for mobile header */
    }

    .intro-col {
        width: 100%;
        height: 60vh;
        /* Each section height */
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 40px 0;
    }

    .intro-col:hover {
        flex: 1;
        /* Dont change size on mobile interaction */
    }

    .prod-img {
        max-width: 250px;
        height: auto;
    }

    .main-title {
        font-size: 2rem;
    }
}