/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Catalog Hero Section */
.catalog-hero {
    min-height: 40vh;
    background-image: url('../../images/aptech_catalog.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 140px 30px 40px 30px;
    position: relative;
    overflow: hidden;
}

.catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.catalog-hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.catalog-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: 1px;
    line-height: 1.1;
    word-break: keep-all;
    word-wrap: break-word;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.catalog-hero-content p {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    word-break: keep-all;
    word-wrap: break-word;
    color: white;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

/* Catalog Main Content Section */
.catalog-content {
    min-height: 100vh;
    background: #ffffff;
    padding: 80px 0;
    position: relative;
}

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Section */
.catalog-header {
    text-align: center;
    margin-bottom: 60px;
}

.catalog-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.catalog-subtitle {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* PC Version: Grid Layout */
.catalog-grid-desktop {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-left {
    display: flex;
    flex-direction: column;
}

.catalog-cover,
.catalog-interior {
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-cover:hover,
.catalog-interior:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.catalog-cover {
    margin-bottom: 20px;
}

/* Download Button */
.download-button-container {
    display: flex;
    justify-content: flex-start;
}

.download-button-container.mobile {
    justify-content: center;
}

.download-button {
    background: #546e7a;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(84, 110, 122, 0.3);
}

.download-button:hover {
    background: #455a64;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 110, 122, 0.4);
}

/* Mobile Slider (Hidden by Default) */
.catalog-slider-mobile {
    display: none;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.slider-container {
    display: flex;
    transition: transform 0.3s ease;
    width: 200%;
}

.slider-item {
    width: 50%;
    height: 400px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #FF8A4C;
    transform: scale(1.2);
}

.slider-dot:hover {
    transform: scale(1.15);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .catalog-hero {
        min-height: 35vh !important;
        padding: 100px 20px 30px 20px !important;
    }

    .catalog-hero-content h1 {
        font-size: 28px !important;
        margin-bottom: 15px !important;
    }

    .catalog-hero-content p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .catalog-content {
        padding: 60px 0;
    }

    .catalog-container {
        padding: 0 8px !important;
    }

    .catalog-title {
        font-size: 42px !important;
    }

    .catalog-subtitle {
        font-size: 13px !important;
    }

    /* Hide PC Grid, Show Mobile Slider */
    .catalog-grid-desktop {
        display: none !important;
    }

    .catalog-slider-mobile {
        display: block !important;
    }

    .slider-item {
        height: 500px !important;
    }

    .download-button {
        padding: 15px 25px;
        font-size: 15px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .catalog-title {
        font-size: 32px !important;
    }

    .catalog-container {
        padding: 0 5px !important;
    }

    .slider-item {
        height: 450px !important;
    }

    .download-button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}
