/* Unified Denomin8r Styles - Minimalistic Monospace Design */
:root {
    --font-monospace: 'Courier New', Courier, monospace;
    --font-bookman: 'Bookman Old Style', Georgia, serif;
    --font-avenir: 'Avenir Next W1G', sans-serif;
    --accent-gray: #666666;
    --border-light: #e0e0e0;
    --border-dark: #888;
    --denomin8r-blue: #0047bb;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #aaa;
}

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

body {
    font-family: var(--font-monospace);
    background: white;
    color: black;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Remove the blue overlay and eyechart background */
body::before {
    display: none;
}

main {
    position: relative;
    z-index: 2;
}

.content {
    padding: 60px 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1 {
    color: black;
    font-family: var(--font-monospace);
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid black;
}

h2 {
    color: black;
    font-family: var(--font-monospace);
    font-size: 1.5rem;
    font-weight: normal;
    margin: 3rem 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    color: black;
    font-family: var(--font-monospace);
    font-size: 1.2rem;
    font-weight: normal;
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    color: black;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

ul, ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

a {
    color: black;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-gray);
}

/* Denomin8r Text Styling */
.denomin8r-text {
    color: var(--denomin8r-blue);
    font-family: var(--font-bookman);
    font-weight: bold;
}

/* Navigation Styles - Minimalistic Monospace */
.navbar {
    background: white;
    border-bottom: 1px solid black;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    color: var(--denomin8r-blue);
    font-family: var(--font-bookman);
    font-size: 1.7rem;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    border: none;
    padding: 0;
}

.nav-logo h1 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-logo h1 a:hover {
    color: #bb4700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-family: var(--font-monospace);
    font-size: 1.1rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gray);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: black;
}

.instagram-nav-link {
    color: var(--denomin8r-blue) !important;
    font-weight: bold;
    font-family: var(--font-bookman);
    border-left: 1px solid #ddd;
    text-transform: none;
    padding-left: 1.5rem;
    margin-left: 0.5rem;
    font-size: 1.25rem;
}

.instagram-nav-link:hover {
    color: #bb4700 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: black;
    margin: 3px 0;
    transition: 0.3s;
}

/* Text Container Styles */
.text-container {
    background: white;
    padding: 1rem;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.text-container p {
    color: black;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.text-container p:last-child {
    margin-bottom: 0;
}



/* Posters Grid */
.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.poster-item {
    background: white;
    border: 2px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.poster-image {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-dark);
}

.poster-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.poster-info {
    padding: 1.5rem;
}

.poster-info h3 {
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0;
}

.resolutions {
    margin-bottom: 1.5rem;
}

.resolution {
    background: white;
    color: var(--accent-gray);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    font-family: var(--font-monospace);
}

.poster-actions {
    display: flex;
    gap: 1rem;
}

.download-btn,
.view-btn {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-family: var(--font-monospace);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.download-btn {
    background: #e4405f;
    color: white;
    text-decoration: underline;
}

.download-btn:hover {
    background: #c1354a;
}

.view-btn {
    background: #6c757d;
    color: white;
}

.view-btn:hover {
    background: #5a6268;
}

/* Contact Links */
.contact-links-simple {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0;
    width: 100%;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fafafa;
    text-decoration: none;
    color: #e4405f;
    font-size: 1.1rem;
    font-family: var(--font-monospace);
    font-weight: normal;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    width: fit-content;
    margin: 0;
    box-shadow: -1px 1px 4px rgba(0,0,0,0.08);
    white-space: nowrap;
    overflow: hidden;
}

.contact-link:hover {
    background: #e4405f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.contact-link i {
    font-size: 1.5rem;
}

.contact-link span {
    font-size: 1.2rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border: none;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: black;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.close:hover {
    color: var(--accent-gray);
}

.modal-image-container {
    position: relative;
    margin-top: 1rem;
    text-align: center;
}

.modal-image-container img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-light);
}

/* Wheatpasting specific styles */

.print-shops {
    background: #f8f8f8;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid black;
}

.print-shop-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.print-shop-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.print-shop-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.print-shop-description {
    color: var(--accent-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.code-block {
    background: #f5f5f5;
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-monospace);
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Section containers and back-to-top arrows */
.section-container {
    position: relative;
    margin-bottom: 2rem;
}

.section-content {
    padding-right: 60px; /* Leave space for the arrow */
}

.back-to-top {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    text-align: center;
}

.back-to-top a {
    display: inline-block;
    padding: 8px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-top a:hover {
    color: #e4405f;
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .posters-grid {
        grid-template-columns: 1fr;
    }
}
