:root {
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --surface-soft: rgba(246, 249, 235, 0.88);
    --line: rgba(81, 101, 19, 0.14);
    --line-strong: rgba(81, 101, 19, 0.28);
    --text: #1f2b10;
    --muted: #5e6f43;
    --primary: #8eb61e;
    --primary-deep: #5f7f11;
    --accent: #e6cf54;
    --danger: #a64b2d;
    --shadow: 0 18px 48px rgba(73, 93, 14, 0.12);
    --shadow-soft: 0 10px 24px rgba(73, 93, 14, 0.08);
    --radius-xl: 1.75rem;
    --radius-lg: 1.25rem;
    --radius-md: 0.875rem;
    --header-height: 5.75rem;
    --font-xs: 0.8125rem;
    --font-sm: 0.9375rem;
    --font-base: 1rem;
    --font-md: 1.0625rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-top: var(--header-height);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(230, 207, 84, 0.35), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(142, 182, 30, 0.18), transparent 22%),
        linear-gradient(180deg, #fcfef7 0%, #f3f8e3 48%, #eef5d7 100%);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: var(--primary-deep);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: #486108;
}

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(252, 254, 247, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(81, 101, 19, 0.1);
}

.header-inner,
.site-shell {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.375rem;
    justify-content: space-between;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    min-width: 0;
    justify-content: center;
}

.brand-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.brand-logo {
    display: block;
    width: 3.375rem;
    height: 3.375rem;
    object-fit: contain;
    flex: 0 0 auto;
}
.burger-con {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    
}
.eyebrow {
    margin: 0;
    font-size: var(--font-xs);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(31, 43, 16, 0.55);
}

.brand-title {
    font-size: var(--font-xl);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
}

.desktop-nav {
    display: none;
}

.desktop-nav ul {
    align-items: center;
}

.site-nav a:not(.admin-link-card) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.625rem;
    padding: 0 1rem;
    border-radius: 999px;
    color: var(--text);
    font-size: var(--font-base);
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:not(.admin-link-card):hover,
.site-nav a:not(.admin-link-card):focus-visible {
    background: rgba(142, 182, 30, 0.12);
    color: #2f4505;
    transform: translateY(-1px);
}

.desktop-auth {
    display: none;
}

.login-form,
.user-panel {
    width: 100%;
}

.compact-login {
    display: grid;
    grid-template-columns: 140px 140px auto;
    gap: 0.625rem;
    align-items: center;
}

.inline-user-panel {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted);
    font-weight: 700;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3125rem;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border-radius: 1rem;
}

.admin-plus-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #ed7261, #dd6e64);
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 12px 8px rgba(169, 45, 34, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-plus-link:hover,
.admin-plus-link:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(169, 45, 34, 0.3);
}

.menu-toggle span {
    display: block;
    width: 1.375rem;
    height: 0.125rem;
    border-radius: 999px;
    background: #183100;
}

.mobile-panel,
.admin-panel {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + 0.75rem);
    right: max(12px, calc((100vw - 1180px) / 2));
    z-index: 999;
    width: max-content;
    max-width: min(30rem, calc(100vw - 24px));
    max-height: calc(100vh - var(--header-height) - 1.5rem);
    overflow-y: auto;
     --shadow: none;
}

.mobile-panel.is-open,
.admin-panel.is-open {
    display: block;
}

.mobile-panel-inner,
.admin-panel-inner {
    width: max-content;
    min-width: min(22rem, calc(100vw - 24px));
    max-width: min(30rem, calc(100vw - 24px));
    margin: 0;
    display: grid;
    gap: 1.125rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(250, 253, 242, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.admin-panel-welcome {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.admin-panel-grid,
.menu-panel-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
}

.mobile-hero,
.login-box,
.mobile-nav {
    padding: 1.375rem;
    border-radius: 1.375rem;
    background: var(--surface);
}

.mobile-nav ul {
    display: grid;
    grid-template-columns: 1fr;
}

.mobile-nav a:not(.admin-link-card) {
    justify-content: flex-start;
    min-height: 3rem;
    padding: 0 0.875rem;
    border-radius: 0.875rem;
    background: rgba(142, 182, 30, 0.08);
}

.login-form,
.auth-actions {
    display: grid;
    grid-template-columns: 1fr;
}

.site-shell {
    padding: 1.75rem 0 3rem;
}

.hero-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) auto;
    gap: 0.5rem;
    align-items: end;
    /*margin-bottom: 1.375rem;*/
    padding: 2.125rem 2.25rem;
    border: 1px solid var(--line);
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(237, 245, 209, 0.82)),
        linear-gradient(120deg, rgba(142, 182, 30, 0.14), rgba(230, 207, 84, 0.12));
    box-shadow: var(--shadow);
}

.hero-copy h1 {
    margin: 0 0 12px;
    /*font-size: clamp(2rem, 4.6vw, 4rem);*/
    line-height: 0.98;
    letter-spacing: -0.04em;
}


.hero-text {
    margin: 0;
    max-width: 46rem;
    font-size: var(--font-base);
    color: var(--muted);
}

.hero-actions,
.auth-actions {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.page-content {
    display: grid;
    gap: 1.125rem;
}

.message-stack {
    display: grid;
    gap: 0.75rem;
}

.zprava,
.content-card,
.login-box,
.mobile-nav {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.zprava {
    margin: 0;
    padding: 1rem 1.125rem;
    border-radius: var(--radius-md);
    background: linear-gradient(90deg, rgba(230, 207, 84, 0.18), rgba(255, 255, 255, 0.92));
    font-weight: 700;
}

.content-card {
    width: 100%;
    padding: clamp(22px, 4vw, 38px);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    line-height: 1.1;
    color: #182b07;
}

h1 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: var(--font-lg);
}

p,
ul,
ol {
    margin: 0 0 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-strong);
}

th,
td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(81, 101, 19, 0.1);
}

th {
    background: rgba(235, 243, 204, 0.8);
    color: #31480b;
    font-size: var(--font-sm);
}

tr:last-child td {
    border-bottom: 0;
}

form {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
textarea,
select {
    width: 100%;
    margin-top: 0.375rem;
    padding: 0.8125rem 0.875rem;
    border: 1px solid rgba(95, 127, 17, 0.18);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

textarea {
    min-height: 10rem;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(142, 182, 30, 0.28);
    border-color: rgba(95, 127, 17, 0.42);
}

button,
input[type="submit"],
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 0.875rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #182b07;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(95, 127, 17, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-color 0.18s ease;
}

button:hover,
button:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
.button-link:hover,
.button-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(95, 127, 17, 0.18);
    filter: saturate(1.03);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    border: 1px solid rgba(81, 101, 19, 0.14);
    box-shadow: none;
    max-width:fit-content;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(235, 243, 204, 0.74);
    box-shadow: none;
}

.danger-link {
    color: var(--danger);
}

input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.625rem;
    accent-color: var(--primary-deep);
}

hr {
    margin: 1.75rem 0;
    border: 0;
    border-top: 1px solid rgba(81, 101, 19, 0.12);
}

.form {
    margin-top: 1rem;
}

.form-editor textarea {
    min-height: 20rem;
}

.EditorKontroler textarea {
    border-width: 2px;
}

.akce-smazat {
    color: var(--danger);
    font-weight: 700;
}

.site-footer {
    padding: 1.5rem 0.5rem 0;
    text-align: center;
    color: var(--muted);
    font-size: var(--font-sm);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    font-weight: 700;
}

.AdministraceKontroler .content-card,
.EditorKontroler .content-card {
    background: linear-gradient(180deg, rgba(255, 253, 224, 0.94), rgba(255, 255, 255, 0.9));
}

.news-feed {
    display: grid;
    gap: 1.5rem;
}

.news-feed-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.125rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.news-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.news-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.news-card-featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1fr);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 209, 0.82));
}

.news-card-full {
    width: 100%;
    grid-template-columns: 1fr;
}

.news-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(142, 182, 30, 0.08);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    display: grid;
    gap: 0.875rem;
    padding: 1.375rem;
}

.news-card-body h2 {
    margin-bottom: 0;
}

.news-card-body p {
    margin: 0;
    color: var(--muted);
}

.news-perex {
    font-weight: 700;
}

.news-card-content {
    display: grid;
    gap: 0.875rem;
    color: var(--text);
}

.news-card-content p,
.news-card-content ul,
.news-card-content ol {
    margin-bottom: 1rem;
}

.news-card-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.news-card-image-wide {
    max-height: 420px;
}

.news-date {
    margin: 0;
    font-size: var(--font-xs);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(31, 43, 16, 0.55);
}

.news-card-actions {
    display: flex;
    flex-direction:row;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.table-actions-cell .news-card-actions {
    justify-content: flex-start;
}

.news-delete-form {
    margin: 0;
}

.news-detail {
    display: grid;
    gap: 24px;
}

.news-detail-head {
    display: grid;
    gap: 14px;
}

.news-detail-body {
    display: grid;
    gap: 16px;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.news-detail-body p,
.news-detail-body ul,
.news-detail-body ol {
    margin-bottom: 1rem;
}

.intro-page {
    display: grid;
    gap: 1.5rem;
}

.intro-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
    gap: 1.25rem;
    align-items: stretch;
}

.intro-side-card,
.intro-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.375rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.intro-feature-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.625rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.125rem;
}

.booking-page {
    display: grid;
    gap: 1.5rem;
}

.admin-view-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.booking-section {
    display: grid;
    gap: 1.125rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(81, 101, 19, 0.12);
    box-shadow: 0 18px 45px rgba(56, 79, 10, 0.08);
}

.booking-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.875rem;
}

.booking-selection-summary {
    display: grid;
    gap: 0.375rem;
    margin-top: 1rem;
    padding: 1rem 1.125rem;
    border: 1px solid rgba(81, 101, 19, 0.12);
    border-radius: 1.125rem;
    background: rgba(255, 255, 255, 0.78);
}

.booking-selection-line {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.booking-method-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.booking-method-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.25rem;
    padding: 0 0.875rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-size: var(--font-sm);
    font-weight: 900;
    border: 1px solid var(--line);
}

.booking-method-legend-item span {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 999px;
}

.booking-method-legend-item.is-method-vosk span {
    background: #a96cff;
}

.booking-method-legend-item.is-method-elektro span {
    background: #24c6c8;
}

.booking-method-legend-item.is-method-laser span {
    background: #f0ce35;
}

.booking-method-clear {
    min-height: 2.25rem;
    padding: 0 0.875rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--danger);
    border: 1px solid rgba(166, 75, 45, 0.24);
    box-shadow: none;
    font-size: var(--font-sm);
}

.booking-service-item {
    display: block;
    cursor: pointer;
}

.booking-service-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.booking-service-card {
    position: relative;
    display: grid;
    gap: 0.625rem;
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: rgba(142, 182, 30, 0.08);
    border: 1px solid rgba(142, 182, 30, 0.14);
    box-shadow: 0 10px 22px rgba(56, 79, 10, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.booking-service-method-summary {
    display: none;
    gap: 0.25rem;
    padding: 0.625rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
}

.booking-service-method-summary > span {
    color: var(--text);
    font-size: var(--font-sm);
    font-weight: 800;
    text-align: center;
}

.booking-service-type {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.booking-service-item:hover .booking-service-card,
.booking-service-item:focus-within .booking-service-card {
    transform: translateY(-2px);
    border-color: rgba(95, 127, 17, 0.3);
    box-shadow: 0 16px 28px rgba(56, 79, 10, 0.12);
}

.booking-service-checkbox:checked + .booking-service-card {
    border-color: rgba(76, 112, 8, 0.48);
    box-shadow: inset 0 0 0 2px rgba(76, 112, 8, 0.16), 0 18px 32px rgba(95, 127, 17, 0.18);
}

.booking-service-item.is-method-vosk .booking-service-card {
    background: linear-gradient(180deg, rgba(169, 108, 255, 0.38), rgba(169, 108, 255, 0.16));
    border-color: rgba(126, 72, 210, 0.58);
}

.booking-service-item.is-method-elektro .booking-service-card {
    background: linear-gradient(180deg, rgba(36, 198, 200, 0.36), rgba(36, 198, 200, 0.14));
    border-color: rgba(21, 146, 150, 0.58);
}

.booking-service-item.is-method-laser .booking-service-card {
    background: linear-gradient(180deg, rgba(240, 206, 53, 0.42), rgba(240, 206, 53, 0.18));
    border-color: rgba(184, 145, 18, 0.58);
}

.booking-service-item.is-type-open .booking-service-method-summary {
    display: grid;
}

.booking-service-checkbox:checked + .booking-service-card .booking-service-name {
    color: #2f4505;
}

.booking-service-image-wrap {
    overflow: hidden;
    border-radius: 1.125rem;
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.72);
}

.booking-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.booking-service-name {
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

.booking-service-meta {
    color: var(--muted);
    font-size: var(--font-sm);
    text-align: center;
}

.booking-calendar-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.125rem;
}

.booking-calendar-subtitle,
.booking-month-caption,
.booking-modal-date,
.booking-empty-state {
    margin: 0;
    color: var(--muted);
}

.booking-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.875rem;
}

.booking-month-arrow {
    width: 2.875rem;
    height: 2.875rem;
    flex: 0 0 2.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(142, 182, 30, 0.12);
    border: 1px solid rgba(81, 101, 19, 0.14);
    color: var(--text);
    font-size: var(--font-lg);
    font-weight: 800;
    text-decoration: none;
}

.booking-month-arrow:hover,
.booking-month-arrow:focus-visible {
    background: rgba(142, 182, 30, 0.2);
    color: #2f4505;
}

.booking-month-caption {
    min-width: 0;
    flex: 1 1 auto;
    text-align: center;
    font-weight: 800;
    color: var(--text);
}

.booking-month-form {
    display: grid;
    gap: 0.375rem;
    min-width: 180px;
}

.booking-month-label {
    font-weight: 700;
    color: var(--text);
}

.booking-calendar-wrap {
    overflow-x: auto;
}

.booking-calendar {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 8px;
    background: transparent;
}

.booking-calendar th {
    text-align: center;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: var(--font-sm);
    padding-bottom: 4px;
}

.booking-calendar td {
    padding: 0;
    border: 0;
    background: transparent;
}

.booking-day-button {
    width: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    padding: 12px 6px;
    border: 1px solid rgba(81, 101, 19, 0.14);
    border-radius: 18px;
    text-align: center;
    color: var(--text);
    background: #fff;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.booking-day-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(56, 79, 10, 0.12);
}

.booking-day-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.booking-day-number {
    display: block;
    width: 100%;
    font-size: clamp(1rem, 2.9vw, 1.2rem);
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.booking-day-status {
    font-size: var(--font-xs);
    color: inherit;
}

.booking-day.is-free .booking-day-button {
    background: rgba(132, 214, 115, 0.2);
    border-color: rgba(80, 165, 61, 0.35);
    color: #215f1f;
}

.booking-day.is-full .booking-day-button,
.booking-day.is-past .booking-day-button {
    background: rgba(244, 109, 109, 0.15);
    border-color: rgba(196, 55, 55, 0.28);
    color: #8e1d1d;
}

.booking-day.is-other-month .booking-day-button {
    opacity: 1;
    background: rgba(146, 153, 135, 0.16);
    border-color: rgba(121, 127, 112, 0.26);
    color: #5f6755;
}

.booking-day.is-today .booking-day-button {
    box-shadow: inset 0 0 0 2px rgba(65, 195, 30, 0.9);
}

.booking-day.is-selected {
    background: linear-gradient(180deg, rgba(186, 225, 70, 0.42), rgba(186, 225, 70, 0.6));
    border-radius: 22px;
    box-shadow: 0 16px 28px rgba(95, 127, 17, 0.16);
}

.booking-day.is-selected .booking-day-button {
    background: transparent;
    border-color: rgba(76, 112, 8, 0.65);
    color: #2f4505;
    box-shadow: inset 0 0 0 2px rgba(76, 112, 8, 0.22);
}

.booking-modal[hidden] {
    display: none;
}

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.booking-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 16, 6, 0.48);
}

.booking-modal-dialog {
    position: relative;
    width: min(780px, calc(100% - 24px));
    margin: 6vh auto 0;
    padding: 24px;
    max-height: 88vh;
    max-height: 88dvh;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.booking-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    font-size: 1.5rem;
    background: rgba(81, 101, 19, 0.08);
    color: var(--text);
    cursor: pointer;
}

.booking-modal-content {
    margin-top: 18px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.booking-modal-content::-webkit-scrollbar {
    display: none;
}

.booking-slots-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: transparent;
    overflow:hidden;
    
}

.booking-slots-table tbody tr {
    display: flex;
    justify-content: center;
    padding:0.2em;
}

.booking-slots-table td,
.booking-slots-table th {
    text-align: center;
    vertical-align: middle;
}

.booking-slots-table th {
    padding: 0 16px 6px;
    background: transparent;
}

.booking-slots-table td {
    width: min(100%, 320px);
    padding: 18px 44px;
    border: 0;
    background: rgba(255, 255, 255, 0.94);
    font-size: 1.25rem;
    font-weight: 700;
}

.booking-slots-table:not(.admin-booking-slots-table) tbody tr td:first-child {
    border-radius: 24px;
}

.booking-slots-table tbody tr.is-free {
    cursor: pointer;
}

.booking-slots-table tbody tr.is-full {
    cursor: default;
}

.booking-slots-table tbody tr.is-free td {
    background: rgba(132, 214, 115, 0.18);
    color: #215f1f;
}

.booking-slots-table tbody tr.is-full td {
    background: rgba(244, 109, 109, 0.14);
    color: #8e1d1d;
}

.booking-slots-table tbody tr.is-clickable:hover td,
.booking-slots-table tbody tr.is-clickable:focus-within td {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(56, 79, 10, 0.12);
    background: rgba(132, 214, 115, 0.28);
}

.booking-slots-table tbody tr.is-selected td {
    background: linear-gradient(180deg, rgba(186, 225, 70, 0.42), rgba(142, 182, 30, 0.24));
    color: #2f4505;
    box-shadow: inset 0 0 0 2px rgba(76, 112, 8, 0.28), 0 18px 30px rgba(95, 127, 17, 0.18);
}

.booking-slots-table tbody tr.is-clickable td {

}

.booking-slot-unavailable {
    color: #8e1d1d;
    font-weight: 700;
}

.booking-confirm-form {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.booking-confirm-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
    filter: none;
}


.admin-booking-day-button {
    /*min-height: 116px;*/
}

.admin-booking-slots-table {
    border-collapse: collapse;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.98);
}

.admin-booking-slots-table tbody tr {
    display: table-row;
    padding: 0;
}

.admin-booking-slots-table td,
.admin-booking-slots-table th {
    display: table-cell;
    width: auto;
    padding: 0.75rem 0.875rem;
    text-align: left;
    vertical-align: top;
    font-size: var(--font-sm);
    font-weight: 600;
    border-bottom: 1px solid rgba(81, 101, 19, 0.1);
    background: transparent;
    white-space: normal;
}

.admin-booking-slots-table th {
    font-size: var(--font-xs);
    font-weight: 800;
    white-space: nowrap;
}

.admin-booking-slots-table td small {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: var(--font-xs);
}

.admin-booking-slots-table td:last-child,
.admin-booking-slots-table th:last-child {
    white-space: nowrap;
}

.clients-table .client-row {
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.clients-table tbody .client-row {
    /*background: rgba(142, 182, 30, 0.12);*/
}

.clients-table tbody .client-row td {
    background: transparent;
}

.clients-table .client-row:hover,
.clients-table .client-row:focus-visible {
    background: rgba(142, 182, 30, 0.18);
}

.admin-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.875rem;
    margin-top: 1.375rem;
}

.admin-link-card {
    display: block;
    padding: 1.125rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: var(--font-md);
    font-weight: 800;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-link-card:hover,
.admin-link-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(95, 127, 17, 0.28);
    box-shadow: 0 16px 28px rgba(56, 79, 10, 0.12);
}

.admin-link-card.is-active,
.admin-link-card.is-active:hover,
.admin-link-card.is-active:focus-visible {
    background: linear-gradient(135deg, rgba(142, 182, 30, 0.95), rgba(230, 207, 84, 0.95));
    border-color: rgba(76, 112, 8, 0.42);
    color: #183100;
    box-shadow: 0 16px 30px rgba(95, 127, 17, 0.18);
}

.admin-link-card.danger {
    color: var(--danger);
}

.admin-form-grid {
    display: grid;
    gap: 1rem;
}

.admin-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.admin-checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.admin-checkbox-line input[type="checkbox"] {
    margin: 0;
}

.admin-form-note {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: var(--font-sm);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.profile-item {
    display: grid;
    gap: 0.375rem;
    padding: 1rem 1.125rem;
    border: 1px solid rgba(81, 101, 19, 0.12);
    border-radius: 1.125rem;
    background: rgba(255, 255, 255, 0.88);
}

.profile-label {
    color: var(--muted);
    font-size: var(--font-sm);
    font-weight: 700;
}

.contact-info-grid,
.contact-hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.contact-info-card,
.contact-hours-item {
    display: grid;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(81, 101, 19, 0.12);
    border-radius: 1.125rem;
    background: rgba(255, 255, 255, 0.88);
}

.contact-hours {
    display: grid;
    gap: 1rem;
}

.contact-map-frame {
    overflow: hidden;
    border: 1px solid rgba(81, 101, 19, 0.12);
    border-radius: 1.375rem;
    background: rgba(255, 255, 255, 0.88);
    min-height: 24rem;
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 24rem;
    border: 0;
}

.schedule-day-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.schedule-toggle-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    pointer-events: none;
}

.schedule-toggle-label {
    margin:0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 0.875rem;
    border: 1px solid rgba(81, 101, 19, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-weight:initial;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}


.schedule-toggle-checkbox:checked + .schedule-toggle-label {
    background: rgba(244, 109, 109, 0.18);
    border-color: rgba(196, 55, 55, 0.35);
    color: #8e1d1d;
}

.booking-submit-button {
    margin-top: 6px;
}

.photo-gallery-dialog {
    width: min(1120px, calc(100% - 24px));
}

.photo-gallery-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.125rem;
    padding-right: 2.5rem;
}

.photo-gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    align-items: center;
}

.photo-gallery-select-all {
    gap: 0.5rem;
}

.photo-gallery-select-all input[type="checkbox"] {
    margin: 0;
}


.photo-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    margin: 0 0.3rem;
    border-radius: 999px;
    background: rgba(95, 127, 17, 0.14);
    color: var(--primary-deep);
    font-size: var(--font-xs);
    font-weight: 800;
}

.photo-gallery-content {
    padding-right: 4px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
}

.photo-card {
    display: grid;
    gap: 0.625rem;
    padding: 0.875rem;
    border: 1px solid rgba(81, 101, 19, 0.14);
    border-radius: 1.375rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.photo-card.is-selected {
    border-color: rgba(76, 112, 8, 0.7);
    background: linear-gradient(180deg, rgba(186, 225, 70, 0.2), rgba(255, 255, 255, 0.96));
    box-shadow: inset 0 0 0 2px rgba(76, 112, 8, 0.22), 0 12px 28px rgba(56, 79, 10, 0.12);
}

.photo-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    position: relative;
}

.photo-card-select {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-weight: 700;
    color: var(--text);
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    padding: 0.375rem 0.625rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(56, 79, 10, 0.12);
}

.photo-card-select input[type="checkbox"] {
    margin: 0;
}

.photo-thumb-button {
    min-height: 0;
    padding: 0;
    border-radius: 1.125rem;
    overflow: hidden;
    box-shadow: none;
    background: rgba(142, 182, 30, 0.08);
    width: 100%;
}

.photo-thumb-button img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 128px;
    object-fit: cover;
}

.photo-card-info {
    display: grid;
    gap: 0.625rem;
    align-content: start;
    min-height: 100%;
    padding-top: 0.375rem;
}

.photo-meta,
.photo-date {
    margin: 0;
    color: var(--muted);
    font-size: var(--font-sm);
}

.photo-note{
   min-height: 2rem; 
   overflow: hidden;
   resize: none;
}

.photo-note-status {
    margin: -4px 0 0;
    min-height: 1.25rem;
    font-size: var(--font-xs);
    font-weight: 700;
    color: var(--muted);
}

.photo-note-status.is-pending {
    color: #7b6809;
}

.photo-note-status.is-saved {
    color: #215f1f;
}

.photo-note-status.is-error {
    color: #8e1d1d;
}

.photo-lightbox-dialog {
    width: min(1000px, calc(100% - 24px));
}

.photo-lightbox-frame {
    margin-top: 0.75rem;
    border-radius: 1.375rem;
    overflow: hidden;
    background: rgba(12, 16, 6, 0.92);
}

.photo-lightbox-frame img {
    display: block;
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    background: rgba(12, 16, 6, 0.92);
}

body.booking-modal-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    html {
        font-size: 17px;
    }

    .desktop-nav {
        display: none;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
    }
}

@media (max-width: 920px) {
    html {
        font-size: 18px;
    }

    :root {
        --header-height: 5.25rem;
    }

    .desktop-auth {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.3125rem;
    }

    .mobile-panel,
    .admin-panel {
        position: fixed;
        inset: var(--header-height) 0 0 0;
        background: rgba(250, 253, 242, 0.96);
        backdrop-filter: blur(18px);
        overflow-y: auto;
        padding: 1.125rem 0 1.75rem;
        width: auto;
        max-width: none;
        max-height: none;
    }

    .mobile-panel.is-open,
    .admin-panel.is-open {
        display: block;
    }

    .mobile-panel-inner,
    .admin-panel-inner {
        width: min(1180px, calc(100% - 24px));
        margin: 0 auto;
        display: grid;
        gap: 1.125rem;
        min-width: 0;
        max-width: min(1180px, calc(100% - 24px));
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .mobile-hero,
    .admin-panel-inner,
    .login-box,
    .mobile-nav {
        padding: 1.375rem;
        border-radius: 1.375rem;
        background: var(--surface);
    }

    .mobile-nav ul {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mobile-nav a:not(.admin-link-card) {
        justify-content: flex-start;
        min-height: 3rem;
        padding: 0 0.875rem;
        border-radius: 0.875rem;
        background: rgba(142, 182, 30, 0.08);
    }

    .login-form,
    .auth-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-banner {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.5rem;
    }

    .news-feed-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-template-columns: 1fr;
    }

    .intro-hero,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .booking-calendar-header {
        flex-direction: column;
        align-items: stretch;
    }

    .booking-services-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.625rem;
    }

    .booking-section {
        padding: 1.25rem;
    }

    .content-card {
        padding: 0.6rem;
    }

    .booking-service-card {
        padding: 0.625rem;
    }

    .photo-gallery-header {
        flex-direction: column;
        padding-right: 0;
    }
}

@media (max-width: 760px) {
    .header-inner,
    .site-shell,
    .mobile-panel-inner {
        width: min(100% - 16px, 1180px);
    }

    .brand-title {
        font-size: var(--font-lg);
    }

    .brand-link {
        gap: 0.625rem;
    }

    .brand-logo {
        width: 2.75rem;
        height: 2.75rem;
    }

    .booking-calendar,
    .booking-calendar thead,
    .booking-calendar tbody,
    .booking-calendar th,
    .booking-calendar td,
    .booking-calendar tr,
    .booking-slots-table,
    .booking-slots-table thead,
    .booking-slots-table tbody,
    .booking-slots-table th,
    .booking-slots-table td,
    .booking-slots-table tr {
        display: revert;
    }

    .booking-calendar th {
        display: table-cell;
    }

    .clients-table,
    .clients-table thead,
    .clients-table tbody,
    .clients-table th,
    .clients-table td,
    .clients-table tr {
        display: revert;
    }

    .clients-table th {
        display: table-cell;
    }

    .clients-table tr {
        margin-bottom: 0;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .clients-table td,
    .clients-table th {
        display: table-cell;
        padding: 0.875rem 1rem;
    }

    .booking-calendar tr,
    .booking-slots-table tr {
        margin-bottom: 0;
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
    }

    .booking-calendar td,
    .booking-slots-table td,
    .booking-slots-table th {
        display: table-cell;
        padding: 0;
    }

    .responsive-table td {
        display: grid;
        grid-template-columns: minmax(110px, 42%) minmax(0, 1fr);
        gap: 0.625rem;
        align-items: start;
        padding: 0.5rem 0.875rem;
        border-bottom: 1px solid rgba(81, 101, 19, 0.08);
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 800;
        color: var(--primary-deep);
    }

    .responsive-table td:last-child {
        border-bottom: 0;
    }

    .responsive-table td form,
    .responsive-table td .news-card-actions,
    .responsive-table td .button-link,
    .responsive-table td button {
        max-width: 100%;
    }

    .responsive-table td .news-card-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .responsive-table td .news-card-actions form {
        width: 100%;
    }

    .responsive-table td .news-card-actions .button-link,
    .responsive-table td .news-card-actions button,
    .responsive-table td form button {
        width: 100%;
    }

    .responsive-table td.table-actions-cell {
        display: block;
        padding: 0.75rem 0.875rem;
    }

    .responsive-table td.table-actions-cell::before {
        content: none;
    }

    .responsive-table td.table-actions-cell .news-card-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .responsive-table td.table-actions-cell .news-card-actions .button-link,
    .responsive-table td.table-actions-cell .news-card-actions button,
    .responsive-table td.table-actions-cell .news-card-actions form,
    .responsive-table td.table-actions-cell form button {
        width: auto;
    }

    .admin-links-grid {
        grid-template-columns: 1fr;
    }

    .photo-card-select {
        display: none;
    }

    .photo-card-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.625rem;
    }

    .photo-thumb-button img {
        max-height: 112px;
    }

    .booking-day-button {
        min-height: 60px;
        padding: 0.5rem 0.25rem;
        gap: 0.375rem;
    }

    .booking-calendar {
        border-spacing: 6px;
    }

    .booking-day-status {
        font-size: var(--font-xs);
    }

    .booking-modal-dialog {
        margin-top: 4vh;
        padding: 1.25rem;
        max-height: 92vh;
        max-height: 92dvh;
    }

    .admin-booking-slots-table,
    .admin-booking-slots-table thead,
    .admin-booking-slots-table tbody,
    .admin-booking-slots-table th,
    .admin-booking-slots-table td
     {
        display: block;
    }

    .admin-booking-slots-table tr {
        margin-bottom: 0.75rem;
        border: 1px solid rgba(81, 101, 19, 0.18);
        border-radius: 1rem;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.98);
    }

    .admin-booking-slots-table thead {
        display: none;
    }

    .admin-booking-slots-table td {
        display: grid;
        grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
        gap: 0.5rem;
        align-items: start;
        width: auto;
        padding: 0.625rem 0.75rem;
        font-size: var(--font-sm);
        line-height: 1.4;
        border-bottom: 1px solid rgba(81, 101, 19, 0.08);
    }

    .admin-booking-slots-table td::before {
        content: attr(data-label);
        font-size: var(--font-xs);
        font-weight: 800;
        color: var(--primary-deep);
    }

    .admin-booking-slots-table td.table-actions-cell {
        display: block;
        padding: 0.75rem;
    }

    .admin-booking-slots-table td.table-actions-cell::before {
        content: none;
    }

    .admin-booking-slots-table td.table-actions-cell .news-card-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
    }

    .admin-booking-slots-table td.table-actions-cell .button-link,
    .admin-booking-slots-table td.table-actions-cell button {
        width: auto;
        min-height: 2.25rem;
        padding: 0 0.75rem;
        font-size: var(--font-xs);
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    th {
        display: none;
    }

    tr {
        margin-bottom: 0.875rem;
        border: 1px solid rgba(81, 101, 19, 0.52);
        border-radius: 1.125rem;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.96);
    }

    td {
        display: block;
        padding: 0.75rem 0.875rem;
    }

    td:last-child {
        border-bottom: 0;
    }
}

/* Uvodni stranka Lume */
.UvodKontroler .content-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.lume-home {
    --home-card: rgba(255, 255, 255, 0.82);
    --home-card-strong: rgba(255, 255, 255, 0.94);
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.4rem);
}

.lume-home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.82fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: stretch;
    padding: clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: clamp(1.5rem, 3vw, 2.5rem);
    background:
        radial-gradient(circle at 10% 15%, rgba(230, 207, 84, 0.38), transparent 24rem),
        radial-gradient(circle at 92% 10%, rgba(142, 182, 30, 0.22), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 213, 0.72));
    box-shadow: var(--shadow);
}

.lume-home-copy,
.lume-story-section,
.lume-section-heading {
    display: grid;
    align-content: center;
    gap: 1rem;
}

.lume-home-copy {
    max-width: 44rem;
    padding: clamp(0.25rem, 2vw, 1.25rem);
}

.lume-home-copy h1,
.lume-story-section h2,
.lume-section-heading h2 {
    margin: 0;
    color: #172707;
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.lume-home-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 6.5vw, 6.5rem);
}

.lume-story-section h2,
.lume-section-heading h2 {
    font-size: clamp(2.3rem, 4.4vw, 4.6rem);
}

.lume-home-copy p,
.lume-story-section p,
.lume-section-heading p,
.lume-service-card p,
.lume-team-card p {
    margin: 0;
    color: var(--muted);
}

.lume-home-copy > p {
    max-width: 39rem;
    font-size: var(--font-lg);
}

.lume-home-visual {
    position: relative;
    min-height: 34rem;
    overflow: hidden;
    border: 1px solid rgba(81, 101, 19, 0.12);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(142, 182, 30, 0.18), rgba(230, 207, 84, 0.18));
    box-shadow: 0 24px 60px rgba(73, 93, 14, 0.16);
}

.lume-home-visual img,
.lume-gallery-item img,
.lume-team-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lume-zoomable-image {
    transition: transform 0.35s ease, filter 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .lume-home-visual:hover .lume-zoomable-image,
    .lume-team-card:hover .lume-zoomable-image {
        transform: scale(1.055);
        filter: saturate(1.05);
    }
}

.lume-home-badge {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    backdrop-filter: blur(14px);
}

.lume-home-badge strong {
    font-size: var(--font-xl);
}

.lume-home-badge span {
    color: var(--muted);
    font-weight: 800;
}

.lume-home-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.lume-service-card,
.lume-story-section,
.lume-team-card,
.lume-section-heading {
    border: 1px solid var(--line);
    border-radius: 1.75rem;
    background: var(--home-card);
    box-shadow: var(--shadow-soft);
}

.lume-service-card {
    position: relative;
    display: grid;
    gap: 0.9rem;
    min-height: 100%;
    padding: clamp(1.25rem, 2.2vw, 1.75rem);
    overflow: hidden;
}

.lume-service-card::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    top: -2.5rem;
    width: 7rem;
    height: 7rem;
    border-radius: 999px;
    background: rgba(230, 207, 84, 0.16);
}

.lume-service-card span {
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(142, 182, 30, 0.16);
    color: var(--primary-deep);
    font-weight: 900;
}

.lume-service-card h2,
.lume-team-card h3 {
    margin: 0;
    color: var(--text);
    line-height: 1.08;
}

.lume-home-gallery {
    display: grid;
    gap: 0.875rem;
    padding: clamp(0.75rem, 2vw, 1rem);
    border: 1px solid var(--line);
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(240, 248, 213, 0.62)),
        rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-soft);
}

.lume-gallery-item {
    flex: 0 0 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: var(--surface-soft);
    aspect-ratio: 21 / 9;
    box-shadow: var(--shadow-soft);
    user-select: none;
}

.lume-carousel-viewport {
    overflow: hidden;
    border-radius: 1.5rem;
    touch-action: pan-y;
}

.lume-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.lume-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.lume-carousel-arrow {
    width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border-radius: 999px;
}

.lume-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lume-carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    min-height: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(95, 127, 17, 0.24);
    box-shadow: none;
}

.lume-carousel-dot.is-active {
    width: 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.lume-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 20, 7, 0.78);
    backdrop-filter: blur(12px);
}

.lume-image-lightbox.is-open {
    display: flex;
}

.lume-image-lightbox img {
    display: block;
    max-width: min(100%, 980px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 1.25rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.lume-image-lightbox button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

.lume-story-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background:
        radial-gradient(circle at 8% 20%, rgba(142, 182, 30, 0.14), transparent 18rem),
        var(--home-card-strong);
}

.lume-story-section > p {
    font-size: var(--font-lg);
}

.lume-team-section {
    display: grid;
    gap: 1rem;
}

.lume-section-heading {
    padding: clamp(1.25rem, 3vw, 2rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(240, 248, 213, 0.66)),
        var(--home-card);
}

.lume-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.lume-team-card {
    display: grid;
    grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    overflow: hidden;
}

.lume-team-card img {
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
}

.lume-team-card div {
    display: grid;
    gap: 0.5rem;
}

@media (max-width: 1100px) {
    .lume-home-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .lume-home-copy h1 {
        max-width: 15ch;
    }

    .lume-home-visual {
        min-height: 30rem;
        order: -1;
    }

    .lume-gallery-item {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 920px) {
    .UvodKontroler .content-card {
        padding: 0;
    }

    .lume-home-hero,
    .lume-home-services,
    .lume-story-section,
    .lume-team-grid {
        grid-template-columns: 1fr;
    }

    .lume-home-hero {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .lume-home-copy {
        padding: 0.25rem;
    }

    .lume-home-copy h1 {
        max-width: 13ch;
        font-size: clamp(2.1rem, 12vw, 3.25rem);
    }

    .lume-story-section h2,
    .lume-section-heading h2 {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    .lume-home-copy > p,
    .lume-story-section > p {
        font-size: var(--font-base);
    }

    .lume-home-visual {
        min-height: 360px;
        border-radius: 1.5rem;
        order: -1;
    }

    .lume-gallery-item {
        aspect-ratio: 4 / 3;
    }

    .lume-team-card {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 0.875rem;
        padding: 0.875rem;
    }

    .lume-service-card,
    .lume-section-heading {
        padding: 1.125rem;
    }
}

@media (max-width: 760px) {
    .lume-home-visual {
        min-height: 300px;
    }

    .lume-home-badge {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }

    .lume-gallery-item {
        aspect-ratio: 1 / 1;
    }

    .lume-team-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }
}
