/* ===== PRODUCT PAGE SPECIFIC STYLES ===== */

/* FISH SECTION STYLES */
.fish-section {
    max-width: 1600px;
    margin: 60px auto;
    padding: 20px;
}

.fish-section h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.fish-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.fish-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.fish-item {
    flex: 0 0 calc(20% - 20px);
    max-width: calc(20% - 20px);
    min-width: 180px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.fish-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.fish-image {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0;
    overflow: visible;
    transition: all 0.3s ease;
}

.fish-item:hover .fish-image {
    z-index: 10;
}

.fish-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.fish-name {
    color: #193a65;
    text-align: center;
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

/* Hover Effects */
.fish-item:hover .fish-image img {
    transform: scale(1.5);
}

.fish-item:hover .fish-name {
    color: #0a93d1;
}

.fish-item:active .fish-image img {
    transform: scale(1.05);
}

/* Navigation Buttons */
.product-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #193a65;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.product-nav-btn:hover {
    background-color: #0a93d1;
}

.prev-btn {
    left: -5px;
}

.next-btn {
    right: -5px;
}

/* LINE BOTTOM SECTION */
.line-bottom {
    background-color: #ffffff;
    padding: 20px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.line-bottom h2 {
    color: #193a65;
    font-size: 2.5rem;
    font-weight: 800;
}

/* RAW MATERIAL SECTION */
.raw-material-section {
    background-color: #ffffff;
    padding: 20px 20px;
    text-align: center;
}

.raw-material-section .container {
    max-width: 1600px;
    margin: 0 auto;
}

.map-container {
    display: flex;
    justify-content: center;
}

.map-container img {
    width: 120%;
    height: auto;
    background-size: cover;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large screens (1920px and up) */
@media screen and (min-width: 1920px) {
    .fish-section {
        max-width: 1800px;
    }
    
    .fish-item {
        flex: 0 0 calc(16.666% - 40px);
        max-width: calc(16.666% - 40px);
    }
    
    .fish-image {
        width: 150px;
        height: 150px;
    }
    
    .fish-name {
        font-size: 1.4rem;
    }
    
    .line-bottom h2 {
        font-size: 2.75rem;
    }
}

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .fish-item {
        flex: 0 0 calc(25% - 30px);
        max-width: calc(25% - 30px);
    }
    
    .fish-wrapper {
        gap: 30px;
    }
}

/* Medium devices (576px - 767px) */
@media (max-width: 767px) {
    .fish-section {
        margin: 40px auto;
        padding: 35px;
    }
    
    .fish-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
        min-width: 140px;
    }
    
    .fish-wrapper {
        gap: 25px;
    }
    
    .fish-image {
        width: 100px;
        height: 100px;
    }
    
    .fish-name {
        font-size: 1.1rem;
    }
    
    .line-bottom {
        padding: 20px 20px;
    }
    
    .line-bottom h2 {
        font-size: 1.75rem;
    }
    
    .raw-material-section {
        padding: 40px 20px;
    }
    .product-nav-btn{
        display: none;
    }
}

/* Mobile (600px and down) - Slider mode */
@media (max-width: 600px) {
    .fish-slider-container {
        margin: 30px 0;
        padding: 0 40px;
    }
    
    .fish-wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: hidden;
        width: 80%;
        gap: 0;
    }
    
    .fish-item {
        flex: 0 0 100%;
        max-width: 100%;
        display: none;
        padding: 0 20px;
    }
    
    .fish-item.active {
        display: block;
    }
    
    .product-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fish-image {
        width: 100%;
        height: auto;
        margin: 0 auto 10px;
    }
    
    .fish-name {
        font-size: 1.1rem;
    }
}

/* Small mobile (480px and down) */
@media (max-width: 480px) {
    .fish-slider-container {
        padding: 0 35px;
    }
    
    .fish-item {
        padding: 0 15px;
    }
    
    .fish-image {
        width: 100%;
        height: auto;
    }
    
    .fish-name {
        font-size: 1rem;
    }
    
    .product-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -5px;
    }
    
    .next-btn {
        right: -5px;
    }
}

/* Ultra-wide screens (2560px and up) */
@media screen and (min-width: 2560px) {
    .fish-section {
        max-width: 2200px;
        margin: 80px auto;
    }
    
    .fish-wrapper {
        gap: 60px;
        max-width: 2000px;
    }
    
    .fish-item {
        flex: 0 0 calc(14.285% - 60px);
        max-width: calc(14.285% - 60px);
    }
    
    .fish-image {
        width: 250px;
        height: 250px;
    }
    
    .fish-name {
        font-size: 2rem;
    }
    
    .line-bottom {
        padding: 20px 10px;
    }
    
    .line-bottom h2 {
        font-size: 5rem;
    }
    
    .raw-material-section {
        padding: 0;
    }

    .raw-material-section .container{
        max-width: 100%;
    }
    .map-container img{
        max-width: 100%;
    }
    .customer-section {
        padding: 0;
    }
}