/* --- Zmienne Kolorystyczne --- */
:root {
    --navy-dark: #131845;
    --navy-light: #1F265E;
    --gold: #C5A059;
    --gold-hover: #D4B06A;
    --text-dark: #2C2C2C;
    --text-grey: #555555;
    --bg-light: #F9F9F7;
    --white: #FFFFFF;
}

/* --- Reset i Ogólne --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo { font-family: 'Playfair Display', serif; color: var(--navy-dark); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Klasy użytkowe --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-green { background-color: var(--navy-dark); }
.text-white { color: var(--white); }

.divider, .divider-center { height: 3px; background-color: var(--gold); margin-bottom: 30px; }
.divider { width: 60px; margin-top: 20px; }
.divider-center { width: 60px; margin: 20px auto 50px auto; }

.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 10px; }
.text-link { color: var(--gold); font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--navy-dark); border-color: var(--navy-dark); }

/* --- Przyciski --- */
.btn {
    display: inline-block; padding: 16px 40px; border-radius: 2px;
    font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
    cursor: pointer; transition: all 0.3s ease; text-align: center; border: none;
}
.btn-gold { background-color: var(--gold); color: var(--white); }
.btn-gold:hover { background-color: var(--gold-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3); }
.btn-gold-outline { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.btn-gold-outline:hover { background-color: var(--gold); color: var(--white); }
.btn-transparent { border: 1px solid rgba(255,255,255,0.8); color: var(--white); }
.btn-transparent:hover { background-color: var(--white); color: var(--navy-dark); }

/* --- Nawigacja --- */
.navbar {
    position: sticky; top: 0; background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); z-index: 1000; padding: 1.2rem 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--navy-dark); }
.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { font-size: 0.9rem; text-transform: uppercase; font-weight: 600; color: var(--navy-dark); letter-spacing: 1px; }
.nav-links a:hover { color: var(--gold); }
.highlight-link { color: var(--gold) !important; }
.lang-switch { border: 1px solid var(--gold); padding: 5px 12px; border-radius: 2px; font-size: 0.75rem !important; }

/* --- Hero Section (ZAKTUALIZOWANA) --- */
.hero {
    min-height: 90vh; 
    height: auto;
    position: relative; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    text-align: center; 
    color: var(--white); 
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Ścieżka relatywna do pliku sandra_background.jpg */
    background-image: url('sandra_background.jpg'); 
    background-size: cover; 
    background-position: center; 
    z-index: 0;
    background-attachment: fixed; 
}

.hero-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Użycie navy-dark z 80% przezroczystości (0.8) */
    background: rgba(19, 24, 69, 0.8); 
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 950px; width: 100%; }

.hero-content h1 { 
    font-size: 3.8rem; margin-bottom: 25px; line-height: 1.2; 
    color: var(--white) !important; text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.hero-subtitle { 
    color: var(--gold); font-size: 1rem; text-transform: uppercase; letter-spacing: 4px; 
    margin-bottom: 25px; font-weight: 700; 
}
.hero-description { font-size: 1.25rem; color: #eeeeee; margin-bottom: 50px; font-weight: 300; line-height: 1.8; }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

/* Kursor pisania */
.txt-type { 
    border-right: 3px solid var(--gold); 
    padding-right: 5px; 
    color: var(--gold);
    display: inline-block; 
}

/* --- O Mnie & Misja --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.portrait-img { width: 100%; border-radius: 2px; box-shadow: 25px 25px 0px var(--bg-light); filter: brightness(1.05); }
.about-text h2 { line-height: 1.3; margin-bottom: 20px; font-size: 2.5rem; }
.lead-text { 
    font-size: 1.2rem; font-weight: 500; color: var(--navy-dark); 
    margin-bottom: 30px; line-height: 1.8; border-left: 3px solid var(--gold); padding-left: 20px;
}
.mission-box {
    background-color: rgba(197, 160, 89, 0.1);
    border-left: 4px solid var(--gold); padding: 25px; margin: 35px 0;
    border-radius: 0 4px 4px 0;
}
.mission-box h4 { color: var(--navy-dark); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-weight: 700; }
.mission-box p { font-size: 1.1rem; font-style: italic; color: var(--text-dark); font-weight: 500; }
.small-list li { margin-bottom: 12px; font-weight: 600; color: var(--navy-dark); display: flex; align-items: center; }
.small-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--gold); margin-right: 15px; }

/* --- Specjalizacje (Karty) --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.card {
    background: var(--white); padding: 50px 35px; border-top: 5px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: all 0.4s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(19, 24, 69, 0.1); }
.card h3 { margin-bottom: 15px; font-size: 1.4rem; transition: color 0.3s; }
.card:hover h3 { color: var(--gold); }
.icon-wrapper { font-size: 2.5rem; color: var(--gold); margin-bottom: 25px; transition: transform 0.4s; }
.card:hover .icon-wrapper { transform: scale(1.1); }

/* --- Współpraca --- */
.coop-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; margin-bottom: 80px; }
.coop-list li {
    position: relative; padding-left: 35px; margin-bottom: 25px;
    color: var(--text-grey); font-size: 1.1rem; line-height: 1.8;
}
.coop-list li strong { color: var(--navy-dark); display: block; margin-bottom: 5px; }
.coop-list li::before { content: "•"; color: var(--gold); font-size: 2.5rem; position: absolute; left: 0; top: -5px; line-height: 1; }

.form-wrapper {
    background: var(--white); padding: 45px; box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border-radius: 5px; border-bottom: 5px solid var(--gold);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 25px; }
.form-row { display: flex; gap: 20px; }
.form-group { width: 100%; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 16px; background-color: var(--bg-light); border: 1px solid #e0e0e0;
    border-radius: 3px; font-family: 'Lato', sans-serif; font-size: 1rem;
}
.contact-form input:focus { outline: none; border-color: var(--gold); background: var(--white); }

/* Checkbox */
.checkbox-wrapper { display: flex; gap: 12px; align-items: center; font-size: 0.9rem; color: #777; }
.checkbox-wrapper input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; }
.checkbox-wrapper label { cursor: pointer; }
.checkbox-wrapper a { color: var(--gold); text-decoration: underline; }
.full-width { width: 100%; }

/* Proces */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; text-align: center; }
.step { padding: 20px 10px; position: relative; }
.step-number { 
    font-family: 'Playfair Display', serif; font-size: 4rem; color: rgba(197, 160, 89, 0.2); 
    font-weight: 700; display: block; line-height: 1; margin-bottom: 15px;
}
.step h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--navy-dark); }
.step p { font-size: 1rem; color: var(--text-grey); }

/* Warsztat */
#warsztat { background-color: var(--navy-dark); color: var(--white); }
.workshop-content { text-align: center; max-width: 800px; margin: 0 auto; }
.workshop-content h2 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.workshop-content p { color: #f0f0f0; font-size: 1.15rem; margin-bottom: 15px; opacity: 0.9; }

/* Blog & Footer */
.blog-card { background: var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-radius: 4px; transition: transform 0.3s; overflow: hidden; }
.blog-card:hover { transform: translateY(-5px); }
.blog-img { height: 220px; background-size: cover; background-position: center; transition: transform 0.5s; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-content { padding: 30px; }
.blog-content a { color: var(--gold); font-weight: 700; text-transform: uppercase; }

footer { background-color: #0b0e2b; color: #ccc; padding: 80px 0 20px 0; }
.footer-col h3 { color: var(--white)!important; font-size: 1.8rem; margin-bottom: 15px; }
.footer-col h4 {color: var(--white) !important;}
.social-links a { margin-right: 15px; font-size: 1.2rem; }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; }

/* --- RESPONSIVE & MOBILE FIXES --- */
.burger { display: none; cursor: pointer; }
.burger div { width: 28px; height: 3px; background-color: var(--navy-dark); margin: 6px; transition: 0.3s; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
    .btn { width: 100%; max-width: 340px; }
    
    .about-grid, .coop-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-img { order: -1; }
    .portrait-img { box-shadow: none; max-width: 100%; }
    
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    /* Menu Mobilne */
    .burger { display: block; z-index: 2000; }
    .logo { z-index: 2000; position: relative; }
    
    .nav-links {
        position: fixed; right: 0; top: 0; height: 100vh; background-color: var(--navy-dark);
        flex-direction: column; justify-content: center; width: 85%; transform: translateX(100%);
        transition: 0.4s ease-in; z-index: 1500; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links a { color: var(--white); font-size: 1.4rem; margin: 15px 0; }
    .nav-active { transform: translateX(0%); }

    /* Wyłączenie efektu fixed na mobile dla lepszej wydajności */
    .hero-bg { background-attachment: scroll; }

    .section-padding { padding: 60px 0; }
    .divider-center { margin: 20px auto 30px auto; }
    .section-title { font-size: 2.2rem; }
    
    .hero-content h1 { 
        font-size: 2.2rem; 
        line-height: 1.3;
        padding: 0 10px;
    }
    .hero-subtitle { font-size: 0.85rem; letter-spacing: 2px; }
    .hero-description { font-size: 1rem; padding: 0 10px; }

    .form-row { flex-direction: column; }
    .cards-grid, .process-steps { grid-template-columns: 1fr; gap: 30px; }
    .workshop-content h2 { font-size: 2rem; }
    .form-wrapper { padding: 30px 20px; }
    footer { text-align: center; }
}

/* --- ANIMACJE --- */
.hidden { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.show { opacity: 1; transform: translateY(0); }

.staggered.show:nth-child(1) { transition-delay: 0ms; }
.staggered.show:nth-child(2) { transition-delay: 150ms; }
/* ... reszta animacji ... */