/* ==========================================================
    STYLESHEET
   ========================================================== */

/* ── CUSTOM PROPERTIES (łatwa edycja) ── */
:root {

    --color-primary: #b8860b;        /* złoto — akcenty, przyciski */
    --color-primary-dark: #96700a;   /* ciemniejsze złoto — hover */
    --color-dark: #1a1a1a;           /* prawie czarny — teksty */
    --color-text: #3a3a3a;           /* ciemny szary — body text */
    --color-text-light: #6a6a6a;     /* jasny szary — drobne teksty */
    --color-bg: #faf8f5;             /* ciepły biały — tło strony */
    --color-bg-alt: #f0ebe3;         /* beżowy — tło sekcji alternate */
    --color-white: #ffffff;

    /* Czcionki */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;

    /* Rozmiary */
    --max-width: 1200px;
    --section-padding: 5rem 0;
    --radius: 8px;
    --transition: 0.3s ease;
}

/* ── RESET / BASE ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

/* ── UTILITY ── */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section__title--center {
    text-align: center;
    margin-bottom: 3rem;
}

/* ── BUTTON ── */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* ════════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary) !important;
    letter-spacing: 0.05em;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: var(--color-white) !important;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--color-primary) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* PLACEHOLDER: Zmień url() na ścieżkę do zdjęcia hero */
    background: url('images/img_3.webp') center/cover no-repeat;
}

@media (max-width: 768px) {
    .hero {
        background-image: url('images/img_7.webp');

    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.65) 0%,
        rgba(26, 26, 26, 0.45) 100%
    );
}

.hero__content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    padding-top: 70px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* ════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════ */
.about {
    background-color: var(--color-bg);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image img {
    border-radius: var(--radius);
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 450px;
}

.about__text p {
    margin-bottom: 1rem;
}

.about__text p:last-child {
    margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════ */
.services {
    background-color: var(--color-bg-alt);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;

}

.service-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card__body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.service-card__body p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.service-card__meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-bg-alt);
}

.service-card__duration {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.service-card__price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.05rem;
}

/* ════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════ */
.gallery {
    background-color: var(--color-bg);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery__item {
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery__item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item img {
    cursor: pointer;
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition);
}

.lightbox__close:hover {
    color: var(--color-primary);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(184, 134, 11, 0.8);
    color: var(--color-white);
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background-color var(--transition);
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background-color: var(--color-primary);
}

.lightbox__prev {
    left: -60px;
}

.lightbox__next {
    right: -60px;
}

/* Mobile responsive lightbox buttons */
@media (max-width: 768px) {
    .lightbox__prev {
        left: 10px;
    }

    .lightbox__next {
        right: 10px;
    }

    .lightbox__prev,
    .lightbox__next {
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
    }
}
.contact {
    background-color: var(--color-bg-alt);
}

.contact__phone-wrapper {
    text-align: center;
}

.contact__phone-wrapper > p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.contact__phone {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--color-primary) !important;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    cursor: pointer;
}

.contact__phone:hover {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
}

.contact__phone-hint {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 0.3rem;
    opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 0;
}

.footer__inner {
    text-align: center;
    font-size: 0.9rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__image {
        order: -1;
    }
}

/* Mobile */
@media (max-width: 700px) {
    :root {
        --section-padding: 3.5rem 0;
    }

    .header {
        background-color: rgba(26, 26, 26, 0.92);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Hamburger visible */
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(26, 26, 26, 0.97);
        padding: 2rem 0;
        transform: translateY(-120%);
        visibility: hidden;
        transition: transform var(--transition), visibility var(--transition);
    }

    .nav--open {
        transform: translateY(0);
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
}
