/* ===== FISH PRODUCT DETAIL PAGE STYLES ===== */

/* PRODUCT FISH SECTION */
.product-fish-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-top: 50px;
}

.product-fish-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
}

.product-fish-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.product-fish-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.product-container-fish {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

.product-fish-text h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* DETAIL PRODUCT SECTION */
.detail-product-section {
    display: flex;
    
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
}

/* Sidebar Menu */
.sidebar {
    width: 25%;
    flex-shrink: 0;
    padding: 60px 40px;
}

.product-menu {
    font-weight: 600;
    color: #000000;
    background-color: #ffffff;
    padding:0 25px 0 25px;
}

.product-menu h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #193a65;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    border-bottom: 3px solid #193a65;
    padding-bottom: 10px;
    text-align: left;
}

.product-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-menu li {
    //margin: 15px 0;
}

.product-menu a {
    text-decoration: none;
    color: #193a65;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.product-menu a:hover {
    color: #0a93d1;
    transform: translateX(5px);
}

.product-menu a.active {
    color: #0a93d1;
    font-weight: 800;
}

/* Dropdown untuk mobile */
.dropdown-toggle {
    display: none;
    width: 100%;
    padding: 15px;
    background-color: #193a65;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    margin-bottom: 10px;
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

/* Deskripsi & Gambar Produk */
.product-detail {
    width: 70%;
    text-align: justify;
    padding-top: 30px;
    padding-right: 40px;
}

.product-detail p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #6d6e71;
}

/* Gambar slider */
.product-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    flex: 1;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slide {
    min-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 20px 0; /* Mengurangi padding bawah */
    position: relative;
}
.slide img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.slide-caption {
    font-size: 1.5rem;
    font-weight: 700;
    color: #193a65;
    text-align: center;
    margin: 0;
    margin-top: auto; /* Memastikan caption tetap di bagian bawah slide */
    padding-top: 10px;
    position: absolute;
    bottom: 40px;
}
/* Navigation buttons */
.product-slider > .prev-btn,
.product-slider > .next-btn {
    font-size: 3.5rem;
    font-weight: 600;
    background-color: #0a93d1;
    border: none;
    width: auto;
    height: auto;
    cursor: pointer;
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.product-slider > .prev-btn:hover,
.product-slider > .next-btn:hover {
    background-color: #193a65;
}

.mobile-nav-btns {
    display: none;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.mobile-nav-btns .prev-btn,
.mobile-nav-btns .next-btn {
    font-size: 1.5rem;
    background-color: #0a93d1;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-nav-btns .prev-btn:hover,
.mobile-nav-btns .next-btn:hover {
    background-color: #193a65;
}

/* CONTACT CTA SECTION */
.contact-cta {
    border-top: 3px solid #e0e0e0;
    border-bottom: 3px solid #e0e0e0;
    text-align: center;
    padding: 10px 20px;
    margin-top: 0;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.cta-small-text {
    font-size: 1.1rem;
    color: #6d6e71;
    margin-bottom: 1.2rem;
    line-height: 0.6rem;
}

.cta-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #6d6e71;
    margin: 0 0 1.2rem;
    line-height: 1.2rem;

}

.cta-sub-text {
    font-size: 1.1rem;
    color: #6d6e71;
    margin-bottom: 1.2rem;
    line-height: 1.2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: #0a93d1;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #193a65;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* Large screens (1920px and up) */
@media screen and (min-width: 1920px) {
    .product-fish-text h2 {
        font-size: 3.75rem;
    }
    
    .detail-product-section {
        max-width: 1600px;
        padding: 80px 60px;
        gap: 80px;
    }
    
    .product-menu h3 {
        font-size: 1.75rem;
    }
    
    .product-menu a {
        font-size: 1.4rem;
    }
    
    .product-detail p {
        font-size: 1.4rem;
    }
    
    .slide-caption {
        font-size: 1.8rem;
    }
    
    .cta-heading {
        font-size: 2.5rem;
    }
    
    .cta-sub-text {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 1.2rem;
    }
}

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .detail-product-section {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .product-detail {
        width: 100%;
    }
    
    .product-menu {
        text-align: center;
    }
    
    .product-menu ul {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .product-menu li {
        margin: 5px;
    }
    
    .product-menu a {
        padding: 8px 15px;
        border: 2px solid #193a65;
        border-radius: 25px;
    }
    
    .product-menu a.active {
        background-color: #193a65;
        color: white;
    }
}

/* Mobile (768px and down) */
@media (max-width: 768px) {
    .product-fish-section {
        height: 40vh;
    }
    
    /* Perbaikan untuk gambar background di mobile */
    .product-fish-background-img {
        width: 100%;
        height: auto;
        min-height: 100%;
        object-fit: contain;
    }
    
    .product-fish-text h2 {
        font-size: 2.25rem;
    }
    
    .detail-product-section {
        padding: 30px 20px;
        gap: 30px;
    }
    
    /* Dropdown untuk sidebar di mobile */
    .dropdown-toggle {
        display: block;
    }
    
    .product-menu {
        padding: 0;
        background-color: transparent;
    }
    
    .product-menu h3 {
        display: none;
    }
    
    .product-menu ul {
        display: none;
        flex-direction: column;
        gap: 0;
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
        max-height: 300px;
        overflow-y: auto;
    }
    
    .product-menu ul.show {
        display: block;
    }
    
    .product-menu li {
        margin: 5px 0;
    }
    
    .product-menu a {
        padding: 10px 15px;
        border: none;
        border-radius: 5px;
        text-align: left;
        background-color: #f8f9fa;
        margin-bottom: 5px;
    }
    
    .product-menu a:hover {
        transform: none;
        background-color: #e9ecef;
    }
    
    .product-menu a.active {
        background-color: #193a65;
        color: white;
    }
    .product-detail {
        padding: 5px 15px;
    }
    
    .product-detail p {
        font-size: 1rem;
        margin-top: 15px;
    }
    
    .product-slider {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-slider > .prev-btn,
    .product-slider > .next-btn {
        display: none;
    }
    
    .mobile-nav-btns {
        display: flex;
    }
    
    .slide img {
        max-height: 300px;
        object-fit: contain;
    }
    
    .slide-caption {
        font-size: 1rem;
        bottom: 10px !important;
    }

    .sidebar {
        padding: 20px 15px;
    }
    
    .contact-cta {
        padding: 40px 20px;
    }
    .cta-small-text{
        font-size: 0.9rem;
    }
    .cta-heading {
        font-size: 1.5rem;
    }
    
    .cta-sub-text {
        font-size: 0.9rem;
    }

    .cta-button{
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Small mobile (480px and down) */
@media (max-width: 480px) {
    .product-fish-section {
        height: 35vh;
    }
    
    .product-fish-text h2 {
        font-size: 2rem;
    }
    
    .detail-product-section {
        padding: 20px 15px;
    }
    
    .product-menu a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    
    .product-detail p {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .slide img {
        max-height: 250px;
        object-fit: contain;
    }
    
    .slide-caption{
        bottom: 5px !important;
    }
    .cta-heading {
        font-size: 1.5rem;
    }

}

/* Ultra-wide screens (2560px and up) */
@media screen and (min-width: 2560px) {
    .product-fish-section {
        height: 70vh;
    }
    
    .product-fish-text h2 {
        font-size: 3.5rem;
    }
    
    .detail-product-section {
        max-width: 2000px;
        gap: 100px;
    }
    
    .product-menu {
        padding: 40px;
    }
    
    .product-menu h3 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }
    
    .product-menu a {
        font-size: 2.3rem;
        margin-bottom: 0.5rem;
    }
    
    .product-detail p {
        font-size: 2rem;
        line-height: 2.4rem;
    }
    
    .slide img {
        max-height: 1000px;
    }
    
    .slide-caption {
        font-size: 3rem;
    }
    
    .contact-cta {
        padding: 80px 40px;
    }

    .contact-cta .container{
        max-width: 2000px;
    }
    .cta-small-text{
        font-size: 2rem;
        margin-bottom: 2.4rem;
    }

    .cta-heading {
        font-size: 4rem;
        margin-bottom: 2rem;
    }
    
    .cta-sub-text {
        font-size: 2rem;
        line-height: 2.4rem;
        margin-bottom: 2rem;
        max-width: 1000px;
    }
    
    .cta-button {
        padding: 25px 50px;
        font-size: 2rem;
    }

    .product-slider {
        max-width: 2000px;
    }

    .product-detail{
        width: 100%;
    }
}