/*
    Author: Hannah Howard
    Date: September 21, 2026
    File Name: styles.css
*/

/* CSS Reset */

body, header, nav, main, footer, img, h1, h3, ul, aside, figure, figcaption {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rules for body and images */

body {
    background-color: #f6eee4;
}

img {
    max-width: 100%;
    display: block;
}

/* Style rules for mobile viewport */

.mobile {
    display: block;
}

.tab-desk {
    display: none;
}

/* Style rules for header area */

.mobile h1,
.mobile h3 {
    padding: 2%;
    text-align: center;
}

.mobile h1 {
    font-family: "Emblema One", cursive;
}

.mobile h3 {
    font-family: "Lora", serif;
}

/* Style rules for navigation area */

nav {
    background-color: #2a1f14;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav li {
    display: block;
    border-top: 0.5px solid #f6eee4;
    font-size: 1.5em;
    font-family: Geneva, Arial, sans-serif;
    font-weight: bold;
}

nav li a {
    display: block;
    color: #f6eee4;
    padding: 0.5em 2em;
    text-decoration: none;
}

/* Style rules for main content */

main {
    padding: 2%;
    font-family: "Lora", serif;
}

main p {
    font-size: 1.25em;
}

main h3 {
    padding-top: 2%;
}

main ul {
    list-style-type: square;
}

.link {
    color: #4d3319;
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
}

.action {
    font-size: 1.75em;
    font-weight: bold;
    text-align: center;
}

.round {
    border-radius: 6px;
}

/* Style rules for aside, figure, and figcaption */

aside {
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 4px 4px 10px #c5a687;
}

figure {
    border: 4px solid #2a1f14;
    box-shadow: 6px 6px 10px #c5a687;
    max-width: 400px;
    margin: 2% auto;
}

figcaption {
    padding: 2%;
    border-top: 4px solid #2a1f14;
}

/* Style rules for gallery */

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2%;
}

.grid img {
    width: 100%;
}

/* Style rules for contact */

#info ul {
    margin-left: 10%;
}

#contact {
    text-align: center;
}

.tel-link {
    background-color: #2a1f14;
    padding: 2%;
    width: 80%;
    margin: 0 auto;
}

.tel-link a {
    color: #f6eee4;
    text-decoration: none;
    font-weight: bold;
}

/* Style rules for partnership table */

table {
    border: 1px solid #2a1f14;
    border-collapse: collapse;
    margin: 2% auto;
    width: 100%;
}

caption {
    font-size: 1.5em;
    font-weight: bold;
    padding: 2%;
}

th,
td {
    border: 1px solid #2a1f14;
    padding: 2%;
    text-align: left;
}

th {
    background-color: #2a1f14;
    color: #f6eee4;
}

tr:nth-child(even) {
    background-color: #e6d7c5;
}

/* Style rules for contact form */

form {
    margin: 0 auto;
    width: 90%;
}

fieldset {
    border: 1px solid #2a1f14;
    margin: 0 0 2%;
    padding: 2%;
}

legend {
    font-size: 1.25em;
    font-weight: bold;
}

label {
    display: block;
    padding-top: 3%;
}

input,
textarea {
    border: 1px solid #2a1f14;
    border-radius: 4px;
    display: block;
    margin-top: 1%;
    padding: 2%;
    width: 100%;
    box-sizing: border-box;
    font-family: "Lora", serif;
}

input[type="radio"] {
    display: inline-block;
    width: auto;
    margin-right: 1%;
}

input[type="submit"] {
    background-color: #2a1f14;
    color: #f6eee4;
    font-size: 1.1em;
    font-weight: bold;
    margin: 2% auto;
    width: auto;
    padding: 2% 5%;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #4d3319;
}

/* Style rules for footer content */

footer {
    text-align: center;
    font-size: 0.85em;
    background-color: #2a1f14;
    color: #f6eee4;
    padding: 1% 0;
}

footer a {
    color: #f3e6d8;
    text-decoration: none;
}


/* Media Query for Tablet Viewport */

@media screen and (min-width: 620px), print {

    /* Tablet Viewport: Show tab-desk, hide mobile */

    .tab-desk {
        display: block;
    }

    .mobile {
        display: none;
    }

    /* Tablet Viewport: Style rules for nav area */

    nav li {
        border-top: none;
        display: inline-block;
        font-size: 1.25em;
    }

    nav li a {
        padding: 0.5em;
    }

    /* Tablet Viewport: Style rules for gallery */

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

    aside {
        grid-column: 1 / span 2;
    }

    /* Tablet Viewport: Style rules for partnership table */

    table {
        width: 80%;
    }

    th,
    td {
        padding: 2%;
    }

    /* Tablet Viewport: Style rules for contact form */

    form {
        width: 70%;
    }

    input[type="submit"] {
        padding: 1% 3%;
    }

}


/* Media Query for Desktop Viewport */

@media screen and (min-width: 1000px), print {

    /* Desktop Viewport: Style rules for nav area */

    nav li {
        font-size: 1.5em;
    }

    nav li a {
        padding: 0.5em 1.5em;
    }

    nav li a:hover {
        color: #2a1f14;
        background-color: #f6eee4;
        opacity: 0.5;
    }

    /* Desktop Viewport: Style rules for main content */

    #info ul {
        margin-left: 5%;
    }

    /* Desktop Viewport: Style rules for gallery */

    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    aside {
        grid-column: 1 / span 3;
        font-size: 2em;
    }

    /* Desktop Viewport: Style rules for partnership table */

    table {
        width: 80%;
    }

    th,
    td {
        padding: 2%;
    }

    /* Desktop Viewport: Style rules for contact form */

    form {
        width: 60%;
    }

}


/* Media Query for Large Desktop Viewports */

@media screen and (min-width: 1921px) {

    body {
        background: linear-gradient(#f6eee4, #78593a);
    }

    #wrapper {
        width: 1920px;
        margin: 0 auto;
    }

    main {
        background-color: #f6eee4;
    }

    /* Large Desktop Viewport: Style rules for gallery */

    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    aside {
        grid-column: 1 / span 4;
        font-size: 3em;
    }

}


/* Media Query for Print */

@media print {

    body {
        background-color: white;
        color: black;
    }

}