/*
Author: Antelmo Lucena Ramirez
Date: 07/17/2026
File Name: styles.css
*/

/* CSS Reset */
body, header, nav, main, footer, img, h1, h2, h3, ul, div, table, caption, th, td {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Style rules for body and images */
body {
    background-color: #f6eee4;
    font-family: "Lora", serif;
}

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

/* Custom font styling rules for headings */
h1, h2, h3, .action, nav.desk li a {
    font-family: "Montserrat", sans-serif;
}

/* Style rules for mobile viewport */

/* Style rules to show mobile class and hide tab-desk/desktop classes */
.mobile {
    display: block;
}

.tab-desk, .desktop, #nav-links {
    display: none;
}

/* Style rules for mobile header area */
#mobile h1 {
    padding: 4% 2% 2% 2%;
    text-align: center;
    font-family: "Emblema One", system-ui;
    font-weight: 400;
    font-style: normal;
    background-color: #2a1f14;
    color: #f6eee4;
}

/* Style rules for mobile navigation area */
.mobile-nav {
    background-color: #2a1f14;
    position: relative;
    min-height: 50px;
}

.mobile-nav a {
    color: #fff;
    text-align: center;
    font-size: 1.5em;
    text-decoration: none;
    padding: 3%;
    display: block;
    font-family: "Lora", serif;
}

.mobile-nav a.nav-icon {
    display: block;
    position: absolute;
    left: 10px;
    top: 5px;
    color: #f6eee4;
    padding: 2%;
    font-size: 2em;
    cursor: pointer;
}

.nav-icon div {
    color: #f6eee4;
}

/* Style rules for main content area */
main {
    padding: 4%;
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

main h2, main h3 {
    font-family: "Emblema One", system-ui;
    font-weight: 400;
    color: #2a1f14;
    padding-bottom: 2%;
}

main h3 {
    padding-top: 4%;
}

main p {
    font-size: 1.15em;
    line-height: 1.5;
    padding-bottom: 3%;
}

/* Style rules for images content blocks */
.Fishing img {
    margin: 4% auto 0 auto;
    border-radius: 6px;
    border: 4px solid #2a1f14;
    box-shadow: 6px 6px 10px #c5a687;
}

/* Style rules for table */
table {
    border: 1px solid #2a1f14;
    border-collapse: collapse;
    margin: 20px auto;
    width: 100%;
}

caption {
    font-family: "Lora", serif;
    font-size: 1.3em;
    font-weight: bold;
    padding: 2%;
    color: #2a1f14;
}

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

th {
    background-color: #2a1f14;
    color: #fff;
    font-size: 1em;
}

tr:nth-of-type(odd) {
    background-color: #deccba;
}

/* Style rules for footer content */
footer {
    text-align: center;
    font-size: 0.85em;
    background-color: #2a1f14;
    color: #f6eee4;
    padding: 4% 2%;
    font-family: Verdana, Arial, sans-serif;
}

footer p {
    padding: 1% 0;
}

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

/* Style rules for form elements */
fieldset {
    border: 2px solid #2a1f14;
    padding: 4%;
    margin-bottom: 4%;
    border-radius: 6px;
}

fieldset legend {
    font-weight: bold;
    font-size: 1.25em;
    color: #2a1f14;
    padding: 0 10px;
}

label {
    display: block;
    padding-top: 3%;
    font-weight: bold;
    color: #2a1f14;
}

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

/* Style rules for form action button container and reset */
.checkbox-group {
    padding: 2% 0;
}

.inline-label {
    display: inline-block;
    font-weight: normal;
    font-size: 1.05em;
    margin-right: 15px;
    cursor: pointer;
    padding-top: 1%;
}

.inline-label input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
    margin-top: 0;
    margin-bottom: 0;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 4%;
    margin-bottom: 4%;
}

form #submit, form #reset {
    padding: 3% 6%;
    font-size: 1.15em;
    border-radius: 10px;
    cursor: pointer;
    font-family: "Emblema One", system-ui;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

form #submit {
    margin: 0;
    display: inline-block;
    background-color: #78593a;
    color: #f6eee4;
}

form #submit:hover {
    background-color: #2a1f14;
}

form #reset {
    background-color: #deccba;
    color: #2a1f14;
    border: 2px solid #2a1f14;
}

form #reset:hover {
    background-color: #2a1f14;
    color: #f6eee4;
}

/* Style rules for embedded map element */
.map-container {
    margin: 4% auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 3px solid #2a1f14;
    border-radius: 8px;
    box-shadow: 4px 4px 10px #c5a687;
    width: 100%;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Telephone contact area styling */
.tel-link {
    background-color: #2a1f14;
    padding: 4%;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    border-radius: 6px;
    color: #f6eee4;
}

.tel-link p {
    font-size: 1.1em;
}

.tel-link a {
    color: #f6eee4;
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.25em;
}

/* Style rules for FAQ dynamic interactive elements */
#questions {
    margin: 4% 0;
}

#questions p {
    background-color: #2a1f14;
    color: #f6eee4;
    padding: 3%;
    margin-bottom: 2%;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

#questions p:hover {
    background-color: #78593a;
    transform: translateX(5px);
}

/* Style configuration for the output box */
#answer {
    text-align: center;
    font-weight: bold;
    width: 80%;
    margin: 4% auto;
    padding: 4%;
    background-color: #deccba;
    border: 2px dashed #2a1f14;
    border-radius: 8px;
    color: #2a1f14;
}

/* Hidden elements rule to hide 'selected answer'*/
#answer h2 {
    display: none;
}

#answer p {
    font-size: 1.2em;
    line-height: 1.6;
    padding-bottom: 0;
}

/* Style rules for Gallery page (Mobile default) */
.gallery-grid {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 30px;
    margin-top: 5%;
}

.gallery-grid figure {
    background-color: #deccba;
    border: 3px solid #2a1f14;
    border-radius: 8px;
    padding: 3%;
    box-shadow: 4px 4px 10px #c5a687;
    margin: 0 auto;
    width: 90%;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #2a1f14;
}

.gallery-grid figcaption {
    font-family: "Lora", serif;
    font-size: 1.05em;
    font-style: italic;
    font-weight: bold;
    color: #2a1f14;
    text-align: center;
    padding-top: 4%;
    line-height: 1.4;
}

/* Style rules for the resource page */

/* Styling for the action subheadings */
.action {
    font-size: 1.3em;
    font-weight: bold;
    color: #78593a;
    padding-bottom: 2%;
}

/* Style rules for audio and video media controls */
.media-container {
    background-color: #deccba;
    border: 2px solid #2a1f14;
    border-radius: 8px;
    padding: 4%;
    margin: 4% 0;
}

.media-grid {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 20px;
    margin-top: 3%;
}

.media-grid figure {
    background-color: #f6eee4;
    padding: 3%;
    border-radius: 6px;
    border: 1px solid #2a1f14;
    margin: 0;
}

.media-grid figcaption {
    font-family: "Lora", serif;
    font-size: 0.95em;
    font-style: italic;
    font-weight: bold;
    text-align: center;
    color: #2a1f14;
}

/* Base list indentation for mobile viewports */
#info h3 {
    padding-top: 6%;
    padding-bottom: 2%;
    border-bottom: 2px solid #2a1f14;
}

#info p {
    padding-top: 2%;
    padding-bottom: 2%;
}

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

#info li {
    padding-bottom: 2%;
    line-height: 1.5;
}

/* Styling for your external resource links */
.link {
    color: #4d3319;
    font-weight: bold;
    font-style: italic;
    text-decoration: underline;
}

.link:hover {
    color: #2a1f14;
    text-decoration: none;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 620px), print {
    /* Show tab-desk class, hide mobile class */
    .tab-desk {
        display: block;
    }
    
    .mobile, .mobile-nav {
        display: none;
    }
    
    /* Header layout banner styling */
    #desk img {
        width: 100%;
        height: auto;
    }
    
    /* Style rules nav area */
    nav.desk {
        background-color: #2a1f14;
        padding: 1% 0;
    }

    nav.desk ul {
        list-style-type: none;
        text-align: center;
    }
    
    nav.desk li {
        display: inline-block;
        font-size: 1.15em;
        font-family: Geneva, Arial, sans-serif;
        font-weight: bold;
    }
    
    nav.desk li a {
        padding: 0.5em;
        display: block;
        color: #f6eee4;
        text-decoration: none;
    }
    
    nav.desk li a:hover {
        color: #2a1f14;
        background-color: #f6eee4;
    }

    /* Grid configuration for content columns */
    .grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 20px;
        margin-top: 3%;
    }
    
    /* Tablet table adjustments */
    table {
        width: 90%;
    }
    
    th, td {
        padding: 1.5%;
        font-size: 1em;
    }
    
    /* Style rules for the mobile gallery */
    .gallery-grid {
        grid-template-columns: auto auto;
        grid-gap: 20px;
    }
    
    .gallery-grid figure {
        width: 95%;
        padding: 2%;
    }

    /* Style rules for media component grid layout */
    .media-grid {
        grid-template-columns: auto auto;
    }
    
    /* style rules for resources */
    #info ul {
        margin-left: 5%;
        padding-bottom: 2%;
    }
    
    #info h3 {
        padding-top: 4%;
    }
    
}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1000px), print {
    /* Show desktop class elements */
    .desktop {
        display: block;
    }
    
    nav.desk li {
        font-size: 1.25em;
    }
    
    nav.desk li a {
        padding: 0.5em 1.5em;
    }
    
    /* Wider columns for large desktop screens */
    .grid {
        grid-template-columns: auto auto;
        grid-gap: 40px;
    }
    
    /* Desktop table adjustments */
    table {
        width: 80%;
    }
    
    caption {
        font-size: 1.5em;
    }
    
    th, td {
        padding: 1%;
    }
    
    form {
        width: 90%;
        margin: 0 auto;
    }

    .form-grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 30px;
    }

    .btn {
        grid-column: 1 / span 2;
    }
    
    /* style rules for the gallery */
    .gallery-grid {
        grid-template-columns: auto auto auto;
        grid-gap: 30px;
    }
}