
/* Barrie Coffee - Website Styles */

:root {
    --green: #203d2c;
    --cream: #f5f0e6;
    --gold: #c6a46c;
    --white: #ffffff;
    --text: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

/* Navigation */

header {
    background: var(--green);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: auto;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--gold);
}

.login-btn {
    border: 1px solid var(--gold);
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
}

/* Homepage */

.hero {
    min-height: 75vh;
    background-color: var(--green);
    background-image:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
        url("images/farm.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.2;
    margin: 20px 0;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Buttons */

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--green);
    padding: 14px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
}

.btn:hover {
    background: #ddbf8c;
}

/* Sections */

.section {
    padding: 80px 8%;
    text-align: center;
}

.section h2 {
    font-family: Georgia, serif;
    color: var(--green);
    font-size: 36px;
    margin-bottom: 25px;
}

.section p {
    max-width: 850px;
    margin: 12px auto;
}

.light {
    background: var(--cream);
}

/* Coffee Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto;
}

.coffee-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.coffee-card h3 {
    color: var(--green);
    margin-bottom: 15px;
}

/* Gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--cream);
}

.gallery figcaption {
    margin-top: 10px;
    font-weight: bold;
    color: var(--green);
}

/* Farm Management Portal */

.portal {
    background: var(--green);
    color: var(--white);
}

.portal h2 {
    color: var(--white);
}

/* Footer */

footer {
    background: #14291d;
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

/* Mobile and Tablet */

@media (max-width: 900px) {
    nav {
        flex-direction: column;
    }

    .nav-links {
        justify-content: center;
        gap: 12px;
    }

    header {
        position: static;
    }

    .cards,
    .gallery {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 6%;
    }

    .hero {
        min-height: 60vh;
    }
}
