/* Reset & Default Variables */
:root {
    --bg-color: #121212;
    --text-color: #f1f1f1;
    --accent: #d90429; /* Dark Red / Crimson Accent */
    --surface: #1a1a1a;
    --surface-light: #242424;
    --font-main: 'Outfit', sans-serif;
    --transition: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

.accent {
    color: var(--accent);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.preloader-text {
    font-size: 3rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(20px);
}

/* Button */
.btn-primary, .btn-primary-outline {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg-color);
}
.btn-primary:hover {
    background: #fff;
    transform: scale(1.05);
}
.btn-primary-outline {
    border: 1px solid var(--text-color);
    color: var(--text-color);
}
.btn-primary-outline:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 2rem; left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1600px;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: var(--transition) 0.4s;
    background: var(--surface);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar.scrolled {
    top: 1rem;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    font-size: 1.5rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-links li a {
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links li a:hover {
    color: var(--accent);
}
/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--surface);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1001;
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background 0.3s, color 0.3s;
    font-size: 0.85rem !important;
}
.dropdown-content a:hover {
    background-color: var(--surface-light);
    color: var(--accent);
}
.dropdown:hover .dropdown-content {
    display: block;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.hamburger span {
    width: 30px; height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Moody */
}
.hero-bg .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
}
.hero-content {
    padding-left: 10%;
    max-width: 1000px;
}
.hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}   
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #ccc;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.about-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s;
}
.about-img:hover {
    filter: grayscale(0%);
}
.experience-badge {
    position: absolute;
    bottom: -20px; left: -20px;
    background: var(--accent);
    color: var(--bg-color);
    padding: 2rem;
    border-radius: 50%;
    width: 150px; height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: rotate(-10deg);
}
.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}
.about-text-wrapper p {
    color: #aaa;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}
.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Background */
.dark-bg {
    background-color: var(--surface);
    position: relative;
}
.dark-bg .container {
    position: relative;
    z-index: 1;
}
.text-center {
    text-align: center;
}
.image-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    margin-top: 4rem;
}
.service-image-card {
    background: transparent;
    padding: 1.5rem;
    text-align: left;
    transition: background 0.4s var(--transition);
    cursor: pointer;
    border-radius: 8px;
}
.service-image-card:hover {
    background: var(--surface-light);
}
.service-image-card .image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.service-image-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition), filter 0.6s;
    filter: brightness(0.7);
}
.service-image-card:hover .image-wrapper img {
    transform: scale(1.05);
    filter: brightness(1);
}
.service-image-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ccc;
    margin: 0;
    transition: color 0.4s;
}
.service-image-card:hover h3 {
    color: #fff;
}
.hover-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80px; height: 80px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1rem;
    opacity: 0;
    transition: all 0.4s var(--transition);
}
.service-image-card:hover .hover-badge {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Transformations Collage */
.transformations-section {
    position: relative;
    padding: 12rem 0;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}
.transformations-section .container {
    position: relative;
    width: 100%;
    min-height: 60vh;
}
.transformations-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.huge-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 2rem;
}
.pill-btn {
    background: #fff;
    color: #000;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 800;
    display: inline-block;
    transition: 0.3s;
}
.pill-btn:hover {
    background: var(--accent);
    color: #fff;
}
.scatter-img {
    position: absolute;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1;
    opacity: 0.7;
    filter: brightness(0.7) grayscale(20%);
    transition: filter 0.4s;
}
.scatter-img:hover {
    filter: brightness(1) grayscale(0%);
    opacity: 1;
}
.scatter-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pozycjonowanie Obrazków (Desktop) */
.img-1 { top: 0%; left: 0%; width: 300px; height: 400px; }
.img-2 { top: -10%; right: 5%; width: 400px; height: 250px; }
.img-3 { bottom: -10%; left: 15%; width: 250px; height: 250px; }
.img-4 { bottom: 0%; right: 0%; width: 350px; height: 450px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes float-rev {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}
.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-reverse { animation: float-rev 8s ease-in-out infinite; }

/* Banner Marquee */
.banner-section {
    padding: 3rem 0;
    background: var(--accent);
    color: var(--bg-color);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
}
.marquee-wrapper {
    display: flex;
    width: max-content;
}
.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee 15s linear infinite;
}
.marquee-content span {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-right: 50px;
}
.marquee-content .dot {
    display: inline-block;
    width: 15px; height: 15px;
    background: var(--bg-color);
    border-radius: 50%;
    margin-right: 50px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}
.contact-details {
    margin-top: 2rem;
    margin-bottom: 3rem;
}
.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    margin-right: 1rem;
    transition: 0.3s;
    text-decoration: none;
}
.socials a:hover {
    background: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
}
.alert {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}
.alert.success {
    background-color: #2ed573;
    color: #121212;
    border: 1px solid #2ed573;
}
.alert.error {
    background-color: #ff4757;
    color: #ffffff;
    border: 1px solid #ff4757;
}
.contact-form {
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 3rem;
    border-radius: 20px;
}
.input-group {
    margin-bottom: 2rem;
}
.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
}
.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    font-weight: 600;
}
.alert.success { background: rgba(217, 4, 41, 0.2); color: var(--accent); }
.alert.error { background: rgba(255, 50, 50, 0.2); color: #ff3232; }

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

/* GSAP Helper Classes */
.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Accordion (Proces & FAQ) */
.accordion-wrapper {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.accordion-item {
    background: var(--surface-light);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition) 0.3s, border-color 0.3s, background 0.3s;
}
.accordion-item.active {
    background: #333;
}
.accordion-item:hover {
    border-color: rgba(217, 4, 41, 0.3);
}
.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}
.accordion-item.active .accordion-header {
    color: var(--accent);
}
.acc-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.4s var(--transition);
}
.accordion-item.active .acc-icon {
    transform: rotate(45deg);
    color: var(--accent);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.acc-inner {
    padding: 0 2rem 1.5rem;
    color: #999;
}

@media (max-width: 900px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .experience-badge { bottom: 20px; left: 20px; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100%;
        background: var(--surface);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 1.5rem 0;
        box-shadow: 0 15px 40px rgba(0,0,0,0.6);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    /* Dropdown UI na Mobile */
    .dropdown .dropdown-content {
        position: static;
        display: none;
        background: transparent;
        border: none;
        box-shadow: none;
        transform: none;
        width: 100%;
        padding-top: 0.5rem;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .dropdown-content a {
        text-align: center;
        padding: 10px;
        color: #aaa;
    }
    .dropdown-content a:hover {
        color: var(--accent);
        background: transparent;
    }
    
    .hamburger { display: flex; }
    .hero-content { padding-left: 5%; }
}
