/* ========================================
   FESTIWAL DOBRYCH GOSPODARZY
   Rustykalny, ciepły, wiejski klimat
   ======================================== */

:root {
    --color-bg: #faf6f0;
    --color-bg-dark: #2c1810;
    --color-text: #3a2a1a;
    --color-text-light: #6b5840;
    --color-accent: #c45a2d;
    --color-accent-hover: #a84420;
    --color-wood: #8b6914;
    --color-wood-light: #d4a843;
    --color-green: #4a7c3f;
    --color-cream: #f5ead6;
    --color-card: #fff9f0;
    --font-display: 'Lora', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --shadow: 0 4px 20px rgba(44, 24, 16, 0.1);
    --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.15);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ============ NAVIGATION ============ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(44, 24, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s;
}

#navbar.scrolled {
    background: rgba(44, 24, 16, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-wood-light);
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    margin-right: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: #e8dcc8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(196, 90, 45, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #e8dcc8;
    transition: 0.3s;
}

/* ============ HERO ============ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(44, 24, 16, 0.6) 0%,
        rgba(44, 24, 16, 0.4) 40%,
        rgba(44, 24, 16, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    margin-bottom: 24px;
}

.hero-ticket {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.hero-ticket:hover {
    transform: scale(1.05) rotate(-2deg);
}

#hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-date {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--color-wood-light);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.hero-location {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-location i {
    color: var(--color-accent);
    margin-right: 6px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(196, 90, 45, 0.4);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(196, 90, 45, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
    color: rgba(255,255,255,0.6);
    font-size: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============ SECTIONS ============ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-text);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header-light h2 {
    color: #fff;
}

.section-header-light p {
    color: rgba(255,255,255,0.8);
}

.section-header-light .section-tag {
    color: var(--color-wood-light);
}

/* ============ ABOUT ============ */
#about {
    background: var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 24px 0 16px;
    color: var(--color-text);
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.values-list li i {
    color: var(--color-green);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.about-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--color-card);
    border: 1px solid rgba(139, 105, 20, 0.15);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-wood));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon i {
    font-size: 22px;
    color: #fff;
}

.info-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--color-text);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* ============ ATRAKCJE ============ */
#atrakcje {
    background: var(--color-bg-dark);
    color: #fff;
    position: relative;
}

#atrakcje::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-wood-light), var(--color-green));
}

.atrakcje-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.atrakcja-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.atrakcja-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(196, 90, 45, 0.4);
    transform: translateY(-5px);
}

.atrakcja-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-wood));
    display: flex;
    align-items: center;
    justify-content: center;
}

.atrakcja-icon i {
    font-size: 26px;
    color: #fff;
}

.atrakcja-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-wood-light);
}

.atrakcja-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ============ VIDEO ============ */
#video {
    background: var(--color-bg);
}

.video-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-wrap video {
    width: 100%;
    display: block;
}

/* ============ KONTAKT ============ */
#kontakt {
    background: var(--color-bg-dark);
    color: #fff;
}

.kontakt-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.kontakt-top {
    margin-bottom: 20px;
}

.kontakt-top .kontakt-card {
    flex: 0 1 260px;
}

.kontakt-bottom .kontakt-card {
    flex: 0 1 auto;
}

.kontakt-card-wide a {
    white-space: nowrap;
}

.kontakt-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.kontakt-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(196, 90, 45, 0.4);
    transform: translateY(-3px);
}

.kontakt-card a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
    color: #e8dcc8;
    text-decoration: none;
    font-size: 0.95rem;
}

.kontakt-card i {
    font-size: 22px;
    color: var(--color-accent);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* ============ FOOTER ============ */
footer {
    background: #1a0e08;
    padding: 30px 0;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ============ ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .atrakcje-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: 0; right: 0;
        background: rgba(44, 24, 16, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform 0.3s;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .atrakcje-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .atrakcja-card {
        padding: 24px 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .atrakcja-icon {
        margin: 0;
        width: 52px;
        height: 52px;
        flex-shrink: 0;
    }

    .atrakcja-icon i {
        font-size: 22px;
    }

    section {
        padding: 70px 0;
    }

    .hero-ticket {
        width: 90px;
    }

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