
* { box-sizing: border-box; }
header, main, nav, footer, figure, figcaption, aside, section, article { display: block; }
html, body { height: 100%; margin: 0; padding: 0; }

body {
    background-color: #FFFFFF;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}


#wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
}


header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background-color: #1f6f50; 
    color: #ffffff;
}

header img#logo {
    height: 68px;
    width: auto;
    display: block;
}

header h1 {
    margin: 0;
    font-size: 1.9rem;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.06em;
}


nav {
    background-color: #e8f3e8;
    padding: 10px 20px;
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 1.9rem;
    cursor: pointer;
    color: #1f6f50;
    user-select: none;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    font-weight: bold;
    color: #1f6f50;
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: #0C5442;
    outline: none;
}


.hero {
    width: 100%;
    height: 360px;
    background-position: center;
    background-size: cover; 
    background-repeat: no-repeat;
}


#heroHome { background-image: url('heroHome.png'); }
#heroTraining { background-image: url('BayBella.png'); }
#heroBoard { background-image: url('fenceline.png'); }


main {
    padding: 20px;
    background: #ffffff;
}


h2 { color: #00664D; margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
h3 { color: #006646; font-family: Georgia, "Times New Roman", serif; }

.barn { color: #70DBDB; font-weight: bold; }


ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
dt { color: #00664D; font-weight: bold; margin-top: 0.6em; }


table { border: 1.5px solid #006600; border-collapse: collapse; width: 100%; margin-top: 1em; }
td, th { border: 1px solid #006600; padding: 0.5em; text-align: left; }
tr:nth-of-type(odd) { background-color: #ECF9EC; }


#gallery { margin-top: 20px; }
#gallery figure { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
#gallery figure img { width: 100%; height: auto; display: block; border-radius: 6px; }
#gallery .thumbs { display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }
#gallery .thumbs img { width: 100px; height: 75px; object-fit:cover; border: 2px solid #ccc; border-radius:4px; cursor: pointer; }


form label { display: block; margin-top: 10px; font-weight: bold; }
form input[type="text"], form input[type="email"], form textarea {
    width: 100%;
    max-width: 480px;
    padding: 8px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
input[type="submit"] {
    margin-top: 12px;
    padding: 10px 18px;
    background-color: #1f6f50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type="submit"]:hover { background-color: #154d3a; }


footer {
    font-size: 0.9rem;
    font-style: italic;
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    padding: 18px 20px;
    background-color: #e8f3e8;
    color: #1f6f50;
    margin-top: 24px;
}


@media (max-width: 768px) {
    header { padding: 12px 14px; gap: 12px; }
    header img#logo { height: 56px; }
    header h1 { font-size: 1.3rem; }

   
    .menu-toggle { display: block; position: absolute; right: 18px; top: 10px; background: transparent; border: none; }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #e8f3e8;
        width: 100%;
        padding: 10px 0;
        margin-top: 10px;
    }

    .nav-links.active { display: flex; animation: dropdown 0.25s ease-out; }

    .nav-links li { padding: 8px 0; text-align: center; }

    
    .hero { height: 220px; }
}


@media (max-width: 420px) {
    header img#logo { height: 48px; }
    .hero { height: 160px; }
    main { padding: 14px; font-size: 0.95rem; }
}


@keyframes dropdown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}


