/* ========================================
   Lonkova Caffe - Base Stylesheet
   Shared styles for all pages
   ======================================== */

:root {
    /* Rezavé tóny - z textury pultu */
    --rust-dark: #3D3235;
    --rust-medium: #5C4A48;
    --rust-light: #8B6B63;
    --rust-warm: #C4936E;

    /* Zelené tóny - rostliny */
    --leaf-dark: #2D4A3E;
    --leaf-medium: #4A7C59;
    --leaf-light: #6B9B7A;
    --sage: #9CAF88;

    /* Měděná/oranžová - akcenty */
    --copper-dark: #8B4513;
    --copper: #B86B42;
    --copper-light: #C4744A;
    --copper-glow: #D4845A;

    /* Neutrální */
    --cream: #F8F4ED;
    --cream-dark: #EDE4D8;
    --paper: #FFFDF8;
    --blush: #E8D5C4;
    --gold-soft: #D4AF37;
    --white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(92, 74, 58, 0.08);
    --shadow-md: 0 4px 16px rgba(92, 74, 58, 0.12);
    --shadow-lg: 0 8px 32px rgba(92, 74, 58, 0.16);

    /* Radius */
    --radius: 16px;
    --radius-sm: 12px;

    /* Fonts */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito', -apple-system, sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--rust-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Textury */
.texture-paper {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(248, 244, 237, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(62, 39, 35, 0.08);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.nav-col {
    display: flex;
    align-items: center;
}

.nav-col-left {
    justify-content: flex-start;
}

.nav-col-center {
    justify-content: center;
}

.nav-col-right {
    justify-content: flex-end;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    height: 86px;
    transition: height 0.4s ease;
}

.logo img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    transition: opacity 0.4s ease, height 0.4s ease;
}

.logo .logo-full {
    height: 86px;
    opacity: 1;
}

.logo .logo-b {
    height: 86px;
    opacity: 0;
}

header.scrolled .logo {
    height: 45px;
}

header.scrolled .logo .logo-full {
    height: 45px;
    opacity: 0;
}

header.scrolled .logo .logo-b {
    height: 45px;
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--paper);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

header.scrolled .nav-links a {
    color: var(--rust-medium);
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-soft);
    transition: width 0.3s ease;
}

header.scrolled .nav-links a::after {
    background: var(--leaf-medium);
}

.nav-links a:hover {
    color: var(--gold-soft);
}

header.scrolled .nav-links a:hover {
    color: var(--leaf-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 2px;
    background: var(--paper);
    transition: all 0.3s ease;
}

header.scrolled .mobile-menu span {
    background: var(--rust-dark);
}

.btn-reservation {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    background: var(--copper);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-reservation:hover {
    background: var(--copper-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(184, 107, 66, 0.3);
}

header.scrolled .btn-reservation {
    background: var(--copper);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--rust-dark);
    color: var(--paper);
}

.btn-primary:hover {
    background: var(--rust-medium);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(62, 39, 35, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--paper);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: var(--paper);
    color: var(--rust-dark);
    border-color: var(--paper);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== SECTIONS GENERAL ========== */
section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--leaf-medium);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--rust-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--rust-light);
    font-size: 1.1rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--rust-dark);
    color: var(--blush);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--paper);
    margin-bottom: 1.2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 70px;
    width: auto;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--rust-warm);
    font-style: italic;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.6rem;
}

.footer-links a,
.footer-contact a {
    color: var(--blush);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--copper-light);
}

.footer-contact li {
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blush);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-social a:hover {
    background: var(--copper);
    color: var(--paper);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--rust-light);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE - BASE ========== */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(62, 39, 35, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--rust-medium);
        text-shadow: none;
    }

    .mobile-menu {
        display: flex;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
}
