/* Minimalist Design inspired by The Minimalists */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --link-color: #000000;
    --accent-color: #666666;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --max-width: 800px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

a:hover {
    border-bottom-color: var(--link-color);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: -1px;
    display: block;
    margin-bottom: 1.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    /* Responsive: wrapping for small screens */
}

nav li {
    display: inline-block;
}

nav a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Content */
main {
    min-height: 60vh;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    font-size: 0.8rem;
    color: var(--accent-color);
    border-top: 1px solid #eee;
    margin-top: 3rem;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    background: #444;
    border-bottom: none;
}

/* Forms */
input,
textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Galleries and Grids */
.gallery-grid,
.product-grid {
    display: grid;
    gap: 2rem;
    /* Responsive columns: auto-fit ensures it wraps nicely on mobile */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #000;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Mixed Feed Styles */
.mixed-feed {
    max-width: 800px;
    margin: 0 auto;
}

.feed-item {
    margin-bottom: 3rem;
    position: relative;
}

.type-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0.5rem;
}

.feed-item h2,
.feed-item h3 {
    margin-top: 0;
}

.meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}

.podcast-badge {
    display: inline-block;
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 10px;
}

.product-preview,
.photo-preview {
    margin: 1rem 0;
}

.product-preview img,
.photo-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}

.separator {
    border: 0;
    border-top: 1px solid #eee;
    margin: 3rem 0;
}

.post-cover img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    margin-bottom: 2rem;
}

/* Mobile specific tweaks */
@media (max-width: 600px) {
    header {
        position: relative;
        padding-top: 1rem;
    }

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

    .logo {
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        z-index: 100;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
        display: block;
    }

    body {
        font-size: 16px;
    }
}