/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #333;
    line-height: 1.8;
    background: #fff;
}

/* === HEADER === */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 300;
    background: transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

.header-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 2%;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #333;
    text-decoration: none;
    text-transform: lowercase;
}

.main-nav {
    position: static;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #333;
    text-decoration: none;
    text-transform: lowercase;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #aaa;
}

/* === HAMBURGER === */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: absolute;
    right: 25px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: #333;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === HERO === */
.hero {
    position: relative;
    height: 44vh;
    min-height: 260px;
    overflow: visible;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* portret — od lewego marginesu 15%, wyrównany do dołu */
.hero-portrait {
    position: absolute;
    bottom: 0;
    left: 15%;
    height: 118%;
    z-index: 200;
    object-fit: contain;
    object-position: bottom left;
}

/* tekst — po prawej stronie, margines 15% */
.hero-text {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: center;
    color: #fff;
}

.hero-text h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 3.125rem;
    letter-spacing: 0.5em;
    text-transform: lowercase;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 6px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    letter-spacing: 0.8em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    display: block;
    text-align: center;
}

/* === CYTAT === */
.quote-section {
    padding: 0 20px 0;
    text-align: center;
    background: #fff;
}

.vertical-line {
    width: 1px;
    height: 70px;
    background: #ddd;
    margin: 0 auto 12px;
}

.quote-section blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 1.47rem;
    color: #999;
    max-width: 650px;
    margin: 0 auto 15px;
    line-height: 1.7;
    position: relative;
    top: -4px;
}

.quote-sub {
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: #bbb;
    margin-bottom: 0;
    line-height: 1;
    text-transform: lowercase;
}

.quote-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.2rem;
    color: #555;
    font-weight: 300;
}

.vertical-line-bottom {
    margin: 20px auto -50px;
}

.closing-quote {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
}

/* === WSPÓLNE DLA SEKCJI === */
.section-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 80px 50px;
}

.section-label {
    margin-bottom: 40px;
}

.section-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #ccc;
    margin-bottom: 6px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: lowercase;
    color: #555;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

/* === O MNIE === */
.section-about {
    background: #fff;
}

.about-zone {
    background: #f9f9f9;
    padding-top: 30px;
    padding-bottom: 30px;
}

.about-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 37px 20px 40px;
}

.about-header-lined {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px 0;
}

.about-header-lined .vertical-line:last-child {
    margin-bottom: 0;
}

.about-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-connector {
    height: 70px;
    margin: 20px auto 0;
}

.about-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: #ccc;
}

.about-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: lowercase;
    color: #555;
    margin: 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    align-items: stretch;
}

.about-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.88rem;
    color: #666;
    line-height: 2;
    margin-bottom: 18px;
}

.about-image {
    display: flex;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* === JAK DZIAŁAM === */
.section-how {
    background: #fff;
}

.section-how .about-header-lined {
    padding-bottom: 40px;
}

/* === INSTAGRAM === */
.section-instagram {
    background: #fff;
}

.section-instagram .about-zone {
    padding-left: 5%;
    padding-right: 5%;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.instagram-grid a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.instagram-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: grayscale(20%);
}

.instagram-grid a:hover img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

/* === KONTAKT === */
.section-contact {
    background: #fff;
}

.section-contact .about-header-lined {
    padding-bottom: 70px;
}

.contact-zone {
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
}

.contact-intro {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.contact-email {
    display: inline-block;
    font-size: 0.95rem;
    color: #444;
    text-decoration: none;
    letter-spacing: 2px;
    margin-bottom: 45px;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

.contact-email:hover {
    color: #aaa;
    border-bottom-color: #ddd;
}

.newsletter-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #bbb;
    margin-bottom: 14px;
    text-transform: lowercase;
}

.newsletter {
    margin-bottom: 40px;
}

.newsletter form {
    display: inline-flex;
    max-width: 380px;
    width: 100%;
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 13px 18px;
    border: 1px solid #ddd;
    border-right: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #444;
    outline: none;
    background: #fff;
}

.newsletter input[type="email"]::placeholder {
    color: #bbb;
}

.newsletter input[type="email"]:focus {
    border-color: #bbb;
}

.newsletter button {
    padding: 13px 24px;
    background: #333;
    color: #fff;
    border: 1px solid #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.newsletter button:hover {
    background: #555;
    border-color: #555;
}

.social-icon {
    display: inline-block;
    color: #bbb;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #888;
}

/* === FOOTER === */
.main-footer {
    background: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 28px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.main-footer p {
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: #ccc;
}

.main-footer a {
    color: #ccc;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.main-footer a:hover {
    color: #999;
}

/* === MOBILE === */
@media (max-width: 900px) {
    .how-layout {
        grid-template-columns: 1fr;
    }

    .how-images {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 18px 25px;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #eee;
        padding: 25px 0;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }

    .hero {
        height: 36vh;
    }

    .hero-dark-side {
        width: 100%;
    }

    .hero-portrait {
        left: 5%;
        right: 5%;
        height: 100%;
    }

    .hero-text {
        left: 5%;
        width: auto;
        bottom: 12px;
        top: auto;
        transform: none;
    }

    .hero-text h1 {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 0.55rem;
        letter-spacing: 5px;
    }

    .section-inner {
        padding: 60px 25px;
    }

    .instagram-grid {
        gap: 8px;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input[type="email"] {
        border-right: 1px solid #ddd;
        border-bottom: none;
    }

    .newsletter button {
        border-top: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.9rem;
        letter-spacing: 4px;
    }

    .quote-section blockquote {
        font-size: 1.15rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
