/* ===============================
   PAGE WRAPPER
   =============================== */

.overallbodycontainer {
    margin: 0;
    height: auto;
}

/* ===============================
   MAIN GRID LAYOUT
   =============================== */

.secondmaincontainer {
    display: grid;
    grid-template-columns: 560px 1fr;
    gap: 50px;
    padding: 0 20px 0 90px;
    width: 100%;
    box-sizing: border-box;
    align-items: start;
}

/* ===============================
   CARD STYLING (shared)
   =============================== */

.scenerycard,
.firstlistcontainer {
    background: green;
    display: block;
    border: 4px solid black;
    border-radius: 20px;
    padding: 50px;
    box-sizing: border-box;
}

.firstimgtextcontainer {
    background: green; 
    display: flex; 
    border: 4px solid black; 
    border-radius: 20px; 
    padding: 20px;
    box-sizing: border-box;  
}

.secondimagecontainer {
    background: green;
    width: 510px;
    display: block;
    border: 4px solid black;
    border-radius: 20px;
    padding: 20px 40px;
    margin-top: 50px; 
    box-sizing: border-box;
}

.secondreviewscontainer {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 20px; 
    margin: 0;
    padding-top: 20px;
    margin-top: 57px;
}

/* ===============================
   SCENERY CARD (top section)
   =============================== */

.scenerycard {
    display: grid;
    grid-template-columns: 550px 1fr;
    gap: 20px;
    align-items: start;
}

/* text + arrows */
.secondparagraphcontainer {
    width: 100%;
}

.secondbuttoncontainer {
    display: inline;
    justify-content: space-between;
    margin-right: 450px;
    align-items: center;
}

.arrowholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

#bottomphotoimage {
    display: block;
    border-radius: 15px;
}

/* arrow buttons */
.firstarrowbutton,
.secondarrowbutton {
    background-color: seagreen;
    border-radius: 10px;
    border: 4px solid black;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.firstarrowbutton:hover,
.secondarrowbutton:hover {
    background-color: #111111;
}

/* ===============================
   LODGINGS CARD
   =============================== */

.firstimgtextcontainer {
    width: 610px; 
    flex-direction: column;
}

.firstimagecontainer {
    background: none;
    border: none;
}

.firstimagecontainer img {
    display: block;
    width: 100%; 
    height: auto;
    border-radius: 15px;
}

.reviewtextbox {
    flex: 1; 
    text-align: center; 
}

p.photoentrytext {
    margin: 0;
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
}

/* ===============================
   LIST CARD
   =============================== */

.firstlistcontainer {
    display: flex;
    align-items: stretch;
}

ul.rowlist {
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: row;
}

li.rowlist a {
    display: block;
    padding: 30px;
    text-align: center;
    font-size: 28px;
    color: white;
    background-color: black;
}

li.rowlist a:hover {
    background-color: green;
    cursor: pointer;
}

/* ===============================
   TEXT STYLES
   =============================== */

p {
    color: black;
    padding: 0;
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
}

p.second {
    width: 100%;
}

p.third {
    font-size: 30px;
    font-weight: 400;
}

/* ===============================
   LINKS
   =============================== */

a.pagepointers {
    font-size: 25px;
    color: white;
    text-decoration: none;
}

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

@media (max-width: 1350px) {
    .secondmaincontainer {
        grid-template-columns: 1fr;
        padding-left: 20px;
    }

    .scenerycard {
        grid-template-columns: 1fr;
    }

    .secondimagecontainer {
        width: 100%;
        max-width: 560px;
    }

    .arrowholder {
        gap: 12px;
    }

    #bottomphotoimage {
        width: 100%;
        max-width: 450px;
        height: auto;
    }
}
