:root {
    --blue: #176b87;
    --deep-blue: #114b5f;
    --sand: #f6f1e7;
    --white: #ffffff;
    --text: #263238;
    --muted: #68777d;
    --max-width: 1100px;
}


/* =========================
   GENERAL
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background-color: #8fd3cf;
    color: #173b45;
}

h2,
h3 {
    color: #12343b;
}

h1 {
    color: #ffffff;
}


/* =========================
   NAVIGATION
========================= */

nav {
    max-width: var(--max-width);
    margin: auto;
    padding: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.75;
}

.menu-button {
    display: none;

    font-size: 1.6rem;
    color: white;

    background: transparent;
    border: 0;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 88vh;

    background:
        linear-gradient(
            rgba(0, 40, 60, 0.25),
            rgba(0, 40, 60, 0.50)
        ),
        url("images/hero.jpg") center / cover no-repeat;

    color: white;
}

.hero-content {
    max-width: var(--max-width);
    margin: auto;
    padding: 15vh 25px 80px;
}

.hero-content h1 {
    max-width: 750px;

    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;

    margin: 10px 0 25px;
}

.hero-content > p:not(.eyebrow) {
    max-width: 600px;
    font-size: 1.2rem;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;

    color: var(--blue);
}

.hero .eyebrow {
    color: white;
}

.button {
    display: inline-block;

    margin-top: 20px;
    padding: 14px 24px;

    background: white;
    color: var(--deep-blue);

    text-decoration: none;
    font-weight: 700;

    border-radius: 999px;

    transition: transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    max-width: var(--max-width);
    margin: auto;
    padding: 90px 25px;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 45px;
}
#house .section-heading {
    max-width: 1100px;
}
.section-heading h2,
.help h2 {
    font-size: 2.5rem;
    line-height: 1.1;

    margin: 5px 0 15px;
}

#guide .section-heading {
    max-width: 900px;
}


/* =========================
   HOUSE FEATURES
========================= */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature span {
    font-size: 2rem;
}

.feature h3 {
    margin-bottom: 5px;
}


/* =========================
   PHOTO GALLERY
========================= */

#gallery-images {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 25px 80px;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    align-items: flex-start;
    justify-content: center;
}

#gallery-images h3 {
    width: 100%;
    margin: 25px 0 15px;

    text-align: center;
    font-size: 1.6rem;
}

#gallery-images .gallery-photo {
    width: 250px;
    height: auto;
    display: block;
    border-radius: 12px;
}

#gallery-images img[src$="terrace.jpg"] {
    width: 600px;
    height: auto;
}
#gallery-images img[src$="kitchen01.jpg"] {
width: 600px;
    height: auto;
}
/* =========================
   AVAILABILITY
========================= */

.booking-section {
    text-align: center;
}

.booking-section .section-heading {
    margin-left: auto;
    margin-right: auto;
}

.google-calendar-wrapper {
    width: 100%;
    max-width: 950px;

    margin: 35px auto 0;

    overflow: hidden;

    border-radius: 18px;

    background-color: #ffffff;

    box-shadow:
        0 8px 28px rgba(18, 52, 59, 0.12);
}

.google-calendar-wrapper iframe {
    display: block;

    width: 100%;
    height: 600px;

    border: 0;
}


/* =========================
   STAY REQUEST
========================= */

.stay-request-panel {
    max-width: 700px;

    margin: 35px auto 0;
    padding: 30px;

    text-align: center;

    background-color: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 8px 28px rgba(18, 52, 59, 0.12);
}

.stay-request-panel h3 {
    margin-top: 0;
    margin-bottom: 15px;

    color: #12343b;
}

.stay-request-panel p {
    margin: 8px 0;
    line-height: 1.6;
}

.request-stay-button {
    display: inline-block;

    margin-top: 20px;
    padding: 13px 24px;

    background-color: #009688;
    color: #ffffff;

    text-decoration: none;
    font-weight: 600;

    border-radius: 10px;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.request-stay-button:hover {
    background-color: #007f73;

    transform: translateY(-1px);
}


/* =========================
   LOCATION
========================= */

.location-section {
    text-align: center;
}

.location-heading {
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    width: 100%;
    height: 520px;

    margin-top: 35px;

    overflow: hidden;

    border-radius: 20px;

    background-color: #ffffff;

    box-shadow:
        0 10px 35px rgba(18, 52, 59, 0.15);
}

.map-container iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================
   EXPLORE
========================= */

.alt-background {
    max-width: none;

    padding-left:
        max(25px, calc((100% - 1100px) / 2));

    padding-right:
        max(25px, calc((100% - 1100px) / 2));

    background: var(--sand);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.card {
    padding: 30px;

    background: white;

    border-radius: 18px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2.2rem;
}

.text-link {
    color: var(--blue);

    font-weight: 700;
    text-decoration: none;
}


/* =========================
   HOUSE GUIDE
========================= */

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.guide-item {
    min-height: 125px;

    padding: 24px 15px;

    border: 0;
    border-radius: 16px;

    background: var(--sand);
    color: var(--text);

    text-align: center;

    cursor: pointer;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.guide-item:hover {
    background: #eee5d5;
}

.guide-item span {
    display: block;

    margin-bottom: 10px;

    font-size: 2.2rem;
}

.guide-item strong {
    text-align: center;
    font-size: 1.15rem;
}


/* =========================
   HELP
========================= */

.help {
    text-align: center;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 50px 25px;

    background: var(--deep-blue);
    color: white;

    text-align: center;
}


/* =========================
   SPECIAL GALLERY IMAGE
========================= */

/* First Aiolos photograph is larger on desktop */
#gallery-images .gallery-photo:first-of-type {
    width: 1000px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 750px) {

    /* Navigation */

    .menu-button {
        display: block;
    }

    nav {
        position: relative;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;

        padding: 20px;

        background: var(--deep-blue);
        border-radius: 12px;

        flex-direction: column;

        z-index: 10;
    }

    .nav-links.open {
        display: flex;
    }


    /* Hero */

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        padding-top: 12vh;
    }


    /* Main sections */

    .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }


    /* House features */

    .features {
        grid-template-columns: 1fr;
    }


    /* Explore cards */

    .cards {
        grid-template-columns: 1fr;
    }


    /* House guide */

    .guide-grid {
        grid-template-columns: 1fr;
    }




    /* Map */

    .map-container {
        height: 420px;
        border-radius: 14px;
    }


    /* Availability */

    .google-calendar-wrapper iframe {
        height: 550px;
    }


     .terrace-photo {
    width: 800px;
}

@media (max-width: 750px) {

    #gallery-images .gallery-photo {
        width: calc(50% - 6px);
    }

    #gallery-images img[src$="terrace.jpg"] {
        width: 100%;
    }

}
}