/* BODY */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #0e0e0e;
    color: #e5e5e5;
}

/* HEADER - logo na środku, przyciski po prawej */
header {
    background-color: #151515;
    padding: 10px 40px;
    display: flex;
    justify-content: center; /* logo na środku */
    align-items: center;
    border-bottom: 1px solid #333;
    position: relative; /* umożliwia pozycjonowanie przycisków */
}

.logo img {
    height: 120px;
}

nav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 18px;
}

nav a {
    color: #e5e5e5;
    text-decoration: none;
    font-weight: 600;
}

.btn {
    background-color: #FFD1DC;
    color: #000;
    padding: 8px 14px;
    border-radius: 5px;
}

.btn-login {
    background-color: transparent;
    color: #FFD1DC;
    border: 1px solid #FFD1DC;
}

.btn-menu {
    background-color: #ffffff;
    color: #000;
    padding: 8px 14px;
    border-radius: 5px;
}

/* BLOK ZDJĘCIE + KONTAKT */
.center-box {
    max-width: 1000px;
    margin: 80px auto;
    display: flex;
    gap: 20px;
}

.half-box {
    width: 50%;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* ZDJĘCIE Z MGŁĄ */
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-box .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ciemniejsze ranty, jaśniejszy środek */
 background: radial-gradient(circle, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%);
    pointer-events: none; /* nie blokuje kliknięć */
}

/* KONTAKT */
.contact-box {
    background-color: #151515;
    padding: 30px;
    box-sizing: border-box;
}

.contact-box h2 {
    font-family: 'Playfair Display', serif;
    color: #c9a24d;
    margin-bottom: 20px;
}

.contact-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-box li {
    padding: 8px 0;
    font-size: 16px;
}

/* MENU */
.menu-section {
    padding: 60px 30px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.menu-section h2 {
    font-family: 'Playfair Display', serif;
    color: #c9a24d;
    margin-bottom: 40px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.menu-card {
    background-color: #151515;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #333;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(201,162,77,0.3);
}

.menu-card h3 {
    color: #c9a24d;
    margin-bottom: 10px;
}

.menu-card span {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

/* STOPKA */
footer {
    background-color: #000;
    text-align: center;
    padding: 15px;
    color: #777;
}

/* === NAGŁÓWKI === */
h1, h3 {
    color: #FFD1DC;
    text-shadow: 0 0 12px #FFD1DC;
    margin-bottom: 20px;
}

/* === DUŻY KAFEL ZDJĘCIOWY === */
.hero-tile {
    position: relative;
    width: 90%;
    max-width: 1100px;
    height: 500px;
    margin: 60px auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
}

/* === SLIDER === */
.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* === SUBTELNY KAFEL KONTAKTU === */
.contact-tile {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 15, 25, 0.85);
    backdrop-filter: blur(6px);
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    color: #fff;
    min-width: 260px;
}

.contact-tile h3 {
    margin-bottom: 10px;
    color: #FFD1DC;
    text-shadow: 0 0 10px #FFD1DC;
    text-align: center;
}

.contact-tile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-tile li {
    margin: 6px 0;
    font-size: 1rem;
    text-align: center;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
    .hero-tile {
        height: 300px;
    }

    .contact-tile {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        bottom: 20px;
        width: 85%;
    }
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    background: #0e0e0e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* KÓŁKO */
.spinner {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(255,255,255,0.2);
    border-top: 6px solid #FFD1DC;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ukrycie strony do czasu załadowania */
body.loading {
    overflow: hidden;
}
