/* Universal Series Specific Styles */

/* Series Hero Section */
.seriesHero {
    width: 100vw;
    height: 40vh;
    min-height: 300px;
    margin: 0;
    padding: 0;
    position: relative;
    background: linear-gradient(135deg, #780A1D 0%, #ef6e50 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.seriesHeroContent {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: "Nanum Gothic", sans-serif;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ffd700;
}

.seriesHeroContent h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.seriesHeroContent p {
    color: #fff;
    font-size: 1.2rem;
    animation: fadeInUp 1.2s ease;
}

/* Series Introduction */
.seriesIntro {
    text-align: center;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.seriesIntro h2 {
    font-size: 2.5rem;
    color: #780A1D;
    margin-bottom: 1.5rem;
}

.seriesIntro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6f6c6c;
}

/* Product Section */
.productSection {
    width: 90%;
    max-width: 1400px;
    margin: 5rem auto;
}

.sectionTitle {
    font-size: 2rem;
    color: #780A1D;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ef6e50;
}

/* Product Grid */
.productGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Product Card */
.productCard {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.productCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.productImage {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.productCard:hover .productImage img {
    transform: scale(1.08);
}

/* Product Info */
.productInfo {
    padding: 1.5rem;
}

.productInfo h3 {
    font-size: 1.25rem;
    color: #780A1D;
    margin-bottom: 0.5rem;
    min-height: 3rem;
}

.productCode {
    font-size: 0.9rem;
    color: #ef6e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: "Montserrat", sans-serif;
}

/* Specification Table */
.specTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-family: "Nanum Gothic", sans-serif;
}

.specTable thead {
    background: #780A1D;
    color: #fff;
}

.specTable th {
    padding: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #fff;
}

.specTable td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

.specTable tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.specTable tbody tr:hover {
    background: #fff5f0;
}

/* Back to Products Button */
.backToProducts {
    text-align: center;
    margin: 5rem auto 3rem;
    padding: 2rem;
}

/* Responsive Styles */
@media only screen and (max-width: 1024px) {
    .productGrid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .seriesHeroContent h1 {
        font-size: 2.5rem;
    }
    
    .sectionTitle {
        font-size: 1.75rem;
    }
}

@media only screen and (max-width: 768px) {
    .seriesHero {
        height: 35vh;
        min-height: 250px;
    }
    
    .seriesHeroContent h1 {
        font-size: 2rem;
    }
    
    .seriesHeroContent p {
        font-size: 1rem;
    }
    
    .seriesIntro {
        margin: 3rem auto;
    }
    
    .seriesIntro h2 {
        font-size: 2rem;
    }
    
    .seriesIntro p {
        font-size: 1rem;
    }
    
    .productSection {
        width: 95%;
        margin: 4rem auto;
    }
    
    .sectionTitle {
        font-size: 1.5rem;
    }
    
    .productGrid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .productImage {
        height: 250px;
    }
    
    .productInfo h3 {
        font-size: 1.15rem;
        min-height: auto;
    }
}

@media only screen and (max-width: 480px) {
    .seriesHero {
        height: 30vh;
        min-height: 220px;
    }
    
    .seriesHeroContent h1 {
        font-size: 1.75rem;
    }
    
    .seriesHeroContent p {
        font-size: 0.95rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .seriesIntro h2 {
        font-size: 1.75rem;
    }
    
    .seriesIntro p {
        font-size: 0.95rem;
    }
    
    .sectionTitle {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }
    
    .productImage {
        height: 220px;
    }
    
    .productInfo {
        padding: 1.25rem;
    }
    
    .productInfo h3 {
        font-size: 1.1rem;
    }
    
    .specTable th,
    .specTable td {
        padding: 0.5rem 0.3rem;
        font-size: 0.85rem;
    }
    
    .backToProducts {
        margin: 3rem auto 2rem;
    }
    
    .ctaButton {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .backToProducts,
    footer {
        display: none;
    }
    
    .productCard {
        page-break-inside: avoid;
    }
}