/* 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: #666;
    --border-light: #eee;
    --border-medium: #bbb;
    --border-dark: #888;
    --denomin8r-blue: #0047bb;
    --denomin8r-orange: #bb4700;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #bbb;
}

/* Global Styles */
* {
    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;
    position: relative;
    min-height: 100vh;
}

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

h1 {
    color: black;
    font-family: var(--font-monospace);
    font-size: 2.0rem;
    font-weight: normal;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid black;
    display: inline-block;
}

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

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

p {
    color: black;
    font-size: 1.0rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    text-shadow: none;
}

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

/* About page list styling */
.about-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.about-list li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    line-height: 1.4;
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    color: var(--text-medium);
    line-height: 1.4;
}

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

a {
    color: black;
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    color: var(--denomin8r-orange);
    transition: color 0.2s ease;
}

/* Horizontal Rule Styling */
hr {
    width: 100%;
    height: 1px;
    background-color: var(--border-medium);
    border: none;
    margin: 1rem auto;
}

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

/* Denomin8r Text in h1 - specific sizing */
h1 .denomin8r-text {
    font-size: 1.8rem;
}

/* Hamburger Menu Styles */
.bar {
    width: 25px;
    height: 3px;
    background: black;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hamburger.active .bar:nth-child(1) {
    width: 35px;
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    width: 35px;
    transform: translateY(-8px) rotate(-45deg);
}


/* -------------------------------- */
/* 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: 60px;
}

.nav-denomin8r-logo a{
    font-size: 1.7rem;
    text-decoration: none;
}

/* -------------------------------- */
/* Nav Menu Styles */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 20px;
    padding: 20px;
    align-items: center;
}

.nav-menu a:hover {
    color: var(--denomin8r-orange);
}

.nav-menu.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    border-top: 1px solid black;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    gap: 0 !important;
}

.nav-menu.active .nav-item {
    margin: 6px 0 6px 0;
}

.nav-menu.active .instagram-nav-link {
    border-left: none;
    padding-left: 0;
}

.nav-menu.active .instagram-nav-link:hover {
    color: var(--denomin8r-orange) !important;
}

/* -------------------------------- */
/* Nav Item Styles */
.nav-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.fab.fa-instagram { /* Navbar Instagram icon */
    margin: 0 5px 0 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;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--denomin8r-orange);
    transition: color 0.2s ease;
}

/* Desktop Navigation Link Styles */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background: black;
}

/* -------------------------------- */
/* Instagram Link Styles */
.instagram-nav-link {
    color: var(--denomin8r-blue);
    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;
    transition: color 0.2s ease;
}

.instagram-nav-link i {
    transition: color 0.2s ease;
}

.instagram-nav-link:hover {
    color: var(--denomin8r-orange) !important;
    transition: color 0.2s ease;
}

/* -------------------------------- */
/* Content Styles */
.content {
    padding: 30px 0 60px 0;
}

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

.content a {
    font-weight: normal;
    text-decoration: underline;
}

/* Contents class link styling */
.contents li a {
    font-weight: normal;
    text-decoration: underline;
}

/* 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;
}

a.contact-link {
    text-decoration: none;
}

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

.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);
}

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

.link-list {
    background: #f8f8f8;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid black;
}

/* Hero Image Styles */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2rem 0;
}

.hero img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
}

/* About Page Images */
.images {
    margin-top: 2rem;
}

.big-image.large {
    width: 100%;
    max-width: 100%;
}

.big-image.large img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 2px solid black;
}

/* 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;
}


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

/* -------------------------------- */
/* 404 Error Page Styles */
.error-container {
    text-align: center;
    margin-top: 2rem;
}

.error-container img {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid black;
    display: inline-block;
}

.error-container p {
    margin: 1rem 0;
    font-size: 1.2rem;
}

.error-container a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: black;
    color: white;
    text-decoration: none;
    font-family: var(--font-monospace);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.error-container a:hover {
    background: var(--denomin8r-orange);
}

/* -------------------------------- */
/* Footer Styles */
footer {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 20px;
    z-index: 1000;
}

.footer-content {
    text-align: right;
}

.footer-content p {
    margin: 0;
    font-size: 12px;
    color: var(--text-light);
    font-family: var(--font-monospace);
}
