:root {
    /* Paleta Premium */
    --black-rich: #0a0a0a;
    --black-soft: #141414;
    --gold-primary: #C5A059;
    --gold-muted: rgba(197, 160, 89, 0.15);
    --white-ivory: #F5F5F0;
    --white-muted: rgba(245, 245, 240, 0.6);
    
    /* Typografia */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Płynność - Easing */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-custom: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black-rich);
    color: var(--white-ivory);
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: var(--white-ivory);
    text-decoration: none;
    transition: color 0.4s var(--ease-custom);
}

a:hover {
    color: var(--gold-primary);
}

img {
    max-width: 100%;
    display: block;
}

/* Layout & Spacing */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 10rem 0;
    position: relative;
}

/* Klasy pomocnicze dla animacji na scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Nawigacja --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: padding 0.5s var(--ease-custom);
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1); /* Logo białe dla lepszej widoczności */
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--black-rich);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--black-rich) 0%, rgba(10, 10, 10, 0.4) 50%, transparent 100%);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--gold-primary);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    color: var(--white-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-agent-image {
    justify-self: center;
    position: relative;
}

.hero-agent-image img {
    max-height: 80vh;
    transition: transform 0.8s var(--ease-custom);
    border-bottom: 4px solid var(--gold-primary);
}

.hero-agent-image:hover img {
    transform: scale(1.02);
}

.hero-agent-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-primary);
    z-index: -1;
}

/* --- O mnie (Ekspert) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: center;
}

.about-image {
    position: relative;
    padding-bottom: 120%;
    background-color: var(--black-soft);
    overflow: hidden;
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 1s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--gold-primary);
}

.about-content .subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--white-muted);
    display: block;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--white-muted);
}

.certificates {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gold-muted);
    display: flex;
    gap: 4rem;
    align-items: center;
}

.cert-item img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.cert-item img:hover {
    opacity: 1;
    transform: translateY(-5px);
}


/* --- Filary (Pillars) --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 5rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.pillar-card {
    background: var(--black-soft);
    padding: 4rem 3rem;
    border: 1px solid rgba(255,255,255,0.02);
    transition: transform 0.6s var(--ease-custom), box-shadow 0.6s var(--ease-custom);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-custom);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(197, 160, 89, 0.05);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
}

.pillar-card p {
    color: var(--white-muted);
    font-size: 0.95rem;
}

/* --- Proces --- */
.process-section {
    background-color: var(--black-soft);
}

.process-container {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold-muted);
    line-height: 1;
    font-style: italic;
}

.step-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--white-muted);
}

/* --- Oferty Butikowe --- */
.boutique-offers {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.boutique-offers p {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--white-muted);
    margin: 2rem 0;
}

/* --- Kontakt --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 3rem;
}

.contact-details p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.contact-details span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-primary);
    margin-bottom: 0.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-group {
    position: relative;
}

input, select, textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0;
    color: var(--white-ivory);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-bottom-color: var(--gold-primary);
}

select option {
    background: var(--black-rich);
    color: var(--white-ivory);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 1.2rem 3rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.4s var(--ease-custom);
}

button:hover {
    background: var(--gold-primary);
    color: var(--black-rich);
}

/* --- Footer --- */
footer {
    padding: 3rem 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--white-muted);
}

/* Responsywność */
@media (max-width: 900px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 5rem;
    }
    .hero-agent-image {
        display: none;
    }
    .hero-background::after {
        background: radial-gradient(circle at center, rgba(10, 10, 10, 0.7) 0%, var(--black-rich) 100%);
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 6rem 0;
    }
}
