/* Aurori Booking v1.1 – frontend
   Barve se nastavijo v adminu (Aurori Booking -> Nastavitve -> Videz)
   in se izpišejo kot CSS spremenljivke. Spodaj so le privzete vrednosti. */
.aurori-booking, .aurori-events, .aurori-modal {
	--au-primary: #1f1f1f;   /* gumbi, izbrani dan */
	--au-header: #8d8d8d;    /* vrstica z mesecem */
	--au-dow: #1c1c1c;       /* vrstica z dnevi + glava modala */
	--au-accent: #c9a24b;    /* drobni poudarki */
	--au-ink: #2b2b2b;
	--au-muted: #8b8b8b;
	--au-line: #e7e4df;
	--au-off: #f4f2ef;
	--au-card: #ffffff;
	color: var(--au-ink);
	font-size: 16px;
	line-height: 1.6;
}
.aurori-booking *, .aurori-events *, .aurori-modal * { box-sizing: border-box; }

.aurori-btn {
	display: inline-block;
	background: var(--au-primary);
	color: #fff !important;
	border: 0;
	border-radius: 3px;
	padding: 10px 26px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: opacity .2s ease;
}
.aurori-btn:hover { opacity: .82; }
.aurori-btn:focus-visible { outline: 2px solid var(--au-accent); outline-offset: 2px; }
.aurori-btn--ghost { background: transparent; color: var(--au-primary) !important; border: 1px solid var(--au-primary); }
.aurori-btn--ghost:hover { background: var(--au-primary); color: #fff !important; opacity: 1; }
.aurori-btn--disabled, .aurori-btn[disabled] { background: #d9d6d1; color: #9a978f !important; cursor: default; pointer-events: none; }

.aurori-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

/* ============ KOLEDAR ============ */
.aurori-booking { max-width: 920px; margin: 0 auto; }
.aurori-bkc { border: 1px solid var(--au-line); background: var(--au-card); }

.aurori-bkc__head {
	display: flex; align-items: center; justify-content: space-between;
	background: var(--au-header); color: #fff; padding: 16px 20px;
}
.aurori-bkc__title {
	flex: 1; text-align: center; font-size: 17px; font-weight: 700;
	letter-spacing: .22em; text-transform: uppercase; color: #fff;
}
.aurori-bkc__nav {
	background: none; border: 0; color: #fff; font-size: 26px; line-height: 1;
	cursor: pointer; padding: 0 8px; transition: opacity .2s;
}
.aurori-bkc__nav:hover { opacity: .7; }
.aurori-bkc__nav[disabled] { opacity: .25; cursor: default; }

.aurori-bkc__dow { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--au-dow); }
.aurori-bkc__dow span {
	text-align: center; padding: 12px 0; color: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

.aurori-bkc__days { display: grid; grid-template-columns: repeat(7, 1fr); }
.aurori-day {
	position: relative;
	min-height: 92px;
	border-right: 1px solid var(--au-line);
	border-bottom: 1px solid var(--au-line);
	background: var(--au-off);
	color: #b9b5ae;
	font-size: 17px;
	display: flex; align-items: center; justify-content: center;
	padding: 0; margin: 0; border-radius: 0; border-top: 0; border-left: 0;
	cursor: default;
}
.aurori-bkc__days .aurori-day:nth-child(7n) { border-right: 0; }
.aurori-day.is-avail { background: var(--au-card); color: var(--au-ink); cursor: pointer; transition: background .15s; }
.aurori-day.is-avail:hover { background: #efedf3; }
.aurori-day.is-full { background: var(--au-card); color: #c3bfb8; }
.aurori-day.is-full.is-open { cursor: pointer; }
.aurori-day .n { position: relative; z-index: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.aurori-day.is-selected .n { background: var(--au-primary); color: #fff; }
.aurori-day .dot {
	position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
	width: 5px; height: 5px; border-radius: 50%; background: var(--au-accent);
}
@media (max-width: 640px) {
	.aurori-day { min-height: 54px; font-size: 15px; }
	.aurori-day .n { width: 34px; height: 34px; }
	.aurori-day .dot { bottom: 4px; }
	.aurori-bkc__title { font-size: 14px; letter-spacing: .14em; }
}

/* ============ TERMINI NA VOLJO ============ */
.aurori-slotsbox {
	margin: -14px 18px 0; position: relative; z-index: 2;
	background: var(--au-card); border: 1px solid var(--au-line);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
	padding: 26px 30px 14px;
}
@media (max-width: 640px) { .aurori-slotsbox { margin: 0; padding: 20px 16px 8px; } }
.aurori-slotsbox__title {
	text-align: center; font-size: 19px; font-weight: 700; letter-spacing: .04em;
	margin: 0 0 18px; color: var(--au-ink);
}
.aurori-slotrow {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px 2px; border-top: 1px solid var(--au-line);
}
.aurori-slotrow:first-of-type { border-top: 0; }
.aurori-slotrow__time { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; }
.aurori-slotrow__time svg { width: 17px; height: 17px; stroke: var(--au-ink); flex: 0 0 auto; }
.aurori-slotrow__sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--au-muted); margin-top: 2px; }

/* ============ MODAL ============ */
.aurori-modal {
	position: fixed; inset: 0; z-index: 999999;
	background: rgba(20, 20, 20, .6);
	display: flex; align-items: center; justify-content: center; padding: 16px;
}
.aurori-modal__box {
	background: #f5f4f2; width: 100%; max-width: 480px; max-height: 92vh;
	overflow: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.aurori-modal__head {
	position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
	background: var(--au-dow); color: #fff; padding: 15px 22px; z-index: 2;
}
.aurori-modal__head h3 {
	margin: 0; color: #fff; font-size: 14px; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase;
}
.aurori-modal__close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px; }
.aurori-modal__close:hover { opacity: .7; }
.aurori-modal__body { padding: 24px 26px 26px; }
.aurori-modal__intro { margin: 0 0 12px; color: #555; }
.aurori-modal__slot {
	display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--au-line);
	padding: 15px 18px; margin-bottom: 20px; font-size: 17px;
}
.aurori-modal__slot svg { width: 19px; height: 19px; stroke: var(--au-primary); flex: 0 0 auto; }

/* Obrazec */
.aurori-form { display: grid; gap: 14px; }
.aurori-form label { display: block; font-size: 14px; font-weight: 700; color: var(--au-ink); }
.aurori-form label .req { color: #e05252; }
.aurori-form input:not(.aurori-hp), .aurori-form textarea {
	display: block; width: 100%; margin-top: 6px;
	border: 1px solid #dcd9d4; border-radius: 3px; background: #fff;
	padding: 11px 13px; font-size: 15px; color: var(--au-ink);
}
.aurori-form input:focus, .aurori-form textarea:focus {
	outline: none; border-color: var(--au-primary); box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}
.aurori-form__note { font-size: 13px; color: var(--au-muted); margin: 0; }
.aurori-form .aurori-btn { justify-self: start; }

.aurori-msg { margin-top: 18px; background: #eef5ee; border: 1px solid #cfe3d0; color: #38663f; padding: 14px 18px; }
.aurori-msg.is-error { background: #faeeee; border-color: #ecd2d2; color: #a34d4d; }

/* ============ DOGODKI ============ */
.aurori-events__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.aurori-events__tabs button {
	background: transparent; border: 1px solid var(--au-line); color: var(--au-muted);
	border-radius: 3px; padding: 9px 22px; font-size: 13px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: all .2s;
}
.aurori-events__tabs button:hover { border-color: var(--au-primary); color: var(--au-primary); }
.aurori-events__tabs button.is-active { background: var(--au-primary); border-color: var(--au-primary); color: #fff; }

.aurori-events__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.aurori-events__empty { color: var(--au-muted); font-style: italic; }

.aurori-event {
	background: var(--au-card); border: 1px solid var(--au-line);
	overflow: hidden; display: flex; flex-direction: column;
	transition: box-shadow .25s ease, transform .25s ease;
}
.aurori-event:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.aurori-event.is-hidden { display: none; }
.aurori-event__img { display: block; line-height: 0; }
.aurori-event__img img { width: 100%; height: 210px; object-fit: cover; }
.aurori-event__body { display: flex; gap: 16px; padding: 20px; flex: 1; }
.aurori-event__date {
	flex: 0 0 auto; text-align: center; background: var(--au-off);
	border: 1px solid var(--au-line); padding: 10px 14px; height: fit-content; min-width: 58px;
}
.aurori-event__date .d { display: block; font-size: 24px; font-weight: 700; color: var(--au-primary); line-height: 1.1; }
.aurori-event__date .m { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--au-accent); }
.aurori-event__info { display: flex; flex-direction: column; flex: 1; }
.aurori-event__title { margin: 0 0 4px; font-size: 19px; line-height: 1.3; }
.aurori-event__title a { color: var(--au-ink); text-decoration: none; }
.aurori-event__title a:hover { color: var(--au-primary); }
.aurori-event__meta { font-size: 13px; color: var(--au-muted); margin: 0 0 8px; }
.aurori-event__excerpt { font-size: 14px; color: var(--au-ink); flex: 1; }
.aurori-event__excerpt p { margin: 0 0 8px; }
.aurori-event__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.aurori-event__price { font-size: 18px; font-weight: 700; color: var(--au-primary); }

.aurori-cta {
	margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
	background: var(--au-off); border: 1px dashed var(--au-accent);
	padding: 26px 30px; flex-wrap: wrap;
}
.aurori-cta h3 { margin: 0 0 6px; font-size: 20px; }
.aurori-cta p { margin: 0; color: var(--au-muted); max-width: 560px; }

@media (prefers-reduced-motion: reduce) {
	.aurori-btn, .aurori-event, .aurori-bkc__nav { transition: none; }
	.aurori-event:hover { transform: none; }
}
