/* Universal Selector */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base Body Styling */
body {
    background-color: #90C7E3;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
}

/* Wrapper */
#wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: white;
}

/* Header */
header {
    background-color: #90C7E3;
    color: white;
    text-align: center;
    font-size: 2em;
    letter-spacing: 0.15em;
    padding: 1em;
}

header a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

header a:hover {
    color: #5C7FA3;
}

/* Navigation - Mobile First */
nav {
    text-align: center;
    background-color: white;
    padding: 0.5em;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 0;
}

nav ul li {
    border-bottom: 1px solid white;
}

nav ul li a {
    color: #344873;
    text-decoration: none;
    display: block;
    padding: 10px;
	background-color: white;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #5C7FA3;
}

/* Hero Image */
.hero-container {
    width: 100%;
    overflow: hidden;
}

.hero {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Main Content */
main {
    background-color: white;
    padding: 1em;
}

section {
    padding: 1em;
}

/* Footer */
footer {
    background-color: white;
    text-align: center;
    padding: 1em;
}

/* Hyperlinks */
a:link {
    color: #5C7FA3;
}

a:visited {
    color: #344873;
}

a:hover {
    color: #A52A2A;
}

/* Phone Display Toggle */
#mobile {
    display: block;
}

#desktop {
    display: none;
}

/* Yurt Info Boxes */
.yurt-info {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding: 2em 1em;
    text-align: center;
}

.yurt-box {
    background-color: #f9f9f9;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Activity Info */
.activity-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    margin-top: 1em;
    padding: 1em;
}

.activity-box {
    background-color: #f9f9f9;
    padding: 1em;
    text-align: left;
}

/* Table Styling */
table {
    width: 90%;
    margin: 1em auto;
    border: 1px solid #3399CC;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #3399CC;
    padding: 5px;
}

td {
    text-align: center;
}

.text {
    text-align: left;
}

tr:nth-child(even) {
    background-color: #DFEDF8;
}

/* ------ Media Queries ------ */

/* Medium Screens (600px+) */
@media screen and (min-width: 600px) {
    .yurt-info {
        flex-direction: row;
        justify-content: space-between;
        gap: 2em;
    }

    .yurt-box {
        flex: 1;
        max-width: none;
        margin: 0;
    }

    nav ul {
        flex-direction: row;
        justify-content: center;
    }

    nav ul li {
        border: none;
        padding: 1em;
    }

    h1 {
        font-size: 2.5em;
        letter-spacing: 0.2em;
    }

    #mobile {
        display: none;
    }

    #desktop {
        display: inline;
    }

    .activity-info {
        grid-template-columns: repeat(2, 1fr);
    }

    main:not(.reservations-page) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    section {
        width: 100%;
        max-width: 600px;
    }

    #wrapper {
        width: 95%;
    }
}

/* Large Screens (1024px+) */
@media screen and (min-width: 1024px) {
    body {
        background: linear-gradient(to bottom, white 20%, #90C7E3, white);
    }

    #wrapper {
        width: 85%;
    }

    main {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 2em;
    }

    .yurt-info {
        justify-content: space-between;
    }

    .yurt-box {
        flex: 0 0 30%;
    }

    .activities-container {
        display: flex;
        justify-content: space-between;
        gap: 2em;
        flex-wrap: wrap;
        width: 100%;
    }

    .activities, .book-adventure {
        flex: 1;
        max-width: 48%;
        background-color: white;
        padding: 1.5em;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 10px;
    }

    footer {
        padding: 1.5em;
    }
}
/* Grid layout for reservation form */
.form-container {
    margin-left: 0; /* Shift everything to the left */
    padding: 20px;
    max-width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}
.reservations-page {
        align-items: flex-start;
}


label {
    font-weight: bold;
	text-align: left; /* Ensures labels align to the left */
}

input, textarea {
    padding: 8px;
    margin: 5px 0;
    width: 100%;
    max-width: 400px;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    width: auto;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

.hero-container img {
    width: 100%;
    height: auto;
}
/* Footer Styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
}

/* Ensure responsive layout for smaller screens */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}