:root {
    --black: #0a0a0a;
    --dark-gray: #121212;
    --light-gray: #e0e0e0;
    --premium-gold-gradient: linear-gradient(45deg, #c09e58, #f7df94, #c09e58);
    --gold-accent-solid: #c09e58;
    --gold-glow: #f7df94;
    --gold-glow-rgba: rgba(247, 223, 148, 0.4);
    --header-bg: rgba(10, 10, 10, 0.8);
    --transition-speed-fast: 0.3s;
    --transition-speed-med: 0.6s;
    --transition-speed-slow: 1s;
    --gold-subtle: #a89166;
}

/* === STYLE GLOBALNE I RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--black);
    color: var(--light-gray);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
}

/* === PRELOADER === */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--black); z-index: 10000; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out; }
#preloader.hidden { opacity: 0; visibility: hidden; }

.loader-logo {
    width: 200px;  /* Dostosuj szerokość logo */
    height: 200px; /* Dostosuj wysokość logo */
    background-image: url('wb.webp'); /* logo */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse { 
    0%, 100% { opacity: 1; transform: scale(1); } 
    50% { opacity: 0.7; transform: scale(0.95); } 
}

/* === ELEMENTY WSPÓLNE (Kontener, Typografia, Przyciski) === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
h1, h2, h3, .logo { font-family: 'Playfair Display', serif; font-weight: 700; }
.gold-text { background: var(--premium-gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h2.section-title { text-align: center; font-size: 3rem; margin-bottom: 1rem; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 5rem; color: #aaa; }
h2.section-title.gold-text { background-size: 200% auto; animation: gradient-animation 5s ease-in-out infinite; }
@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.cta-button { background-image: var(--premium-gold-gradient); background-size: 200% auto; color: var(--black); padding: 1rem 2.5rem; text-decoration: none; font-size: 1.1rem; font-weight: bold; border-radius: 5px; border: none; cursor: pointer; transition: all var(--transition-speed-med) cubic-bezier(0.19, 1, 0.22, 1); position: relative; z-index: 1; }
.cta-button:hover { box-shadow: 0 0 25px var(--gold-glow-rgba), 0 0 10px var(--gold-accent-solid); background-position: right center; transform: translateY(-3px); }

/* === HEADER I NAWIGACJA === */
.header { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 1.5rem 0; position: fixed; width: 100%; top: 0; z-index: 1000; transition: all var(--transition-speed-med) ease; }
.header.scrolled { background-color: var(--header-bg); padding: 1rem 0; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo {
    text-decoration: none; 
}
.logo img {
    height: 65px; /* wysokość logo */
    display: block;
    transition: transform var(--transition-speed-fast) ease;
}
.logo:hover img {
    transform: scale(1.05); /* Subtelne powiększenie po najechaniu */
}
.nav-menu { display: flex; list-style: none; }
.nav-item { margin-left: 2rem; }
.nav-link { color: var(--light-gray); text-decoration: none; font-size: 1.05rem; position: relative; padding-bottom: 0.5rem; transition: color var(--transition-speed-fast); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-image: var(--premium-gold-gradient); transform: scaleX(0); transform-origin: right; transition: transform var(--transition-speed-med) cubic-bezier(0.19, 1, 0.22, 1); }
.nav-link:hover { color: white; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: white; }
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.bar { display: block; width: 25px; height: 2px; margin: 6px auto; background-color: var(--light-gray); transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.hamburger.active .bar:nth-child(1) { background-color: var(--gold-glow); transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { background-color: var(--gold-glow); transform: translateY(-8px) rotate(-45deg); }

/* === SEKCJE OGÓLNE I ANIMACJE === */
main { display: block; }
section { overflow: hidden; }
main section[id] {
    scroll-margin-top: 105px; /* Zapas na wysokość nawigacji */
}
#about, #process, #gallery, #testimonials, #creations, #why-worth-it, #faq, #contact {
    padding: 3rem 0;
}
.reveal { opacity: 0; transform: translateY(50px); transition: opacity var(--transition-speed-slow) cubic-bezier(0.19, 1, 0.22, 1), transform var(--transition-speed-slow) cubic-bezier(0.19, 1, 0.22, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === SEKCJA HERO (Strona główna) === */
#home.hero {
    height: 100vh;
    position: relative; /* Niezbędne do pozycjonowania tła */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden; /* Zapobiega "wyciekaniu" rozmycia poza krawędzie */
    background-color: rgba(10, 10, 10, 0.7); /* Nakładka przyciemniająca */
}

#home.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('logo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* --- TUTAJ KONTROLUJESZ ROZMYCIE --- */
    filter: blur(9px);
    
    z-index: -1; /* Umieszcza tło za tekstem */
    transform: scale(1.02); /* Lekko powiększa tło, aby uniknąć białych krawędzi po rozmyciu */
}
.hero-content { max-width: 800px; z-index: 2; }
.hero-title { font-size: 4.8rem; margin-bottom: 1.5rem; line-height: 1.2; }
.hero-title .highlight-text { color: var(--gold-accent-solid); font-style: italic; }
.hero-description { font-size: 1.2rem; margin-bottom: 2.5rem; font-weight: 300; }
.hero-content > * { opacity: 0; }
.animate-hero-title { animation: mask-up 1.2s 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
.animate-hero-description { animation: mask-up 1.2s 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
.animate-hero-button { animation: fade-in-scale 1s 1.1s ease-out forwards; }
@keyframes mask-up { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in-scale { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* Pozostałe sekcje strony głównej... */
.about-grid { display: grid; grid-template-columns: 2.5fr 2fr; gap: 5rem; align-items: center; }
.about-image {
    max-width: 310px;
    margin: 0 auto;
}
.about-image img { width: 100%; border-radius: 10px; box-shadow: -10px 10px 30px rgba(0,0,0,0.3); }
.about-content h3 { font-size: 2.5rem; margin-bottom: 1.5rem; line-height: 1.3; }
.about-content p { margin-bottom: 1.5rem; }
.process { background: var(--dark-gray); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; position: relative; }
.process-step { background-color: var(--black); padding: 2.5rem 2rem; border: 1px solid #2a2a2a; border-radius: 15px; text-align: center; transition: all var(--transition-speed-med) cubic-bezier(0.19, 1, 0.22, 1); position: relative; z-index: 1; overflow: hidden; }
.process-step:hover { transform: translateY(-12px); border-color: var(--gold-accent-solid); box-shadow: 0 10px 25px rgba(192, 158, 88, 0.1); }
.step-number { position: absolute; top: 0.8rem; right: 1.5rem; font-size: 3.5rem; font-weight: 700; font-family: 'Playfair Display', serif; color: rgba(255, 255, 255, 0.04); transition: color var(--transition-speed-fast) ease; z-index: 0; }
.process-step:hover .step-number { color: rgba(255, 255, 255, 0.08); }
.step-icon { font-size: 3.2rem; margin-bottom: 1.5rem; background: var(--premium-gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: transform var(--transition-speed-med) cubic-bezier(0.19, 1, 0.22, 1); display: inline-block; position: relative; z-index: 1; }
.process-step:hover .step-icon { transform: scale(1.15) rotate(-8deg); }
.process-step h3 { font-size: 1.5rem; color: var(--light-gray); margin-bottom: 0.75rem; position: relative; z-index: 1; }
.process-step p { position: relative; z-index: 1; }
.gallery { background: var(--dark-gray); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem 1.5rem; }
.gallery-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
    
aspect-ratio: 3/4;
}
.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed-med) cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-image-container:hover img { transform: scale(1.05); }
.gallery-item-caption { padding: 0 0.5rem; }
.gallery-item-caption h3 { font-size: 1.4rem; color: var(--light-gray); margin-bottom: 0.25rem; line-height: 1.3; }
/* Nowe style dla wymiarów */



.gallery-item-dimensions {
    color: var(--gold-subtle); /* <-- Nowy, subtelniejszy złoty dla tekstu */
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}
.gallery-item-dimensions i {
    color: var(--gold-accent-solid); /* <-- Główny, jaśniejszy złoty dla ikony */
    margin-right: 0.6rem;
}
/* === SEKCJA OPINII === */
.testimonials { background: var(--dark-gray); }
.testimonials-slider-wrapper { overflow: hidden; width: 100%; }
.testimonials-grid { 
    display: flex;
    gap: 2rem;
    transition: transform 0.6s ease-in-out;
}
.testimonial-card { 
    background-color: var(--black); 
    padding: 2.5rem; 
    border-radius: 10px; 
    border: 1px solid #222; 
    position: relative;
    flex-shrink: 0;
    width: calc((100% - 4rem) / 3);
    display: flex;
    flex-direction: column; /* Ustawia elementy w kolumnie */
    justify-content: space-between; /* Rozkłada elementy */
}
.testimonial-card .stars { 
    color: var(--gold-glow); 
    margin-bottom: 1.5rem; /* Zwiększony margines */
}
.testimonial-card p { 
    font-size: 1.1rem; 
    margin-bottom: 1.5rem; 
    font-style: italic; 
    color: #ccc;
    flex-grow: 1; /* Sprawia, że tekst zajmuje dostępną przestrzeń */
}
.testimonial-author-info { 
    text-align: right; /* Wyrównuje tekst w środku do prawej */
}
.author-name { 
    font-weight: bold;
    font-style: italic;
    color: var(--gold-accent-solid); /* Złoty kolor dla podpisu */
}
.author-name { font-weight: bold; }
.author-project { font-size: 0.9rem; color: #aaa; }
.creations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.creation-card { background-color: var(--black); padding: 3rem 2rem; border-radius: 10px; border: 1px solid #222; text-align: center; transition: all var(--transition-speed-med) cubic-bezier(0.19, 1, 0.22, 1); }
.creation-card:hover { transform: translateY(-10px); border-color: var(--gold-accent-solid); box-shadow: 0 15px 40px var(--gold-glow-rgba); }
.creation-icon { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--gold-accent-solid); }
.creation-card h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--light-gray); }
.creation-card p { color: #aaa; }
.why-worth-it { background: var(--dark-gray); }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 800px; margin: 0 auto; }
.benefit-item { display: flex; align-items: flex-start; gap: 1.5rem; }
.benefit-icon { font-size: 2rem; color: var(--gold-accent-solid); margin-top: 5px; flex-shrink: 0; width: 30px; text-align: center; }
.benefit-text h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.benefit-text p { color: #aaa; }
.faq-container { max-width: 800px; margin: auto; }
.faq-item { border-bottom: 1px solid #333; }
.faq-question { padding: 1.5rem; font-size: 1.2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; transition: color var(--transition-speed-fast); }
.faq-question:hover, .faq-item.active .faq-question { color: var(--gold-glow); }
.faq-question i { transition: transform var(--transition-speed-med) cubic-bezier(0.19, 1, 0.22, 1); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-speed-med) ease-out; }
.faq-answer p { padding: 0 1.5rem 1.5rem; }
.cta-section { text-align: center; background: var(--dark-gray); border-radius: 15px; padding: 5rem 2rem; }
.cta-section h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
#contact-form-wrapper { max-height: 0; overflow: hidden; transition: max-height var(--transition-speed-slow) cubic-bezier(0.19, 1, 0.22, 1); }
#contact-form-wrapper.visible { max-height: 600px; }
.contact-form { max-width: 600px; margin: 3rem auto 0; text-align: left; }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border-radius: 5px; border: 1px solid #333; background: var(--black); color: var(--light-gray); font-size: 1rem; transition: border-color var(--transition-speed-fast), box-shadow var(--transition-speed-fast); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold-glow); box-shadow: 0 0 15px var(--gold-glow-rgba); }

/* === STYLE DLA PODSTRON (Galeria, Kalkulator) === */
#gallery-hero { padding-top: 10rem; padding-bottom: 6rem; text-align: center; background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.95)), url('https://images.unsplash.com/photo-1581084128350-7988a385a3c1?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover; }
#gallery-main { padding-top: 4rem; padding-bottom: 8rem; }
#gallery-hero .hero-title { font-size: 4rem; margin-bottom: 1rem; }
#gallery-hero .hero-subtitle { font-size: 1.2rem; color: #bbb; max-width: 600px; margin: 0 auto; }
.gallery-filters { display: flex; justify-content: center; gap: 1rem; margin-bottom: 4rem; flex-wrap: wrap; }
.filter-btn { background: transparent; border: 1px solid #444; color: var(--light-gray); padding: 0.7rem 1.5rem; border-radius: 5px; cursor: pointer; font-weight: 700; transition: all var(--transition-speed-fast) ease; }
.filter-btn:hover { border-color: var(--gold-accent-solid); color: var(--gold-accent-solid); }
.filter-btn.active { background-color: var(--gold-accent-solid); border-color: var(--gold-accent-solid); color: var(--black); box-shadow: 0 0 15px var(--gold-glow-rgba); }
.gallery-grid-full { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem 1.5rem; }
.gallery-item-wrapper { transition: opacity 0.4s ease, transform 0.4s ease; }
.gallery-item-wrapper.hidden { transform: scale(0.8); opacity: 0; width: 0; height: 0; margin: -1.25rem -0.75rem; pointer-events: none; }
/* Lightbox (Modal) */
#lightbox {
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none; /* Ukryty domyślnie */
    justify-content: center; /* Wyśrodkowanie w poziomie */
    align-items: center;   /* Wyśrodkowanie w pionie */
    padding: 2rem; /* Margines bezpieczeństwa na małych ekranach */
    animation: fadeIn 0.4s ease;
}
#lightbox.active {
    display: flex;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

#lightbox .lightbox-content {
    position: relative;
    /* Usuwamy wszystkie ograniczenia rozmiaru stąd */
    animation: scaleIn 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
@keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

#lightbox img {
    /* --- KLUCZOWE ZMIANY SĄ TUTAJ --- */
    max-width: 90vw;     /* Maksymalnie 90% szerokości ekranu */
    max-height: 90vh;    /* Maksymalnie 90% wysokości ekranu */
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); /* Dodany cień dla lepszego efektu */
}
#lightbox .lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: color var(--transition-speed-fast);
}
#lightbox .lightbox-close:hover {
    color: var(--gold-glow);
}
.calculator-section { background-color: var(--dark-gray); padding-top: 140px; padding-bottom: 80px; min-height: 100vh; }
.calculator-wrapper { max-width: 750px; margin: 0 auto; padding: 2.5rem 3rem; background-color: var(--black); border-radius: 15px; border: 1px solid #2a2a2a; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
#resin-calculator-form .form-group { margin-bottom: 1.5rem; }
#resin-calculator-form .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: #bbb; }
#resin-calculator-form .form-group input, #resin-calculator-form .form-group select { width: 100%; padding: 1rem; border-radius: 5px; border: 1px solid #333; background: var(--dark-gray); color: var(--light-gray); font-size: 1.1rem; transition: border-color var(--transition-speed-fast), box-shadow var(--transition-speed-fast); }
#resin-calculator-form .form-group input:focus, #resin-calculator-form .form-group select:focus { outline: none; border-color: var(--gold-glow); box-shadow: 0 0 15px var(--gold-glow-rgba); }
.form-group-radio { margin-bottom: 2rem; }
.radio-label { display: block; margin-bottom: 1rem; font-weight: 700; color: #bbb; }
.radio-options { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.radio-options label { color: var(--light-gray); cursor: pointer; display: flex; align-items: center; gap: 0.5rem; }
.radio-options input[type="radio"] { -webkit-appearance: none; appearance: none; background-color: var(--dark-gray); margin: 0; font: inherit; color: var(--light-gray); width: 1.25em; height: 1.25em; border: 1px solid #444; border-radius: 50%; transform: translateY(-0.075em); display: grid; place-content: center; transition: all var(--transition-speed-fast); }
.radio-options input[type="radio"]::before { content: ""; width: 0.65em; height: 0.65em; border-radius: 50%; transform: scale(0); transition: 120ms transform ease-in-out; background-image: var(--premium-gold-gradient); }
.radio-options input[type="radio"]:checked { border-color: #c09e58; }
.radio-options input[type="radio"]:checked::before { transform: scale(1); }
.dimensions-group { display: flex; gap: 1.5rem; }
.dimensions-group .form-group { flex: 1; }
.button-container { text-align: center; margin-top: 2.5rem; }
.result-wrapper { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px dashed #333; text-align: center; }
.result-wrapper h3 { font-family: 'Lato', sans-serif; font-weight: 400; font-size: 1.2rem; color: #aaa; margin-bottom: 1rem; }
.result-values { display: flex; justify-content: center; gap: 3rem; margin: 1rem 0; flex-wrap: wrap; }
.result-value-item { text-align: center; }
.result-label { font-size: 1rem; color: #aaa; display: block; margin-bottom: 0.25rem; }
.result-wrapper p.gold-text { font-family: 'Playfair Display', serif; font-size: 2.8rem; line-height: 1.2; margin: 0; }
.result-wrapper small { display: block; max-width: 450px; margin: 1.5rem auto 0; color: #777; line-height: 1.6; }
.custom-shape-intro { color: #aaa; background-color: #1a1a1a; padding: 1rem; border-radius: 5px; margin-bottom: 2rem; border-left: 3px solid var(--gold-accent-solid); }
.custom-part { background-color: #1a1a1a; padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid #333; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.custom-part .form-group { flex: 1 1 150px; margin-bottom: 0; }
.custom-part-controls { display: flex; gap: 1rem; }
.remove-part-btn { background: none; border: none; color: #777; cursor: pointer; font-size: 1.2rem; padding: 0.5rem; transition: color var(--transition-speed-fast); }
.remove-part-btn:hover { color: var(--gold-glow); }
.custom-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.add-part-btn { background: transparent; border: 1px solid var(--gold-accent-solid); color: var(--gold-accent-solid); padding: 0.7rem 1.5rem; border-radius: 5px; cursor: pointer; font-weight: 700; transition: all var(--transition-speed-fast) ease; }
.add-part-btn:hover { background-color: var(--gold-accent-solid); color: var(--black); }
#total-area-display { font-size: 1.1rem; color: #ccc; }
#total-area-display span { font-weight: bold; }


/* === SEKCJA KONTAKT (dodatkowe style) === */
.contact-direct {
    margin: 2.5rem 0;
    text-align: center;
}
.contact-direct p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #ccc;
}
.contact-direct a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition-speed-fast);
}
.contact-direct a:hover {
    color: var(--gold-glow);
}
.contact-direct i {
    color: var(--gold-accent-solid);
    margin-right: 0.7rem;
    width: 20px; /* Dla równego wyrównania */
}





/* === NOWA, PROFESJONALNA STOPKA === */
.footer {
    background: #000;
    padding: 5rem 0 0;
    text-align: left;
    border-top: 1px solid #222;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-column .logo {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-tagline {
    color: #aaa;
    line-height: 1.7;
    max-width: 350px;
}
.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    font-family: 'Playfair Display', serif;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color var(--transition-speed-fast), padding-left var(--transition-speed-fast);
}
.footer-links a:hover {
    color: var(--gold-glow);
    padding-left: 5px;
}
.footer-social-links {
    display: flex;
    gap: 1.5rem;
}
.footer-social-links a {
    font-size: 1.8rem;
    color: #aaa;
    transition: color var(--transition-speed-fast), transform var(--transition-speed-fast);
}
.footer-social-links a:hover {
    color: var(--gold-accent-solid);
    transform: translateY(-3px);
}
.footer-bottom {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: #888;
    text-decoration: none;
    transition: color var(--transition-speed-fast);
}
.footer-bottom a:hover {
    color: white;
}
.footer-attribution {
    background-color: #000;
    text-align: center;
    padding: 0.4rem 0 2rem 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: bold;
}
.footer-attribution a {
    text-decoration: none;
}


/* === MODAL (POP-UP) STYLES === */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10002; /* Wyżej niż header */
    display: flex; /* Ukryty domyślnie, zmieniony w JS */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
}
.modal-content {
    background-color: var(--black);
    padding: 2.5rem 3rem;
    border-radius: 10px;
    border: 1px solid var(--gold-accent-solid);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: scaleIn 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: color var(--transition-speed-fast), transform var(--transition-speed-fast);
}
.modal-close:hover {
    color: var(--gold-glow);
    transform: scale(1.1);
}
.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.modal-content p {
    color: #ccc;
    line-height: 1.8;
}


/* Style dla danych kontaktowych w stopce */
.footer-contact-info {
    margin-top: 1.5rem;
}
.footer-contact-info p {
    color: #aaa;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.footer-contact-info a {
    color: #aaa;
    text-decoration: none;
    transition: color var(--transition-speed-fast);
}
.footer-contact-info a:hover {
    color: var(--gold-glow);
}
.footer-contact-info i {
    color: var(--gold-accent-solid);
    margin-right: 0.8rem;
    width: 20px;
}



/* === MEDIA QUERIES (RESPONSYWNOŚĆ) === */
@media(min-width: 992px) {
    .creations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media(min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}
@media(max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 400px; margin: 0 auto 2rem; }
}
@media(max-width: 768px) {
    .nav-menu { position: fixed; left: -100%; top: 0; flex-direction: column; justify-content: center; background: var(--black); width: 100%; height: 100vh; text-align: center; transition: left 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
    .hamburger { display: block; }
    .hero-title { font-size: 3rem; }
    h2.section-title { font-size: 2.5rem; }
    .about-grid { gap: 2rem; text-align: center; }
    .testimonial-card { width: 100%; flex-shrink: 0; }
    #gallery-hero .hero-title { font-size: 2.8rem; }
    .gallery-grid-full { grid-template-columns: 1fr; }
    .custom-part { flex-direction: column; align-items: stretch; }
    /* Stopka na mniejszych ekranach */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-tagline {
        margin: 0 auto 2rem auto;
    }
    .footer-social-links {
        justify-content: center;
    }
    .about-image {
    max-width: 290px;
    margin: 0 auto;
}
 #home.hero::before {
        background-image: url('logo-res.webp');
        background-size: 100%; /* Zmniejsza obraz (większa wartość = mniejszy obraz) */
        filter: blur(2px);     /* Zmniejsza rozmycie */
        background-position: center 30%;
    }
     .hero-content {
        padding: 0 20px; /* Dodaje 20px odstępu po lewej i prawej stronie */
    }
    
}
@media(max-width: 576px) {
    .calculator-wrapper { padding: 2rem 1.5rem; } 
    .dimensions-group { flex-direction: column; gap: 0; } 
    .radio-options { flex-direction: column; align-items: flex-start; } 
    .result-values { gap: 1.5rem; } 
    .result-wrapper p.gold-text { font-size: 2.4rem; }
}