/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    font-family: "Segoe UI", Arial, sans-serif;

    background: #f8f6f1;
    color: #1f2937;

    line-height: 1.7;
}

p {
    text-align: justify;
    hyphens: auto;
}


/* HERO */

.hero {
    width: 100%;

    aspect-ratio: 16 / 9;

    background-image:
        linear-gradient(rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.1)),
        url("IMG_1241.jpeg");

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.overlay {
    width: 100%;
    max-width: 1100px;

    padding: 40px;
}

.overlay h1 {
    color: #0f172a;

    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;

    line-height: 1;

    margin-bottom: 20px;

    letter-spacing: -5px;

    text-transform: uppercase;
}

.overlay h2 {
    max-width: 900px;

    margin: auto;

    color: #1f2937;

    font-size: clamp(1.5rem, 3vw, 2.8rem);
    font-weight: 700;

    line-height: 1.3;
}

.overlay h3 {
    margin-top: 30px;

    color: #475569;

    font-size: 1.2rem;

    text-transform: uppercase;

    letter-spacing: 2px;
}


/* GRANATOWE NAGLOWKI */

.top1 {
    width: 100%;

    background: #0f172a;
    color: white;

    padding: 70px 40px;

    text-align: center;
}

.top1 h1 {
    width: 100%;
    max-width: 1200px;

    margin: auto;

    font-size: 2rem;

    line-height: 1.4;
}


/* SEKCJE TEKSTOWE */

.pa {
    width: 100%;
    max-width: 1200px;

    margin: 70px auto;

    padding: 0 35px;

    color: #374151;

    font-size: 1.2rem;
}

.pj {
    text-align: center;
}


/* KARTY Z DATAMI */

.panels {
    width: 100%;
}

.panels1 {
    width: 100%;

    padding: 90px 5%;
}

.cards-container {
    width: 100%;
    max-width: 1400px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 40px;

    align-items: stretch;
}

.card {
    width: 100%;
    min-width: 0;

    height: 100%;

    perspective: 1200px;
}

.card-content {
    width: 100%;
    height: 100%;

    background: white;

    border: 1px solid #ebe6d8;
    border-radius: 24px;

    padding: 35px;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08);

    display: flex;
    flex-direction: column;

    transform-style: preserve-3d;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-content:hover {
    box-shadow:
        0 30px 65px rgba(15, 23, 42, 0.13);
}

.top {
    display: flex;

    gap: 30px;
}

.card-content .top {
    flex: 1;
}

.date {
    color: #c89b3c;

    font-size: 4rem;
    font-weight: 900;

    line-height: 0.9;

    transform-style: preserve-3d;

    transition:
        transform 0.25s ease;
}

.date span {
    display: block;
}

.description {
    min-width: 0;

    color: #111827;

    font-size: 1.5rem;
}

.middle {
    margin-top: 25px;

    display: flex;
    flex-direction: column;
}

.label {
    margin-bottom: 10px;

    color: #64748b;

    font-size: 1rem;
}

.countdown {
    color: #0f172a;

    font-size: 2.5rem;
    font-weight: 800;
}

.btn {
    display: block;

    width: 100%;

    margin-top: 20px;

    padding: 18px;

    background: #c89b3c;
    color: #0f172a;

    border-radius: 14px;

    text-align: center;

    text-decoration: none;

    font-weight: 800;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.btn:hover {
    background: #af8327;

    transform: translateY(-2px);
}


/* O KONFERENCJI */

.hiphop-about {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 90px 35px;
}

.hiphop-intro {
    margin-bottom: 80px;
}

.hiphop-eyebrow {
    margin-bottom: 35px;

    color: #64748b;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 4px;
}

.hiphop-eyebrow span {
    color: #c89b3c;

    padding: 0 7px;
}

.hiphop-intro-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr) minmax(0, 1.5fr);

    gap: 70px;

    align-items: start;
}

.hiphop-big-title {
    min-width: 0;

    color: #0f172a;

    font-size:
        clamp(3.5rem, 6vw, 6.5rem);

    font-weight: 900;

    line-height: 0.85;

    letter-spacing: -5px;
}

.hiphop-big-title span {
    display: block;
}

.hiphop-big-title .gold {
    color: #c89b3c;
}

.hiphop-lead {
    min-width: 0;

    padding-top: 8px;
}

.gold-line {
    width: 80px;
    height: 6px;

    margin-bottom: 25px;

    background: #c89b3c;

    border-radius: 10px;
}

.hiphop-lead p {
    color: #0f172a;

    font-size: 1.35rem;
    font-weight: 600;

    line-height: 1.7;

    text-align: justify;

    hyphens: auto;
}


/* IDEA I TEMATYKA */

.hiphop-text-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 70px;

    padding-top: 50px;

    margin-bottom: 70px;

    border-top:
        1px solid #ded9ce;
}

.hiphop-text-block {
    min-width: 0;
}

.block-top {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}

.block-number {
    color: #c89b3c;

    font-size: 1.3rem;
    font-weight: 900;

    line-height: 1;

    letter-spacing: 2px;
}

.block-line {
    height: 3px;

    flex: 1;

    background: #ebe6d8;
}

.hiphop-text-block p {
    color: #374151;

    font-size: 1.05rem;

    line-height: 1.9;

    text-align: justify;

    hyphens: auto;
}


/* PANEL ABSTRAKT */

.hiphop-call {
    position: relative;

    width: 100%;

    background: #0f172a;

    border: 1px solid transparent;
    border-radius: 24px;

    padding: 50px 55px;

    display: grid;

    grid-template-columns:
        100px minmax(0, 1fr);

    gap: 45px;

    align-items: center;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.hiphop-call:hover {
    transform: translateY(-6px);

    border-color:
        rgba(200, 155, 60, 0.35);

    box-shadow:
        0 30px 65px rgba(15, 23, 42, 0.20),
        0 0 35px rgba(200, 155, 60, 0.08);
}

.call-decoration {
    color:
        rgba(200, 155, 60, 0.18);

    font-size:
        clamp(2rem, 3vw, 3.2rem);

    font-weight: 900;

    line-height: 0.9;

    letter-spacing: -1px;

    writing-mode: vertical-rl;

    transform: rotate(180deg);

    justify-self: center;

    transition:
        color 0.35s ease,
        transform 0.35s ease;
}

.hiphop-call:hover .call-decoration {
    color:
        rgba(200, 155, 60, 0.34);

    transform:
        rotate(180deg) translateY(6px);
}

.call-content {
    width: 100%;
    min-width: 0;
}

.call-small {
    color: #c89b3c;

    font-size: 0.8rem;
    font-weight: 900;

    letter-spacing: 3px;

    transition:
        color 0.3s ease,
        letter-spacing 0.3s ease;
}

.hiphop-call:hover .call-small {
    color: #e0b34e;

    letter-spacing: 4px;
}

.call-line {
    width: 60px;
    height: 4px;

    margin: 15px 0 22px;

    background: #c89b3c;

    border-radius: 10px;

    transition:
        width 0.4s ease,
        background 0.3s ease;
}

.hiphop-call:hover .call-line {
    width: 110px;

    background: #e0b34e;
}

.call-content p {
    margin: 0;

    color: #f1f5f9;

    font-size: 1.05rem;

    line-height: 1.8;

    text-align: justify;

    hyphens: auto;

    transition:
        color 0.3s ease;
}

.hiphop-call:hover .call-content p {
    color: #ffffff;
}


/* OBSZARY TEMATYCZNE */

.topics-section {
    width: 100%;

    padding: 90px 5%;

    background: #f8f6f1;
}

.topics-container {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;

    align-items: stretch;
}

.topic-card {
    width: 100%;
    min-width: 0;

    background: white;

    border: 1px solid #ebe6d8;
    border-radius: 24px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 30px 65px rgba(15, 23, 42, 0.14);
}

.topic-header {
    min-height: 230px;

    padding: 35px;

    background: #0f172a;

    display: flex;
    flex-direction: column;

    justify-content: space-between;
}

.topic-number {
    color: #c89b3c;

    font-size: 4.5rem;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -3px;
}

.topic-line {
    width: 55px;
    height: 5px;

    margin-bottom: 15px;

    background: #c89b3c;

    border-radius: 20px;

    transition:
        width 0.3s ease;
}

.topic-card:hover .topic-line {
    width: 100px;
}

.topic-title h2 {
    color: white;

    font-size: 1.65rem;
    font-weight: 800;

    line-height: 1.25;
}

.topic-content {
    padding: 35px;

    flex: 1;
}

.topic-content ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.topic-content li {
    position: relative;

    margin-bottom: 22px;

    padding-left: 28px;

    color: #374151;

    font-size: 1.05rem;

    line-height: 1.65;

    text-align: justify;

    hyphens: auto;
}

.topic-content li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 11px;

    width: 9px;
    height: 9px;

    background: #c89b3c;

    border-radius: 50%;
}

.topic-content li:last-child {
    margin-bottom: 0;
}

.topic-content em {
    color: #0f172a;

    font-weight: 600;
}


/* PROGRAM */

.timeline {
    width: 100%;
    max-width: 1200px;

    margin: 70px auto;

    padding: 0 30px;
}

.timeline div {
    width: 100%;

    margin: 15px 0;

    padding: 25px;

    background: white;

    border-left:
        5px solid #c89b3c;

    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.05);

    font-size: 1.15rem;
}


/* RADA NAUKOWA */

.council-container {
    width: 100%;
    max-width: 1600px;

    margin: 70px auto;

    padding: 0 35px;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 30px;

    perspective: 1200px;
}

.council-card {
    width: 100%;

    min-width: 0;
    min-height: 560px;

    background: white;

    border: 1px solid #ebe6d8;
    border-radius: 24px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08);

    transform-style: preserve-3d;

    transition:
        transform 0.15s ease,
        box-shadow 0.3s ease;
}

.council-card:hover {
    box-shadow:
        0 35px 70px rgba(15, 23, 42, 0.18);
}

.council-photo {
    width: 100%;
    height: 280px;

    display: block;

    object-fit: cover;
    object-position: center;

    background: #0f172a;

    transform-style: preserve-3d;

    transition:
        transform 0.25s ease;
}

.council-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg,
            #0f172a 0%,
            #1e293b 100%);

    color: #c89b3c;
}

.council-placeholder span {
    width: 120px;
    height: 120px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        3px solid #c89b3c;

    border-radius: 50%;

    font-size: 2.5rem;
    font-weight: 900;
}

.council-content {
    min-width: 0;

    padding: 30px;

    display: flex;
    flex-direction: column;

    flex: 1;

    transform-style: preserve-3d;

    transition:
        transform 0.25s ease;
}

.council-line {
    width: 55px;
    height: 5px;

    margin-bottom: 20px;

    background: #c89b3c;

    border-radius: 10px;

    transition:
        width 0.3s ease;
}

.council-card:hover .council-line {
    width: 90px;
}

.council-content h2 {
    margin-bottom: 12px;

    color: #0f172a;

    font-size: 1.45rem;

    line-height: 1.25;
}

.council-content p {
    margin-bottom: 25px;

    color: #64748b;

    font-size: 1rem;

    line-height: 1.5;

    text-align: left;
}

.council-university {
    margin-top: auto;

    align-self: flex-start;

    padding: 7px 15px;

    background: #f8f6f1;
    color: #c89b3c;

    border:
        1px solid #ebe6d8;

    border-radius: 30px;

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 1px;
}


/* ORGANIZATOR */

.organizer-section {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 85px 35px;

    display: grid;

    grid-template-columns:
        300px minmax(0, 1fr);

    gap: 70px;

    align-items: start;
}


/* LOGO ORGANIZATORA */

.organizer-logo {
    position: static;

    width: 100%;
    max-width: 300px;

    aspect-ratio: 1 / 1;

    justify-self: center;

    background-image: url("KlubKrytyczny115.png");

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.organizer-logo:hover {
    transform:
        translateY(-7px) rotate(-2deg);

    filter:
        drop-shadow(0 20px 20px rgba(15, 23, 42, 0.18));
}


/* TRESC ORGANIZATORA */

.organizer-content {
    width: 100%;

    min-width: 0;
}

.organizer-heading {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;
}

.organizer-heading span {
    color: #c89b3c;

    font-size: 0.8rem;
    font-weight: 900;

    letter-spacing: 2.5px;

    white-space: nowrap;
}

.organizer-line {
    min-width: 20px;
    height: 3px;

    flex: 1;

    background: #ebe6d8;

    border-radius: 20px;
}

.organizer-description {
    width: 100%;

    margin-bottom: 50px;

    color: #374151;

    font-size: 1.1rem;

    line-height: 1.9;

    text-align: justify;

    hyphens: auto;
}


/* KOMITET I KONTAKT */

.organizer-info {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr) minmax(240px, 0.7fr);

    gap: 50px;

    padding-top: 35px;

    border-top:
        1px solid #ded9ce;
}

.organizer-block {
    width: 100%;
    min-width: 0;
}

.organizer-members {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.organizer-members span {
    color: #0f172a;

    font-size: 1rem;
    font-weight: 600;

    padding-bottom: 8px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.organizer-members span:hover {
    color: #c89b3c;

    transform: translateX(5px);
}

.organizer-email {
    display: inline-block;

    max-width: 100%;

    color: #0f172a;

    font-size: 0.95rem;
    font-weight: 600;

    line-height: 1.5;

    text-decoration: none;

    padding-bottom: 4px;

    border-bottom:
        2px solid #c89b3c;

    overflow-wrap: anywhere;

    word-break: normal;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.organizer-email:hover {
    color: #c89b3c;

    border-color: #0f172a;
}


/* STOPKA */

.conference-footer {
    width: 100%;

    margin-top: 0;

    padding: 70px 20px 30px;

    background: #0f172a;

    color: white;
}

.footer-container {
    width: 100%;
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
            minmax(250px, 1fr));

    gap: 40px;
}

.footer-column h3 {
    margin-bottom: 15px;

    color: #f8d78b;
}

.footer-column p,
.footer-column li {
    color: #d1d5db;
}

.footer-column p {
    text-align: left;
}

.footer-column ul {
    padding-left: 20px;
}

.footer-column a {
    color: white;

    text-decoration: none;

    overflow-wrap: anywhere;

    transition:
        color 0.25s ease;
}

.footer-column a:hover {
    color: #f8d78b;
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;

    margin: 40px auto 0;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    text-align: center;

    color: #9ca3af;
}

.footer-bottom p {
    text-align: center;
}


/* RESPONSYWNOSC RADY */

@media (max-width: 1400px) {

    .council-container {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* RESPONSYWNOSC OBSZAROW */

@media (max-width: 1100px) {

    .topics-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ORGANIZATOR TABLET */

@media (max-width: 1000px) {

    .organizer-section {
        grid-template-columns:
            230px minmax(0, 1fr);

        gap: 40px;

        padding:
            70px 30px;
    }

    .organizer-logo {
        max-width: 230px;
    }

    .organizer-info {
        grid-template-columns: 1fr;

        gap: 40px;
    }
}


/* MNIEJSZY EKRAN */

@media (max-width: 900px) {

    .hiphop-intro-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .hiphop-text-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .council-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* TABLET */

@media (max-width: 768px) {

    .cards-container {
        grid-template-columns: 1fr;
    }

    .top {
        flex-direction: column;
    }

    .date {
        font-size: 3rem;
    }

    .description {
        font-size: 1.2rem;
    }

    .countdown {
        font-size: 1.8rem;
    }
}


/* ORGANIZATOR JEDNA KOLUMNA */

@media (max-width: 750px) {

    .organizer-section {
        grid-template-columns: 1fr;

        gap: 45px;

        padding:
            60px 25px;
    }

    .organizer-logo {
        position: static;

        width: min(70vw, 280px);
        max-width: 280px;

        justify-self: center;
    }

    .organizer-content {
        width: 100%;
    }

    .organizer-info {
        grid-template-columns: 1fr;

        gap: 45px;
    }
}


/* TELEFON */

@media (max-width: 700px) {

    .topics-section {
        padding:
            60px 20px;
    }

    .topics-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .topic-header {
        min-height: 190px;

        padding: 28px;
    }

    .topic-number {
        font-size: 3.8rem;
    }

    .topic-title h2 {
        font-size: 1.4rem;
    }

    .topic-content {
        padding: 28px;
    }

    .topic-content li {
        font-size: 1rem;
    }


    .hiphop-call {
        grid-template-columns: 1fr;

        gap: 22px;

        padding:
            35px 30px;
    }

    .call-decoration {
        writing-mode: horizontal-tb;

        transform: none;

        justify-self: start;

        font-size: 2.3rem;

        letter-spacing: -1px;
    }

    .hiphop-call:hover .call-decoration {
        transform:
            translateX(6px);
    }

    .hiphop-call:hover {
        transform:
            translateY(-4px);
    }
}


/* TELEFON */

@media (max-width: 650px) {

    .hiphop-about {
        padding:
            60px 20px;
    }

    .hiphop-intro {
        margin-bottom: 60px;
    }

    .hiphop-big-title {
        font-size: 4rem;

        letter-spacing: -3px;
    }

    .hiphop-lead p {
        font-size: 1.15rem;
    }

    .top1 {
        padding:
            50px 20px;
    }

    .top1 h1 {
        font-size: 1.6rem;
    }

    .pa {
        margin:
            50px auto;

        padding:
            0 20px;

        font-size: 1.05rem;
    }

    .timeline {
        margin:
            50px auto;

        padding:
            0 20px;
    }
}


/* RADA JEDNA KOLUMNA */

@media (max-width: 600px) {

    .council-container {
        grid-template-columns: 1fr;

        padding:
            0 20px;

        gap: 25px;

        margin:
            50px auto;
    }

    .council-card {
        min-height: 520px;
    }
}


/* MALY TELEFON */

@media (max-width: 500px) {

    .organizer-section {
        padding:
            50px 20px;
    }

    .organizer-logo {
        width:
            min(75vw, 250px);

        max-width: 250px;
    }

    .organizer-heading {
        gap: 12px;
    }

    .organizer-heading span {
        font-size: 0.7rem;

        letter-spacing: 1.3px;

        white-space: normal;
    }

    .organizer-description {
        margin-bottom: 40px;

        font-size: 1rem;

        line-height: 1.8;
    }

    .organizer-info {
        gap: 35px;

        padding-top: 30px;
    }

    .organizer-email {
        font-size: 0.9rem;
    }
}


/* BARDZO MALY TELEFON */

@media (max-width: 480px) {

    .hero {
        width: 100%;
    }

    .overlay {
        padding: 20px;
    }

    .overlay h1 {
        font-size: 3.2rem;

        letter-spacing: -3px;
    }

    .cards-container {
        gap: 25px;
    }

    .card-content {
        padding: 25px;
    }

    .countdown {
        font-size: 1.5rem;
    }

    .hiphop-big-title {
        font-size: 3.2rem;
    }

    .call-decoration {
        font-size: 2rem;
    }

    .conference-footer {
        padding:
            55px 20px 25px;
    }
}