/* ========== PODSTAWOWE STYLOWANIE ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    color: #151515;
    background: #fff;
}


/* ========== TOP BAR ========= */
.top-bar {
    text-align: right;
    background: #f4f4f4;
    padding: 6px 20px 6px 0;
    font-size: 14px;
}

/* ========== HEADER + LOGO ========= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
    border-bottom: 1px solid #eaeaea;
}
header.hide {
    transform: translateY(-100%);
}
#logo-area {
    text-align: center;
    padding: 20px;
}
#logo-area h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
}
#logo-area h2 {
    font-weight: 400;
    color: #6b6b6b;
    margin-top: 8px;
    font-size: 18px;
}

/* ========== NAWIGACJA ========= */
nav {
    text-align: center;
    background: white;
    padding: 10px 0;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

/* stan bazowy */
nav button {
    background: transparent;
    color: #151515;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease, transform .1s ease;
}

/* stan aktywnej zakładki */
nav button.active,
nav button.active:focus,
nav button.active:active {
    background: lightgrey;
    color: black;
}

/* interakcje – bez wymuszania szarego tła */
nav button:hover { background: #f1f1f1; }

nav button:focus { outline: none; }                 /* nie zmieniaj tła po focusie */
nav button:focus-visible {                          /* dostępność: obrys zamiast tła */
    outline: 2px solid #151515;
    outline-offset: 3px;
}

nav button:active {                                  /* kliknięcie – brak szarego tła */
    background: transparent;
    transform: scale(0.98);
}



/* ========== SEKCJE ========= */
section {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
}
section img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}
section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
}
section p {
    font-size: 16px;
    color: #333;
}


/* ========== STOPKA ========= */
footer {
    text-align: center;
    border-top: 1px solid #eaeaea;
    padding: 20px;
    color: #6b6b6b;
    margin-top: 60px;
}

.logo-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 0;
}

.logo-aj {
    height: 60px;
    width: auto;
    //border-radius: 50%;
    //box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.logo-text h1 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.logo-text h2 {
    font-size: 14px;
    color: #6b6b6b;
}

/*--------------Animacja napisów--------------------*/
.rotating-captions {
    position: relative;
    display: block;
    max-height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.rotating-captions img {
    width: 100%;
    display: block;
    height: auto;
}

.caption-slide {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 1s ease;
    font-family: 'Inter', sans-serif;
}

.caption-slide.active {
    opacity: 1;
}

/*--------oferta------*/
.oferta-box {
    text-align: center;
    margin: 40px auto;
    max-width: 700px;
}

.oferta-box h3 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.oferta-box ul {
    list-style: disc;
    padding-left: 0;
    display: inline-block; /* sprawi, że lista będzie wyśrodkowana */
    text-align: left;      /* ale punkty będą wyrównane do lewej */
}

.oferta-box li {
    margin: 8px 0;
    font-size: 18px;
}

.home-btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn-home {
    display: inline-block;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 600;
    color: black;
    background: lightgray;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-home:hover {
    background: darkgray;
    color: black;
    transform: translateY(-2px);
}

/* --- Sticky footer --- */
html, body { height: 100%; }
body {
    min-height: 100svh;            /* pełna wysokość ekranu, odporna na paski mobilne */
    display: flex;
    flex-direction: column;
}
main { flex: 1; }                 /* pcha stopkę na dół */
footer { margin-top: auto; }      /* „przyklejenie” do dołu */

/* --- Kontener treści (opcjonalnie, dla ładnego środka) --- */
#container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* --- Ładna, responsywna mapa --- */
.map-embed {
    width: 100%;
    max-width: 980px;
    margin: 16px auto 0;            /* centruje mapę */
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;           /* zachowanie proporcji */
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Przycisk dojazdu (opcjonalny „lift”) --- */
.btn.btn-primary {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    background: lightgray;
    color: black;
    box-shadow: darkgray;
    transition: transform .2s ease, filter .2s ease;
}
.btn.btn-primary:hover {
    filter: brightness(.95);
    transform: translateY(-2px);
}

/* --- Stopka wycentrowana --- */
#stopka {
    text-align: center;
    padding: 18px 20px 28px;
    color: #6b6b6b;
}

/*-------------stylizacja przycisku oferta, kontakt dojazd na zdjeciu------------------*/

/* wspólny wrapper z punktem odniesienia dla overlay */
.image-card,
.image-wrapper {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    max-height: 420px;
}

.image-card img,
.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* przyciski na obrazie */
.hero-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 2;
}

/* opcjonalnie lekki cień pod przyciskami dla czytelności */
.hero-buttons::before {
    content: "";
    position: absolute;
    inset: -20px -40px -20px -40px;
    background: radial-gradient(transparent, rgba(0,0,0,.25));
    z-index: -1;
    pointer-events: none;
}

/* styl przycisku */
.hero-btn {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: black;
    background: whitesmoke;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transition: background .3s ease, transform .2s ease;
    white-space: nowrap;
}
.hero-btn:hover {
    background: lightgray;
    transform: translateY(-3px);
}


/*-------kontakt.html----------*/
.kontakt-box {
    max-width: 500px;
    margin: 60px auto;         /* wyśrodkowanie i trochę od góry */
    text-align: center;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.kontakt-box h3 {
    font-family: "Playfair Display", serif;
    font-size: 50px;
    margin-bottom: 16px;
}

.kontakt-box p {
    margin: 6px 0;
    font-size: 28px;
    color: #333;
}
