/*
	Theme Name: StudioKalmus Theme
	Theme URI: https://studiokalmus.com
	Description: Jeśli interesuje Cię ten motyw, to znak że zrobiliśmy go dobrze! Odewzij się do nas na info@studiokalmus.com
	Author: StudioKalmus Team
	Author URI: https://studiokalmus.com
	Version: 1.0
	Stable tag: 1.0
	Requires at least: 6.0
	Tested up to: 6.5
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/**
 * Loading first in the style.scss & classic-editor.scss
 */
/**
* Document basic styling
* Inspired by Normalize.css, HTML5 Boilerplate & Bootstrap Reboot Projects under MIT License
 */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    /* Dark Theme Colors */
    --primary-black: #121212;
    --secondary-dark-gray: #1E1E1E;
    --accent-gray-dark: #888888;
    --text-light: #E0E0E0;

    /* Light Theme Colors */
    --primary-light: #ffffff;
    --secondary-light: #f8f9fa;
    --text-dark: #212529;
    --text-secondary-dark: #495057;
    --accent-dark: #000000;
    --border-color: #dee2e6;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--primary-light);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.75);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background: rgba(18, 18, 18, 0.9);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

header.scrolled nav {
    height: 70px;
}

header.scrolled .logo {
    font-size: 1.6rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 80px;
    transition: height 0.3s ease;
}

.logo {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: font-size 0.3s ease;
}
.logo span {
    color: var(--accent-gray-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    border-left: 1px solid var(--accent-gray-dark);
    padding-left: 2rem;
    margin-left: 1rem;
}
.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    color: var(--white);
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(18, 18, 18, 1)), url('https://sub3.studiokalmus.com/wp-content/uploads/2025/09/tmaynva_ihe.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}
.hero-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.hero-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.hero-separator .shape-fill {
    fill: var(--primary-light);
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    margin-bottom: 5vh;
}

.hero-content h1 {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
    font-weight: 400;
}

.hero-content h1 .word {
    display: inline-block;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
}

.hero-content h1 .char {
    display: inline-block;
    transform: translateY(120%);
    transition: transform .5s;
}

.hero-subheading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    opacity: 0;
    letter-spacing: 1px;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    opacity: 0;
}

.cta-button {
    display: inline-block;
    background: var(--accent-dark);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-dark);
    cursor: pointer; /* Dodano dla spójności */
}

.cta-button:hover {
    background: transparent;
    color: var(--accent-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.bg-light-gray {
    background-color: var(--secondary-light);
}

.parallax-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-title {
    font-family: 'Russo One', sans-serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-dark);
    opacity: 0.5;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.about-text h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary-dark);
}

/* Services */
.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.detailed-service-item {
    background: var(--primary-light);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}
.detailed-service-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.detailed-service-icon {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}
.detailed-service-item:hover .detailed-service-icon {
    transform: scale(1.1) rotate(-5deg);
}
.detailed-service-item h3 {
    color: var(--text-dark);
    font-family: 'Russo One', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.detailed-service-item p {
    text-align: center;
    color: var(--text-secondary-dark);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-info .contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.contact-icon {
    font-size: 1.5rem;
    color: var(--text-dark);
    min-width: 30px;
    margin-top: 5px;
}

.contact-info strong, .contact-info div {
    color: var(--text-dark);
}

.wpcf7-form .form-group {
    margin-bottom: 1.5rem;
}

.wpcf7-form {
    background: var(--primary-light);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
.wpcf7-form h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--secondary-light);
    color: var(--text-dark);
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.wpcf7-form .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.wpcf7-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.wpcf7-form a { color: var(--text-dark); }


/* **POPRAWIONE STYLE PRZYCISKU** */
.wpcf7-form .submit-btn.cta-button {
    width: auto;
    font-size: 1rem; /* Zapewnia spójność rozmiaru czcionki */
}
.wpcf7-form .submit-btn.cta-button i {
    margin-right: 8px; /* Odstęp między ikoną a tekstem */
}
.wpcf7-form .submit-btn.cta-button:hover {
    color: var(--accent-dark);
}


/* Footer */
footer { padding: 3rem 0; background: var(--secondary-light); text-align: center;}
footer p { color: var(--text-secondary-dark); }
footer a { color: var(--text-secondary-dark); text-decoration: none; }
footer a:hover { color: var(--text-dark); }

/* Animations */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate="animate-left"] { transform: translateX(-50px); }
[data-animate="animate-right"] { transform: translateX(50px); }
[data-animate="animate-up"] { transform: translateY(50px); }

.is-visible[data-animate] {
    opacity: 1;
    transform: translate(0,0);
}

/* Mobile Menu Additions */
.nav-social-mobile {
    display: none;
}

/* Responsive */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white); /* Przycisk "hamburger" musi być jasny */
}

@media (max-width: 992px) {
    .social-links { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        /* Tło mobilnego menu musi być ciemne */
        background: var(--primary-black);
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; }
    .nav-links li { text-align: center; padding: 1rem 0; width: 100%;}
    .nav-links .menu-item a {
        padding: 1rem;
        display: block;
        width: 100%;
        color: var(--text-light); /* Kolor linków w mobilnym menu */
    }
     .nav-links .menu-item a:hover {
        background-color: var(--secondary-dark-gray);
    }
    .nav-links a::after { display: none; }


    .nav-social-mobile {
        display: flex;
        justify-content: center;
        gap: 2rem;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid var(--accent-gray-dark);
    }

    .nav-social-mobile a {
        color: var(--text-light);
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .mobile-menu-toggle { display: block; }
    .social-links { display: none; }

    .hero-content h1 { font-size: 2.8rem; }
    .hero-subheading { font-size: 1.5rem; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .detailed-services-grid { grid-template-columns: 1fr; }
    .wpcf7-form { padding: 2rem; }
}

button, .cta-button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* ostylujemy input:submit */

input[type="submit"] {
    cursor: pointer;
    border: none;
    outline: none;
    background: var(--accent-dark);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Linia background-image została usunięta - teraz zarządza nią PHP */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* Kluczowe dla działania nakładki ::before */
    color: var(--white);
    overflow: hidden;
}


/* =========================================
   Nakładka Hero Section i kontekst stosu
   ========================================= */

/* * Tworzy pseudoelement, który działa jak nakładka.
 * Jest umieszczony absolutnie względem .hero (który ma position: relative).
 * z-index: 1 umieszcza go NAD tłem .hero, ale POD treścią.
 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Używam gradientu, który miał Pan wcześniej w CSS dla spójności */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(18, 18, 18, 1));
    /* Alternatywnie, dla prostej czarnej nakładki: 
       background-color: rgba(0, 0, 0, 0.5); 
    */
    z-index: 1;
}

/* * Upewnia się, że treść (.hero-content) jest nad nakładką.
 * position: relative jest potrzebne, aby z-index zadziałał poprawnie.
 * z-index: 2 umieszcza treść NAD nakładką (która ma z-index: 1).
 * Pańska istniejąca reguła .hero-content (linia 173) już ma z-index: 2,
 * ale dodanie 'position: relative' gwarantuje poprawne działanie.
 */
.hero-content {
    position: relative;
    z-index: 2;
}