/* =========================================
   ISLAND PAGE
========================================= */


/* =========================================
   HERO
========================================= */

.island {
    position: relative;

    width: 100%;

    text-align: center;
    color: white;

    overflow: hidden;
}


.island-us-img {
    display: block;

    width: 100%;
    height: 550px;

    object-fit: cover;
    object-position: center;
}


/* Centered hero text */

.island-us-text {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 900px;

    text-align: center;
}


/* Hero title */

.title-island {
    font-size: 5rem;
    line-height: 1.1;

    text-shadow: 2px 2px 4px #000000;
}


/* Hero subtitle */

.under-title-island {
    margin-top: 10px;

    font-size: 2rem;
    line-height: 1.4;

    text-shadow: 2px 2px 4px #000000;
}


/* =========================================
   CAPSULA INTRO
========================================= */

.capsula-title {
    margin-top: 60px;

    font-size: 3rem;
    line-height: 1.2;

    text-align: center;
}


.capsula-text {
    width: 90%;
    max-width: 900px;

    margin: 20px auto 30px;

    text-align: center;

    font-size: 1.2rem;
    line-height: 1.7;
}


/* =========================================
   BLOOD TREE SECTION
========================================= */

.blood-tree {
    width: 90%;
    max-width: 1000px;

    min-height: 350px;
    height: auto;

    background-color: #fff;

    margin: 80px auto 50px;

    display: flex;
    align-items: center;

    padding: 50px;

    border-radius: 10px;

    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Image wrapper */

.img-blood-tree {
    width: 42%;

    margin-right: 60px;

    flex-shrink: 0;
}


/* Blood tree image */

#blood-tree-img {
    display: block;

    width: 100%;
    max-width: 420px;

    height: 320px;

    object-fit: cover;

    border-radius: 10px;
}


/* Blood tree title */

.blood-tree-title-inside {
    margin-bottom: 20px;

    font-size: 1.6rem;
    line-height: 1.3;
}


/* Blood tree text */

.blood-tree-text-inside {
    margin-top: 20px;

    font-size: 1.2rem;
    line-height: 1.7;
}


/* =========================================
   ISLAND FEATURES
========================================= */

.island-feature {
    display: flex;
    flex-direction: column;

    width: 100%;

    padding: 40px 20px;
}


/* Section title and subtitle */

.island-feature-title,
.island-feature-text {
    text-align: center;
}


.island-feature-title {
    font-size: 3rem;
    line-height: 1.2;
}


.island-feature-text {
    width: 90%;
    max-width: 900px;

    margin: 20px auto 30px;

    font-size: 1.2rem;
    line-height: 1.7;
}


/* Rows containing feature cards */

.island-feature-content-first,
.island-feature-content-second {
    display: flex;
    flex-direction: row;

    justify-content: center;

    gap: 40px;

    width: 90%;
    max-width: 1280px;

    margin-left: auto;
    margin-right: auto;
}


/* Feature cards */

.island-feature-card {
    min-height: 200px;

    width: 100%;
    max-width: 600px;

    background-color: #fff;

    margin-top: 10px;
    margin-bottom: 10px;

    padding: 30px;

    border-radius: 10px;

    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Feature card content */

.island-feature-inside-card {
    margin-top: 20px;

    display: flex;
    flex-direction: row;

    align-items: flex-start;

    gap: 20px;
}


/* Feature icon wrapper */

.island-inside-img {
    height: 55px;
    width: 55px;

    min-width: 55px;

    border-radius: 10px;

    background-color: #0A5A8F;

    padding: 5px;
}


/* Feature icon */

.image-island {
    height: 40px;
    width: 40px;

    display: block;

    margin: 2px auto 0;
}


/* Feature title */

.island-feature-inside-title {
    margin-bottom: 10px;

    font-size: 1.4rem;
    line-height: 1.3;
}


/* Feature text */

.island-feature-inside-text {
    font-size: 1rem;
    line-height: 1.6;
}


/* Small badge / extra information */

.island-small {
    min-height: 70px;

    width: 130px;

    margin: 20px auto 0;

    padding: 10px;

    background-color: #e6e6e6;

    text-align: center;
}


.island-small-title {
    margin-top: 5px;

    font-size: 1rem;
}


/* =========================================
   DESERT ROSE
========================================= */

.deserst-rose {
    margin: 100px auto 60px;

    min-height: 600px;

    width: 90%;
    max-width: 1400px;

    display: flex;

    align-items: center;

    gap: 50px;
}


/* Desert rose image */

#rose-img {
    display: block;

    width: 55%;
    max-width: 760px;

    height: 550px;

    object-fit: cover;

    border-radius: 10px;
}


/* Desert rose text content */

.desert-rose-inside {
    flex: 1;
}


/* Desert rose title */

.title-rose {
    font-size: 3rem;
    line-height: 1.2;

    color: #000000;
}


/* Desert rose text */

.text-rose {
    margin-top: 30px;

    font-size: 1.2rem;
    line-height: 1.7;

    color: #000000;
}


/* =========================================
   MARINE SECTION
========================================= */

.marine {
    min-height: 650px;

    width: 90%;
    max-width: 1400px;

    display: flex;

    align-items: center;

    gap: 50px;

    margin: 0 auto 120px;
}


/* Marine image */

#marine-img {
    display: block;

    width: 55%;
    max-width: 760px;

    height: 600px;

    object-fit: cover;

    border-radius: 10px;

    order: 2;
}


/* Marine text content */

.marine-inside {
    flex: 1;

    order: 1;
}


/* Marine title */

.title-marine {
    font-size: 3rem;
    line-height: 1.2;

    color: #000000;
}


/* Marine text */

.text-marine {
    margin-top: 30px;

    font-size: 1.2rem;
    line-height: 1.7;

    color: #000000;
}


/* =========================================
   CONSERVATION
========================================= */

.conservation {
    background-color: #03273F;

    color: #fff;

    width: 90%;
    max-width: 1300px;

    min-height: 300px;

    margin: 60px auto 70px;

    padding: 40px 30px;

    border-radius: 30px;

    text-align: center;

    text-shadow: 2px 2px 4px #000000;
}


/* Conservation title */

.title-conservation {
    margin-top: 20px;
    margin-bottom: 15px;

    font-size: 2rem;
    line-height: 1.3;
}


/* Conservation text */

.text-conservation {
    width: 90%;
    max-width: 900px;

    margin: 15px auto 0;

    font-size: 1.2rem;
    line-height: 1.7;
}


/* =========================================
   TABLET / MOBILE ≤900px
========================================= */

@media (max-width: 900px) {

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }


    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }


    /* =========================================
       HERO
    ========================================= */

    .island-us-img {
        width: 100%;

        height: 320px;

        object-fit: cover;

        display: block;
    }


    .title-island {
        font-size: 3rem;
    }


    .under-title-island {
        font-size: 1.4rem;
    }


    /* =========================================
       CAPSULA
    ========================================= */

    .capsula-title {
        font-size: 2rem;

        margin-top: 40px;
    }


    .capsula-text {
        width: 90%;

        font-size: 1rem;

        margin-bottom: 30px;
    }


    /* =========================================
       BLOOD TREE
    ========================================= */

    .blood-tree {
        width: 80%;

        margin: 40px auto 50px;

        padding: 25px;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 18px;

        height: auto;

        text-align: center;
    }


    .blood-tree-title-inside {
        order: 1;

        font-size: 1.4rem;
    }


    .blood-tree-text {
        order: 2;

        width: 100%;
    }


    .blood-tree-text-inside {
        font-size: 1rem;
        line-height: 1.6;

        margin-top: 10px;
    }


    .img-blood-tree {
        width: 100% !important;

        margin: 0 !important;

        padding: 0 !important;

        order: 3;

        display: flex;

        justify-content: center;
        align-items: center;
    }


    #blood-tree-img {
        width: 100% !important;

        max-width: 420px !important;

        /* Fixed missing unit */
        height: 200px !important;

        margin: 0 !important;

        padding: 0 !important;

        transform: none !important;

        display: block;
    }


    /* =========================================
       ISLAND FEATURES
    ========================================= */

    .island-feature-title {
        font-size: 2rem;
    }


    .island-feature-text {
        font-size: 1rem;
    }


    .island-feature-content-first,
    .island-feature-content-second {
        flex-direction: column;

        gap: 14px;

        width: 85%;

        margin: 0 auto;
    }


    .island-feature-card {
        width: 100%;
        max-width: 100%;

        height: auto;

        padding: 20px;

        /* Fixed invalid margin: 5 auto */
        margin: 5px auto;
    }


    .island-feature-inside-card {
        display: flex;

        align-items: flex-start;

        gap: 12px;
    }


    .island-inside-img {
        width: 50px;
        height: 50px;

        min-width: 50px;

        flex-shrink: 0;
    }


    .island-feature-inside-title {
        font-size: 1.3rem;
    }


    .island-feature-inside-text {
        font-size: 1rem;

        line-height: 1.5;
    }


    .island-small {
        width: 50%;
        max-width: 180px;

        font-size: 0.9rem;

        margin: 10px auto 0;
    }


    .island-small-title {
        margin-top: 5px;
    }


    /* =========================================
       DESERT ROSE + MARINE
    ========================================= */

    .deserst-rose,
    .marine {
        display: flex;
        flex-direction: column;

        width: 90%;

        min-height: 0;
        height: auto;

        gap: 20px;

        margin: 50px auto;
    }


    .desert-rose-inside,
    .marine-inside {
        order: 1;

        width: 100%;

        text-align: center;
    }


    #rose-img,
    #marine-img {
        order: 2;

        width: 80%;
        max-width: 600px;

        height: 350px;

        margin: 10px auto;

        object-fit: cover;
    }


    .title-rose,
    .title-marine {
        font-size: 2rem;

        text-align: center;
    }


    .text-rose,
    .text-marine {
        font-size: 1rem;
        line-height: 1.6;

        text-align: center;
    }


    /* =========================================
       CONSERVATION
    ========================================= */

    .conservation {
        width: 85%;

        height: auto;
        min-height: 0;

        padding: 30px 20px;

        margin: 40px auto;
    }


    .title-conservation {
        font-size: 1.8rem;
    }


    .text-conservation {
        width: 100%;

        font-size: 1rem;
    }
}


/* =========================================
   VERY SMALL SCREENS ≤500px
========================================= */

@media (max-width: 500px) {


    /* =========================================
       HERO
    ========================================= */

    .island-us-img {
        /* Smaller than tablet instead of becoming taller */
        height: 260px;
    }


    .title-island {
        font-size: 2.2rem;
    }


    .under-title-island {
        font-size: 1.1rem;
    }


    /* =========================================
       INTRO
    ========================================= */

    .capsula-title {
        font-size: 1.8rem;
    }


    .capsula-text {
        font-size: 0.95rem;
    }


    /* =========================================
       BLOOD TREE
    ========================================= */

    .blood-tree {
        width: 90%;

        padding: 20px 15px;

        gap: 14px;
    }


    .blood-tree-title-inside {
        font-size: 1.3rem;
    }


    .blood-tree-text-inside {
        font-size: 0.95rem;
    }


    .img-blood-tree {
        justify-content: center;
    }


    #blood-tree-img {
        max-width: 100% !important;

        height: 200px !important;
    }


    /* =========================================
       ISLAND FEATURES
    ========================================= */

    .island-feature {
        padding: 30px 10px;
    }


    .island-feature-title {
        font-size: 1.8rem;
    }


    .island-feature-text {
        font-size: 0.95rem;
    }


    .island-feature-content-first,
    .island-feature-content-second {
        width: 95%;
    }


    .island-feature-card {
        width: 100%;

        padding: 15px;

        margin-top: 5px;
    }


    .island-feature-inside-card {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }


    .island-feature-inside-title {
        font-size: 1.3rem;
    }


    .island-feature-inside-text {
        font-size: 0.95rem;
    }


    .island-small {
        width: 65%;
        max-width: 180px;

        font-size: 0.85rem;
    }


    /* =========================================
       ROSE & MARINE
    ========================================= */

    #rose-img,
    #marine-img {
        width: 100%;

        height: 250px;
    }


    .title-rose,
    .title-marine {
        font-size: 1.8rem;
    }


    .text-rose,
    .text-marine {
        font-size: 0.95rem;
    }


    /* =========================================
       CONSERVATION
    ========================================= */

    .conservation {
        width: 90%;

        padding: 25px 15px;
    }


    .title-conservation {
        font-size: 1.7rem;
    }


    .text-conservation {
        font-size: 0.95rem;
    }
}