/* --- ZMIENNE I RESET --- */
:root {
    --primary-color: #0F172A; /* Głęboki granat */
    --accent-color: #C5A059; /* Zgaszone złoto */
    --bg-light: #F8FAFC;
    --stripe-color: rgba(229, 232, 237, 0.6); /* Kolor pasków w tle */
    --text-dark: #334155;
    --text-light: #94A3B8;
    --white: #ffffff;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 50px -15px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- UI ELEMENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b08d4b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-padding { padding: 100px 0; }
.bg-white { background-color: var(--white); }

.section-header { margin-bottom: 60px; opacity: 0; transform: translateY(20px); }
.section-header.center { text-align: center; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header span {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.section-header-left { margin-bottom: 30px; }
.section-header-left span { color: var(--accent-color); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }
.section-header-left h2 { font-size: 2.5rem; }

/* --- NAWIGACJA --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.logo span { color: var(--accent-color); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links li a { font-size: 0.95rem; font-weight: 400; position: relative; padding: 5px 0; }
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }

.client-panel-btn {
    border: 1px solid var(--primary-color);
    padding: 8px 20px !important;
    border-radius: 50px;
    font-size: 0.85rem;
}
.client-panel-btn:hover { background: var(--primary-color); color: var(--white); }
.client-panel-btn::after { display: none !important; }

/* Burger */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 2px; background: var(--primary-color); margin: 5px; transition: var(--transition); }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-light);
    overflow: hidden;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        var(--stripe-color) 40px,
        var(--stripe-color) 41px
    );
}

/* cieniutka pozioma linia jak paski ukośne */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--stripe-color);
}

/* kontener w hero – wyrównanie treści do lewej */
.hero .container {
    display: flex;
    align-items: center;
}

/* Kontener na zdjęcie typu BLOB */
.hero-blob-container {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    z-index: 1;
    pointer-events: none;
}

/* Stylizacja zdjęcia (hero.webp) */
.hero-blob-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
    animation: floatImage 8s ease-in-out infinite;
}

@keyframes floatImage {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translateY(0); }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: translateY(-20px); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translateY(0); }
}

.hero-content {
    z-index: 2;
    max-width: 600px;
    animation: fadeIn 1s ease-out;
    position: relative;
    background: rgba(248, 250, 252, 0.4); 
    backdrop-filter: blur(3px);
    border-radius: 20px;
    padding: 20px 20px 20px 0; /* tekst już bez lewego wcięcia */
    margin-left: 0;
    margin-right: auto; /* doklejenie do lewej krawędzi kontenera */
}

.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 25px; }
.hero p { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 35px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; }

/* --- O NAS --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 4px; box-shadow: var(--shadow-soft); }
.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    z-index: -1;
}
.text-link { color: var(--primary-color); font-weight: 700; display: inline-flex; align-items: center; margin-top: 10px; }
.text-link i { margin-left: 8px; transition: 0.3s; }
.text-link:hover i { transform: translateX(5px); }

/* --- USŁUGI (Karty Nowoczesne) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 50px 30px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    cursor: default;
    z-index: 1;
}

.service-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom: 3px solid var(--accent-color);
}

.card-content {
    position: relative;
    z-index: 2; 
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.service-card p { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 25px; line-height: 1.7; }

/* Ikona w tle (Watermark) */
.bg-icon {
    position: absolute;
    bottom: -20px;
    right: -25px;
    font-size: 9rem;
    color: var(--accent-color);
    opacity: 0.08;
    transform: rotate(-15deg);
    z-index: 1;
    transition: 0.5s ease;
    pointer-events: none;
}

.service-card:hover .bg-icon {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.15;
    color: var(--primary-color); 
}

.service-link {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}
.service-link i { margin-left: 8px; transition: 0.3s; }
.service-card:hover .service-link i { transform: translateX(5px); }

/* --- WARTOŚCI --- */
.why-us { background-color: var(--primary-color); position: relative; }
.light-text h2 { color: var(--white); }
.light-text span { color: #cbd5e1; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.value-item i { color: var(--accent-color); margin-bottom: 25px; }
.value-item h4 { color: var(--white); margin-bottom: 15px; font-size: 1.3rem; font-family: 'Playfair Display'; }
.value-item p { color: #94a3b8; }

/* --- FOOTER --- */
footer { background: #0b1120; color: #94a3b8; padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }
.footer-logo { color: var(--white); font-family: 'Playfair Display'; font-size: 1.6rem; margin-bottom: 20px; display: block; }
.socials a { color: var(--white); margin-right: 15px; opacity: 0.7; }
.socials a:hover { opacity: 1; color: var(--accent-color); }
.footer-col h4 { color: var(--white); font-family: 'Lato'; margin-bottom: 25px; font-size: 1.1rem; }
.footer-links li, .contact-list li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.contact-list li i { margin-right: 10px; width: 20px; text-align: center; }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.creator {
    opacity: 0.7;
    margin-top: 5px;
}
.creator a {
    color: var(--accent-color);
    font-weight: 700;
}
.creator a:hover { text-decoration: underline; }

/* --- ANIMACJE I KLASY POMOCNICZE --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RWD (RESPONSYWNOŚĆ) --- */
@media (max-width: 992px) {
    .hero { height: auto; padding: 120px 0 60px; display: block; }
    
    .hero .container {
        display: flex;
        flex-direction: column-reverse; /* tekst na dole, zdjęcie na górze */
        align-items: center;
    }

    .hero-blob-container {
        position: relative;
        width: 100%;
        height: 350px;
        top: 0;
        right: 0;
        transform: none;
        margin-bottom: 40px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        background: none;
        backdrop-filter: none;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .hero-buttons { justify-content: center; }
    .hero h1 { font-size: 2.5rem; }

    .services-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .about-grid, .values-grid { grid-template-columns: 1fr; }
    
    .nav-links { display: none; }
    .burger { display: block; }
    
    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: white;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-align: center;
    }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .socials { justify-content: center; display: flex; }
}

/* Crafted with ❤️ by PixelShark.eu // */
