/* ================= VARIABLES ================= */
:root {
    --primary-color: #D4AF37;
    --primary-hover: #b5952f;
    --bg-color: #0f1014;
    --surface-color: #1a1c23;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --transition: all 0.3s ease;
}

/* ================= RESET & BASE ================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================= GLOBAL COMPONENTS ================= */
.btn {
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 2px;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out; 
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0); 
}

/* ================= NAVIGATION ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(15, 16, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-light);
}

/* ================= HERO SECTION ================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-content .btn {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* ================= ABOUT SECTION ================= */
section {
    padding: 6rem 5%;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(212, 175, 55, 0.1);
}

/* ================= GALLERY SECTION ================= */
.gallery-section {
    background-color: var(--bg-color);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden; 
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05); 
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 10px; /* Moderní zkratka pro top, right, bottom, left */
    border: 2px solid transparent;
    border-radius: 2px;
    transition: var(--transition);
    pointer-events: none; 
}

.gallery-item:hover::after {
    border-color: rgba(212, 175, 55, 0.4);
}

/* ================= MENU SECTION ================= */
.menu-section {
    background-color: var(--surface-color);
    text-align: center;
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #333;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
}

.menu-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.menu-item.hide {
    display: none;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #333;
    padding-bottom: 0.5rem;
}

.menu-header h3 {
    font-size: 1.3rem;
}

.price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.menu-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================= RESERVATION ================= */
.reservation {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.res-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.res-form input, .res-form select {
    padding: 1rem;
    background-color: var(--surface-color);
    border: 1px solid #333;
    border-radius: 2px;
    outline: none;
}

.res-form input:focus, .res-form select:focus {
    border-color: var(--primary-color);
}

.res-form button {
    grid-column: span 2;
}

.res-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* ================= FOOTER ================= */
footer {
    background-color: #08090b;
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: left;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid #222;
    padding-top: 2rem;
}

.copyright a {
    color: #8b94a2;
    font-weight: bold;
    transition: var(--transition);
}

.copyright a:hover {
    color: var(--primary-color);
}

/* ================= TOAST NOTIFICATION ================= */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--surface-color);
    border-left: 4px solid var(--primary-color);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ================= KEYFRAMES ================= */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--surface-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-container, .res-form {
        grid-template-columns: 1fr;
    }

    .res-form button {
        grid-column: span 1;
    }

    .toast {
        right: 5%;
        left: 5%;
        bottom: 20px;
        justify-content: center;
    }

    .footer-grid {
        text-align: center;
    }
}