/* =========================================================
   SOUTHWEST POINT
   Main stylesheet
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;

    background: #f3eee7;
    color: #0b1f30;

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   2. HEADER
   ========================================================= */

.site-header {
    width: 100%;
    height: 118px;

    background-color: #0b1f30;

    overflow: hidden;
}

.header-inner {
    width: 100%;
    height: 118px;

    display: flex;
    align-items: center;
}

.site-logo {
    width: 580px;
    height: 118px;

    flex: 0 0 580px;

    background-image: url("../img/design/logo.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 580px 118px;
}

.header-space {
    flex: 1;
    height: 118px;

    background-color: #0b1f30;
}


/* =========================================================
   3. TRAVEL WINDOW SLIDER
   ========================================================= */

.travel-slider {
    position: relative;

    width: 100%;

    aspect-ratio: 1536 / 452;

    overflow: hidden;

    background-color: #000;
}


/* =========================================================
   4. SLIDER TRACK
   ========================================================= */

.slider-track {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}


/* =========================================================
   5. SLIDES
   ========================================================= */

.slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    opacity: 1;

    transition: opacity 1.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}


/* =========================================================
   6. LANDSCAPE PHOTOS
   ========================================================= */

.slide-01 {
    background-image: url("../img/landscape_01.jpg");
}

.slide-02 {
    background-image: url("../img/landscape_02.jpg");
}

.slide-03 {
    background-image: url("../img/landscape_03.jpg");
}

.slide-04 {
    background-image: url("../img/landscape_04.jpg");
}

.slide-05 {
    background-image: url("../img/landscape_05.jpg");
}


/* =========================================================
   7. WINDOWS OVERLAY
   ========================================================= */

.windows-overlay {
    position: absolute;
    inset: 0;

    z-index: 10;

    width: 100%;
    height: 100%;

    background-image: url("../img/design/windows.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    pointer-events: none;
}


/* =========================================================
   8. INTRO SECTION
   background.png STARTS BELOW THE WINDOWS
   ========================================================= */

.intro-section {
    position: relative;

    width: 100%;

    min-height: 1024px;

    background-image: url("../img/design/background.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1536px 1024px;

    background-color: #c8b9a8;
}


/* =========================================================
   9. INTRO CONTENT
   ========================================================= */

.intro-content {
    position: relative;
    z-index: 2;

    width: min(1250px, 90%);

    margin: 0 auto;

    padding: 80px 0 100px;

    text-align: center;
}

.intro-title {
    color: #0b1f30;

    font-size: clamp(32px, 4vw, 58px);

    line-height: 1.1;

    font-weight: 700;
}

.intro-text {
    max-width: 850px;

    margin: 30px auto 0;

    color: #3e342c;

    font-size: clamp(17px, 2vw, 22px);

    line-height: 1.6;
}


/* =========================================================
   10. SMALL DECORATIVE DIVIDERS
   ========================================================= */

.divider-line-1 {
    width: min(372px, 80%);
    height: 42px;

    margin: 25px auto;

    background-image: url("../img/design/divider-line-1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.divider-line-2 {
    width: min(464px, 85%);
    height: 63px;

    margin: 25px auto;

    background-image: url("../img/design/divider-line-2.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/* =========================================================
   11. FIVE DESTINATIONS
   ========================================================= */

.route-cities {
    width: 100%;

    margin-top: 65px;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 25px;
}

.route-city {
    display: block;

    color: #0b1f30;

    text-decoration: none;

    text-align: center;
}

.route-city:hover {
    color: #0b1f30;
    text-decoration: none;
}

.route-city-logo {
    width: 180px;
    height: 180px;

    margin: 0 auto 18px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    transition: transform 0.3s ease;
}

.route-city:hover .route-city-logo {
    transform: translateY(-5px);
}


/* =========================================================
   12. CITY LOGOS
   ========================================================= */

.logo-brookings {
    background-image: url("../img/design/logo-brookings.png");
}

.logo-crescent-city {
    background-image: url("../img/design/logo-crescent-city.png");
}

.logo-grants-pass {
    background-image: url("../img/design/logo-grants-pass.png");
}

.logo-klamath-falls {
    background-image: url("../img/design/logo-klamath-falls.png");
}

.logo-medford {
    background-image: url("../img/design/logo-medford.png");
}


/* =========================================================
   13. CITY NAMES
   ========================================================= */

.route-city-name {
    color: #0b1f30;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   14. MAIN CONTENT
   ========================================================= */

.main-content {
    width: 100%;

    background: #f3eee7;
}

.content-container {
    width: min(1100px, 90%);

    margin: 0 auto;
}

.content-section {
    padding: 80px 0;
}

.content-section h2 {
    margin-bottom: 25px;

    color: #0b1f30;

    font-size: clamp(28px, 3vw, 42px);

    line-height: 1.2;

    text-align: center;
}


/* =========================================================
   15. ROUTE MAP
   ========================================================= */

.route-map {
    width: 100%;
    max-width: 610px;

    min-height: 285px;

    margin: 40px auto;

    text-align: center;
}

.route-map img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   16. LINKS
   ========================================================= */

a {
    color: #7b5739;

    text-decoration: none;
}

a:hover {
    color: #4f3825;

    text-decoration: underline;
}


/* =========================================================
   17. FOOTER
   ========================================================= */

.site-footer {
    width: 100%;

    padding: 50px 20px;

    background-color: #0b1f30;

    color: #ffffff;

    text-align: center;
}

.site-footer p {
    margin-bottom: 8px;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   18. TABLET
   ========================================================= */

@media (max-width: 900px) {

    .site-header,
    .header-inner {
        height: 90px;
    }

    .site-logo {
        width: 440px;
        height: 90px;

        flex-basis: 440px;

        background-size: 440px 90px;
    }

    .route-cities {
        grid-template-columns: repeat(3, 1fr);
    }

    .route-city-logo {
        width: 150px;
        height: 150px;
    }

    .intro-section {
        min-height: 900px;

        background-size: auto 900px;
    }
}


/* =========================================================
   19. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-header,
    .header-inner {
        height: 70px;
    }

    .site-logo {
        width: 344px;
        height: 70px;

        flex-basis: 344px;

        background-size: 344px 70px;
    }

    .travel-slider {
        aspect-ratio: 1536 / 452;
    }

    .windows-overlay {
        background-size: cover;
    }

    .intro-section {
        min-height: 850px;

        background-size: auto 850px;
    }

    .intro-content {
        width: 88%;

        padding: 50px 0 70px;
    }

    .intro-title {
        font-size: 30px;
    }

    .intro-text {
        font-size: 16px;

        line-height: 1.5;
    }

    .route-cities {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px 15px;

        margin-top: 45px;
    }

    .route-city-logo {
        width: 130px;
        height: 130px;
    }

    .route-city-name {
        font-size: 16px;
    }

    .content-section {
        padding: 50px 0;
    }
}


/* =========================================================
   20. SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .site-header,
    .header-inner {
        height: 60px;
    }

    .site-logo {
        width: 295px;
        height: 60px;

        flex-basis: 295px;

        background-size: 295px 60px;
    }

    .route-cities {
        gap: 25px 10px;
    }

    .route-city-logo {
        width: 110px;
        height: 110px;
    }
}