/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #CF3B21;
    --primary-dark: #AE231B;
    --secondary-color: #285934;
    /* --accent-blue: #8E9ABF;
    --accent-light: #ADBCD9; */
    --text-color: #57534e;
    --text-light: #a8a29e;
    --background: #fefcfb;
    --background-alt: #f5f7fa;
    --border-color: #dde3eb;
    --success-color: #285934;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(74, 95, 127, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(74, 95, 127, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(74, 95, 127, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(74, 95, 127, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background: var(--background);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.2s;
}

.logo:hover img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('pictures/hero.jpg') center/cover no-repeat;
    padding-top: 70px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 4rem 0;
}

.hero-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: var(--background);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.about-text-center {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text-center p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

.what-awaits {
    margin-top: 3rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.what-awaits h3 {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.what-awaits ul {
    list-style: none;
    padding: 0;
}

.what-awaits ul li {
    display: flex;
    align-items: center; /* wyśrodkowanie w pionie */
    gap: 1rem;
    padding: 0.75rem 0;
}

.what-awaits ul li::before {
    content: "•";
    position: static;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-color);
}

.about-full-image {
    width: 100%;
    max-height: 900px;
    overflow: hidden;
    margin-top: 3rem;
}

.about-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.limited-seats {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--background-alt);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    text-align: center;
}

.limited-seats p {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 0.05em;
}

/* Speakers Section */
.speakers {
    background: var(--background-alt);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: start;
}

.speaker-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.speaker-image {
    width: 200px;
    height: 240px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.speaker-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.speaker-bio-short {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.speaker-bio-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--text-light);
    font-size: 0.95rem;
    opacity: 0;
}

.speaker-bio-full p {
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.speaker-card.expanded .speaker-bio-full {
    max-height: 1000px;
    margin-bottom: 1rem;
    opacity: 1;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-in 0.1s;
}

.speaker-toggle {
    background: var(--background-alt);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.speaker-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.speaker-card.expanded .speaker-toggle::after {
    content: ' ▲';
}

.speaker-toggle::after {
    content: ' ▼';
}

/* Schedule Section */
.schedule {
    background: var(--background);
}

.schedule-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.schedule-time {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.schedule-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.schedule-speaker {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.schedule-content p:last-child {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Registration Section */
.registration {
    background: linear-gradient(135deg, #8E9ABF 0%, #ADBCD9 100%);
}

.registration .section-title {
    color: var(--white);
}

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

.registration-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Tickets Section */
.tickets {
    background: linear-gradient(135deg, #8E9ABF 0%, #ADBCD9 100%);
}

.tickets .section-title {
    color: var(--white);
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ticket-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.ticket-card:hover {
    transform: translateY(-5px);
}

.ticket-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.ticket-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.ticket-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.ticket-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.ticket-price {
    margin-bottom: 1.5rem;
}

.ticket-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.ticket-price .currency {
    font-size: 1rem;
    color: var(--text-light);
}

.ticket-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.ticket-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.ticket-features li:last-child {
    border-bottom: none;
}

/* Gallery Section */
.gallery {
    background: var(--background);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Questions Section */
.questions {
    background: var(--background-alt);
    text-align: center;
}

.questions-content {
    max-width: 600px;
    margin: 0 auto;
}

.questions-text {
    font-size: 1.25rem;
    color: var(--text-color);
}

.questions-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.questions-text a:hover {
    border-bottom-color: var(--primary-color);
}

/* FAQ Section */
.faq {
    background: var(--background-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--background-alt);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background: var(--background);
}

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

.contact-social h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-alt);
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.section.registration {
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .ticket-card.featured {
        transform: none;
    }

    .ticket-card.featured:hover {
        transform: translateY(-5px);
    }

    .registration-text {
        font-size: 1.1rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .registration-content {
        padding: 0 1rem;
    }

    .registration-text {
        font-size: 1rem;
    }

    .btn-large {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}