/* =========================

   VARIABLES

========================= */

:root {

    --color-bg: #f5f5f3;

    --color-surface: #ffffff;

    --color-text: #202020;

    --color-text-muted: #666666;

    --color-dark: #1e2421;

    --color-accent: #d6a62e;

    --container-width: 1200px;

    --container-padding: 24px;

    --border-radius: 12px;

}

/* =========================

   RESET

========================= */

*,

*::before,

*::after {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    margin: 0;

}

img {

    display: block;

    max-width: 100%;

}

a {

    color: inherit;

    text-decoration: none;

}

button,

input,

textarea {

    font: inherit;

}

/* =========================

   BASE

========================= */

body {

    overflow-x: hidden;

    background-color: var(--color-bg);

    color: var(--color-text);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    line-height: 1.6;

}

section {

    scroll-margin-top: 20px;

}

::selection {

    background-color: var(--color-accent);

    color: var(--color-dark);

}

a:focus-visible,

button:focus-visible {

    outline: 3px solid var(--color-accent);

    outline-offset: 4px;

}

/* =========================

   TYPOGRAPHY

========================= */

h1,

h2,

h3,

p {

    margin-top: 0;

}

h1,

h2,

h3 {

    line-height: 1.15;

}

h1 {

    font-size: clamp(2.5rem, 6vw, 5rem);

}

h2 {

    font-size: clamp(2rem, 4vw, 3.5rem);

}

h3 {

    font-size: 1.25rem;

}

.section-label {

    margin-bottom: 14px;

    color: var(--color-accent);

    font-size: 0.85rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.12em;

}

.section-header h2 {

    margin-bottom: 18px;

}

.section-header > p:last-child {

    max-width: 580px;

    color: var(--color-text-muted);

    font-size: 1.05rem;

}

/* =========================

   LAYOUT

========================= */

.container {

    width: min(

        100% - (var(--container-padding) * 2),

        var(--container-width)

    );

    margin-inline: auto;

}

/* =========================

   HEADER

========================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background-color: var(--color-surface);

    border-bottom: 1px solid #e5e5e5;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);

}

.site-header .container {

    min-height: 84px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 32px;

}

/* =========================

   LOGO

========================= */

.logo {

    display: flex;

    flex-direction: column;

    font-size: 1.1rem;

    font-weight: 700;

    line-height: 1.15;

    text-transform: uppercase;

    letter-spacing: 0.03em;

}

.logo span {

    margin-top: 4px;

    color: var(--color-accent);

    font-size: 0.85rem;

    font-weight: 600;

    text-transform: none;

    letter-spacing: 0;

}

/* =========================

   NAVIGATION

========================= */

.main-nav {

    display: flex;

    align-items: center;

    gap: 32px;

}

.main-nav a {

    position: relative;

    color: var(--color-text);

    font-size: 0.95rem;

    font-weight: 600;

    transition: color 0.2s ease;

}

.main-nav a:hover {

    color: var(--color-accent);

}

.main-nav a:active {

    color: var(--color-accent);

}

.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 100%;

    height: 2px;

    background-color: var(--color-accent);

    transform: scaleX(0);

    transform-origin: right;

    transition: transform 0.2s ease;

}

.main-nav a:hover::after {

    transform: scaleX(1);

    transform-origin: left;

}

.main-nav a.active {

    color: var(--color-accent);

}

.main-nav a.active::after {

    transform: scaleX(1);

    transform-origin: left;

}

/* =========================

   MOBILE MENU BUTTON

========================= */

.menu-toggle {

    display: none;

    width: 46px;

    height: 46px;

    padding: 10px;

    border: 0;

    border-radius: 10px;

    background-color: transparent;

    cursor: pointer;

}

.menu-toggle span {

    display: block;

    width: 100%;

    height: 2px;

    margin-block: 5px;

    background-color: var(--color-dark);

    transition:

        transform 0.2s ease,

        opacity 0.2s ease;

}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {

    transform: translateY(7px) rotate(45deg);

}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {

    opacity: 0;

}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {

    transform: translateY(-7px) rotate(-45deg);

}

/* =========================

   HERO

========================= */

.hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(15, 19, 17, 0.94) 0%,
            rgba(15, 19, 17, 0.84) 38%,
            rgba(15, 19, 17, 0.48) 65%,
            rgba(15, 19, 17, 0.18) 100%
        ),
        url("./images/hero-zlomowisko.png");

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

    color: #ffffff;
}

.hero .container {

    position: relative;

    z-index: 1;

    padding-block: 100px;

}

.hero-label {

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--color-accent);

    font-size: 0.9rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.12em;

}

.hero-label::before {

    content: "";

    width: 36px;

    height: 2px;

    flex-shrink: 0;

    background-color: var(--color-accent);

}

.hero h1 {

    max-width: 820px;

    margin-bottom: 24px;

    font-weight: 800;

    letter-spacing: -0.035em;

}

.hero h1 span {

    display: block;

    margin-top: 10px;

    color: var(--color-accent);

}

.hero-description {

    max-width: 650px;

    margin-bottom: 38px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 1.12rem;

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

}

/* =========================

   BUTTONS

========================= */

.btn {

    min-height: 50px;

    padding: 12px 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 2px solid var(--color-accent);

    border-radius: var(--border-radius);

    background-color: var(--color-accent);

    color: var(--color-dark);

    cursor: pointer;

    font-size: 0.95rem;

    font-weight: 700;

    transition:

        background-color 0.2s ease,

        color 0.2s ease,

        transform 0.2s ease;

}

.btn:hover {

    background-color: transparent;

    color: var(--color-accent);

    transform: translateY(-2px);

}

.btn:active {

    transform: translateY(0);

}

.btn-secondary {

    background-color: transparent;

    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.35);

}

.btn-secondary:hover {

    background-color: #ffffff;

    color: var(--color-dark);

    border-color: #ffffff;

}

/* =========================

   OFFER

========================= */

.offer {

    padding-block: 110px;

    background-color: var(--color-surface);

}

.offer .section-header {

    max-width: 720px;

    margin-bottom: 50px;

}

.offer .section-header h2 {

    margin-bottom: 18px;

}

/* =========================

   OFFER CARDS

========================= */

.offer-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

}

.offer-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid #e2e2df;

    border-radius: var(--border-radius);

    background:

        linear-gradient(

            145deg,

            #f8f8f6 0%,

            #eeeeea 100%

        );

    transition:

        transform 0.25s ease,

        border-color 0.25s ease,

        box-shadow 0.25s ease;

}

/* złota linia na górze */

.offer-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 38%;

    height: 4px;

    z-index: 3;

    background-color: var(--color-accent);

    transition: width 0.25s ease;

}

.offer-card:hover {

    transform: translateY(-5px);

    border-color: rgba(214, 166, 46, 0.65);

    box-shadow:

        0 16px 34px rgba(0, 0, 0, 0.08);

}

.offer-card:hover::before {

    width: 100%;

}

/* =========================

   OFFER IMAGE

========================= */

.offer-card-image {

    position: relative;

    height: 220px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px 28px 8px;

    overflow: hidden;

    background:

        radial-gradient(

            circle at 50% 60%,

            rgba(214, 166, 46, 0.10),

            transparent 60%

        );

}

.offer-card-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

    transition: transform 0.35s ease;

}

.offer-card:hover .offer-card-image img {

    transform: scale(1.04);

}

/* =========================

   OFFER CONTENT

========================= */

.offer-card-content {

    flex: 1;

    padding:

        14px

        32px

        30px;

}

.offer-card-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;

    margin-bottom: 18px;

}

.offer-card-heading h3 {

    margin: 0;

    color: var(--color-dark);

    font-size: 1.25rem;

    line-height: 1.25;

}

.offer-card-number {

    flex-shrink: 0;

    color: rgba(30, 36, 33, 0.07);

    font-size: 3.4rem;

    font-weight: 800;

    line-height: 0.8;

}

/* =========================

   OFFER LIST

========================= */

.offer-list {

    margin: 0;

    padding: 0;

    list-style: none;

}

.offer-list li {

    position: relative;

    padding:

        13px

        0

        13px

        20px;

    border-top:

        1px solid rgba(30, 36, 33, 0.09);

    color: var(--color-text-muted);

    font-size: 0.95rem;

    line-height: 1.4;

}

.offer-list li::before {

    content: "";

    position: absolute;

    left: 0;

    top: 50%;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background-color: var(--color-accent);

    transform: translateY(-50%);

}

/* =========================

   ABOUT

========================= */

.about {

    padding-block: 110px;

}

.about .container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;

}

.about-content h2 {

    max-width: 600px;

    margin-bottom: 24px;

}

.about-content > p:not(.section-label) {

    max-width: 560px;

    margin-bottom: 18px;

    color: var(--color-text-muted);

    font-size: 1.05rem;

}

.about-image {

    min-height: 420px;

    border-radius: var(--border-radius);

    overflow: hidden;

}

.image-placeholder {

    width: 100%;

    min-height: 420px;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(

            135deg,

            #2b322e,

            #171b19

        );

    color: rgba(255, 255, 255, 0.35);

    font-size: 0.9rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.1em;

}

.about-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: var(--border-radius);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
    .about-gallery {
        grid-template-columns: 1fr;
    }
}

/* =========================

   INFO POINTS

========================= */

.info-points {

    margin-top: 32px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

}

.info-point {

    padding: 20px;

    border-left: 4px solid var(--color-accent);

    background-color: var(--color-surface);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);

}

.info-point strong {

    display: block;

    margin-bottom: 6px;

    color: var(--color-dark);

    font-size: 0.95rem;

}

.info-point span {

    color: var(--color-text-muted);

    font-size: 0.92rem;

    line-height: 1.5;

}

/* =========================

   LOCATION

========================= */

.location {

    padding-block: 110px;

    background-color: var(--color-dark);

    color: #ffffff;

}

.location .section-header {

    max-width: 720px;

    margin-bottom: 50px;

}

.location .section-header h2 {

    margin-bottom: 18px;

}

.location .section-header > p:last-child {

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 1.05rem;

}

.location-grid {

    display: grid;

    grid-template-columns:

        minmax(0, 1.7fr)

        minmax(280px, 0.8fr);

    gap: 50px;

    align-items: stretch;

}

.location-map {

    height: 460px;

    border-radius: var(--border-radius);

    overflow: hidden;

    background-color: #2b322e;

}

.location-map iframe {

    width: 100%;

    height: 100%;

    display: block;

    border: 0;

}

.location-info {

    padding: 42px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: var(--border-radius);

    background-color: rgba(255, 255, 255, 0.05);

    transition:

        transform 0.2s ease,

        border-color 0.2s ease,

        box-shadow 0.2s ease;

}

.location-tag {

    margin-bottom: 16px;

    color: var(--color-accent);

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.12em;

}

.location-info h3 {

    margin-bottom: 24px;

    font-size: 1.65rem;

}

.location-info address {

    margin-bottom: 24px;

    color: #ffffff;

    font-size: 1.1rem;

    font-style: normal;

    font-weight: 600;

}

.location-description {

    margin-bottom: 30px;

    color: rgba(255, 255, 255, 0.65);

}

/* =========================

   CONTACT

========================= */

.contact {

    padding-block: 110px;

    background-color: var(--color-bg);

}

.contact .section-header {

    max-width: 720px;

    margin-bottom: 50px;

}

.contact .section-header h2 {

    margin-bottom: 0;

}

.contact-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}

.contact-item {

    padding: 32px;

    border: 1px solid #e2e2df;

    border-radius: var(--border-radius);

    background-color: var(--color-surface);

    transition:

        transform 0.2s ease,

        border-color 0.2s ease,

        box-shadow 0.2s ease;

}

.contact-item:hover {

    transform: translateY(-3px);

    border-color: rgba(214, 166, 46, 0.5);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);

}

.contact-item h3 {

    margin-bottom: 14px;

    color: var(--color-dark);

    font-size: 1rem;

    text-transform: uppercase;

    letter-spacing: 0.06em;

}

.contact-item p {

    margin-bottom: 0;

    color: var(--color-text-muted);

    font-size: 1rem;

}

/* =========================

   FOOTER

========================= */

.site-footer {

    padding-block: 26px;

    background-color: #151916;

    color: rgba(255, 255, 255, 0.6);

}

.site-footer .container {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

}

.site-footer p {

    margin: 0;

    font-size: 0.82rem;

    text-align: center;

    line-height: 1.5;

}

.footer-credit {

    color: rgba(255, 255, 255, 0.38);

    font-size: 0.72rem;

}

/* =========================

   REVEAL ON SCROLL

========================= */

.reveal {

    opacity: 0;

    transform: translateY(18px);

    transition:

        opacity 0.55s ease,

        transform 0.55s ease;

}

.reveal.is-visible {

    opacity: 1;

    transform: translateY(0);

}

/* =========================

   REDUCED MOTION

========================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }

    *,

    *::before,

    *::after {

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

    }

}

/* =========================
   RESPONSIVE — TABLET
========================= */

@media (max-width: 900px) {
    .site-header .container {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding-block: 20px;
        gap: 18px;
    }

    section {
        scroll-margin-top: 0;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 18px 26px;
    }

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

    .offer-card-image {
        height: 190px;
    }

    .about .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content h2,
    .about-content > p:not(.section-label) {
        max-width: 700px;
    }

    .about-image,
    .image-placeholder {
        min-height: 360px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-map {
        height: 420px;
    }

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

/* =========================

   RESPONSIVE — MOBILE

========================= */

@media (max-width: 600px) {

    :root {

        --container-padding: 18px;

    }

    /* =========================

       ANCHORS

    ========================= */

    section {

        scroll-margin-top: 75px;

    }

    /* =========================

       TYPOGRAPHY

    ========================= */

    h1 {

        font-size: clamp(2.3rem, 11vw, 3.6rem);

    }

    h2 {

        font-size: clamp(1.8rem, 8vw, 2.6rem);

    }

    /* =========================

       HEADER

    ========================= */

    .site-header .container {

        display: grid;

        grid-template-columns: 1fr auto;

        align-items: center;

        gap: 0 16px;

        padding-top: 10px;

        padding-bottom: 10px;

    }

    /* =========================

       LOGO

    ========================= */

    .logo {

        grid-column: 1;

        grid-row: 1;

    }

    /* =========================

       MOBILE MENU BUTTON

    ========================= */

    .menu-toggle {

        display: block;

        grid-column: 2;

        grid-row: 1;

        justify-self: end;

        align-self: center;

    }

    /* =========================

       MOBILE NAVIGATION

    ========================= */

    .main-nav {

        width: 100%;

        max-height: 0;

        grid-column: 1 / -1;

        overflow: hidden;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        opacity: 0;

        visibility: hidden;

        transition:

            max-height 0.3s ease,

            opacity 0.2s ease;

    }

    .main-nav.is-open {

        max-height: 320px;

        opacity: 1;

        visibility: visible;

    }

    .main-nav a {

        padding: 12px 4px;

        border-top: 1px solid #e5e5e5;

        font-size: 0.95rem;

        text-align: left;

    }

    .main-nav a::after {

        display: none;

    }

    /* =========================

       HERO

    ========================= */

    .hero {
        min-height: auto;

        background:
            linear-gradient(
                90deg,
                rgba(15, 19, 17, 0.92) 0%,
                rgba(15, 19, 17, 0.82) 55%,
                rgba(15, 19, 17, 0.55) 100%
            ),
            url("./images/hero-zlomowisko.png");

        background-size: cover;
        background-position: 66% center;
        background-repeat: no-repeat;
    }

    .hero .container {

        padding-block: 80px;

    }

    .hero-description {

        font-size: 1rem;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .hero-buttons .btn {

        width: 100%;

    }

    /* =========================

       SECTIONS

    ========================= */

    .offer,

    .about,

    .location,

    .contact {

        padding-top: 10px;

        padding-bottom: 75px;

    }

    .offer .section-header,

    .location .section-header,

    .contact .section-header {

        margin-bottom: 36px;

    }

    /* =========================
       OFFER
    ========================= */

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .offer-card-image {
        height: 170px;
        padding: 16px 24px 4px;
    }

    .offer-card-content {
        padding: 12px 24px 26px;
    }

    .offer-card-number {
        font-size: 3rem;
    }

    .offer-list li {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    /* =========================

       ABOUT

    ========================= */

    .about .container {

        gap: 36px;

    }

    .info-points {

        grid-template-columns: 1fr;

    }

    .about-image,

    .image-placeholder {

        min-height: 280px;

    }

    /* =========================

       LOCATION

    ========================= */

    .location-map {

        height: 340px;

    }

    .location-info {

        padding: 28px;

    }

    .location-info h3 {

        font-size: 1.4rem;

    }

    .location-info .btn {

        width: 100%;

    }

    /* =========================

       CONTACT

    ========================= */

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .contact-item {

        padding: 26px;

    }

    /* =========================

       FOOTER

    ========================= */

    .site-footer {

        padding-block: 24px;

    }

}
