/* Główne zmienne i reset */
:root {
    --dark: #0a0a0a;
    --grey: #1a1a1a;
    --light-grey: #f4f4f4;
    --accent: #d4af37; /* Złoty akcent */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--dark);
    color: white;
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.container { padding: 100px 8%; }

/* Nawigacja */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10,10,10,1), rgba(10,10,10,0));
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span { color: var(--accent); }

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url(zdj5.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--light-grey);
}

.btn {
    padding: 15px 40px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.btn:hover {
    background: white;
    color: black;
}

/* Galeria Masonry */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.m-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    background: var(--grey);
    border-radius: 4px;
}

.m-item img {
    width: 100%;
    display: block;
    transition: var(--transition);
    filter: grayscale(30%);
}

.m-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Sekcja O mnie i Stopka */
.about-section {
    background-color: var(--grey);
    text-align: center;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

footer {
    text-align: center;
    background: var(--dark);
}

footer h2 { font-family: 'Playfair Display', serif; margin-bottom: 20px; }
footer a { color: var(--accent); text-decoration: none; font-size: 1.5rem; }

.social-icons { margin: 30px 0; color: #555; }
.copyright { margin-top: 50px; font-size: 0.8rem; color: #444; }

/* Responsywność */
@media (max-width: 900px) {
    .masonry-grid { column-count: 2; }
}
@media (max-width: 600px) {
    .masonry-grid { column-count: 1; }
    .nav-links { display: none; }
}