/* ======================================================
   DC Illinger Igel 26 e.V.
   style.css
====================================================== */

:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --text: #f4f4f4;
    --muted: #8d8d8d;
    --line: rgba(255, 255, 255, 0.10);

    --red: #b50000;
    --red-bright: #d00000;

    --max-width: 1320px;
}


/* ======================================================
   RESET
====================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}


/* ======================================================
   HERO
====================================================== */

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 80px 24px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(150, 0, 0, 0.08),
            transparent 36%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.logo {
    width: clamp(150px, 17vw, 270px);

    margin-bottom: 42px;

    transition: transform 0.2s ease-out;

    filter:
        drop-shadow(0 0 24px rgba(190, 0, 0, 0.08));
}

.eyebrow,
.small {
    color: var(--muted);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 15px;

    font-size: clamp(3rem, 7.2vw, 8rem);
    font-weight: 800;

    line-height: 0.88;
    letter-spacing: -0.055em;
}

.hero-subtitle {
    margin-top: 30px;

    color: var(--muted);

    font-size: clamp(0.85rem, 1.3vw, 1rem);
    font-weight: 400;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ======================================================
   SCROLL INDICATOR
====================================================== */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 36px;

    transform: translateX(-50%);

    width: 1px;
    height: 48px;

    background: rgba(255,255,255,0.12);

    overflow: hidden;

    transition: opacity 0.5s ease;
}

.scroll-indicator span {
    position: absolute;

    top: -48px;
    left: 0;

    width: 100%;
    height: 48px;

    background: #fff;

    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {

    0% {
        transform: translateY(0);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        transform: translateY(96px);
        opacity: 0;
    }

}


/* ======================================================
   PANELS
====================================================== */

.panel {
    min-height: 92vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 120px 30px;

    transform-origin: center;
}

.panel:nth-of-type(even) {
    background: var(--bg-soft);
}

.content {
    width: min(90%, 920px);

    text-align: center;

    opacity: 0;
    transform: translateY(42px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-wide {
    width: min(92%, var(--max-width));
}

.content h2 {
    margin-top: 18px;

    font-size: clamp(3.1rem, 7vw, 7.7rem);
    font-weight: 800;

    line-height: 0.9;
    letter-spacing: -0.055em;
}

.accent {
    color: var(--red-bright);
}

.section-copy {
    max-width: 690px;

    margin: 42px auto 0;

    color: #a7a7a7;

    font-size: clamp(1rem, 1.5vw, 1.25rem);

    line-height: 1.8;
}


/* ======================================================
   2026
====================================================== */

.big-year {
    margin-top: 40px;

    color: var(--red-bright);

    font-size: clamp(5rem, 15vw, 14rem);
    font-weight: 800;

    line-height: 0.8;
    letter-spacing: -0.07em;
}


/* ======================================================
   ABOUT
====================================================== */

.about-panel {
    min-height: 100vh;
}

.about-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 80px;

    max-width: 1000px;

    margin: 75px auto 0;

    text-align: left;
}

.about-grid p {
    color: #a7a7a7;

    font-size: clamp(1rem, 1.35vw, 1.2rem);

    line-height: 1.8;
}

.about-grid strong {
    color: var(--text);

    font-weight: 600;
}


/* ======================================================
   PHOTO SECTIONS
====================================================== */

.photo-section {
    padding: 0 30px 80px;
}

.photo-wrap {
    width: min(calc(100% - 0px), 1500px);

    margin: 0 auto;

    overflow: hidden;

    border-radius: 3px;
}

.photo-wrap img {
    width: 100%;
    height: min(75vh, 850px);

    object-fit: cover;

    filter:
        saturate(0.85)
        contrast(1.04);

    transition:
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s ease;
}

.photo-wrap:hover img {
    transform: scale(1.015);

    filter:
        saturate(1)
        contrast(1.03);
}


/* ======================================================
   GALLERY
====================================================== */

.gallery-section {
    width: 100%;

    padding: 30px;

    background: var(--bg);
}

.gallery-grid {
    width: min(100%, 1500px);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}

.gallery-item {
    position: relative;

    height: clamp(320px, 40vw, 650px);

    overflow: hidden;

    background: #111;
}

.gallery-item-wide {
    grid-column: 1 / -1;

    height: clamp(420px, 52vw, 780px);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(0.88)
        contrast(1.04);

    transition:
        transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.025);

    filter:
        saturate(1)
        contrast(1.02);
}


/* ======================================================
   MISSION
====================================================== */

.mission-panel {
    min-height: 95vh;
}


/* ======================================================
   CONTACT
====================================================== */

.contact-panel {
    border-top: 1px solid var(--line);
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 50px;

    margin-top: 80px;

    text-align: left;
}

.contact-block {
    padding-top: 22px;

    border-top: 1px solid var(--line);
}

.contact-label {
    display: block;

    margin-bottom: 20px;

    color: #666;

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contact-block p {
    color: #b2b2b2;

    font-size: 1rem;

    line-height: 1.8;
}

.contact-block a {
    color: #fff;

    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.3);

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.contact-block a:hover {
    color: var(--red-bright);
    border-color: var(--red-bright);
}


/* ======================================================
   FOOTER
====================================================== */

footer {
    width: min(calc(100% - 60px), var(--max-width));

    margin: 0 auto;

    padding: 50px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-top: 1px solid var(--line);
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 18px;
}

.footer-logo {
    width: 50px;
    height: 50px;

    object-fit: contain;
}

.footer-brand div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.footer-brand strong {
    font-size: 0.82rem;

    letter-spacing: 0.04em;
}

.footer-brand span {
    color: #666;

    font-size: 0.72rem;
}

footer nav {
    display: flex;

    gap: 26px;
}

footer nav a {
    color: #777;

    font-size: 0.76rem;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}

footer nav a:hover {
    color: #fff;
}


/* ======================================================
   MOUSE GLOW
====================================================== */

.mouse-glow {
    position: fixed;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(150, 0, 0, 0.045),
            transparent 68%
        );

    transform: translate(-50%, -50%);

    pointer-events: none;

    z-index: -1;
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 900px) {

    .panel {
        min-height: auto;

        padding: 130px 24px;
    }

    .hero {
        min-height: 100svh;

        padding-left: 20px;
        padding-right: 20px;
    }

    .logo {
        width: 145px;

        margin-bottom: 34px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-top: 50px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-wide {
        grid-column: auto;
    }

    .gallery-item,
    .gallery-item-wide {
        height: 60vw;

        min-height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        margin-top: 55px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;

        padding-bottom: 40px;
    }

    footer nav {
        flex-wrap: wrap;

        gap: 18px 24px;
    }

}


/* ======================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 560px) {

    .hero h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .content h2 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .photo-section,
    .gallery-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gallery-grid {
        gap: 8px;
    }

    .photo-wrap img {
        height: 58vh;
    }

    footer {
        width: calc(100% - 40px);
    }

}


/* ======================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
