/* Shared CSS for linsenKollektiv */

:root {
    --bg-color: #212533;
    --text-primary: #f8fafc;
    --text-muted: #475569;
    --text-muted: #576579;
    --accent-blue: #38bdf8;
    --accent-blue-deep: #1d4ed8;
    --grid-line: rgba(255, 255, 255, 0.02);
    --nav-bg: rgba(3, 6, 17, 0.75);
    --dropdown-bg: rgba(7, 12, 32, 0.95);
    --border-color: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Ambient moving glow */
.ambient-flare {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.07) 0%, rgba(30, 162, 180, 0.02) 40%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: breathe 10s ease-in-out infinite alternate;
}

@keyframes breathe {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Grid lines simulating camera focus/viewfinder */
.viewfinder-grid {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.viewfinder-grid::before,
.viewfinder-grid::after {
    content: '';
    position: absolute;
    background-color: var(--grid-line);
}

.viewfinder-grid::before {
    top: 33.33%;
    left: 0;
    right: 0;
    height: 1px;
}

.viewfinder-grid::after {
    top: 0;
    bottom: 0;
    left: 33.33%;
    width: 1px;
    box-shadow: calc(33.33vw) 0 0 var(--grid-line);
}

/* Global Navigation Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 100;
}

.navbar-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand span.thin {
    font-weight: 200;
    font-family: 'Plus Jakarta Sans', sans-serif;
    opacity: 0.85;
}

.navbar-brand:hover {
    letter-spacing: 0.25em;
    text-shadow: -1px 0 0px rgba(56, 189, 248, 0.4), 1px 0 0px rgba(29, 78, 216, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease;
    display: block;
}

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

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--dropdown-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    list-style: none;
    min-width: 180px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 110;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dropdown-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.dropdown-menu li a:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    padding-left: 1.5rem;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        height: auto;
        min-height: 70px;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .dropdown-menu {
        position: fixed;
        top: auto;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .nav-item.dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(5px);
    }
}

/* Header / Layout on landing page (index.html) */
.landing-body {
    overflow-x: hidden;
}

.upper-third {
    height: 33.33vh;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1.5rem 2.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 10;
}

.lower-two-thirds {
    height: 66.66vh;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem 2.5rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.content-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.brand-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    letter-spacing: clamp(0.15em, 2vw, 0.35em);
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    transition: all 0.5s ease;
    user-select: none;
    padding-left: clamp(0.15em, 2vw, 0.35em);
    max-width: 100%;
    box-sizing: border-box;
}

.brand-title span.thin {
    font-weight: 200;
    font-family: 'Plus Jakarta Sans', sans-serif;
    opacity: 0.85;
}

@media (hover: hover) {
    .brand-title:hover {
        letter-spacing: 0.45em;
        text-shadow: -2px 0 0px rgba(56, 189, 248, 0.4), 2px 0 0px rgba(29, 78, 216, 0.4);
    }
}

.status-text {
    font-size: 0.75rem;
    letter-spacing: clamp(0.2em, 2vw, 0.5em);
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-top: 1.25rem;
    margin-bottom: 0;
    opacity: 0.8;
    animation: pulse-opacity 3s ease-in-out infinite;
    padding-left: clamp(0.2em, 2vw, 0.5em);
}

@keyframes pulse-opacity {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.exhibition-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    letter-spacing: 0.05em;
    color: #e2e8f0;
    max-width: 600px;
    line-height: 1.4;
    transition: color 0.4s ease;
    text-decoration: none;
}

.exhibition-title:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.meta-footer {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    gap: 2rem;
    margin-top: auto;
    z-index: 10;
}

.meta-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-footer a:hover {
    color: var(--accent-blue);
}

/* Responsive Landing Page */
@media (max-width: 768px) {
    .upper-third {
        height: auto;
        min-height: 35vh;
        padding-top: 90px;
        padding-bottom: 1.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .lower-two-thirds {
        height: auto;
        min-height: 55vh;
        padding: 2rem 1rem 2rem 1rem;
    }

    .brand-title {
        font-size: clamp(1.15rem, 5.5vw, 1.7rem);
        letter-spacing: clamp(0.12em, 1.8vw, 0.22em);
        padding-left: clamp(0.12em, 1.8vw, 0.22em);
    }

    .status-text {
        font-size: 0.7rem;
        letter-spacing: clamp(0.15em, 1.5vw, 0.3em);
        padding-left: clamp(0.15em, 1.5vw, 0.3em);
    }
}

@media (max-width: 480px) {
    .upper-third {
        padding-top: 100px;
        padding-bottom: 1.5rem;
    }

    .brand-title {
        font-size: clamp(1rem, 5.2vw, 1.35rem);
        letter-spacing: 0.12em;
        padding-left: 0.12em;
    }

    .status-text {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
        padding-left: 0.15em;
    }

    .meta-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }
}

/* Page Layout for Content Pages (Exhibition, Photographers, Impressum) */
.page-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 2rem 4rem 2rem;
    position: relative;
    z-index: 10;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent-blue);
    font-weight: 300;
}

.content-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 3rem;
}

/* Image Presentation styling */
.image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.exhibition-image {
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s ease;
}

.exhibition-image:hover {
    transform: scale(1.01);
}

/* Text elements */
.text-content {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #e2e8f0;
    font-weight: 400;
}

.text-content p {
    margin-bottom: 1.5rem;
}

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

/* Highlighted quote block */
.text-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-blue);
    line-height: 1.5;
    margin-bottom: 2rem;
    border-left: 2px solid var(--accent-blue);
    padding-left: 1.5rem;
}

/* Photographer List on Exhibition Page */
.photographer-list-section {
    margin-top: 4rem;
    text-align: center;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.photographer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.photographer-links a {
    display: block;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.photographer-links a:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.1);
}

/* Footer for standard pages */
.page-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-footer a:hover {
    color: var(--accent-blue);
}

/* Impressum Content styling */
.impressum-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.impressum-content p {
    margin-bottom: 1rem;
}

.location-link {
    font-size: 1.2em;
    font-weight: normal;
    color: rgb(216, 217, 251);
    text-decoration: none;
    /* oder none, falls keine Unterstreichung gewünscht ist */
}

.location-link:hover {
    color: #ffffff;
    text-decoration: underline;
    /* Farbwechsel beim Überfahren */
}

/* Responsive adjust for content pages */
@media (max-width: 640px) {
    .page-container {
        padding: 120px 1rem 3rem 1rem;
    }

    .content-block {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

    .text-quote {
        font-size: 1.3rem;
    }

    .photographer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .page-footer {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}