/* ===================================
   GENERAL.CSS
   Vlož do: assets/css/root/general.css
=================================== */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; width: 100%; }
body {
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
    width: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 108px 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}
.section-desc { margin-top: 18px; font-size: 1.05rem; }

/* Dekoratívna čiara */
.divider-line {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--forest-mid));
    margin: 20px auto 0;
    border-radius: 2px;
}
.divider-line.left { margin-left: 0; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(184,136,42,0.40);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-brown {
    background: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}
.btn-brown:hover {
    background: var(--brown-mid);
    border-color: var(--brown-mid);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(59,35,20,0.32);
}
.btn-ghost {
    background: transparent;
    color: var(--brown);
    border-color: var(--brown);
}
.btn-ghost:hover {
    background: var(--brown);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--brown-deep);
    padding: 36px 0;
    border-bottom: 1px solid rgba(212,187,152,0.12);
}
.stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    padding: 16px 48px;
    border-right: 1px solid rgba(212,187,152,0.14);
    flex: 1;
    min-width: 160px;
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.8rem;
    color: rgba(212,187,152,0.58);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-top: 6px;
    display: block;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }
.about-text strong { color: var(--brown); font-weight: 600; }

.about-images {
    position: relative;
    height: 520px;
}
.about-img-main {
    width: 78%;
    height: 84%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 0; left: 0;
}
.about-img-small {
    width: 52%;
    height: 48%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: absolute;
    bottom: 0; right: 0;
    border: 5px solid var(--cream);
}

/* ===== MENU ===== */
.menu-download { margin-bottom: 52px; }
.menu-card-big {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: rgba(212,187,152,0.08);
    border: 1px solid rgba(212,187,152,0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.menu-card-big:hover {
    box-shadow: 0 16px 48px rgba(39,23,9,0.35);
    transform: translateY(-4px);
}
.menu-card-left img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-right {
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.menu-card-right h3 { color: var(--cream); margin-bottom: 14px; font-size: 1.7rem; }
.menu-card-right p { color: rgba(246,239,227,0.7); margin-bottom: 28px; }

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.highlight-card {
    background: rgba(212,187,152,0.07);
    border: 1px solid rgba(212,187,152,0.16);
    border-radius: var(--radius-md);
    padding: 32px 22px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--forest-mid));
    transform: scaleX(0);
    transition: var(--transition);
}
.highlight-card:hover {
    background: rgba(212,187,152,0.13);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(39,23,9,0.35);
}
.highlight-card:hover::before { transform: scaleX(1); }
.hl-icon { font-size: 2.4rem; margin-bottom: 16px; }
.highlight-card h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 10px; }
.highlight-card p { color: rgba(246,239,227,0.65); font-size: 0.92rem; }

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 260px;
    gap: 14px;
    margin-bottom: 36px;
}
.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--cream-warm);
    cursor: pointer;
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(39,23,9,0);
    transition: var(--transition);
}
.gallery-item:hover::after { background: rgba(39,23,9,0.28); }
.gallery-zoom-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    width: 48px; height: 48px;
    background: rgba(246,239,227,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition);
}
.gallery-item:hover .gallery-zoom-icon { transform: translate(-50%, -50%) scale(1); }
.gallery-big { grid-row: span 2; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-more { text-align: center; margin-top: 8px; }

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(27,16,6,0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
    max-width: 92vw; max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    transform: scale(0.92);
    transition: transform 0.35s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lb-close {
    position: absolute; top: 24px; right: 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); font-size: 1.4rem;
    width: 46px; height: 46px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-prev, .lb-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white); font-size: 1.6rem;
    width: 52px; height: 52px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.22); }

/* ===== BEZBARIÉROVOSŤ BANNER ===== */
.barrier-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--forest), var(--forest-mid));
    border-radius: var(--radius-lg);
    padding: 36px 44px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-md);
}
.barrier-icon {
    font-size: 3.2rem;
    flex-shrink: 0;
    background: rgba(255,255,255,0.12);
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.barrier-text h3 {
    color: var(--cream);
    font-size: 1.45rem;
    margin-bottom: 8px;
}
.barrier-text p {
    color: rgba(246,239,227,0.80);
    font-size: 1rem;
    line-height: 1.65;
}

/* ===== EXPERIENCES ===== */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}
.exp-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(59,35,20,0.07);
}
.exp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59,35,20,0.14);
}
.exp-visual { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.exp-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--brown);
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.3;
}
.exp-card p { font-size: 0.88rem; line-height: 1.65; }

.video-wrap {
    text-align: center;
    background: var(--cream-warm);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid rgba(59,35,20,0.09);
}
.video-wrap h3 {
    margin-bottom: 24px;
    font-size: 1.55rem;
    color: var(--brown);
    font-family: var(--display);
}
.nav-video {
    width: 100%; max-width: 760px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== CAREER ===== */
.career-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.career-text h2 { color: var(--cream); margin-bottom: 18px; }
.career-text p { color: rgba(246,239,227,0.75); margin-bottom: 30px; }
.career-detail { display: flex; flex-direction: column; gap: 20px; }
.career-box {
    background: rgba(212,187,152,0.07);
    border: 1px solid rgba(212,187,152,0.14);
    border-radius: var(--radius-md);
    padding: 26px;
    transition: var(--transition);
}
.career-box:hover {
    background: rgba(212,187,152,0.13);
    border-color: rgba(212,187,152,0.25);
    transform: translateX(6px);
}
.career-box h4 {
    color: var(--gold-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    font-family: var(--body);
    font-weight: 600;
}
.career-box p { color: rgba(246,239,227,0.72); font-size: 0.95rem; }
.career-box a { color: var(--gold-light); }
.career-box a:hover { text-decoration: underline; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 56px;
    align-items: start;
}
.contact-block {
    padding: 22px 0;
    border-bottom: 1px solid rgba(59,35,20,0.1);
}
.contact-block:first-child { padding-top: 0; }
.contact-block:last-child { border-bottom: none; }
.contact-block h4 {
    color: var(--forest);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 10px;
    font-family: var(--body);
    font-weight: 600;
}
.contact-block p { font-size: 0.97rem; color: var(--text-muted); line-height: 1.65; }
.contact-block a { color: var(--gold); font-weight: 600; }
.contact-block a:hover { text-decoration: underline; }
.social-link { color: var(--gold); font-weight: 600; }
.social-link:hover { text-decoration: underline; }
.hours-tbl {
    width: 100%; border-collapse: collapse;
    margin-top: 10px; font-size: 0.93rem;
}
.hours-tbl tr { border-bottom: 1px solid rgba(59,35,20,0.08); }
.hours-tbl tr:last-child { border-bottom: none; }
.hours-tbl td { padding: 9px 0; color: var(--text-muted); }
.hours-tbl td:last-child { text-align: right; color: var(--forest); font-weight: 600; }
.contact-map iframe {
    width: 100%; height: 400px; border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.map-cta { margin-top: 18px; text-align: right; }
.small { font-size: 0.83rem !important; opacity: 0.55; margin-top: 8px !important; }

/* ===== PARTNERS ===== */
.partners-row {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center; gap: 44px;
}
.partner-logo {
    max-height: 46px; max-width: 130px;
    object-fit: contain;
    filter: brightness(0) invert(0.6);
    transition: var(--transition);
}
.partner-logo:hover { filter: brightness(0) invert(1); }

/* ===== FOOTER ===== */
footer {
    background: var(--brown-deep);
    color: var(--white);
    padding: 76px 0 32px;
}
.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px 56px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 56px;
    border-bottom: 1px solid rgba(212,187,152,0.1);
}
.footer-logo { height: 50px; margin-bottom: 18px; filter: brightness(0) invert(0.7); }
.footer-brand p { color: rgba(212,187,152,0.5); font-size: 0.93rem; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    color: rgba(212,187,152,0.55); font-size: 0.84rem;
    padding: 7px 14px; border-radius: var(--radius-sm);
    border: 1px solid rgba(212,187,152,0.18); transition: var(--transition);
}
.footer-socials a:hover { color: var(--white); border-color: rgba(212,187,152,0.45); background: rgba(212,187,152,0.08); }
.footer-nav h5, .footer-contact h5 {
    font-family: var(--display); font-size: 1.05rem;
    color: var(--white); margin-bottom: 20px;
}
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav ul a { color: rgba(212,187,152,0.55); font-size: 0.91rem; transition: var(--transition); }
.footer-nav ul a:hover { color: var(--white); padding-left: 4px; }
.footer-contact p { color: rgba(212,187,152,0.55); font-size: 0.91rem; margin-bottom: 10px; }
.footer-contact a { color: rgba(212,187,152,0.72); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1160px;
    margin: 26px auto 0;
    padding: 0 28px;
    text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(212,187,152,0.28); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .about-images { height: 360px; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-grid { grid-template-columns: repeat(2, 1fr); }
    .career-wrap { grid-template-columns: 1fr; gap: 44px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .barrier-banner { padding: 28px 32px; gap: 20px; }
}
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-big { grid-row: span 1; grid-column: span 2; }
    .highlights-grid { grid-template-columns: 1fr 1fr; }
    .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .menu-card-big { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .partners-row { gap: 28px; }
    .video-wrap { padding: 28px 20px; }
    .career-wrap { gap: 36px; }
    .barrier-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
    .barrier-icon { width: 64px; height: 64px; font-size: 2.4rem; }
}
@media (max-width: 480px) {
    .highlights-grid { grid-template-columns: 1fr; }
    .exp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .exp-card { padding: 22px 14px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-big { grid-column: span 1; }
    .stats-row .stat-item { min-width: 50%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .fade-up { opacity: 1; transform: none; }
}