/* Ry Astro stylesheet */

/* Resets */
body, h1, h2, h3, p, ul, ol, dl{
    margin: 0;
    margin: 0;
}

/* Base Page Styles */
body{
    background-color: #9ec3c4;          /* main teal background */
    color: #393d39;                     /* dark text color */
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

/* Wrapper For Main Page Content */
#page-wrap{
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Block Section Used Throughout Site */
.block{
    margin-bottom: 1.5rem;
}

/* Headings Spacing */
h1, h2,h3{
    color: #393d39;
}
h2{
    margin-bottom: 0.5rem;
}
h3{
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

/* Paragraph spacing */
p{
    margin-bottom: 0.75rem;
}

/* Lists */
ul{
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Banner Styles */

header.banner{                          /* Full-width moon banner */
    width: 100%;
    padding: 3.5rem 1rem;           
    text-align: center;
    color: white;
    background-image: url("Banner Image.jpg"); /* Banner image file */
    background-size: cover;
    background-position: center;
}
header.banner h1{
    font-size: 2.3rem;
}

header.banner .tagline{
    font-size: 1.1rem;
}

/* Navigation Sidebar */

/*Hamburger Button That Opens Nav */
#hamburger{
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    border: none;
    background-color: #393d39;
    color: #dfe9de;
    font-size: 18px;
    cursor: pointer;
    z-index: 1200;
}

/*Side Nav Container */
#sidebar{
    position: fixed;
    top: 0;
    left: 0;
    width: 230px;
    height: 100vh;
    background-color: #393d39;
    color: #dfe9de;
    padding: 1rem;
    transform: translateX(-260px);      /* hides by default */
    transition: transfrom 0.25s ease;
    z-index: 1100;
}

/* Classes Toggled by JavaScript */
#sidebar.open{
    transform: translateX(0);

}
#sidebar.closed{
    transform: translateX(-260px);
}

/* Close Button Inside Nav */
#closeNav{
    background: none;
    border: none;
    color: #dfe9de;
    font-size: 18px;
    float: right;
    cursor: pointer;
}

/* Nav Title Text */
.logo-text{
    margin-bottom: 1rem;
}

/* Nav List */
.nav-list{
    list-style-type: none;
    margin-bottom: 1rem;
}
.nav-list li{
    margin-bottom: 0.5rem;
}
.nav-list a{
    text-decoration: none;
    color: #dfe9de;
    padding: 4px 6px;
    border-radius: 4px;
}

/* Link hover */
.nav-list a:hover{
    background-color: #dfe9de;
    color: #393d39;
}

/*Logo Image In Nav */
.nav-logo{
    display: block;
    width: 120px;
    margin: 1rem auto 0 auto;
    opacity: 0.9;
}

/* Buttons & Links */

/* Main Action Button */
.btn, button[type="submit"]{
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    background-color: #393d39;
    color: #dfe9de;
    text-decoration: none;
    cursor: pointer;
}

/* Hover Effect For Buttons */
.btn:hover, button[type="submit"]:hover{
    opacity: 0.9;
}

/* Images and Layout */

.block img {
    max-width: 240px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Floating Images for About & Services Page */
.float-left{
    float: left;
    margin: 0 1rem 1rem 0;
}
.float-right{
    float: right;
    margin: 0 0 1rem 1rem;
}

/* Clears Float Around Wrapped Images */
.clear{
    clear: both;
}

.decor-image{
    text-align: center;         /* centers image on page */
    margin-top: 1rem auto;
}

.decor-image img {
  max-width: 250px;             /* controls how small image stays */
  margin: 0 auto;
}

/* Tables */

.booking-table{
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.booking-table th,
.booking-table td{
    color: white;
    border: 1px solid #f1f7f1;
    padding: 8px;
    text-align: left;
}
.booking-table caption{
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Forms */

.simple-form label{
    display: block;
    margin-top: 0.5rem;
}
.simple-form input,
.simple-form textarea{
    width: 100%;
    padding: 6px;
    margin-top: 0.25rem;
    border-radius: 4px;
    border: 1px solid #393d3940;
}

/* Reviews Page Background */
.reviews-page{
    background-image: url("Background Image.jpg");
    background-size: cover;
    background-position: center;
}

/* Wrap For Reviews Content */
.reviews-wrap{
    background-color: rgba(223, 233, 222, 0.9);
    padding: 1rem;
}

/* Services Page Image */

.services-decor {
    text-align: center;
    margin: 1rem auto 2rem auto;
}

.services-decor img {
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    opacity: 0.95;
}

/* FAQ Page Styles */
.faq-list dt{
    font-weight: bold;
    margin-top: 0.75rem;
}
.faq-list dd{
    margin-left: 1rem;
    margin-top: 0.25rem;
}

/* Footer */

footer{
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #393d3940;
}

/* Accessibility Focus Styles */

a:focus,
button:focus,
input:focus,
textarea:focus{
    outline: 2px solid #393d39;
}

/* Small Screen */
@media(max-width: 700px){
    #page-wrap{
        margin: 2rem 0.5rem;
    }
    .float-left,
    .float-right{
        float: none;
        margin: 0 0 1rem 0;
        display: block;
    }
}

