/* ===================================
   NIEZGODA BROS - SHARED BASE STYLES
   Used by both Łukasz and Jan's sections
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

/* Navigation Bar */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: 500;
}

.nav-link.active {
    font-weight: 700;
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
}

.hero-content {
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Fact Box */
.fact-box {
    background: #f8f8f8;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.fact-box h2,
.fact-box h3 {
    margin-top: 0;
}

.fact-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Video Container */
.video-container {
    position: relative;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.video-container video,
.video-container iframe {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.video-caption {
    margin-top: 0.8rem;
    font-style: italic;
    color: #666;
    text-align: center;
    font-size: 0.95rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0.3rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Buttons */
.btn-primary,
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    font-weight: 700;
    background: #f5f5f5;
}

tr:hover {
    background: #f9f9f9;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        margin: 0.3rem 0;
    }
    
    .hero-section {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 1rem;
        margin: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 0.8rem;
    }
}
