@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700');
@font-face {
    font-family: 'Chevalon-Regular';
    src:
    url('../fonts/Chevalon-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Chevalon-Light';
    src:
    url('../fonts/Chevalon-Light.otf') format('opentype');
}
@font-face {
    font-family: 'Chevalon-SemiBold';
    src:
    url('../fonts/Chevalon-SemiBold.otf') format('opentype');
}
@font-face {
    font-family: 'Chevalon-Medium';
    src:
    url('../fonts/Chevalon-Medium.otf') format('opentype');
}

.body {
    background-color: #FDE8D8;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden; /* prevent unintended horizontal scroll on fish pages */
}

/* media query for mobile devices */
@media only screen and (max-width: 767px) {
    .fishContainer {
       padding-top: 90px;
    }
}


.fishContainer {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
    min-height: calc(100vh - 70px);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    padding: 60px 18px;
}

.fishPhoto {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    justify-content: center;
    align-items: center;
    display: flex;
    padding-left: 0;
}

.fishPhoto img {
    display: block;
    margin: 0 auto;
    width: clamp(260px, 80vw, 640px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Override site-wide styles to keep fish headers centered */
.fishContainer .fishPhoto .fish-profile-photos,
.fish-profile-photos {
    display: block !important;
    margin: 0 auto !important;
    width: clamp(260px, 80vw, 640px) !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.fishInfo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.fishHeader {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 1rem;
    padding: 0;
    margin: 0;
    color: #064273;
    font-family: "Chevalon-SemiBold";
    line-height: 1.2;
}

.fishScienceName {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1F1F1F;
    margin-bottom: 1rem;
    padding: 0;
    margin: 0;
    color: #064273;
    font-family: "Chevalon-SemiBold";
}

.fishInfoBlock {
    display: block;
    border: #064273;
    border-style: solid;
    border-width: 1.4px;
    width: 100%;
    max-width: 360px;
    padding: .2rem 2rem;
    margin: .8rem auto 0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.fishInfoBlock:hover {
    background-color: rgba(6, 66, 115, 0.06);
    transform: translateY(-2px);
}

.fishInfoBlock p {
    font-size: 1rem;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 1rem;
    padding: 0;
    margin: 0;
    color: #064273;
    text-align: center;
    padding: 7px;
}

a.fishInfoBlock {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease;
}

a.fishInfoBlock:hover {
    background-color: rgba(6, 66, 115, 0.08);
}

a.fishInfoBlock p {
    margin: 0;
    padding: 7px 0;
}

.pdf-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.fishCutContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
}

/* Alternating section backgrounds */
section:nth-child(odd) .fishCutContainer {
    background-color: transparent;
}

section:nth-child(even) .fishCutContainer {
    background-color: rgba(6, 66, 115, 0.03);
}

.fishCutOptionOne {
    width: 25%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* padding: 20px 20px; */
}

.fishCutOptionTwo {
    width: 25%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* padding: 20px 20px; */
    
}
.fishCutOptionThree {
    width: 25%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* padding: 20px 20px; */
}
.fishCutOptionFour {
    width: 25%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* padding: 20px 20px; */
}

.fishCutOptionOne h2, .fishCutOptionTwo h2, .fishCutOptionThree h2, .fishCutOptionFour h2 {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
    color: #064273;
    margin-top: 0;
    margin-bottom: 8px;
}

.fishCutOptionOne img + h2, .fishCutOptionTwo img + h2, .fishCutOptionThree img + h2, .fishCutOptionFour img + h2 {
    margin-top: 16px;
}

.fishCutOptionOne p, .fishCutOptionTwo p, .fishCutOptionThree p, .fishCutOptionFour p {
    font-size: .7rem;
    font-weight: 500;
    color: #064273;
}

.imgCutOption img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgCutOption {
    width: 100%;
    height: clamp(320px, 45vw, 600px);
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(6, 66, 115, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imgCutOption:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(6, 66, 115, 0.25);
}

.fishPackagedContainer {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  
}

.fishPackagedOptionOne {
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    margin-left: 10%;
}

.fishPackagedSubContainer {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.fishPackagedOptionTwo, .fishPackagedOptionThree {
    width: 25%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    margin-left: 1rem;
}

.fishShippingHeader {
    font-size: 2.5rem;
    font-weight: 700;
    color: #064273;
    padding: 0;
    font-family: "Chevalon-SemiBold";
    line-height: 1.2;
    text-align: center;
}

.fishShippingContainer {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.fishShippingOptionOne {
    display: flex;
    flex-direction: row;
}

.fishPackage {
    width: auto;
    height: 100%;
    display: flex;
    
}

.fishShippingOptionTwo {
    display: flex;
    flex-direction: row;
    
}
.option {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 0 10px;
}

.option h2 { 
    padding: 0px;
    margin: 10px 0;
    color: #064273;
}

.option p {
    padding: 0px;
    margin: 10px 0;
    color: #064273;
}

.fishGalleryContainer {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.fishGalleryOptionOne {
    width: 50%;
    height: 100%;
    display: flex;
    padding: 20px 20px;

    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.fishGalleryOptionTwo {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 20px;
}

.largePhoto {
    width: 100%;
    height: 420px;
    object-fit: cover;
    
    border-width: 1.4px;
    background-color: gray;
    
}

.smallGalleryPhoto {
    height: auto;
    width: auto;
    display: flex;
    flex-direction: row;
    object-fit: cover;
    
    justify-content: center;
    align-items: center;
}


.smallPhoto {
    margin: 10px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: #1F1F1F;
   
    background-color: gray;
    margin-left: 20px;

}

.interestingFacts {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.interestingFacts h2 {
    font-family: "Chevalon-SemiBold";
    font-size: 2.5rem;
    color: #064273;
}

.interestingFactsOption {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(6, 66, 115, 0.05);
    border-radius: 12px;
    padding: 24px 32px;
    max-width: 600px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interestingFactsOption:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(6, 66, 115, 0.12);
}

.fact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    fill: #064273;
}


.interestingFacts h3 {
    font-family: "Chevalon-SemiBold";
    font-size: 1rem;
    text-align: center;
    margin: 0 10%;
}

@media only screen and (max-width: 767px) {
    .fishContainer {
        flex-direction: column;
        height: auto;
        padding: 96px 18px 40px;
        gap: 24px;
    }
    .fishPhoto {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding-left: 0;
        justify-content: center;
    }
    .fish-profile-photos {
        width: 100%;
        max-width: 480px;
        height: auto;
        object-fit: cover;
    }
    .fishInfo {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        height: auto;
        align-items: center;
        text-align: center;
    }
    .fishHeader {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    .fishInfoBlock {
        width: 100%;
        max-width: 320px;
        margin-top: 12px;
    }
    .fishCutContainer {
        flex-direction: column;
        height: auto;
        padding: 60px 18px;
        align-items: stretch;
    }
    .fishCutOptionOne, .fishCutOptionTwo, .fishCutOptionThree, .fishCutOptionFour {
        width: 100%;
        height: auto;
        align-items: center;
    }
    .fishCutOptionOne h2, .fishCutOptionTwo h2, .fishCutOptionThree h2, .fishCutOptionFour h2 {
        font-size: 1.3rem;
        font-weight: 600;
        text-align: center;
        margin: 12px 0;
        color: #064273;
    }
    .fishCutOptionOne p, .fishCutOptionTwo p, .fishCutOptionThree p, .fishCutOptionFour p {
        font-size: .7rem;
        font-weight: 500;
        margin: 0;
        text-align: center;
        color: #064273;
    }
    .fishPackagedContainer {
        flex-direction: column;
        height: auto;
        padding: 0 18px 40px;
    }
    .fishPackagedOptionOne {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
    .fishPackagedSubContainer {
        width: 100%;
        height: auto;
        flex-direction: column;
    }
    .fishPackagedOptionTwo, .fishPackagedOptionThree {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
    .fishShippingContainer {
        flex-direction: column;
        height: auto;
        padding: 60px 18px;
    }
    .fishShippingOptionOne {
        width: 100%;
        height: auto;
        flex-direction: column;
    }
    .fishShippingOptionTwo {
        width: 100%;
        height: auto;
        flex-direction: column;
    }
    .option {
        width: 100%;
        height: auto;
        margin: 10px;
        padding: 0 10px;
    }
    .fishShippingHeader {
        text-align: center;
        font-size: 1.8rem;
    }
    .fishGalleryContainer {
        flex-direction: column;
        height: auto;
        padding: 40px 18px;
    }
    .fishGalleryOptionOne {
        width: 100%;
        height: auto;
        margin-left: 0;
    }
}

.interesting-fact {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 8px 0;
    color: #064273;
}

.interesting-fact-description {
    font-size: .85rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    color: #064273;
    line-height: 1.6;
    opacity: 0.85;
}

@media only screen and (max-width: 767px) {
    .fish-gallery-small-items {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }
    
    .fish-gallery-small {
        width: 100%;
        height: 300px;
        min-height: 200px;
        max-height: 400px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(6, 66, 115, 0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .fish-gallery-small:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 24px rgba(6, 66, 115, 0.2);
    }
    
    .fish-gallery-large {
        margin-top: 24px;
        width: 100%;
        height: 300px;
        min-height: 200px;
        max-height: 400px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(6, 66, 115, 0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .fish-gallery-large:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(6, 66, 115, 0.2);
    }

    .flex-desktop {
        display: flex;
        flex-direction: column;
        gap: 26px;
    }

    .flex-desktop-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .flex-desktop-2 .fishCutOptionOne,
    .flex-desktop-2 .fishCutOptionTwo,
    .flex-desktop-2 .fishCutOptionThree,
    .flex-desktop-2 .fishCutOptionFour {
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background-color: rgba(6, 66, 115, 0.04);
        border-radius: 8px;
    }
    
    .flex-desktop-2 .fishCutOptionOne h2,
    .flex-desktop-2 .fishCutOptionTwo h2,
    .flex-desktop-2 .fishCutOptionThree h2,
    .flex-desktop-2 .fishCutOptionFour h2 {
        text-align: center;
        margin-top: 0;
        margin-bottom: 8px;
    }
    
    .flex-desktop-2 .fishCutOptionOne p,
    .flex-desktop-2 .fishCutOptionTwo p,
    .flex-desktop-2 .fishCutOptionThree p,
    .flex-desktop-2 .fishCutOptionFour p {
        text-align: center;
        margin: 0;
    }
}

@media only screen and (min-width: 768px) {
    .parent-list {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 32px;
    }
    
    .fish-gallery-small-items {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 28px;
        width: min(100%, 640px);
    }
    
    .fish-gallery-small {
        width: 100%;
        min-width: 220px;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(6, 66, 115, 0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .fish-gallery-small:hover {
        transform: scale(1.03);
        box-shadow: 0 8px 24px rgba(6, 66, 115, 0.2);
    }
    
    .fish-gallery-large {
        width: clamp(320px, 70vw, 640px);
        height: auto;
        aspect-ratio: 1 / 1;
        min-height: 0;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(6, 66, 115, 0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .fish-gallery-large:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(6, 66, 115, 0.2);
    }

    .flex-desktop {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 32px;
        flex-wrap: wrap;
    }

    .flex-desktop .fishCutOptionOne,
    .flex-desktop .fishCutOptionTwo,
    .flex-desktop .fishCutOptionThree,
    .flex-desktop .fishCutOptionFour {
        width: auto;
        flex: 1 1 240px;
        max-width: 320px;
    }

    .flex-desktop-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 40px 60px;
        max-width: 900px;
        margin: 0 auto;
        width: 100%;
        justify-content: center;
    }
    
    .flex-desktop-2 .fishCutOptionOne,
    .flex-desktop-2 .fishCutOptionTwo,
    .flex-desktop-2 .fishCutOptionThree,
    .flex-desktop-2 .fishCutOptionFour {
        width: 100%;
        padding: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: flex-start;
        background-color: rgba(6, 66, 115, 0.04);
        border-radius: 8px;
    }
    
    .flex-desktop-2 .fishCutOptionOne h2,
    .flex-desktop-2 .fishCutOptionTwo h2,
    .flex-desktop-2 .fishCutOptionThree h2,
    .flex-desktop-2 .fishCutOptionFour h2 {
        text-align: center;
        margin-top: 0;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .flex-desktop-2 .fishCutOptionOne p,
    .flex-desktop-2 .fishCutOptionTwo p,
    .flex-desktop-2 .fishCutOptionThree p,
    .flex-desktop-2 .fishCutOptionFour p {
        text-align: center;
        max-width: 100%;
        line-height: 1.6;
        margin: 0;
    }
}
