/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #061E29;
    --primary: #1D546D;
    --accent-teal: #5F9598;
    --secondary: #F3F4F4;
    --primary-light: #2A6B87;
    --accent-light: #7AACAF;
    --background-cream: #FAFAFA;
    --background-light: #F8F9F9;
    --text-dark: #061E29;
    --text-medium: #1D546D;
    --text-light: #5F9598;
    --border-light: #E0E3E3;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-cream);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-teal);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-teal);
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(6, 30, 41, 0.5) 0%, rgba(29, 84, 109, 0.4) 50%, rgba(95, 149, 152, 0.5) 100%),
        url('images/hero.jpeg') center center / cover no-repeat;
    color: var(--white);
    padding: 10rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: var(--white);
    backdrop-filter: blur(10px);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(29, 84, 109, 0.5);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 30, 41, 0.6);
    border-color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--primary);
}

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

/* Sections */
section {
    padding: 5rem 0;
}

/* Intro Text Section */
.intro-text {
    background: var(--white);
    padding: 5rem 2rem;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    text-align: left;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* Gallery Intro Section */
.gallery-intro {
    background: var(--white);
    padding: 4rem 2rem;
}

.gallery-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.gallery-intro-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    text-align: left;
}

.gallery-intro-content p:last-child {
    margin-bottom: 0;
}

.page-header {
    text-align: center;
    padding: 4rem 0 2rem;
    background: linear-gradient(to bottom, var(--background-light), var(--background-cream));
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
    font-weight: 300;
}

/* Poster Grid */
.poster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.poster-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid var(--border-light);
}

.poster-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.poster-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.poster-card:hover img {
    transform: scale(1.05);
}

.poster-info {
    padding: 1.5rem;
    background: linear-gradient(to bottom, var(--white), var(--background-light));
}

.poster-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-teal);
}

/* Filters */
.filters {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 3rem 0 1rem;
    flex-wrap: wrap;
    background: var(--white);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group label {
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 10px 16px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    background-color: var(--background-cream);
    color: var(--text-dark);
    font-weight: 600;
    transition: border-color 0.3s;
    min-width: 180px;
}

.filter-group select:hover,
.filter-group select:focus {
    border-color: var(--accent-teal);
    outline: none;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
    border-radius: 4px;
    padding: 5rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255,255,255,0.03) 10px,
            rgba(255,255,255,0.03) 20px
        );
}

.about-content {
    position: relative;
    z-index: 1;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
}

.about p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.95;
}

/* Detail Page */
.breadcrumb {
    padding: 1.5rem 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--accent-teal);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.poster-detail {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border-light);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    margin-top: 2rem;
}

.detail-image {
    position: sticky;
    top: 120px;
}

.detail-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid var(--border-light);
}

.image-gallery {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.image-gallery img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.image-gallery img:hover {
    opacity: 0.8;
}

.image-gallery img.active {
    opacity: 1;
    border-color: var(--accent-teal);
}

.detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.detail-info .price {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    display: block;
}

.poster-description {
    margin-bottom: 2.5rem;
    line-height: 1.9;
    color: var(--text-medium);
    font-size: 1.05rem;
    padding: 1.5rem;
    background: var(--secondary);
    border-left: 4px solid var(--accent-teal);
    border-radius: 4px;
}

.poster-meta {
    background: linear-gradient(135deg, var(--background-light), var(--background-cream));
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    /* border-bottom: 2px solid var(--border-light); */ 
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-item strong {
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.meta-item span {
    color: var(--text-medium);
    font-weight: 500;
}

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

/* Related/Featured Sections */
.featured {
    margin-top: 3rem;
}

.featured h2,
.related h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.featured h2::after,
.related h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent-teal));
    margin: 1rem auto 0;
}

.related {
    background: var(--background-light);
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
}

.gallery {
    padding: 3rem 0;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem;
    color: var(--text-medium);
    background: var(--white);
    border-radius: 4px;
    border: 2px dashed var(--border-light);
}

.no-results p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Legal/Impressum Page */
.legal-content {
    background: var(--white);
    padding: 4rem 2rem;
    margin-bottom: 4rem;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.legal-text a {
    color: var(--accent-teal);
    text-decoration: underline;
}

.legal-text a:hover {
    color: var(--primary);
}

.legal-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent-teal), var(--accent-light));
}

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

footer p {
    font-weight: 300;
}

.footer-links a {
    color: white;
    margin-left: 2rem;
    opacity: 0.8;
    transition: all 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-teal);
}

/* Responsive Design */

/* Tablet and below */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .detail-image {
        position: relative;
        top: 0;
    }

    .poster-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Small tablets */
@media (max-width: 900px) {
    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
    padding: 0.5rem;
}

@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    nav {
        padding: 1.5rem 15px;
    }

    .logo img {
        height: 50px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        /* border-bottom: 2px solid var(--border-light); */
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1.25rem 1.5rem;
        font-size: 0.9rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active,
    .nav-menu a:hover {
        background: var(--background-light);
    }

    /* Hero */
    .hero {
        padding: 5rem 20px;
        background-position: center center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Page Header */
    .page-header {
        padding: 2.5rem 0 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    /* Poster Grid */
    .poster-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .poster-card img {
        aspect-ratio: 3/4;
    }

    /* Filters */
    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .filter-group select {
        width: 100%;
        min-width: auto;
    }

    /* Featured/Related Sections */
    .featured {
        margin-top: 5rem;
    }

    .featured h2,
    .related h2 {
        font-size: 1.8rem;
    }

    /* Intro Text Section */
    .intro-text {
        padding: 3rem 1.5rem;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-content p {
        font-size: 1rem;
    }

    /* Gallery Intro Section */
    .gallery-intro {
        padding: 3rem 1.5rem;
    }

    .gallery-intro-content p {
        font-size: 1rem;
    }

    /* About Section */
    .about {
        padding: 3rem 1.5rem;
        margin: 0 15px;
    }

    .about h2 {
        font-size: 1.8rem;
    }

    .about p {
        font-size: 1rem;
    }

    /* Legal Content */
    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-text h2 {
        font-size: 1.3rem;
    }

    /* Detail Page */
    .breadcrumb {
        font-size: 0.85rem;
        padding: 1rem 0;
    }

    .poster-detail {
        padding: 2rem 1.5rem;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-image {
        position: relative;
        top: 0;
    }

    .detail-info h1 {
        font-size: 1.8rem;
    }

    .detail-info .price {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .poster-description {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .poster-meta {
        padding: 1.5rem;
    }

    .meta-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        padding: 0.75rem 0;
    }

    .detail-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .detail-actions .btn {
        width: 100%;
        text-align: center;
    }

    .image-gallery {
        gap: 0.75rem;
    }

    .image-gallery img {
        width: 70px;
        height: 70px;
    }

    /* Buttons */
    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 2.5rem 0;
        margin-top: 3rem;
    }

    footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    footer p {
        font-size: 0.9rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        margin: 0;
        font-size: 0.85rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .featured {
        margin-top: 4rem;
    }

    .featured h2,
    .related h2 {
        font-size: 1.5rem;
    }

    .about h2 {
        font-size: 1.5rem;
    }

    .intro-content h2 {
        font-size: 1.5rem;
    }

    .detail-info h1 {
        font-size: 1.5rem;
    }

    .logo img {
        height: 40px;
    }
}
