/* --- CSS Variables & Base Styles --- */
:root {
    --bg-color: #ffffff;
    --text-primary: #222222;
    --text-secondary: #666666;
    --color-oak: #b08d6a; /* more muted, elegant oak */
    --color-gold: #c5a059; /* subtle metallic gold */
    --bg-light: #fafafa;
    --bg-card: #ffffff;
    --border-color: #e5e5e5;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

section {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

.section-title.left-align {
    text-align: left;
}
.section-title.left-align::after {
    left: 0;
    transform: none;
}

.text-center { text-align: center; }
.mb-10 { margin-bottom: 2.5rem; }
.w-full { width: 100%; }

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--text-primary);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 40px;
}

.logo-link {
    display: inline-block;
    height: 45px;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

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

.nav-links li a {
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- 1. Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .accent-text {
    color: var(--color-gold);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dot {
    color: var(--color-gold);
    margin: 0 10px;
}

.motto {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 40px;
    font-weight: 300;
}

.whatsapp-btn-large {
    font-size: 1.1rem;
    padding: 18px 35px;
    background-color: #25D366; /* WhatsApp brand color */
    border-color: #25D366;
    border-radius: 50px;
}

.whatsapp-btn-large:hover {
    background-color: white;
    color: #25D366;
    border-color: white;
}

/* --- 2. O nas --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-list {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 25px;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.about-list li::before {
    content: '•';
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: -2px;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-list li strong {
    color: var(--text-primary);
}

.highlight-quote {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    margin-top: 30px;
    border-left: 4px solid var(--color-gold);
    padding-left: 20px;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--color-gold);
    color: white;
    transform: translateY(-3px);
}

.about-image {
    position: relative;
    padding-left: 30px;
    padding-bottom: 30px;
}

.image-frame {
    position: relative;
    z-index: 2;
}

.image-frame img {
    border-radius: 4px;
    z-index: 2;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.frame-decor {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-oak);
    border-radius: 4px;
    z-index: 1;
}

/* --- 3. Oferta --- */
.offer-section {
    background-color: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--color-gold);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-oak);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- 4. Portfolio (Before/After) --- */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: ew-resize;
}

.img-after, .img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.img-after {
    background-image: url('foto/suwak%202.jpg');
}

.img-before {
    background-image: url('foto/suwak.jpg');
    background-size: cover;
    background-position: center;
    width: 50%; /* Initial state */
    border-right: 2px solid white;
    z-index: 5;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 16px;
}

/* Remove old WIZJA pseudo-element hack */
.img-before::after {
    display: none;
}

/* Elegant labels for Before/After */
.slider-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 3px;
    pointer-events: none;
    text-transform: uppercase;
    z-index: 20;
}

.label-before {
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    border: 1px solid rgba(0,0,0,0.08);
}

.label-after {
    left: 16px;
    background: var(--color-gold);
    color: white;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none; /* Let drag events pass through to container */
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
    transform: translateX(-50%);
}

.arrows {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 11;
}

/* --- 5. Innowacja (Moodboard) --- */
.moodboard-section {
    background-color: var(--bg-light);
}

.moodboard-interactive {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.style-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.style-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-secondary);
    transition: var(--transition);
}

.style-btn:hover {
    border-color: var(--color-oak);
    color: var(--color-oak);
}

.style-btn.active {
    background-color: var(--color-oak);
    color: white;
    border-color: var(--color-oak);
}

.moodboard-display {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 500px;
}

.moodboard-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

.glass-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- 6. Proces (Oś czasu) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 40px;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 0;
    width: 42px;
    height: 42px;
    background: white;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-gold);
    font-size: 1.1rem;
    box-shadow: 0 0 0 5px var(--bg-color); /* To hide the line behind */
}

.timeline-content {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Opinie (Testimonials) --- */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding: 0 40px;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial.active {
    display: block;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.8;
}

.author {
    font-weight: 600;
    color: var(--text-secondary);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-controls button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    color: var(--color-gold);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* --- 7. Kontakt --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    margin-top: 15px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--color-oak);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-card small {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.contact-details i {
    color: var(--color-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-oak);
    background: white;
}

/* --- Footer --- */
footer {
    background-color: var(--text-primary);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo-link {
    display: inline-block;
    height: 50px;
    margin-bottom: 5px;
}

.footer-logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

footer p {
    color: #aaaaaa;
    font-size: 0.9rem;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background-color: var(--color-gold);
    color: white;
    transform: translateY(-3px);
}

/* --- Floating Elements & Animations --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
    .before-after-container {
        height: 350px;
    }
    .moodboard-display {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: 0.3s;
    }
    .nav-links.nav-active {
        left: 0;
    }
    .hamburger {
        display: block;
    }
    .timeline-line {
        left: 30px;
    }
    .timeline-item {
        padding-left: 80px;
    }
    .timeline-dot {
        left: 10px;
    }
}
