/* Szerokość iframe w map-container */
.map-container iframe {
    width: 100%;
    display: block;
}
/* Zachowanie proporcji dla obrazu Drewno Balsy */
.balsa-img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Floating Language Switcher Styles */
.lang-switcher {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.lang-btn {
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.35) 0%, rgba(46, 125, 143, 0.6) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.lang-btn:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.lang-menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.35) 0%, rgba(46, 125, 143, 0.6) 100%);
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.14);
    margin-bottom: 8px;
    max-height: 220px;
    overflow-y: auto;
    min-width: 160px;
    padding: 8px 0;
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    text-decoration: none;
    color: #1a3a5f;
    font-size: 1rem;
    transition: background 0.15s;
}
.lang-option:hover {
    background: #f0f4fa;
}
.lang-menu.show {
    display: flex;
}
@media (max-width: 600px) {
    .lang-switcher {
        right: 12px;
        bottom: 12px;
    }
    .lang-menu {
        min-width: 120px;
    }
}
/* Lokalne czcionki Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display/PlayfairDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Palette for section backgrounds - subtle, high-contrast, friendly */
:root {
    --bg-hero: linear-gradient(135deg, rgba(26, 58, 95, 0.35) 0%, rgba(46, 125, 143, 0.6) 100%);
    --bg-odd: #f4fbff;      /* very light blue */
    --bg-even: #fffaf0;     /* very light warm/cream */
    --bg-products: #f3f6f9;  /* soft cool gray */
    --bg-contact: #eef7f4;   /* pale mint for contact */
    --card-bg: #ffffff;      /* default card background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typografia */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 { 
    font-size: 3rem; 
    font-weight: 700;
}

h2 { 
    font-size: 2.5rem; 
    font-weight: 600;
}

h3 { 
    font-size: 1.8rem; 
    font-weight: 500;
}

h4 { 
    font-size: 1.2rem; 
    font-weight: 500;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #4a7c59;
    color: white;
}

.btn-primary:hover {
    background: #233b2a;
}

.btn-outline {
    background: transparent;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.btn-outline:hover {
    background: #0066cc;
    color: white;
}

.btn-cta {
    background: #4a7c59;
    color: white;
}

.btn-cta:hover {
    background: #30533b;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}


.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.tagline {
    font-size: 0.8rem;
    color: #666;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0066cc;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.35) 0%, rgba(46, 125, 143, 0.6) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1rem;
    font-size: 3.0rem;
    color: rgb(255, 255, 255);
}

.hero-content > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.35) 0%, rgba(46, 125, 143, 0.6) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.feature-text h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* Sections */
/* Spławiki Section */
.splawiki-section {
    padding: 60px 0;
    background: var(--bg-even);
}

.splawiki-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    color: #1a365d;
    margin-bottom: 2.5rem;
}

.splawiki-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.splawik-card {
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.35) 0%, rgba(46, 125, 143, 0.6) 100%);;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(26,58,95,0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    width: 260px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splawik-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(26,58,95,0.15);
}

.splawik-img {
    width: 210px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(26,58,95,0.07);
}

.splawik-card h3 {
    font-size: 1.2rem;
    color: #1a365d;
    font-family: 'Playfair Display', serif;
    margin-top: 0.5rem;
}
.section {
    padding: 60px 0;
    background: var(--bg-odd);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: #1a365d;
    margin-bottom: 1rem;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-content h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

/* Process */
.process-section {
    background: var(--bg-odd);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #0066cc;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

/* Materials */
.materials-section {
    background: var(--bg-contact);
}

.materials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.materials-text h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.material-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.materials-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image img {
    width: 100%;
    max-width: 350px;
    height: 250px;
    object-fit: contain;
    margin: 0 auto 1rem auto;
    display: block;
    border-radius: 14px;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.product-specs {
    list-style: none;
    margin: 1rem 0 2rem;
}

.product-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-products);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-text p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-info h4 {
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.author-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Forms */
.contact-form {
    background: var(--bg-contact);
    padding: 2rem;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: #1a365d;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: white;
}

.contact-info-footer p {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #cbd5e0;
}
/* Offer Section */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Products actions (Sklep / Hurtownia) */
.products-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

.products-actions .btn {
    padding: 10px 20px;
}

@media (max-width: 600px) {
    .products-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .products-actions .btn {
        width: 100%;
    }
}

/* Anchor target offset for fixed header */
.product-target {
    position: relative;
    top: -90px; /* header height + small offset */
    height: 1px;
    visibility: hidden;
}

.offer-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #0066cc;
}

.offer-card h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

.offer-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .materials-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}