/*
Theme Name: Rezerviraj Dalen za pivu
Author: Webilum d.o.o.
Description: Osobna stranica s kalendarom za pivu, zahtjevima i odobravanjem putem e-maila.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rezerviraj-dalen-za-pivu
*/
:root{--paper:#f7f5ed;--green:#173b2e;--gold:#d9a536;--line:#d6d9cc;--muted:#627367;--white:#fffef9;--darkgold:#926500;--radius:10px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--green);font-family:"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b97800;outline-offset:4px}button,input{border-radius:5px}img{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.06;letter-spacing:-.045em}h1,h2{font-family:"Arial Black","Segoe UI",sans-serif;font-weight:900}h2{font-size:clamp(2.4rem,4vw,4rem);margin-bottom:0}h3{font-size:1.25rem;letter-spacing:-.025em;line-height:1.3}svg{flex-shrink:0}.site-header,.hero,.booking-section,.how-section,.closing-note,.site-footer{max-width:1440px;margin:auto;padding-left:5.55%;padding-right:5.55%}
.site-header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:900;font-size:1.3rem;line-height:.96;letter-spacing:-.04em}.brand-small{display:block;font-size:.7rem;letter-spacing:.15em;margin-top:6px}.site-header nav{display:flex;gap:38px;align-items:center;font-size:.875rem;font-weight:650}.nav-info{text-decoration:none}.nav-info:hover{text-decoration:underline}.nav-cta{padding:10px 20px;border:1px solid var(--green);border-radius:5px;text-decoration:none}.nav-cta:hover{background:var(--green);color:var(--paper)}
.hero{display:grid;grid-template-columns:1.12fr 1fr;gap:7%;padding-top:68px;padding-bottom:64px;align-items:center}.eyebrow{font-family:Consolas,"Courier New",monospace;font-size:.75rem;line-height:1.6;font-weight:700;letter-spacing:.06em}.hero .eyebrow{display:flex;gap:10px;align-items:center;margin-bottom:25px}.mini-line{display:inline-block;width:22px;height:2px;background:var(--green);flex-shrink:0}.hero h1{font-size:clamp(3.5rem,6.35vw,6rem);line-height:.99;letter-spacing:-.065em;margin-bottom:26px}.gold-word{color:var(--darkgold)}.hero-description{font-size:1.0625rem;max-width:430px;color:#405c4b;line-height:1.65;margin-bottom:26px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:54px;padding:14px 22px;font-size:.9375rem;font-weight:700;letter-spacing:-.01em;text-decoration:none;border:1px solid transparent;border-radius:5px;transition:background .15s,transform .15s}.primary{background:var(--green);color:#fffef6}.primary:hover:not(:disabled){background:#285c43;transform:translateY(-1px)}.primary:disabled{background:#cbd2c5;color:#4b5e4d}.hero-footnote{font-size:.8125rem;color:var(--muted);margin:12px 0 37px}.hero-facts{display:flex;gap:28px;padding-top:23px;border-top:1px solid var(--line);max-width:440px}.hero-facts div{display:flex;flex-direction:column;line-height:1.4;position:relative}.hero-facts div+div:before{content:"";position:absolute;left:-15px;top:4px;width:1px;height:30px;background:var(--line)}.hero-facts strong{font-size:.9375rem}.hero-facts span{font-size:.75rem;color:var(--muted)}
.hero-visual{position:relative;min-width:0;padding:0 0 16px;transform:rotate(2deg)}.photo-frame{position:relative;background:var(--green);border:8px solid var(--white);box-shadow:0 10px 30px #183c2e17;overflow:hidden}.hero-photo{width:100%;height:565px;object-fit:cover;object-position:46% 61%}.photo-frame:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#091b13b3);pointer-events:none}.photo-label{position:absolute;z-index:1;bottom:22px;left:22px;color:white;font-family:Consolas,monospace;font-size:.6875rem;letter-spacing:.09em;line-height:1.7}.photo-label strong{font-family:"Segoe UI",sans-serif;font-size:1rem;font-weight:650;letter-spacing:0}.round-stamp{position:absolute;right:-30px;top:30px;width:112px;height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:var(--gold);color:var(--green);font-family:Consolas,monospace;font-weight:700;text-align:center;font-size:.65rem;letter-spacing:.06em;line-height:1.1;transform:rotate(11deg);box-shadow:0 0 0 5px var(--paper)}.round-stamp svg{margin:2px}.photo-note{display:block;font-size:.75rem;text-align:right;margin-top:10px;color:var(--muted);font-family:Consolas,monospace;letter-spacing:-.02em}
.ticker{display:flex;gap:28px;justify-content:center;align-items:center;background:var(--green);color:#f5efd4;min-height:56px;overflow:hidden;white-space:nowrap;padding:12px 20px;font:700 .75rem/1.4 Consolas,monospace;letter-spacing:.07em}.ticker i{font-size:1.4rem;font-style:normal;color:var(--gold)}
.booking-section{padding-top:76px;padding-bottom:70px}.booking-intro{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:34px}.booking-intro .eyebrow{margin-bottom:13px}.booking-intro h2{font-size:clamp(2.5rem,4vw,3.7rem)}.booking-intro>p{max-width:370px;font-size:.9375rem;color:#526b59;margin-bottom:5px}.booking-card{display:grid;grid-template-columns:1.08fr .85fr 1fr;border:1px solid #b9c3b4;border-radius:10px;background:var(--white);box-shadow:0 8px 28px #173b2e04;overflow:hidden}.calendar-panel,.slot-panel,.request-panel{padding:28px 26px}.calendar-panel{border-right:1px solid var(--line)}.slot-panel{border-right:1px solid var(--line)}.request-panel{background:#eff1e8}.step-label{display:flex;align-items:center;gap:10px;font:700 .6875rem/1.4 Consolas,monospace;letter-spacing:.04em;margin-bottom:28px;color:#536d59}.step-label>span{background:#e5eadd;color:var(--green);padding:4px 6px;border-radius:3px}.request-panel .step-label>span{background:#dfe5d5}.month-nav{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:23px}.month-nav h3{font-size:1.125rem;margin:0;text-transform:capitalize;letter-spacing:-.03em}.month-buttons{display:flex;gap:5px}.icon-button{width:32px;height:34px;display:grid;place-items:center;line-height:1;background:transparent;border:1px solid var(--line);color:var(--green);font-size:1.5rem}.icon-button:disabled{opacity:.3}.icon-button:hover:not(:disabled){background:#e7ecdF}.weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.weekdays{margin-bottom:10px;text-align:center;color:var(--muted);font-size:.75rem;font-weight:700}.calendar-days>span,.day{aspect-ratio:1;min-height:35px}.day{border:1px solid transparent;background:transparent;padding:0;position:relative;color:var(--green);font-size:.875rem;font-weight:650}.day.available{background:#edf1e7}.day.available:after{content:"";position:absolute;bottom:4px;left:calc(50% - 1.5px);width:3px;height:3px;border-radius:50%;background:var(--green)}.day:disabled{color:#92998d;text-decoration:line-through;background:#f6f7f2}.day.today{border-color:#7f9881}.day.selected{background:var(--green);color:white}.day.selected:after{background:var(--gold)}.day:hover:not(:disabled){background:#dce6d5}.day.selected:hover{background:var(--green)}.calendar-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:20px;font-size:.6875rem;color:var(--muted)}.calendar-legend span{display:flex;align-items:center;gap:6px}.calendar-legend i{display:inline-block;width:9px;height:9px;border-radius:2px}.legend-free{background:#e0e8d9;border:1px solid #bac7b2}.legend-selected{background:var(--green)}.timezone-label{font-size:.6875rem;color:var(--muted);margin:18px 0 0;line-height:1.5}.calendar-message{font-size:.8125rem;color:#795700;margin-bottom:0}.text-button{background:none;border:0;padding:8px 0;color:var(--green);text-decoration:underline;font-size:.875rem}.slot-panel>h3{margin:0 0 8px;min-height:27px}.slot-hint{font-size:.8125rem;line-height:1.6;color:var(--muted);margin-bottom:20px}.time-slots{display:grid;grid-template-columns:1fr;gap:9px;min-height:173px;align-content:start}.time-slot{border:1px solid #c8d0c0;color:var(--green);min-height:43px;background:var(--white);font-size:.875rem;font-weight:650}.time-slot:hover:not(:disabled){background:#e7eddf;border-color:var(--green)}.time-slot[aria-pressed="true"]{background:var(--green);color:white;border-color:var(--green)}.time-slot:disabled{color:#8d9589;text-decoration:line-through;background:#f1f2ec;border-color:#e0e3d8}.slot-status{font-size:.6875rem;font-weight:400;margin-left:6px}.empty-slots{color:var(--muted);font-size:.875rem;line-height:1.6;margin:0}.little-note{margin-top:24px;padding-top:17px;border-top:1px dashed #ccd4c5;display:flex;align-items:center;gap:12px}.little-note>span{font-size:28px;color:var(--darkgold)}.little-note p{font-size:.75rem;line-height:1.6;color:var(--muted);margin:0}.request-panel h3{font-size:1.25rem;margin-bottom:22px}.request-panel label{display:block;font-size:.8125rem;font-weight:650;margin:16px 0 7px}.request-panel label span{color:var(--muted);font-weight:400;font-size:.75rem}.request-panel input{width:100%;min-height:46px;background:var(--white);border:1px solid #c8cfbf;padding:10px 12px;font-size:.875rem;color:var(--green)}input::placeholder{color:#7e897b}.request-panel .button{width:100%;font-size:.875rem;gap:8px;min-height:51px}.booking-summary{min-height:51px;display:flex;align-items:center;font:700 .75rem/1.5 Consolas,monospace;padding:12px 0;color:var(--green)}.privacy-note{font-size:.6875rem;line-height:1.6;color:#5c705e;margin:13px 0 0}.form-message{font-size:.875rem;line-height:1.5;margin:16px 0 0;white-space:pre-line}.form-message.error{color:#9b3424}.form-message.success{padding:15px;background:#dce7d2;border-left:3px solid var(--green)}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.noscript-note{padding:24px;background:#fbe9c4}.booking-card[aria-busy="true"] .calendar-days{opacity:.5}.booking-card[aria-busy="true"] .day{pointer-events:none}
.how-section{padding-top:55px;padding-bottom:65px;border-top:1px solid var(--line)}.how-heading .eyebrow{margin-bottom:12px}.how-heading h2{font-size:clamp(2rem,3vw,3rem);margin-bottom:38px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}.how-number{font:700 .875rem/1.5 Consolas,monospace;color:var(--darkgold)}.how-grid h3{margin:17px 0 12px;font-size:1.25rem}.how-grid p{color:var(--muted);font-size:.9375rem;margin:0;max-width:310px}.closing-note{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:30px;padding-bottom:30px;display:flex;align-items:center;gap:23px}.closing-note>span{font-size:3.5rem;color:var(--darkgold);line-height:1}.closing-note p{font-size:1.125rem;line-height:1.5;margin:0;letter-spacing:-.02em}.closing-note strong{font-size:1.25rem}.text-link{margin-left:auto;white-space:nowrap;text-underline-offset:5px;font-size:.875rem;font-weight:700}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:29px;padding-bottom:29px;font-size:.75rem;color:var(--muted)}.footer-brand{font-size:.875rem;font-weight:750;letter-spacing:-.03em;color:var(--green);text-decoration:none}.skip-link{position:fixed;top:-80px;left:15px;background:var(--green);color:white;padding:12px 20px;z-index:100000}.skip-link:focus{top:15px}.content-page{max-width:900px;min-height:60vh;margin:auto;padding:70px 25px}.content-page h1{font-size:clamp(2.5rem,6vw,4rem)}.content-page p{margin-bottom:24px}.content-page img{height:auto}.content-page article{margin-bottom:50px}[hidden]{display:none!important}
@media(min-width:1600px){.site-header,.hero,.booking-section,.how-section,.closing-note,.site-footer{padding-left:80px;padding-right:80px}}
@media(max-width:1100px){.hero{gap:5%;padding-top:45px}.hero-photo{height:510px}.hero h1{font-size:clamp(3.5rem,7vw,5rem)}.hero-facts{gap:23px}.hero-facts div+div:before{left:-12px}.calendar-panel,.slot-panel,.request-panel{padding:24px 18px}.booking-card{grid-template-columns:1.1fr .8fr 1fr}.booking-intro>p{max-width:310px}.calendar-legend{gap:8px}.step-label{font-size:.625rem}.request-panel .button{padding:12px 10px}.how-grid{gap:30px}}
@media(max-width:850px){.site-header{height:92px}.hero{grid-template-columns:1.05fr 1fr;gap:6%;padding-top:42px;padding-bottom:48px}.hero .eyebrow{font-size:.625rem;max-width:280px}.hero h1{font-size:clamp(3.1rem,7.5vw,4.7rem)}.hero-description{font-size:.9375rem}.hero-photo{height:480px;object-position:43% 62%}.hero-footnote{margin-bottom:25px}.hero-facts{gap:17px;flex-wrap:wrap}.hero-facts strong{font-size:.8125rem}.hero-facts span{font-size:.625rem}.hero-facts div+div:before{left:-9px}.round-stamp{width:90px;height:90px;right:-18px;top:22px;font-size:.55rem}.photo-label{left:12px;bottom:15px}.photo-label strong{font-size:.8125rem}.booking-intro{display:block}.booking-intro>p{margin-top:20px;max-width:100%}.booking-card{grid-template-columns:1.15fr 1fr}.calendar-panel,.slot-panel,.request-panel{padding:26px}.slot-panel{border-right:0}.request-panel{grid-column:1/-1;border-top:1px solid var(--line)}.request-panel form{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.request-panel label[for="guest-name"]{grid-column:1;grid-row:1;margin-top:0}.request-panel #guest-name{grid-column:1;grid-row:2}.request-panel label[for="guest-email"]{grid-column:2;grid-row:1;margin-top:0}.request-panel #guest-email{grid-column:2;grid-row:2}.booking-summary{grid-column:1;grid-row:3;margin-top:15px}.request-panel .button{grid-column:2;grid-row:3;margin-top:15px}.privacy-note,.form-message{grid-column:1/-1}.how-grid{gap:25px}.how-grid h3{font-size:1.125rem}.how-grid p{font-size:.875rem}.site-footer{flex-wrap:wrap}.site-footer>span:nth-child(2){display:none}}
@media(max-width:600px){.site-header,.hero,.booking-section,.how-section,.closing-note,.site-footer{padding-left:22px;padding-right:22px}.site-header{height:86px}.brand{font-size:1.1rem;gap:8px}.brand svg{width:24px}.brand-small{font-size:.575rem}.nav-info{display:none}.site-header nav{gap:0}.nav-cta{font-size:.75rem;padding:9px 12px}.hero{grid-template-columns:1fr;padding-top:37px;padding-bottom:38px;gap:30px}.hero .eyebrow{font-size:.625rem;max-width:none;margin-bottom:22px}.hero h1{font-size:clamp(3.5rem,13.1vw,5.5rem);margin-bottom:22px;line-height:.98}.hero-description{font-size:1rem;max-width:480px;margin-bottom:22px}.hero .button{min-height:52px}.hero-footnote{font-size:.75rem;margin-top:10px;margin-bottom:27px}.hero-facts{gap:30px;max-width:100%;padding-top:19px}.hero-facts strong{font-size:.875rem}.hero-facts span{font-size:.6875rem}.hero-facts div+div:before{left:-16px}.hero-visual{width:calc(100% - 12px);margin:0 auto;transform:rotate(1.7deg)}.hero-photo{height:430px;object-position:45% 61%}.photo-frame{border-width:6px}.photo-label{bottom:17px;left:17px;font-size:.625rem}.photo-label strong{font-size:.9375rem}.round-stamp{width:96px;height:96px;right:-13px;top:22px;font-size:.575rem}.photo-note{font-size:.6875rem}.ticker{justify-content:flex-start;min-height:49px;gap:20px;font-size:.6875rem}.ticker>span:nth-of-type(n+3),.ticker>i:nth-of-type(n+2){display:none}.booking-section{padding-top:43px;padding-bottom:40px}.booking-intro{margin-bottom:25px}.booking-intro .eyebrow{font-size:.625rem}.booking-intro h2{font-size:2.45rem}.booking-intro>p{font-size:.875rem;margin-top:18px}.booking-intro>p br{display:none}.booking-card{grid-template-columns:1fr}.calendar-panel,.slot-panel,.request-panel{padding:24px 22px;border-right:0}.calendar-panel,.slot-panel{border-bottom:1px solid var(--line)}.request-panel{grid-column:auto;border-top:0}.step-label{margin-bottom:23px;font-size:.6875rem}.month-nav h3{font-size:1.125rem}.icon-button{width:37px;height:37px}.calendar-days{gap:5px}.calendar-days>span,.day{min-height:37px}.calendar-legend{gap:18px;font-size:.75rem}.timezone-label{font-size:.75rem}.time-slots{grid-template-columns:repeat(2,minmax(0,1fr));min-height:auto}.time-slot{min-height:48px;font-size:.875rem;padding:7px}.empty-slots{grid-column:1/-1}.slot-panel>h3{font-size:1.25rem}.slot-hint{font-size:.8125rem}.little-note{margin-top:22px}.little-note p{font-size:.8125rem}.request-panel form{display:block}.request-panel label{font-size:.875rem;margin-top:18px!important}.request-panel label:first-child{margin-top:0!important}.request-panel input{min-height:50px;font-size:1rem}.booking-summary{margin-top:7px;font-size:.8125rem}.request-panel .button{margin-top:0;min-height:54px;font-size:.9375rem}.privacy-note{font-size:.75rem}.how-section{padding-top:35px;padding-bottom:38px}.how-heading .eyebrow{font-size:.625rem}.how-heading h2{font-size:2rem;margin-bottom:30px}.how-grid{grid-template-columns:1fr;gap:24px}.how-grid article{position:relative;padding-left:42px}.how-number{position:absolute;left:0;top:0}.how-grid h3{margin-top:0;margin-bottom:8px;font-size:1.1875rem}.how-grid p{max-width:100%;font-size:.9375rem}.closing-note{padding-top:25px;padding-bottom:25px;gap:16px;flex-wrap:wrap}.closing-note>span{font-size:2.5rem}.closing-note p{font-size:.875rem}.closing-note strong{font-size:1rem}.text-link{margin-left:56px;font-size:.875rem}.site-footer{font-size:.6875rem;padding-top:23px;padding-bottom:23px;gap:14px}.footer-brand{font-size:.8125rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* Keep selected slots readable while hovered; labels wrap independently. */
.time-slot[aria-pressed="true"]:hover:not(:disabled){background:var(--green);color:var(--white)}
.time-slot{white-space:nowrap}.slot-status{display:block;margin:1px 0 0;font-size:.6875rem;line-height:1.3}
