/* Theme Name: Project 3 
    Theme Author: Yui Goto    
    Description: My DGL233 Project 3 Classic Theme. Welcome to a travel experience built around nature and adventure. This theme is crafted for travel offices and tourism services that want to inspire exploration, connect people with outdoor activities, and showcase the beauty of natural destinations.
    Tags: One Column, Custom Colors, custom-menu, Custom Logo, Editor Style, Featured Images, Site Editor, Block Editor Patterns, rtl-language-support, Sticky Post, threaded-comments, translation-ready, Wide Blocks, Block Editor Styles, Style Variations, Accessibility Ready, Blog, Portfolio, News
    Version: 1.0 */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Quicksand:wght@300..700&display=swap" rel="stylesheet');

body {
    background: #fcfaf5;
    line-height: 1.5;
    color: #271b0f;
}


/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
    margin: 0;
}

/* 3. Enable keyword animations
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
} */

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    font-family: "Quicksand", sans-serif;
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lexend", sans-serif;
    text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

section {
    margin: 20px auto;
}

a {
    background-color: #f1aa3c;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: #fcfaf5;
    font-family: "Quicksand", sans-serif;
    font-weight: bold;
}

img {
    border-radius: 15px;
}

/* ---------- HEADER ---------- */
header {
    background-color: #f1aa3c;
    padding: 10px 0;
}

header a {
    background-color: transparent;
    padding: 0;
}

.custom-logo {
    width: 30%;
    height: auto;
    margin: auto;
    border-radius: 0px;
}

#menu-primary {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
}

.menu-item {
    padding: 10px;
}

@media (min-width: 768px) {
    .custom-logo {
        width: 200px;
    }

    #menu-primary {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
}

/* --------- FOOTER ---------- */
footer a {
    background-color: transparent;
    padding: 0;
    color: black;
}

.footer-contents {
    padding: 15px 0;
}

.footer-about,
.footer-links,
.footer-connect {
    width: 90vw;
    padding: 15px 0;
    margin: auto;
}

#menu-secondary {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menu-secondary .menu-item::before {
    content: "▶";
    padding-right: 10px;
}

.footer-connect {
    background-color: #fce8b3;
    padding: 15px;
}

.footer-email,
.footer-fb {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.footer-email address,
.footer-fb p {
    padding-left: 10px;
}

.copyright {
    text-align: center;
    background-color: #f1aa3c;
    padding: 10px 0;
}

@media (min-width: 768px) {
    .footer-contents {
        display: flex;
        width: 90vw;
        margin: auto;
        gap: 2rem;
        max-width: 1000px;
        align-items: flex-start;
        padding: 50px 0;
    }

    .footer-about,
    .footer-links,
    .footer-connect {
        margin: 0;
    }

}




/* --------------------- HOME PAGE -------------------- */
/* ------- HERO ------- */
.home-hero {
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.home-hero div {
    width: 90vw;
    padding: 50px 0;
    color: #fcfaf5;
}

.home-hero h1 {
    padding-bottom: 15px;
}

/* ---------- FEATURED SECTION ---------- */
/* ------- ACTIVITY ------- */
.home-activity {
    text-align: center;
    width: 90vw;
}

.home-activity h3 {
    padding-top: 20px;
}

.home-activity .featured-card,
.home-accommodation .featured-card {
    border: 1px solid #271b0f;
}

.home-activity-card,
.home-accommodation-card {
    margin: 20px auto;
}

/* ------- ACCOMMODATION ------- */
.home-accommodation {
    margin: 30px auto;
    text-align: center;
}

/* ------- WEDDING ------- */
.home-wedding {
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.home-wedding div {
    width: 90vw;
    padding: 60px 0;
    color: #fcfaf5;
}

.home-wedding h2,
.home-wedding p {
    padding-bottom: 15px;
}

/* ------- CULTURE ------- */
.culture-contents h2 {
    padding: 20px 0;
}

.bg-video iframe {
    width: 100%;
}

/* ------- TRIP ------- */
.home-trip {
    text-align: center;
    background-color: #87a79d;
    margin: 0;
}

.trip-contents {
    width: 90vw;
    margin: auto;
    padding: 40px 0;
}

.home-trip img {
    width: max-content;
    margin-bottom: 15px;
}

.home-trip h2,
.home-trip p,
.home-trip ul {
    padding-bottom: 15px;
}

.list-heading,
.home-trip ul {
    text-align: left;
}

.home-trip ul {
    list-style: none;
    padding-left: 0;
}

.home-trip li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-family: "Quicksand", sans-serif;
}

.home-trip li::before {
    content: "✓";
    position: absolute;
    left: 0;
}

.home-trip a {
    margin: 10px;
}

@media (min-width: 768px) {

    .home-activity h3,
    .home-accommodation h3 {
        text-align: left;
        max-width: 1000px;
    }

    .home-activity-card,
    .home-accommodation-card {
        display: flex;
    }

    .trip-contents {
        display: flex;
        gap: 50px;
        align-items: center;
        max-width: 1000px;
    }

    .trip-contents img {
        width: 50%;
        object-fit: cover;

    }

    .trip-text {
        text-align: left;
        width: 50%;
    }

    .trip-buttons {
        white-space: nowrap;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

}

@media (min-width: 850px) {
    .trip-buttons {
        flex-direction: row;
    }
}

/* ------ CULTURE ------- */
.home-culture {
    text-align: center;
}

.culture-contents {
    padding: 60px 0;
}

.bg-video iframe {
    width: auto;
}

.culture-contents a {
    margin: 10px;
}

.home-culture-buttons {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .bg-video iframe {
        width: 50vw;
    }

    .home-culture-buttons {
        display: block;
        margin-top: 20px;
    }
}

/* ------- VISITOR ------- */
.home-visitor {
    text-align: center;
    background-color: #87a79d;
    margin: 0;
}

.visitor-contents {
    width: 90vw;
    padding: 40px 0;
    margin: auto;
}

@media (min-width: 768px) {

    .home-hero div,
    .home-activity,
    .home-accommodation,
    .home-wedding div,
    .visitor-contents {
        max-width: 1000px;
    }

}

/* ----------------- DISCOVER PAGE -------------------- */
/* ----- HERO ----- */
.discover-hero {
    height: 30vh;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.discover-hero-text {
    width: 90vw;
    color: #fcfaf5;
}

/* ----- BEACHES & FORESTS ----- */
.beaches-list,
.forests-list {
    width: 90vw;
    padding: 20px 0;
}

.beaches-list img,
.forests-list img {
    margin: 20px 0;
}

.image-title {
    text-align: center;
}

.list-item {
    padding: 15px 0;
}

.back-to-top {
    background-color: transparent;
    text-decoration: underline;
    color: #271b0f;
    padding: 15px 0;
}

@media (min-width: 768px) {

    .discover-hero-text,
    .beaches-list,
    .forests-list {
        max-width: 1000px;
    }
}

/* ----------------- SINGLE ACTIVITY PAGE -------------------- */
.activity-hero {
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
}

.activity-hero-contents {
    width: 90vw;
    margin: auto;
    padding: 15px 0;
    color: #fcfaf5;
}

.activity-hero-contents p {
    padding-bottom: 20px;
}

.activity-hero-contents a {
    background-color: transparent;
    font-weight: 400;
    padding: 0;
}

.tour-business1-details {
    width: 90vw;
}

.tour-business1-details address {
    margin: 20px auto;
}

.address-item {
    padding: 10px 0;
    font-family: "Quicksand", sans-serif;
    display: flex;
    align-items: center;

}

.address-item i {
    padding-right: 30px;
}

.address-item a {
    background-color: transparent;
    font-weight: 400;
    padding: 0;
    color: #271b0f;
    text-decoration: underline;
}

.address-1 {
    align-items: flex-start;
}

.map-link {
    display: block;
}

.opening-hours {
    margin-bottom: 30px;
}

.weekdays,
.weekends {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #271b0f;
    padding: 10px 0;
}

.tour-image {
    text-align: center;
}

@media (min-width: 768px) {
    .activity-hero {
        height: 30vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .activity-hero-contents {
        max-width: 1000px;
    }

    .tour-business1-details {
        display: flex;
        gap: 3rem;
        margin: 50px auto;
        max-width: 1000px;
    }

    .tour-business1-text,
    .tour-image {
        width: 50%;
    }
}

/* ---------- ACTIVITY ARCHIVE PAGE (THINGS TO DO) ---------- */
/* Hero and featured section */
.things-to-do-hero {
    margin: 0;
    height: 30vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.things-to-do-hero h1,
.things-to-do-hero p {
    width: 90vw;
    color: #fcfaf5;
}

.things-to-do-hero h1 {
    text-transform: uppercase;
}

.featured-listing-archive {
    background-color: #87a79d;
    margin: 0;
    padding: 40px 0;
}

.featured-listing-archive h2 {
    width: 90vw;
    margin: auto;
}

.featured-card {
    background-color: #fcfaf5;
    color: #271b0f;
    display: flex;
    flex-direction: column;
    width: 90vw;
    margin: 15px auto;
    justify-content: center;
    align-items: center;
}

.featured-card img {
    justify-content: center;
    object-fit: cover;
    width: 100%;
}

.card-contents {
    text-align: left;
}

.card-contents h3 {
    padding: 20px 0 10px;
}

.card-contents p {
    padding-bottom: 10px;
}

.card-view-text {
    text-decoration: underline;
}

@media (min-width: 768px) {

    .things-to-do-hero h1,
    .things-to-do-hero p {
        max-width: 1000px;
    }

    .featured-listing-archive h2 {
        max-width: 1000px;
    }

    .featured-grid {
        max-width: 1000px;
        margin: auto;
    }

    .card {
        display: flex;
    }

    .featured-card {
        width: 30%;
        justify-content: flex-start;
    }
}

/* Listing section */
.list-posts {
    width: 90vw;
    display: flex;
    flex-direction: column;
}

.list-buttons {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
}

.filter-button {
    width: 70vw;
    text-align: center;
    margin: 5px auto;
}

.activity-card {
    border: 1px solid #271b0f;
    border-radius: 15px;
    margin: 10px 0;
}

.activity-card a {
    background-color: transparent;
}

.activity-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.activity-link img {
    justify-content: center;
    object-fit: cover;
    width: 100%;
}

.card-list-text {
    color: #271b0f;
}

.card-list-text h3 {
    padding: 20px 0 10px;
}

.card-list-text p {
    padding-bottom: 10px;
}


@media (min-width: 768px) {
    .list-posts {
        max-width: 1000px;
    }

    .list-buttons {
        flex-direction: row;
        gap: 1rem;
        margin: 15px 0;
    }

    .card-list-template {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .activity-card {
        min-width: 0;
        margin: 0;
    }

    .activity-card img {
        width: 100%;
        height: auto;
        display: block;
    }

}

/* ---------- SINGLE ACCOMMODATIONS ---------- */
.accommodation-hero {
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.accommodation-hero-contents {
    color: #fcfaf5;
    width: 90vw;
    padding: 15px 0;
}

.accommodation-hero-contents a {
    background-color: transparent;
    font-weight: 400;
    padding: 0;
}

.accommodation-hero-contents p {
    padding-bottom: 20px;
}

.hotel-business1-details {
    width: 90vw;
}

.hotel-business1-text .address-contents {
    margin: 20px 0;
}

.amenities {
    margin-bottom: 30px;
}

.amenities ul {
    list-style: none;
    padding-left: 0;
}

.amenities li {
    position: relative;
    padding-left: 15px;
    font-family: "Quicksand", sans-serif;
}

.amenities li::before {
    content: "-";
    position: absolute;
    left: 0;
}

.hotel-image p {
    text-align: center;
}

@media (min-width: 768px) {
    .accommodation-hero {
        height: 30vh;
    }

    .accommodation-hero-contents {
        max-width: 1000px;
    }

    .hotel-business1-details {
        max-width: 1000px;
        margin: 50px auto;
        display: flex;
        gap: 3rem;
    }

    .hotel-business1-text,
    .hotel-image {
        width: 50%;
    }
}

/* ---------- ACCOMMODATION ARCHIVE ---------- */
.places-hero {
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.places-hero-contents {
    color: #fcfaf5;
    width: 90vw;
    padding: 15px 0;
}

.places-hero-contents h1 {
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .places-hero {
        height: 30vh;
    }

    .places-hero-contents {
        max-width: 1000px;
    }
}


/* ---------- 404 PAGE ---------- */
.page-404 {
    width: 90vw;
    margin: auto;
}

.error-message div {
    margin: 30px auto;
    display: flex;
    justify-content: center;
}

.error-message a {
    width: 40vw;
    text-align: center;
}

@media (min-width: 768px) {
    .page-404 {
        max-width: 1000px;
        text-align: center;
    }
}