/* =========================================
   BZYK.WAW.PL
   v0.1.3 — Structure continouse
   Mobile First
========================================= */


/* =========================================
   VARIABLES
========================================= */

:root {

    --color-bg: #0b0b0b;
    --color-bg-soft: #141414;
    --color-surface: #1b1b1b;

    --color-text: #f2f2f2;
    --color-text-muted: #a7a7a7;

    --color-accent: #f28c18;
    --color-accent-dark: #c66d08;

    --color-border: #2a2a2a;

    --container-width: 1180px;

    --space-section: 80px;

    --radius: 14px;

}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: var(--color-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   GLOBAL
========================================= */

.container {
    width: min(
        100% - 32px,
        var(--container-width)
    );

    margin-inline: auto;
}

.section {
    padding-block: var(--space-section);
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 1.05;
    margin-bottom: 20px;
}

.section-intro {
    max-width: 650px;
    color: var(--color-text-muted);
}

.eyebrow {
    margin-bottom: 14px;

    color: var(--color-accent);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(11, 11, 11, 0.92);

    border-bottom: 1px solid var(--color-border);

    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--color-accent);

    font-size: 1.25rem;
    font-weight: 900;

    letter-spacing: 0.08em;
}

.main-nav {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    padding-block: 50px 40px;
}

.hero-inner {
    display: flex;
    flex-direction: column;
}


/* -----------------------------------------
   HERO HEADING
----------------------------------------- */

.hero-heading {
    text-align: center;

    margin-bottom: 35px;
}

.hero-heading h1 {
    margin: 0;

    font-size: clamp(3rem, 12vw, 6rem);
    line-height: 0.9;

    letter-spacing: -0.04em;
}

.hero-subtitle {
    margin-top: 16px;

    color: var(--color-text-muted);

    font-size: clamp(0.9rem, 2vw, 1.15rem);
}


/* -----------------------------------------
   HERO VISUAL
----------------------------------------- */

.hero-visual {
    display: grid;

    grid-template-columns: 1fr;

    gap: 16px;

    align-items: stretch;
}


/* -----------------------------------------
   BRAND GRAPHIC
----------------------------------------- */

.hero-brand-image {
    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: var(--radius);
}

.hero-brand-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* -----------------------------------------
   PHOTO
----------------------------------------- */

.hero-photo {
    width: 100%;

    aspect-ratio: 1 / 1;
	overflow: hidden;
    border-radius: var(--radius);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.photo-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    color: var(--color-text-muted);
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;

    min-height: 48px;

    align-items: center;
    justify-content: center;

    padding-inline: 22px;

    border-radius: 8px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--color-accent);
    color: #111;
}

.button-primary:hover {
    background: var(--color-accent-dark);
}

.button-secondary {
    border: 1px solid var(--color-border);
    color: var(--color-text);
}


/* =========================================
   ABOUT
========================================= */

.section-about {
    background: var(--color-bg-soft);
}

.about-content {
    max-width: 780px;
}

.about-content p {
    margin-bottom: 20px;

    font-size: 1.15rem;
}


/* =========================================
   CARDS
========================================= */

.cards {
    display: grid;
    gap: 16px;
}

.card {
    padding: 28px;

    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.card h3 {
    margin: 12px 0;

    font-size: 1.5rem;
}

.card p {
    color: var(--color-text-muted);
}

.card-number {
    color: var(--color-accent);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.card-symbol {
    display: block;

    margin-bottom: 12px;

    font-size: 2rem;
}

/* Grafiki w sekcji Pasje i zainteresowania */
.passion-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 18px;
}


/* =========================================
   JUDO
========================================= */

.judo-content {
    display: grid;
    gap: 30px;
}

.judo-text {
    max-width: 700px;
}

.judo-text p {
    margin-bottom: 20px;

    color: var(--color-text-muted);

    font-size: 1.05rem;
}

.judo-placeholder {
    min-height: 280px;

    display: grid;
    place-items: center;

    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    color: var(--color-text-muted);
}


/* =========================================
   PROJECTS
========================================= */

.section-projects {
    background: var(--color-bg-soft);
}

.projects-support {
    margin-top: 50px;

    padding-top: 35px;

    border-top: 1px solid var(--color-border);
}

.projects-support p {
    margin-bottom: 20px;

    color: var(--color-text-muted);
}


/* =========================================
   CONTACT
========================================= */

.contact-content {
    max-width: 650px;
}

.contact-content p {
    margin-bottom: 30px;

    color: var(--color-text-muted);

    font-size: 1.15rem;
}


/* =========================================
   CONTACT FORM
========================================= */

.contact-form {
    display: grid;
    gap: 20px;

    padding: 28px;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-weight: 700;
    font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;

    background: var(--color-bg);
    color: var(--color-text);

    border: 1px solid var(--color-border);
    border-radius: 8px;

    font: inherit;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.captcha-container {
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.captcha-container .g-recaptcha {
    width: 304px;
    max-width: 100%;
}


.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 420px) {
    .contact-form {
        padding: 18px;
    }
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding-block: 30px;

    border-top: 1px solid var(--color-border);

    color: #a8c7a0;

    font-size: 0.9rem;
	text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-inner a {
    color: #a8c7a0;
    text-decoration: none;
}

.footer-inner a:hover {
    color: #c5e2bd;
}

/* =========================================
   TABLET / DESKTOP
========================================= */

@media (min-width: 768px) {

    :root {
        --space-section: 76px; /*zmina ze 110*/
    }

    .main-nav {
        display: flex;
        gap: 24px;

        font-size: 0.9rem;
    }

	.hero {
        padding-block: 38px 46px;  /* zmiana ze 70px 60px*/
    }

    .hero-heading {
        margin-bottom: 28px;   /*zmina ze 45px*/
    }

   /* OLD
   .hero-visual {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(0, 0.85fr);

        gap: 24px;
    }
	*/
	.hero-heading h1 {
        font-size: clamp(3rem, 6vw, 5rem);
    }

    .hero-visual {
        width: min(100%, 900px);
        margin-inline: auto;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 24px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: clamp(2rem, 4vw, 3.25rem);
    }

    .about-content p {
        font-size: 1.05rem;
    }

    .card {
        padding: 24px;
    }

    .card h3 {
        font-size: 1.3rem;
    }
	
    .cards-three {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .judo-content {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(300px, 0.7fr);

        align-items: center;
    }

    /* Zdjęcie w sekcji Judo */
	.judo-photo {
		width: 100%;
		min-height: 400px;
		overflow: hidden;
		border-radius: var(--radius);
	}

	.judo-photo img {
		display: block;
		width: 100%;
		height: 100%;
		min-height: 400px;
		object-fit: cover;
		object-position: center;
		border-radius: var(--radius);
	}

    .footer-inner {
        flex-direction: row;

        align-items: center;
        justify-content: space-between;
    }
	
    .contact-content p {
        font-size: 1.05rem;
    }

}
/* =========================================
   TEMP — MOBILE HERO TEST
=========================================
.hero-visual {
    grid-template-columns: 1fr !important;
} 

OLD*/
/* =========================================
   WORK — ROZWIJANE KAFELKI
   Zakres ograniczony do sekcji Zawodowo
========================================= */

	.work-cards {
		align-items: start;
	}

	.work-card {
		padding: 0;
		overflow: hidden;
	}
/* Obrazki w kafelkach sekcji Zawodowo */
	.work-card-image {
		display: block;
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		object-position: center;
		border-radius: 8px;
		margin-bottom: 18px;
	}

	.work-card-summary {
		position: relative;
		display: block;
		list-style: none;
		cursor: pointer;
		padding: 24px 52px 24px 24px;
		min-height: 100%;
	}

	.work-card-summary::-webkit-details-marker {
		display: none;
	}

	.work-card-summary::marker {
		content: "";
	}

	.work-card-summary h3 {
		margin: 10px 0;
		font-size: 1.25rem;
	}

	.work-card-summary p {
		color: var(--color-text-muted);
		font-size: 0.98rem;
	}

	.work-card-toggle {
		position: absolute;
		top: 26px;
		right: 22px;
		width: 18px;
		height: 18px;
		border-right: 2px solid var(--color-accent);
		border-bottom: 2px solid var(--color-accent);
		transform: rotate(45deg);
		transition: transform 180ms ease;
	}

	.work-card[open] .work-card-toggle {
		transform: rotate(225deg);
	}

	.work-card[open] {
		border-color: var(--color-accent-dark);
	}

	.work-card-details {
		padding: 0 24px 24px;
		border-top: 1px solid var(--color-border);
	}

	.work-card-details h4 {
		margin: 18px 0 6px;
		color: var(--color-accent);
		font-size: 0.78rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.work-card-details p,
	.work-card-details li {
		color: var(--color-text-muted);
		font-size: 0.95rem;
	}

	.work-card-details ul {
		padding-left: 18px;
	}

	.work-card-details li + li {
		margin-top: 6px;
	}