@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --dark-bg: #000000;
    --light-bg: #f5f5f7; 
    --text-light: #f0f0f0;
    --text-dark: #1d1d1f; 
    --text-muted: #a0a0a0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.menu-bar .logo-text {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.menu-bar .logo-text-red {
    background: linear-gradient(90deg, #42d392, #23a6d5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.menu-bar nav {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
}

.menu-bar nav a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.menu-bar nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #42d392, #23a6d5);
    transition: width 0.3s ease-out;
}

.menu-bar nav a:hover::after {
    width: 100%;
}

.menu-bar nav a:hover {
    color: white;
}

.menu-bar nav a:last-child {
    border: 2px solid #42d392;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s;
}

.menu-bar nav a:last-child:hover {
    background: linear-gradient(90deg, #42d392, #23a6d5);
    border-color: transparent;
}

.menu-bar nav a:last-child:hover::after {
    width: 0;
}

.menu-bar .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-bar .hamburger div {
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.3s;
}

#video-hero { 
    height: 100vh; 
    position: relative; 
    overflow: hidden; 
    background-color: #000; 
}

#video-hero .background-video { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transform: translate(-50%, -50%); 
    z-index: 1; 
}

.grid-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5) 1px, transparent 1px, transparent 4px), repeating-linear-gradient(90deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5) 1px, transparent 1px, transparent 4px);
    opacity: 0.5;
    z-index: 2; 
}

.animated-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6vw;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    min-height: 1em;
    z-index: 3;
    padding: 0 20px;
}

.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.title-hero-section {
    height: auto;
    padding: 25vh 5%; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--dark-bg);
}

.scaling-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    transform: scale(0.5);
}

#portfolio-main-title {
    font-size: clamp(2.5rem, 7.5vw, 6rem);
    white-space: nowrap;
}

.gradient-text { 
    background: linear-gradient(90deg, #42d392, #23a6d5); 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
}

#about-ceo-content, #about-photographer-content {
    padding: 150px 5%;
}

.about-container { 
    display: flex; 
    align-items: center;
    gap: 4rem; 
    max-width: 1200px; 
    margin: 0 auto;
}

.about-image-wrapper { 
    flex: 0.6;
}

.about-image-wrapper img { 
    width: 100%; 
    border-radius: 20px;
    display: block;
}

.about-text-wrapper { 
    flex: 1;
}

.about-text-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-text-wrapper h3 { 
    font-size: 1.8rem; 
    font-weight: 600; 
    margin-bottom: 1.5rem; 
    color: var(--text-muted); 
}

.about-text-wrapper p { 
    font-size: 1.1rem; 
    line-height: 1.8; 
    font-weight: 400;
}

#about-section p strong {
    color: #666;
    font-weight: 600; 
}

#about-ceo-content .about-image-wrapper img { 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); 
}

#about-photographer-content .about-image-wrapper img {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); 
}

#portfolio-content { 
    padding: 100px 0; 
    background-color: var(--dark-bg); 
}

#main-showcase-section { 
    padding: 0 5% 150px 5%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 3rem; 
}

#main-showcase-section .showcase-title { 
    font-size: clamp(3rem, 8vw, 6rem); 
    font-weight: 700;
}

#main-showcase-section .showcase-description { 
    font-size: 1.2rem; 
    line-height: 1.8; 
    color: var(--text-muted); 
    max-width: 65ch; 
}

#main-showcase-section .showcase-video-wrapper { 
    width: 100%; 
    max-width: 1200px; 
    margin-top: 2rem; 
}

#main-showcase-section .showcase-video-wrapper video { 
    width: 100%; 
    border-radius: 20px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); 
}

.portfolio-section, #about-ceo-content, #about-photographer-content { 
    padding: 100px 5%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.dark-section { background-color: var(--dark-bg); }
.light-section { background-color: var(--light-bg); }

.dark-section .about-text-wrapper h2,
.dark-section .about-text-wrapper p {
    color: var(--text-light);
}

.light-section .about-text-wrapper h2,
.light-section .about-text-wrapper p {
    color: var(--text-dark);
}

.portfolio-container { 
    display: flex; 
    align-items: center; 
    gap: 4rem; 
    width: 100%; 
    max-width: 1200px; 
}

.layout-reversed { flex-direction: row-reverse; }
.portfolio-video { flex: 1.2; }
.portfolio-video video { 
    width: 100%; 
    border-radius: 16px; 
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3); 
    display: block; 
}
.portfolio-text { flex: 1; }
.portfolio-text h2 { 
    font-size: clamp(2rem, 5vw, 3rem); 
    font-weight: 600; 
    margin-bottom: 1.5rem; 
}
.portfolio-text p { 
    font-size: 1.1rem; 
    line-height: 1.7; 
}
.dark-section .portfolio-text p { color: var(--text-muted); }
.light-section .portfolio-text p { color: var(--text-dark); }

#process-section {
    padding: 150px 5%;
    text-align: center;
}

#process-section .scaling-title {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 7.5vw, 6rem);
}

.process-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 80px;
    font-weight: 500;
}
.dark-section .process-subtitle {
    color: var(--text-muted);
}
.process-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.process-step {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
}
.process-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(90deg, #42d392, #23a6d5);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1rem;
}
.process-step h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.process-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

#pricing-section {
    padding: 150px 5%;
    background-color: var(--dark-bg);
}
.pricing-main-title {
    text-align: center;
    font-size: clamp(2.5rem, 7.5vw, 6rem);
    margin-bottom: 80px;
}
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.pricing-card {
    background: #1c1c1e;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
}
.pricing-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.pricing-price span {
    background: linear-gradient(90deg, #42d392, #23a6d5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    text-align: left;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-muted);
}
.pricing-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: auto;
}
.pricing-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: left;
    margin-top: auto;
    padding-top: 1rem;
}
.pricing-extra-note {
    margin-top: 1.5rem;
    font-weight: 600;
}

#contact-section { 
    padding: 150px 5%; 
    background-color: var(--light-bg);
}

.contact-title { 
    text-align: center; 
    font-size: clamp(2.5rem, 7.5vw, 6rem); 
    margin-bottom: 80px; 
}

.contact-container { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 4rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    align-items: flex-start; 
}

.contact-details h3 { 
    font-size: 2.5rem; 
    font-weight: 600;
    margin-bottom: 1rem; 
    color: var(--text-dark);
}

.contact-details p { 
    font-size: 1.1rem; 
    line-height: 1.7; 
    color: #555;
    margin-bottom: 2rem; 
}

.contact-details .phone-link { 
    display: inline-flex; 
    align-items: center; 
    gap: 1rem; 
    font-size: 1.5rem; 
    font-weight: 600; 
    color: var(--text-dark);
    text-decoration: none; 
    transition: color 0.2s; 
}

.phone-link:hover { 
    color: #23a6d5;
}
.phone-icon { 
    width: 24px; 
    height: 24px; 
    fill: currentColor; 
}

.contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
}

.contact-form input, .contact-form textarea { 
    width: 100%; 
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid #ccc;
    border-radius: 8px; 
    padding: 15px; 
    font-size: 1rem; 
    font-family: 'Montserrat', sans-serif;
}

.contact-form input:focus, .contact-form textarea:focus { 
    outline: none; 
    border-color: #42d392; 
}

.contact-form button { 
    background: linear-gradient(90deg, #42d392, #23a6d5); 
    border: none; 
    color: white; 
    padding: 15px 20px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px; 
    cursor: pointer; 
    transition: transform 0.2s, box-shadow 0.2s; 
}

.contact-form button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

footer {
    padding: 80px 5% 40px 5%;
    background-color: var(--dark-bg);
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    flex-wrap: wrap;
}

.footer-about {
    flex: 1;
    min-width: 250px;
}

.footer-about .logo-text {
    font-size: 2rem;
    text-decoration: none;
    color: white;
}

.footer-about .logo-text-red {
    background: linear-gradient(90deg, #42d392, #23a6d5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.footer-about p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-company-name {
    font-weight: 600;
    color: var(--text-light) !important;
}

.trusted-section {
    flex: 2;
    min-width: 300px;
}

.trusted-section h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.trusted-section p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 60ch;
}

.logo-scroller { 
    overflow: hidden; 
    position: relative; 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
}

.logo-scroller:hover .logo-track { 
    animation-play-state: paused; 
}

.logo-track { 
    display: flex; 
    gap: 40px; 
    width: max-content; 
    animation: scroll-logos 40s linear infinite; 
}

.logo-track img { 
    height: 60px;
    width: auto; 
    opacity: 0.6; 
    transition: opacity 0.3s; 
}

.logo-track img:hover { 
    opacity: 1; 
}

@keyframes scroll-logos { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* --- MEDIA QUERIES --- */

@media (max-width: 900px) {
    .about-container, .portfolio-container, .contact-container, .process-container { 
        flex-direction: column !important; 
        text-align: center; 
    }
    .contact-container { grid-template-columns: 1fr; }
    .process-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .menu-bar { padding: 0 25px; }
}

@media (max-width: 768px) {
    .menu-bar nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .menu-bar nav.active {
        display: flex;
    }
    
    .menu-bar .hamburger {
        display: flex;
    }
    
    .menu-bar nav a {
        font-size: 1.5rem;
    }
    
    #portfolio-main-title { 
        white-space: normal; 
    }
    
    .animated-text {
        font-size: 8vw;
        white-space: normal; 
    }
    
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 3rem;
    }

    .footer-about {
        order: 1;
        min-width: 0;
        width: 100%;
    }

    .trusted-section {
        order: 2;
        min-width: 0;
        width: 100%;
    }
}


/* --- LOADER WIDEO --- */

#video-hero,
.showcase-video-wrapper, 
.portfolio-video {
    position: relative;
}

.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    z-index: 5;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

.light-section .video-loader {
    border: 6px solid rgba(0, 0, 0, 0.2);
    border-top-color: #333;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

video.video-loading {
    opacity: 0;
}

#video-hero .background-video,
.portfolio-video video,
.showcase-video-wrapper video {
    transition: opacity 0.4s ease-in-out;
}

/* --- Style dla komunikatów formularza --- */
#form-status {
    margin-top: 1rem;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
    transition: all 0.3s ease-in-out;
}

#form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}