* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #e5e7eb;

    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.85)),
        url('https://images.unsplash.com/photo-1501117716987-c8e1ecb2100f');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* HEADER */

header {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h2 {
    margin: 0;
    font-size: 20px;
}

nav a {
    color: #e5e7eb;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #60a5fa;
}

/* HERO */

.hero {
    
     background-image: url("golo.jpg");

    color: white;
    padding: 140px 20px;
    text-align: center;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #d1d5db;
}

.hero h1, .hero p {
    position: relative;
    z-index: 1;
}

/* SECTIONS */

section {
    padding: 60px 20px;
    text-align: center;
}

/* ROOMS */

.rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
}

.room {
    background: rgba(255,255,255,0.95);
    color: #111827;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.room:hover {
    transform: translateY(-8px) scale(1.02);
}

.room .slider ~ img {
    display: none;
}

/* ===== СЛАЙДЕР ===== */

.slider {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slider img.active {
    opacity: 1;
}

/* КНОПКИ */

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 18px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s;
}

.slider button:hover {
    background: rgba(37, 99, 235, 0.8);
}

.slider .prev { left: 10px; }
.slider .next { right: 10px; }

/* КОНТЕНТ */

.room-content {
    padding: 20px;
    text-align: center;
}

.room-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.size {
    font-weight: bold;
    color: #2563eb;
}

.price {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
}

/* BUTTON */

.btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.btn:hover {
    transform: scale(1.05);
}

/* FOOTER */

footer {
    background: rgba(17, 24, 39, 0.9);
    color: #d1d5db;
    padding: 20px;
    text-align: center;
}

/* MOBILE */

@media (max-width: 768px) {

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    .rooms {
        grid-template-columns: 1fr;
    }
}

/* ===== РЕСТОРАН ===== */

.menu-title {
    text-align: center;
    margin-bottom: 20px;
}

/* кнопки */

.filters {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: rgba(255,255,255,0.85);
    border: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background: #2d6cdf;
    color: white;
}

.filter-btn.active {
    background: #2d6cdf;
    color: white;
}

/* сітка */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* картка */

.menu-card {
    background: rgba(255,255,255,0.95);
    color: #111827;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.menu-card:hover {
    transform: translateY(-5px);
}

/* фото */

.menu-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* контент */

.menu-content {
    padding: 15px;
}

.menu-content h3 {
    margin: 0 0 10px;
}

.menu-content p {
    font-size: 14px;
    color: #4b5563;
}

/* ціна */

.price {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #2563eb;
}

/* ===== РЕСТОРАН FIX ===== */

.menu-section {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-btns {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btns button {
    background: rgba(255,255,255,0.85);
    border: none;
    padding: 10px 16px;
    margin: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.filter-btns button:hover {
    background: #2563eb;
    color: white;
}

.menu-item {
    background: rgba(255,255,255,0.95);
    color: #111827;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.menu-item:hover {
    transform: translateY(-8px);
}

.menu-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-content {
    padding: 15px;
    text-align: center;
}

.menu-content .price {
    margin-top: 10px;
    font-weight: bold;
    color: #2563eb;
}
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}
