:root {
    --bg: #0b0d10;
    --text: #f3f5f7;
    --nav: rgba(8, 10, 13, 0.76);
    --card: rgba(255,255,255,0.08);
    --accent: #71d46b;
    --border: rgba(255,255,255,0.12);
    --input-bg: #ffffff;
    --input-text: #111;
}
body.modern2026-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(0,0,0,.46), rgba(0,0,0,.72)),
        var(--hero-bg, url('../uploads/hero_modern2026.svg')) center / cover no-repeat fixed;
}
body.modern2026-page::after {
    content: "";
    position: fixed;
    inset: -10%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(70,200,90,0.09), transparent 20%),
        radial-gradient(circle at 80% 40%, rgba(255,255,255,0.05), transparent 20%);
    animation: floatBg 14s ease-in-out infinite alternate;
}
@keyframes floatBg {
    0% { transform: translate3d(0,0,0) scale(1); }
    100% { transform: translate3d(1.5%,-1.5%,0) scale(1.04); }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    background: var(--nav);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
}

.brand-title {
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.navbar a,
.nav-item > span {
    color: #fff;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: block;
}

.navbar a:hover,
.nav-item > span:hover,
.hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hamburger {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.nav-item {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: rgba(15, 16, 18, 0.96);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
}

.nav-item:hover .submenu {
    display: block;
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.section,
.card {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 24px;
    background: var(--card);
}

.section-light {
    background: rgba(255,255,255,0.96);
    color: #202124;
}

.section-dark {
    background: rgba(9, 10, 13, 0.82);
    color: #f4f5f7;
}

.hero {
    min-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 16px 56px;
}

.hero .inner {
    max-width: 860px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.6rem);
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: .06em;
}

.hero-subtitle {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(60, 140, 255, 0.85);
    color: #fff;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 28px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
}

.btn.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
}

.kicker {
    text-transform: uppercase;
    letter-spacing: .20em;
    font-size: .82rem;
    text-align: center;
    opacity: .72;
}

.title-modern {
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-transform: uppercase;
    letter-spacing: .08em;
    text-align: center;
    margin: 10px 0 14px;
}

.lead-modern {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 34px;
    line-height: 1.8;
    opacity: .86;
}

.two-col-menu,
.grid-2,
.events-grid,
.gallery-grid,
.contact-grid,
.admin-grid {
    display: grid;
    gap: 22px;
}

.two-col-menu,
.grid-2,
.contact-grid {
    grid-template-columns: 1fr 1fr;
}

.events-grid {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-grid img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.menu-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,.10);
    padding: 14px 0;
}

.section-dark .menu-line {
    border-bottom-color: rgba(255,255,255,.10);
}

.menu-name {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.menu-desc {
    grid-column: 1 / 2;
    line-height: 1.65;
    opacity: .78;
}

.menu-price {
    font-weight: 800;
}

.event-card,
.contact-card {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}

.section-light .event-card,
.section-light .contact-card {
    border-color: rgba(0,0,0,.08);
    background: rgba(0,0,0,.03);
}

.map-frame {
    width: 100%;
    height: 340px;
    border: 0;
    border-radius: 20px;
}

.notice {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    background: rgba(255,255,255,.08);
}

.mobile-label {
    display: none;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--input-text);
    font-size: 16px;
    margin-top: 6px;
    margin-bottom: 14px;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.15);
}

.admin-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #131518;
    color: #fff;
    padding: 22px;
}

.admin-sidebar a {
    display: block;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    color: #fff;
}

.admin-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 18px;
    width: 100%;
}

.admin-panel {
    max-width: 1120px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 24px;
}

.admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-span-2 {
    grid-column: 1 / -1;
}

.admin-actions,
.admin-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-box {
    width: 100%;
    max-width: 520px;
    background: rgba(255,255,255,.94);
    color: #111;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.10);
    padding: 28px;
}

.rt-editor-wrap {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 6px 0 14px;
    background: #fff;
}

.rt-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    background: rgba(0,0,0,.03);
    border-bottom: 1px solid var(--border);
}

.rt-toolbar button,
.rt-toolbar select {
    border: 1px solid #d6d6d6;
    background: #fff;
    color: #111;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.rt-editor {
    min-height: 220px;
    padding: 12px;
    background: #fff;
    color: #111;
    outline: none;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .two-col-menu,
    .grid-2,
    .events-grid,
    .contact-grid,
    .admin-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

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

    .nav-item {
        width: 100%;
    }

    .submenu {
        position: static;
        display: block;
        border: 0;
        background: transparent;
        padding: 0 0 0 12px;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .wrap {
        padding: 0 12px 28px;
    }

    .section,
    .card,
    .admin-panel {
        padding: 18px;
    }

    table {
        min-width: 0;
    }

    .mobile-cards table,
    .mobile-cards thead,
    .mobile-cards tbody,
    .mobile-cards th,
    .mobile-cards td,
    .mobile-cards tr {
        display: block;
        width: 100%;
    }

    .mobile-cards thead {
        display: none;
    }

    .mobile-cards tr {
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 10px;
        margin-bottom: 12px;
    }

    .mobile-cards td {
        border: 0;
        padding: 6px 0;
    }

    .mobile-label {
        display: block;
        font-weight: 700;
        margin-bottom: 4px;
    }
}



body.admin-light-mode .admin-sidebar {
    background: #eceff3;
    color: #111;
}
body.admin-light-mode .admin-sidebar a {
    background: rgba(0,0,0,.06);
    color: #111;
}
body.admin-light-mode .admin-panel {
    background: rgba(255,255,255,.95);
    color: #111;
}


.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.card,
.section,
.event-card,
.contact-card,
.gallery-grid img,
.menu-line,
.btn {
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.card:hover,
.section:hover,
.event-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0,0,0,.12);
}
.gallery-grid img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.menu-line:hover {
    transform: translateX(4px);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
