/* --- Base Styles & Variables --- */
:root {
    --primary-color: #2c2520;    /* Deep roasted coffee bean color */
    --accent-color: #8c6d53;     /* Warm burlap/earth tone */
    --text-dark: #222222;        /* High contrast text */
    --text-light: #555555;       /* Secondary text */
    --bg-light: #f9f8f6;         /* Soft off-white to prevent screen glare */
    --bg-white: #ffffff;
    --border-color: #e5e2dd;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 700px;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-two-columns {
        grid-template-columns: 1fr;
    }
    section {
        padding: 50px 0;
    }
}

/* --- Typography --- */
h1, h2, h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    position: relative;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.section-intro {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #41372f;
    border-color: #41372f;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* --- Header & Nav --- */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    max-height: 50px; /* Adjust based on your asset height */
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover:not(.btn-secondary) {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        gap: 15px;
    }
}

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0;
    background: radial-gradient(circle at bottom right, #fcfbfa 0%, #f4f1ec 100%);
}

/* --- About Section Assets --- */
.about-image-placeholder {
    background-color: var(--border-color);
    height: 350px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-fallback {
    color: var(--text-light);
    font-weight: 500;
}

/* --- Coffee Grid / Cards --- */
.coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.coffee-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.label-preview-box {
    background-color: var(--bg-light);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.label-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    font-weight: 600;
    border-radius: 3px;
}

.tag-single-origin { background: #e3effa; color: #2b5797; }
.tag-blend { background: #e3faec; color: #1e7b44; }
.tag-dark { background: #f2ebd9; color: #7a5a13; }

.coffee-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.coffee-details h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.roast-level {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.notes {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* --- Location & Contact Forms --- */
.location-info {
    margin-top: 25px;
    background: var(--bg-white);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-stack);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-color);
    color: #a39e99;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid #3d342c;
}