:root {
    --color-primary: #4A5D52;
    /* Earthy green */
    --color-secondary: #E8DCC8;
    /* Light beige */
    --color-text: #2c2c2c;
    --color-accent: #a35d4d;
    /* Rust/Mushroom color */

    --font-family: 'Alegreya', serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-secondary);
    line-height: 1.6;
}

/* Ensure the footer stays at the bottom if content is short */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#MainContent {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

.placeholder-img {
    background-color: #;
    width: 100%;
    display: block;
}

/* Header */
#header-group {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo-img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.nav-left a {
    color: #ffffff; /* Lighter white color as requested */
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

/* Hero Section */
.hero-wrapper {
    height: 70vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/IMG_1858.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--color-secondary);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 2rem 2rem 0 2rem;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: -0.75rem;
    /* Negative margin halfway between 0 and -3.5rem */
    font-weight: 400;
    line-height: 1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #8c4c3e;
}

/* Sections */
.section-wrapper {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-wrapper h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Featured Collection */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.grid-item .product-image {
    aspect-ratio: 3/4;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.grid-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Image with Text */
.image-with-text {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.image-with-text .iwt-image {
    flex: 1;
    aspect-ratio: 1/1;
    border-radius: 4px;
    border: 1px solid #000;
    background-image: url('images/IMG_1416.jpeg');
    background-size: cover;
    background-position: center;
}

.image-with-text .iwt-content {
    flex: 1;
}

.iwt-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.iwt-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

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

/* Footer */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.footer-column a,
.footer-column p {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-column input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: none;
    border-radius: 4px;
}

.footer-column button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    transition: opacity 0.3s;
}

.footer-bottom a:hover svg {
    transition: transform 0.3s ease;
}

/* Blog Styles */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: row;
    background-color: #d5c8b5;
    border-radius: 8px;
    border: 1px solid #000;
    overflow: hidden;
    text-decoration: none;
    color: #2c2c2c;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.blog-card-image {
    width: 300px;
    flex-shrink: 0;
    min-height: 200px;
    border-right: 1px solid #000;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.blog-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-excerpt {
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.post-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #666;
    margin-bottom: 2rem;
}

.post-hero-img {
  width: 100%;
  height: auto;           /* Tells the browser to scale height naturally */
  display: block;         /* Removes defensive inline layout gaps */
  border-radius: 8px;
  border: 1px solid #000;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .image-with-text {
        flex-direction: column;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-card-image {
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid #000;
    }
}