/*
Theme Name: Creative Drip Conference Theme
Author: Creative Drip Adam Szczypczyk
Version: 1.1
*/

@import url(css/mobile-menu.css);

/* ============================================================
   ZMIENNE
   ============================================================ */
:root {
    --primary-color: #1f3a5f;
    --secondary-color: #4e9cc1;
    --primary-dark: #14253d;
    --white-color: #FFFFFF;
    --grey-color: rgb(244, 244, 244);
    --dark-grey-color: #e2e2e2;
}


/* ============================================================
   RESET
   ============================================================ */
*, html, body {
    margin: 0;
    padding: 0;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: "Poppins", sans-serif;
}
img {
    max-width: 100%;
    height: auto;
}


/* ============================================================
   TYPOGRAFIA
   ============================================================ */
h2 {
    font-family: "Poppins";
    font-weight: 500;
}
.section-title h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--primary-color);
}


/* ============================================================
   LAYOUT – OGÓLNE
   ============================================================ */
.container {
    max-width: 80vw;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}
.page-wrapper {
    position: relative;
}
@media (max-width: 1024px){
    .container{
        max-width: 90vw;
    }
}

/* ============================================================
   SCROLL OFFSET (sticky nav)
   ============================================================ */
#invitation, #comittee, #abstract, #program, #fee, #place {
    scroll-margin-top: 155px;
}
@media (max-width: 1024px) {
    #invitation, #comittee {
        scroll-margin-top: 100px;
    }
}


/* ============================================================
   NAGŁÓWEK
   ============================================================ */
.top, .top-alt {
    margin: 0 auto;
    position: fixed;
    top: 20px;
    z-index: 100;
    width: 100%;
}
.top .container {
    display: flex;
    justify-content: space-between;
}
.top-alt .container {
    display: flex;
    justify-content: flex-end;
}
.top .logo {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    background-color: color-mix(in srgb, var(--primary-color) 65%, transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
    padding: 20px;
}
.top .logo img {
    max-height: 60px;
}
.top .nav,
.top-alt .nav {
    background-color: color-mix(in srgb, var(--primary-color) 65%, transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
    padding: 20px;
    align-content: center;
}
.top-alt .nav {
    border-radius: 14px;
}

@media (max-width: 1024px) {
    .top, .top-alt {
        padding: 0;
        margin-top: 0;
        top: 0;
        height: 100px;
    }
    .top-alt .nav {
        padding: 0;
    }
    .top .container,
    .top-alt .container {
        padding: 10px 0;
    }
    .top .logo {
        height: 80px;
    }
    .logo img {
        object-fit: cover;
        object-position: left;
        width: auto;
        height: 75px;
    }
    .top .logo .logo_usdk,
    .top .logo .logo_ucrp {
        width: 90px;
    }
    .menu-toggle {
        background-color: color-mix(in srgb, var(--primary-color) 65%, transparent);
        backdrop-filter: blur(10px);
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
        text-align: center;
        border-radius: 14px;
    }
    .menu-toggle.active {
        background-color: color-mix(in srgb, var(--white-color) 0%, transparent);
    }
}


/* ============================================================
   NAWIGACJA 
   ============================================================ */
.nav ul{
    display: flex;
    list-style: none;
}
.footer-nav ul{
    display: flex;
    flex-direction: column;
    list-style: none;
}
.nav ul li {
    position: relative;
}
.nav ul li a, .footer-nav ul li a {
    font-size: 1.2em;
    padding: 5px 10px;
    display: block;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    position: relative;
}

@media (max-width: 1024px) {
    .nav ul li a, .footer-nav ul li a {
        font-size: 1.6em;
    }
}

@media (min-width: 1024px) {
    .nav ul li a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: #FFFFFF;
        transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    }
    .nav ul li a:hover::after {
        width: 100%;
        left: 0;
    }
}


/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    width: 100%;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--grey-color);
    min-height: 400px;
    aspect-ratio: 16/9;
    filter: drop-shadow(0px 4px 10px #d3d3d3);
}
.hero-section .container {
    height: 2vh;
}
.hero-image::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(112, 30, 85, 0.6);
    clip-path: inherit;
}
.hero-text {
    max-width: 40%;
    color: rgb(112, 30, 85);
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: normal;
    position: relative;
    top: calc(95vw * -0.3);
}
.hero-text h1 {
    font-size: 5rem;
    margin-bottom: 10px;
}
.hero-text p {
    font-size: 2rem;
    line-height: 1.4;
}
.hero-scroll-arrow {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    width: 48px;
    height: 48px;
    animation: bounce 2s infinite;
}
.hero-scroll-arrow svg {
    width: 100%;
    height: 100%;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 1024px) {
    .hero-section .container {
        height: 0;
        padding: 0;
    }
    .hero-text {
        max-width: 100%;
        top: calc(95vw * -0.7);
    }
    .hero-text h1 {
        font-size: 3.5em;
    }
    .hero-text h1,
    .hero-text p {
        color: #FFFFFF;
    }
    .hero-section {
        width: 100%;
        background-image: var(--hero-bg-mobile);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--grey-color);
        min-height: 400px;
        aspect-ratio: 3/4;
        filter: drop-shadow(0px 4px 10px #d3d3d3);
    }
    .hero-image {
        height: 800px;
        clip-path: none;
    }
}


/* ============================================================
   ZAPROSZENIE
   ============================================================ */
.invitation-section {
    background-color: var(--primary-color);
    color: #FFF;
}
.invitation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.invitation-content {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.3em;
}
.invitation-text p {
    padding: 10px 0;
}
.invitation-image img {
    max-width: 450px;
    height: auto;
    border-radius: 10px;
}
.przewodniczacy {
    display: flex;
    flex-direction: column;
}
.image-caption {
    text-align: center;
}
.date-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.date-wrapper .date {
    font-family: 'Poppins';
    font-size: 2em;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .invitation-image,
    .image-caption {
        display: none;
    }
    .invitation-content{
        line-height: 1.5em;
    }
}


/* ============================================================
   AKORDEON
   ============================================================ */
.accordion {
    width: 100%;
    margin: 0 auto;
}
.accordion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1.4em;
    font-weight: 500;
    background: #FFF;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.accordion-header:hover {
    background: #e0e0e0;
}
.accordion-content {
    display: none;
    padding: 15px;
    background: white;
    border-top: 1px solid #ccc;
}


/* ============================================================
   ODLICZANIE
   ============================================================ */
.countdown-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.countdown-txt {
    font-size: 2.5rem;
    font-family: "Poppins";
    padding-right: 100px;
}
.countdown {
    display: flex;
    gap: 20px;
    text-align: center;
    font-size: 2rem;
    padding: 40px;
}
.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 14px;
    width: 100px;
}
.countdown span {
    font-size: 1.5rem;
    margin-top: 5px;
}

@media (max-width: 1024px) {
    .countdown-section .container {
        flex-direction: column;
        padding: 30px 0;
    }
    .countdown {
        gap: 10px;
        padding: 20px 0;
    }
    .countdown-txt {
        padding-right: 0;
    }
    .countdown div {
        width: 80px;
    }
    .countdown span {
        font-size: 1.25rem;
    }
}
@media (max-width: 600px){
    .countdown .seconds{
        display: none;
    }
}


/* ============================================================
   KOMITET
   ============================================================ */
.committees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.committee__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.committee__member {
  padding: 0.4rem 0;
}

/* ============================================================
   ABSTRAKTY
   ============================================================ */
.abstract-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    color: rgb(112, 30, 85);
}
.abstract-section .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 0;
}
.abstract-section .grafika {
    max-width: 20%;
}
.abstract-section .grafika p {
    text-align: center;
}

@media (max-width: 1024px) {
    .abstract-section .row {
        flex-direction: column;
        align-items: center;
    }
    .abstract-section .grafika {
        max-width: 70%;
    }
}


/* ============================================================
   PRZYCISK
   ============================================================ */
.button {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 1.5rem;
    background-color: rgb(112, 30, 85);
}
.button a {
    color: #FFF;
    display: block;
    padding: 15px 30px;
}
.button a:visited {
    color: #FFF;
}


/* ============================================================
   MIEJSCE
   ============================================================ */
.place-section {
    background: url('img/dynamic_waves_light.png') no-repeat 30% 10%;
}
.place-section .section-title h2 {
    color: #FFF;
}
.place-section img {
    max-width: 550px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.55);
}
.place-section .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 0;
    align-items: center;
    gap: 30px;
}
.place-section .txt h2 {
    font-size: 2rem;
    color: #FFF;
    
}
.place-section .txt h3 {
    font-size: 1.5rem;
    color: #FFF;
    padding-top: 2rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .place-section .row {
        flex-direction: column-reverse;
    }
    .place-section img {
        margin-top: 30px;
    }
    .place-section .txt {
        text-align: center;
    }
}


/* ============================================================
   PROGRAM
   ============================================================ */
.program-section .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.program-section .container table td {
    padding: 10px 15px 10px 0;
    min-width: 100px;
}


/* ============================================================
   OPŁATY
   ============================================================ */
.fee-section {
    background: url('img/dynamic_waves_light.png') no-repeat 60% 40%;
}
.fee-section .container .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    color: white;
    padding: 10px 0;
}
.fee-section .row .column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fee-section .price {
    font-size: 3rem;
    font-weight: 600;
    color: #FFF;
}
.fee-section h3,
.fee-section .column h2,
.fee-section p {
    color: #FFF;
}
.fee-section .column h2 {
    font-size: 1.5rem;
    padding: 5px 0;
}
.fee-section p {
    padding: 5px 0;
}

@media (max-width: 1024px) {
    .fee-section .container .row {
        flex-direction: column;
        gap: 20px;
    }
}


/* ============================================================
   REJESTRACJA
   ============================================================ */
.register-section p {
    text-align: center;
}
.register-section .row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 20px 0;
}
.register-section .button {
    margin: 50px 0;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background-color: var(--primary-dark);
}
.footer .container {
    display: flex;
    justify-content: space-between;
}
.footer .logo {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    padding: 20px;
}
.footer .logo img {
    max-height: 70px;
}
.footer .nav ul {
    flex-direction: column;
    align-items: end;
}
.bottom {
    background-color: #212326;
    color: #FFF;
}
.bottom .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}
.bottom a {
    color: #FFF;
}

@media (max-width: 1024px) {
    .bottom .container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer .container{
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .footer .logo{
        flex-direction: row;
        justify-content: center;
    }
    .footer .logo img{
        max-height: 60px;
    }
    
}


/* ============================================================
   WOOCOMMERCE – PRODUKT WYDARZENIE
   ============================================================ */
.event-product .event-purchase p.price { display: none; }
.event-product .event-purchase .label { text-align: left; }
.event-product .event-purchase .value { padding: 10px; }
.event-product .quantity .input-text { display: none; }
.reset_variations { display: none; }

.event-product article {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-content: center;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .event-product article {
        flex-direction: column;
    }
}

.return-button {
    display: block;
    max-width: 200px;
    margin: 20px 0;
    background: #212326;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.return-button a,
.return-button a:visited,
.event-product .return-button a {
    color: white;
}

.variations_form select,
.woocommerce-billing-fields select {
    background-color: #f0f0f0;
    border: none;
    width: 300px;
    padding: 10px 20px;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('ścieżka/do/strzałki.svg');
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 15px;
}

.event-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}
.event-image img {
    max-width: 600px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.event-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}
.event-purchase,
.event-extras {
    margin-top: 30px;
    padding: 20px;
}
.event-purchase h2,
.event-extras h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.single_add_to_cart_button {
    display: block;
    width: 100%;
    margin: 30px 0;
    background: #5A1643;
    color: white;
    text-align: center;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.single_add_to_cart_button:hover {
    background: #c82285;
}

.checkout-title {
    text-align: center;
    margin: 40px 0;
}
.checkout-container .woocommerce img {
    max-width: 150px;
}

.woocommerce-billing-fields input {
    font-size: 1em;
    padding: 5px 0;
}
.woocommerce #order_review_heading {
    margin: 20px 0;
}
.woocommerce-checkout-payment {
    background-color: rgba(0, 0, 0, 0) !important;
}
.payment_box {
    background-color: rgba(133, 38, 101, 0.3) !important;
}
.payment_box::before {
    border: none !important;
}
#place_order {
    background: #5A1643 !important;
}


/* ============================================================
   AGENDA
   ============================================================ */
.agenda__session {
    border-left: 2px solid var(--dark-grey-color);
    margin-bottom: 48px;
    padding-left: 28px;
    position: relative;
}
.agenda__session::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}
.agenda__session-time {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}
.agenda__session-name {
    font-size: 1.375em;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 10px;
}
.agenda__moderators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    color: #666;
}
.agenda__moderators-label {
    font-weight: 500;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #aaa;
    margin-right: 2px;
}
.agenda__moderator {
    /*background: #f5f5f5;*/
    background: var(--primary-color);
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    color: white;
}
.agenda__lectures {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.agenda__lecture {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background .15s, border-color .15s;
}
.agenda__lecture:hover {
    /*background: #fafafa;*/
    background: color-mix(in srgb, var(--secondary-color) 5%, transparent);
    /*border-color: #ebebeb;*/
}
.agenda__lecture-time {
    font-size: 12px;
    font-weight: 500;
    color: #aaa;
    padding-top: 2px;
    white-space: nowrap;
    letter-spacing: .03em;
}
.agenda__lecture-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.agenda__lecture-title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}
.agenda__lecturers {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.agenda__lecturer {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.agenda__lecturer strong {
    font-weight: 500;
    color: #333;
}
.agenda__lecturer-org {
    font-size: 12px;
    color: #aaa;
}
.agenda__lecturer-org::before {
    content: '·';
    margin-right: 6px;
    opacity: .5;
}

@media (max-width: 480px) {
    .agenda__lecture {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .agenda__session-name {
        font-size: 18px;
    }
}


/* ============================================================
   PARTNERZY I PATRONATY
   ============================================================ */
.patronage-section .section-title {
    padding-top: 50px;
}
.patronage-section .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    justify-items: center;
}

/* Patronat honorowy */
.row.honorary-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 56px;
}
.partners__honorary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 300px;
    flex: 0 1 auto;
}
.partners__honorary-logo {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.partners__honorary-name {
    font-size: 1.3em;
    font-weight: 500;
    margin: 0;
    line-height: 1.35;
}
.partners__honorary-role {
    font-size: 1em;
    color: #888;
    line-height: 1.55;
    margin: 0;
}

/* Grid logo partnerów */
.row.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: center;
    justify-items: center;
    gap: 24px 32px;
    margin-bottom: 40px;
}
.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .15s;
}
.sponsor-item a:hover {
    opacity: .65;
}
.sponsor-item img {
    max-height: 70px;
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
/*    .patronage-section .row{
        flex-direction: column;
        align-items: center;
    }*/
    .row.honorary-row {
        display: flex;
        gap: 28px;
    }
    .row.partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }
    .sponsor-item img {
        max-height: 44px;
        max-width: 150px;
    }
}