/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #1f1f1f;
    background-color: #fff;
    line-height: 1.6;
}

/* COLORS */
:root {
    --white: #ffffff;
    --black: #1f1f1f;
    --gold: rgba(201, 162, 39, 0.54);
    --light-gold: #f7f0dc;
    --light-gray: #f8f8f8;
}


.cormorant-garamond_1{
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.italiana-regular {
    font-family: "Italiana", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.montserrat-1 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* GLOBAL */
.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
    margin: 0;
}

.section-label {
    color: var(--gold);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    text-align: center;
}

.center {
    text-align: center;
}


h1 {
    font-size: clamp(2rem, 6vw, 4.4rem);
    max-width: 800px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

p {
    color: #555;
    font-size: 1rem;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 32px;
    background-color: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn:hover {
    background-color: var(--black);
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 2px solid var(--gold);
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
    z-index: 1000;
    transition: transform 0.35s ease;
}

.header.hide-header {
    transform: translateY(-100%);
}

.navbar {
    width: min(1000px, 90%);
    height: 90px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo_short {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo_short img {
    width: 92px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 42px;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-size: 1.25rem;
    transition: 0.3s ease;
    font-family: "Italiana", serif;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gold);
}


.burger {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--black);
    transition: 0.3s ease;
}


/* HERO */
.hero {
    min-height: 100vh;
    padding-top: 0;
    margin:0;
    display: flex;
    align-items: center;
    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.2),
                    rgba(255, 255, 255, 0.2)
            ),
            url("images/og-image.jpg");

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

h1, h2, h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--black);

}

.hero-content {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.hero-content h1 {
    text-shadow: 1px 1px 20px #070707;
    color: white;
}




/* ABOUT */

.about {
    min-height: 100vh;
    padding-top: 0;
    margin-top: 50px;
    display: flex;
    align-items: center;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text{
    font-size: 1rem;
    line-height: 1.9;
    color: #555;!important;
}


.image-placeholder {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 50px;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit:  cover;
    object-position: bottom;
    display: block;
}


/* OFERTA */

#services{
    box-shadow: var(--light-gold) 1px 1px 20px;
    padding: 50px 0 100px 0;


}

.services-list {
    margin-top: 60px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 650px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "photos content"
        "photos button";
    gap: 20px 80px;
    align-items: center;
    min-height: 650px;
}

.service-collage {
    grid-area: photos;
}

.service-content {
    grid-area: content;
}

.service-button {
    grid-area: button;
    align-self: start;
}

/* lewa strona ze zdjęciami */
.service-collage {
    position: relative;
    height: 620px;
}

/* każde zdjęcie */
.service-photo {
    position: absolute;
    width: 280px;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* duże zdjęcie u góry */
.photo-1 {
    top: 0;
    left: 20px;
    z-index: 2;
}

/* zdjęcie na środku, lekko nachodzi */
.photo-2 {
    top: 170px;
    left: 260px;
    z-index: 3;
}

/* zdjęcie na dole */
.photo-3 {
    bottom: 0;
    left: 40px;
    z-index: 1;
}

/* prawa strona z tekstem */
.service-content {
    max-width: 520px;
}

.service-short-list {
    margin: 28px 0 34px;
    padding: 0;
    list-style: none;
}

.service-short-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;

    font-family: "Montserrat", sans-serif;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.7;
    color: #555;
}

.service-short-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
}



.service-content h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 28px;
}

.service-content p {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
}




/* Big PHOTO SECTION */
#big-photo-section {
    min-height: 120vh;
    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.1),
                    rgba(255, 255, 255, 0.1)
            ),
            url("images/upscayl-big-photo.png");

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





/* GALLERY */

.gallery {
    background-color: var(--white);
    padding: 120px 0;
}

.editorial-gallery {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    gap: 22px;
}

.gallery-photo {
    overflow: hidden;
    background-color: #f5f5f5;
    transition: 0.5s ease;
}

.gallery-photo:hover {
    transform: scale(1.05);
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}



/* większe kafelki */
.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-wide {
    grid-column: span 2;
}

.gallery-tall {
    grid-row: span 2;
}

.gallery-more {
    margin-top: 60px;
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 15px 38px;
    border: 1px solid var(--light-gold);
    color: var(--white);
    background-color: var(--gold);
    text-decoration: none;


    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--light-gold);
    color: var(--black);
    border: 1px solid var(--gold);
}

.gallery-intro {
    max-width: 760px;
    margin: 26px auto 0;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}





/* TESTIMONIALS */
/* TESTIMONIALS */

.testimonials {
    background-color: #faf7ef;
    padding: 120px 0;
}

.testimonials-slider {
    position: relative;
    margin-top: 70px;
    min-height: 390px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);

    transition:
            opacity 0.7s ease,
            transform 0.7s ease,
            visibility 0s linear 0.7s;
}

.testimonials-grid.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);

    transition:
            opacity 0.7s ease,
            transform 0.7s ease,
            visibility 0s linear 0s;
}

.testimonials-grid.is-fading-out {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: translateY(-10px);

    transition:
            opacity 0.7s ease,
            transform 0.7s ease,
            visibility 0s linear 0.7s;
}

.testimonial-card {
    background-color: var(--white);
    padding: 36px 32px;
    border: 1px solid rgba(201, 162, 39, 0.25);

    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--black);
}

.testimonial-card h4 {
    margin-top: 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
}

/* STRZAŁKI */

.testimonial-controls {
    margin-top: 46px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.testimonial-controls button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background-color: transparent;
    color: var(--black);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: var(--gold);
    color: var(--white);
}




/* CONTACT */

.contact {
    background-color: var(--black);
    color: var(--white);
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info h2 {
    color: var(--white);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 28px;
}


.contact-info p {
    color: #d8d8d8;
    line-height: 1.8;
}

.contact-details {
    margin-top: 38px;
}

.contact-details p {
    margin-bottom: 12px;
}

.contact-details a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--gold);
}

.contact-details strong {
    color: var(--light-gold);
    font-weight: 500;
}

/* FORM */

.contact-form {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 162, 39, 0.25);
    padding: 44px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--light-gold);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--gold);
}

.contact-form .btn-outline {
    margin-top: 18px;
    cursor: pointer;
}





/* FULL LOGO SECTION */
.full-logo {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.full-logo img {
    width: min(600px, 75vw);
    height: auto;
    display: block;
}



/* FOOTER */

.main-footer {
    padding: 90px 0;
    background-color: #111;
    color: var(--white);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 28px;
    display: block;
}


.footer-column h4 {
    margin-bottom: 24px;
    color: var(--gold);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 14px;
}

.footer-column a {
    color: #d8d8d8;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.footer-socials a {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.footer-socials img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    filter: brightness(0) saturate(100%) invert(63%) sepia(43%) saturate(676%) hue-rotate(8deg) brightness(91%) contrast(88%);
    transition: 0.3s ease;
}

.footer-socials a:hover img {
    filter: brightness(0) invert(1);
}

/* small footer */
.footer {
    padding: 26px 20px;
    text-align: center;
    background-color: #070707;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
    color: #999;
    font-size: 0.9rem;
}


.scroll-top-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 52px;
    height: 52px;

    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.45);
    background-color: var(--light-gold);
    color: var(--black);

    font-size: 1.6rem;
    cursor: pointer;
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--gold);
    color: var(--white);
}


/* RESPONSIVE */

@media (max-width: 1200px) {

    .service-item {
        gap: 30px;
    }

    .testimonials-slider {
        min-height: 420px;
    }
}


@media (max-width: 1100px) {
    .navbar {
        width: min(1000px, 94%);
    }

    .nav-links {
        gap: 28px;
    }

    .nav-links a {
        font-size: 1.15rem;
    }

    .service-item {
        gap: 50px;
    }

    .service-photo {
        width: 240px;
        height: 330px;
    }

    .photo-2 {
        left: 220px;
    }

    .testimonials-slider {
        min-height: 580px;
    }
}

@media (max-width: 1000px) {

    .service-item {
        gap: 140px;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 80px 0;
    }

    /* NAVBAR */
    .navbar {
        height: 80px;
        width: min(100% - 32px, 1100px);
        margin: 0 auto;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
        gap: 0;
    }

    .logo_short img {
        width: 78px;
    }

    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;

        padding: 32px 20px;
        margin: 0;

        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        border-bottom: 1px solid rgba(201, 162, 39, 0.25);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);

        transition: none;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        display: block;
        width: min(360px, 90vw);
        padding: 8px 20px;
        text-align: center;
        font-size: 1.5rem;

    }

    .burger.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .burger.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* HERO */
    .hero {
        min-height: calc(100vh - 130px);
        align-items: center;
        background-position: center;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 4rem);
    }

    /* ABOUT */
    .about {
        min-height: auto;
        margin-top: 0;
        padding: 80px 0;
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-placeholder {
        height: 520px;
        margin-top: 0;
    }

    .image-placeholder img {


        object-position: center;

    }

    /* SERVICES */
    #services {
        padding: 80px 0;
    }

    .service-item {
        grid-template-columns: 1fr;
        grid-template-areas:
        "content"
        "photos"
        "button";
        gap: 45px;
        min-height: auto;
    }

    .service-content {
        grid-area: content;
    }


    .service-button {
        grid-area: button;
        text-align: center;
    }

    .service-button .btn-outline {
        display: inline-block;
    }

    .service-collage {
        grid-area: photos;
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .service-photo {
        position: static;
        width: 100%;
        height: 280px;
    }

    .photo-1 {
        grid-column: span 2;
    }


    /* BIG PHOTO */
    #big-photo-section {
        min-height: 80vh;
        background-position: 70%;
    }

    /* GALLERY */
    .gallery {
        padding: 80px 0;
    }

    .editorial-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: 14px;
        margin-top: 50px;
    }

    .gallery-large,
    .gallery-wide,
    .gallery-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-tall img {
        object-position: center 30%;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    /* TESTIMONIALS */
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-slider {
        min-height: 680px;
    }

    .testimonials-grid,
    .testimonials-grid.is-active {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-height: auto;
        max-height: 240px;
    }

    .testimonial-card p {
        font-size: 1.25rem;
    }

    /* CONTACT */
    .contact {
        padding: 80px 0;
    }

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

    .contact-form {
        padding: 32px 24px;
    }

    .contact-form .btn-outline {
        display: block;
        width: fit-content;
        margin: 28px auto 0;
    }

    /* FULL LOGO */
    .full-logo {
        min-height: 55vh;
        padding: 60px 20px;
    }

    .full-logo img {
        width: min(480px, 80vw);
    }

    /* FOOTER */
    .main-footer {
        min-height: auto;
        padding: 70px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px 32px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-socials {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 32px, 1100px);
    }

    .section {
        padding: 70px 0;
    }

    /* NAVBAR */
    .navbar {
        width: min(100% - 28px, 1100px);
        padding: 16px 0;
    }

    .nav-links {
        gap: 12px 18px;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 8px 90px;
    }

    .logo_short img {
        width: 72px;
    }

    /* HERO */
    .hero {
        min-height: 82vh;
        background-position: 60%;
    }

    .section-label {

        letter-spacing: 2px;
        margin-bottom:30px;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 12vw, 3.5rem);
        line-height: 1.05;
    }



    h2 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    /* ABOUT */
    .image-placeholder {
        height: 420px;
    }


    /* SERVICES */
    .service-content h3 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .service-photo {
        height: 230px;
    }

    .service-short-list li,
    .service-content p {
        font-size: 0.95rem;
    }

    /* BIG PHOTO */
    #big-photo-section {
        min-height: 65vh;
    }

    /* GALLERY */
    .editorial-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
    }

    .gallery-large,
    .gallery-wide,
    .gallery-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-intro {
        font-size: 0.95rem;
    }

    /* TESTIMONIALS */
    .testimonials-slider {
        min-height: 980px;
    }
    .testimonial-card {
        min-height: auto;

    }


    .testimonial-card {
        padding: 30px 24px;
        min-height: auto;
        max-height: 300px;
    }

    .testimonial-card p {
        font-size: 1.18rem;
    }

    /* CONTACT */
    .contact-info h2 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .contact-form {
        padding: 28px 20px;
    }
    .contact-form button{
        font-size: clamp(.8rem, 3vw, 2rem);
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-logo {
        width: 135px;
    }
}










/* GALLERY PAGE */

.gallery-page {
    background-color: var(--white);
    padding: 120px 0;
}

.gallery-page-header {
    max-width: 820px;
    margin: 0 auto 80px;
    text-align: center;
}

.gallery-page-header h1 {
    margin: 0 auto 28px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--black);
}

.gallery-page-header p {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
}

/* główna siatka */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    grid-auto-flow: dense;
    gap: 22px;
}

/* pojedyncze zdjęcie */
.gallery-page-photo {
    overflow: hidden;
    background-color: #f5f5f5;
    margin: 0;
}

.gallery-page-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.gallery-page-photo:hover img {
    transform: scale(1.06);
}

/* rytm galerii — różne wielkości kafelków */
.gallery-page-photo:nth-child(1),
.gallery-page-photo:nth-child(11),
.gallery-page-photo:nth-child(23),
.gallery-page-photo:nth-child(35) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-page-photo:nth-child(6),
.gallery-page-photo:nth-child(16),
.gallery-page-photo:nth-child(27),
.gallery-page-photo:nth-child(38) {
    grid-column: span 2;
}

.gallery-page-photo:nth-child(4),
.gallery-page-photo:nth-child(14),
.gallery-page-photo:nth-child(21),
.gallery-page-photo:nth-child(31) {
    grid-row: span 2;
}

.gallery-page-photo:nth-child(9),
.gallery-page-photo:nth-child(19),
.gallery-page-photo:nth-child(29) {
    grid-column: span 2;
    grid-row: span 2;
}



.gallery-img-16 img {
    object-position:center;
}

.gallery-img-5 img {
    object-position: top;
}
.gallery-img-13 img {
    object-position: center;
}
.gallery-img-19 img {
    object-position: top;
}
.gallery-img-1 img {
    object-position: top center;
}






@media (max-width: 900px) {
    .gallery-page {
        padding: 90px 0;
    }

    .gallery-page-header {
        margin-bottom: 60px;
    }

    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
        gap: 14px;
    }

    .gallery-page-photo:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-page-photo:nth-child(1),
    .gallery-page-photo:nth-child(8),
    .gallery-page-photo:nth-child(15),
    .gallery-page-photo:nth-child(22),
    .gallery-page-photo:nth-child(29),
    .gallery-page-photo:nth-child(36) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-img-9 img {
        object-position:center 35%;

    }

    .gallery-img-13 img {
        object-position: center 20%;
    }

    .gallery-img-14 img {
        object-position: center 30%;
    }

    .gallery-img-18 img {
        object-position: center 30%;
    }
    .gallery-img-21 img {
        object-position: center 30%;
    }

    .gallery-img-23 img {
        object-position: center 30%;
    }

}

@media (max-width: 600px) {
    .gallery-page {
        padding: 75px 0;
    }

    .gallery-page-header {
        margin-bottom: 45px;
    }

    .gallery-page-header h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .gallery-page-header p {
        font-size: 0.95rem;
    }

    .gallery-page-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 330px;
        gap: 16px;
    }

    .gallery-page-photo:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }


    .gallery-img-1 img {
        object-position: center 25%;
    }
}









/* OFFER PAGE */

.offer-page {
    background-color: var(--white);
    padding: 120px 0;
}

.offer-page-header {
    max-width: 840px;
    margin: 0 auto 90px;
    text-align: center;
}

.offer-page-header h1 {
    margin: 0 auto 28px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1;
    color: var(--black);
}

.offer-page-header p {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
}

.offer-page-list {
    display: grid;
    gap: 34px;
}

.offer-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 42px;

    padding: 54px;
    border: 1px solid rgba(201, 162, 39, 0.25);
    background-color: #fff;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.offer-card-featured {
    background-color: #faf7ef;
}

.offer-number {
    font-family: "Italiana", serif;
    font-size: 3.4rem;
    line-height: 1;
    color: var(--gold);
}

.offer-card-content h2 {
    margin-bottom: 22px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1;
    color: var(--black);
}

.offer-card-content p {
    max-width: 820px;
    margin-bottom: 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.9;
    color: #555;
}

.offer-card-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 34px;

    padding: 0;
    margin: 0;
    list-style: none;
}

.offer-card-content li {
    position: relative;
    padding-left: 24px;

    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.offer-card-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
}

.offer-page-cta {
    max-width: 760px;
    margin: 100px auto 0;
    padding: 70px 50px;

    text-align: center;
    background-color: var(--black);
    color: var(--white);
}

.offer-page-cta h2 {
    color: var(--white);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 24px;
}

.offer-page-cta p {
    color: #d8d8d8;
    max-width: 580px;
    margin: 0 auto 34px;
    font-family: "Montserrat", sans-serif;
    line-height: 1.8;
}



@media (max-width: 900px) {
    .offer-page {
        padding: 90px 0;
    }

    .offer-page-header {
        margin-bottom: 60px;
    }

    .offer-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 42px 32px;
    }

    .offer-number {
        font-size: 2.8rem;
    }

    .offer-card-content ul {
        grid-template-columns: 1fr;
    }

    .offer-page-cta {
        margin-top: 70px;
        padding: 56px 32px;
    }
}

@media (max-width: 600px) {
    .offer-page {
        padding: 75px 0;
    }

    .offer-page-header h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .offer-page-header p,
    .offer-card-content p,
    .offer-card-content li {
        font-size: 0.95rem;
    }

    .offer-card {
        padding: 34px 24px;
    }

    .offer-page-cta {
        padding: 48px 24px;
    }
}



.thank-you h1{
    margin-left: auto;
    margin-right: auto;
}








