html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Raleway', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

.top-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 50px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 1px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar a {
    color: #b59a6d;
    text-decoration: none;
    font-weight: 600;
}

header {
    position: fixed;
    top: 38px;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #222;
    font-weight: 700;
}

nav a {
    text-decoration: none;
    color: #444;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s;
    cursor: pointer;
}

nav a:hover {
    color: #b59a6d;
}

.slider-container {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    margin-top: 95px;
    background: #222;
    cursor: grab;
    touch-action: pan-y;
}

.slides {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.slide-text {
    color: white;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.slider-container .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    cursor: pointer;
    z-index: 100;
    font-size: 20px;
}

.slider-container .arrow:hover {
    background: #b59a6d;
}

.slider-container .arrow.prev {
    left: 20px;
}

.slider-container .arrow.next {
    right: 20px;
}

section.content {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #b59a6d;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.room-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.room-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.room-info {
    padding: 20px;
    text-align: left;
}

.room-info h3 {
    margin: 0;
    color: #2c3e50;
    font-family: 'Playfair Display', serif;
}

.room-info .price {
    color: #e74c3c;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.muted {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 5px;
    display: block;
}

.gallery-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.main-img-container {
    position: relative;
    max-width: 80%;
    width: auto;
    text-align: center;
}

.main-img-container img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 4px;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10005;
}

.nav-btn:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn.prev {
    left: 40px;
}

.nav-btn.next {
    right: 40px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
    color: rgba(255, 255, 255, 0.6);
}

.close-btn:hover {
    color: #fff;
}

.gallery-desc {
    text-align: center;
    margin-top: 25px;
    padding: 0 20px;
    max-width: 800px;
}

/* --- PÄTIČKA --- */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 50px 30px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    font-size: 12px;
    color: #555;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .top-bar {
        padding: 10px 15px;
        flex-direction: column;
        height: auto;
    }

    header {
        top: 85px;
        padding: 15px 20px;
    }

    .slider-container {
        margin-top: 155px;
        height: 45vh;
    }

    .menu-icon {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px 0;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 0;
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .main-img-container {
        max-width: 95%;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        background: rgba(0, 0, 0, 0.3);
    }

    .nav-btn.prev {
        left: 10px;
    }

    .nav-btn.next {
        right: 10px;
    }
}