/*
Theme Name: Plitvice Mirić Inn
Description: The agreed Plitvice Mirić Inn website design, with local images, editable content and room photo galleries.
Version: 1.1.0
Requires at least: 4.7
Requires PHP: 7.0
Text Domain: plitvice-miric-inn
*/

:root{--forest:#31583c;--forest-dark:#244330;--sage:#e6ebe0;--cream:#f9f6ef;--white:#fffefd;--earth:#3c3029;--muted:#665e53;--line:#ddd9cf;--gold:#c69c62;--sky:#469bc2}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--earth);background:var(--cream);font:16px/1.65 system-ui,-apple-system,Segoe UI,Arial,sans-serif;-webkit-font-smoothing:antialiased}h1,h2,h3,.wordmark{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.025em}h1,h2,h3,p{margin:0 0 16px}h1{font-size:clamp(43px,5.1vw,78px);line-height:1.02;max-width:670px}h2{font-size:clamp(31px,3.7vw,53px);line-height:1.08}h3{font-size:clamp(23px,2vw,30px);line-height:1.14}p{color:var(--muted)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;width:100%;object-fit:cover}svg{display:block}section{scroll-margin-top:78px}.wrap{width:min(1160px,calc(100% - 48px));margin:auto}.smallcap{font-size:11px;letter-spacing:.23em;font-weight:800;text-transform:uppercase;color:var(--forest);margin:0 0 16px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--forest);background:var(--forest);color:#fff;border-radius:7px;font-size:13px;font-weight:700;padding:13px 20px;min-height:45px;transition:.18s}.btn:hover,.btn:focus-visible{background:var(--forest-dark)}.btn-outline{background:transparent;color:var(--forest)}.btn-outline:hover{color:white}.btn-light-outline{background:#0002;border-color:#fff9;color:white}.btn-light-outline:hover{background:#fff;color:var(--forest)}.section{padding:88px 0}.nav{height:83px;position:absolute;top:0;left:0;right:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:0 max(28px,calc((100vw - 1160px)/2));background:linear-gradient(90deg,#fefdf5f5,#fefdf5dc 62%,#fefdf5e0);border-bottom:1px solid #fff5}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand svg{width:56px;height:48px}.wordmark{font-size:19px;color:#332e28;line-height:1.05;letter-spacing:.02em}.nav-links{display:flex;align-items:center;gap:28px;font:600 13px system-ui,-apple-system,Segoe UI,Arial,sans-serif}.nav-links a:not(.btn):hover{text-decoration:underline;text-underline-offset:5px;color:var(--forest)}.nav .btn{padding:10px 17px}.hamburger{display:none;border:0;background:none;font-size:26px;color:var(--forest)}
.hero{position:relative;min-height:690px;background:#425345;overflow:hidden;display:flex;align-items:center}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-position:center 47%;filter:none}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,28,22,.67) 0%,rgba(12,28,22,.50) 28%,rgba(12,28,22,.08) 62%,rgba(12,28,22,0) 100%)}.hero-content{position:relative;z-index:2;color:white;width:min(1160px,calc(100% - 48px));margin:110px auto 0}.hero .smallcap{color:#f8eac8}.hero h1{max-width:660px;text-shadow:0 2px 12px #0005}.hero p{font-size:17px;color:#fff;max-width:540px;text-shadow:0 1px 6px #0008;margin:23px 0 27px}.hero-btns{display:flex;gap:12px;flex-wrap:wrap}.hero .btn{min-width:166px}.hero-foot{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;color:#fffde8;margin-top:43px}.hero-foot span:before{content:'✦';margin-right:8px;color:#e3c58f}
.story{background:var(--cream)}.story-grid{display:grid;grid-template-columns:43% 57%;gap:40px;align-items:center}.story-copy{padding:12px 0}.story-copy p{max-width:405px}.story-img{height:370px;border-radius:4px;box-shadow:0 12px 34px #0001}.subtle-line{display:block;width:52px;height:2px;background:var(--gold);margin:22px 0}.story h2{margin-bottom:15px}.strap{margin-top:24px;color:var(--forest);font-size:13px;font-weight:600}
.breakfast{background:#fff}.breakfast-grid{display:grid;grid-template-columns:48% 52%;align-items:stretch;gap:0}.breakfast-big{height:100%;min-height:510px}.breakfast-right{padding:62px clamp(25px,5vw,72px);display:flex;flex-direction:column;justify-content:center}.breakfast-right p{font-size:15px}.mini-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.mini-gallery img{height:160px;border-radius:4px}.breakfast .smallcap{margin-bottom:12px}
.rooms-section{background:var(--cream)}.room-top{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}.room-top p{max-width:650px}.amenity-strip{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 30px}.amenity-strip span{font-size:12px;color:#4b5948;border:1px solid #d5ded1;background:#edf0e9;padding:7px 12px;border-radius:50px}.room-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:21px}.room-card{overflow:hidden;background:white;box-shadow:0 5px 22px #2319090b;border:1px solid #ece8de;border-radius:6px;display:flex;flex-direction:column}.room-img{height:224px;background:#e1e6dd;object-position:center}.room-inner{padding:21px 22px 23px;display:flex;flex-direction:column;flex:1}.room-inner h3{font:400 22px/1.18 Georgia,serif;margin-bottom:10px}.room-facts{color:#6b675f;font-size:12px;display:flex;flex-wrap:wrap;gap:10px 15px;margin-bottom:11px}.room-desc{font-size:13px;line-height:1.65;margin-bottom:18px}.room-actions{margin-top:auto;display:flex;gap:11px;align-items:center;justify-content:space-between}.room-actions button{background:none;border:0;color:var(--forest);font-size:13px;font-weight:750;padding:8px 0}.room-actions a{font-size:12px;color:var(--forest);font-weight:700}.room-actions button:hover{text-decoration:underline}
.explore{position:relative;background:#1d392c;color:white;min-height:295px;display:flex;align-items:center;overflow:hidden}.explore img{position:absolute;inset:0;height:100%;filter:saturate(1.1)}.explore:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071b13db,#0a2414a9 49%,#102c0f40 100%)}.explore-content{z-index:2;position:relative;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:54px 0}.explore h2,.explore p{color:white}.explore p{margin-bottom:0}.explore .smallcap{color:#f5dba4}.explore .btn{white-space:nowrap}
.location{background:#ecf1e8}.location-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:50px;align-items:center}.location h2{color:#293f31}.location p{color:#3b5041}.location-box{padding:26px;border:1px solid #cddacb;background:#fafcf8;border-radius:10px;box-shadow:0 9px 30px #1a3c1a0a}.place{border-bottom:1px solid #e1e8de;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;font-size:14px}.place:last-child{border:0}.place a{font-size:12px;color:var(--forest);font-weight:750;white-space:nowrap}.place a:hover{text-decoration:underline}.loc-pills{margin-top:24px;display:flex;flex-wrap:wrap;gap:8px}.loc-pills span{border:1px solid #c8d4c5;color:#385341;font-size:12px;border-radius:5px;padding:7px 9px}
.contact{background:var(--cream)}.contact-grid{display:grid;grid-template-columns:42% 1fr;gap:60px;align-items:start}.contact h2{max-width:390px}.contact-info{margin-top:30px;font-size:14px;line-height:2}.contact-info a{color:var(--forest)}.enquiry{background:#fff;border:1px solid #ebe5d9;border-radius:8px;padding:28px;box-shadow:0 15px 38px #161c110b}.enquiry h3{margin-bottom:20px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:#615e55;font-weight:750}.field input,.field textarea,.field select{width:100%;border:1px solid #dcded6;border-radius:4px;background:white;color:#272727;min-height:45px;padding:10px 12px;font-size:14px}.field textarea{min-height:94px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #86a683;outline-offset:1px}.form-note{font-size:12px;margin-top:15px;color:#776f65}.form-status{color:#2c6841;font-size:13px;margin:6px 0 0}.form-buttons{margin-top:20px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.footer{background:#2f4d37;color:#f8f2e8;padding:26px 0}.foot-grid{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:12px}.footer p{color:#e8e6df;font-size:12px;margin:0}
.modal{position:fixed;inset:0;background:#091b11c7;display:none;align-items:center;justify-content:center;z-index:100;padding:22px}.modal.open{display:flex}.modal-panel{background:#fff;width:min(960px,100%);max-height:92vh;overflow:auto;border-radius:10px;position:relative;display:grid;grid-template-columns:54% 46%}.modal-images{min-height:380px;background:#f0f2ee;display:flex;flex-direction:column}.modal-main{width:100%;height:395px;object-fit:cover}.modal-thumbs{display:flex;gap:6px;overflow-x:auto;padding:10px}.modal-thumbs button{border:2px solid transparent;background:none;padding:0;flex-shrink:0}.modal-thumbs button.active{border-color:var(--forest)}.modal-thumbs img{width:82px;height:58px}.modal-copy{padding:48px 32px 30px}.modal-copy p{font-size:14px}.modal-close{position:absolute;right:10px;top:10px;background:white;border:1px solid #ddd;border-radius:50%;width:40px;height:40px;z-index:4;font-size:23px}.modal-badges{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.modal-badges span{font-size:12px;padding:7px 10px;background:#edf2ea;border-radius:4px}.modal-copy .btn{margin-top:14px}
@media(max-width:950px){.room-grid{grid-template-columns:repeat(2,1fr)}.story-grid{gap:24px}.breakfast-right{padding:38px}.nav-links{gap:15px}.nav{padding:0 24px}.location-grid{gap:28px}}
@media(max-width:700px){.nav{height:70px;padding:0 17px}.brand svg{width:48px;height:40px}.wordmark{font-size:16px}.hamburger{display:block}.nav-links{display:none;position:absolute;top:70px;left:0;right:0;background:#fcfbf5;flex-direction:column;align-items:stretch;gap:0;padding:12px 21px 22px;box-shadow:0 12px 30px #0002}.nav-links.open{display:flex}.nav-links a{padding:10px 0}.nav-links .btn{margin-top:10px}.hero{min-height:690px}.hero-photo{object-position:54% center}.hero:after{background:linear-gradient(90deg,#0b241be0,#0b241b71 85%)}.hero-content{margin:90px auto 0}.hero h1{font-size:clamp(38px,9vw,58px)}.hero p{font-size:15px}.hero-foot{margin-top:30px;gap:8px 20px}.wrap{width:calc(100% - 36px)}.section{padding:62px 0}.story-grid,.breakfast-grid,.location-grid,.contact-grid{grid-template-columns:1fr}.story-img{height:280px}.breakfast-big{min-height:0;height:330px}.breakfast-right{padding:35px 22px 42px}.mini-gallery img{height:123px}.room-grid{grid-template-columns:1fr}.room-img{height:245px}.room-top{display:block}.explore-content{display:block}.explore .btn{margin-top:22px}.location-grid{gap:23px}.contact-grid{gap:22px}.enquiry{padding:20px}.fields{grid-template-columns:1fr}.field.full{grid-column:1}.footer .foot-grid{display:block}.modal-panel{grid-template-columns:1fr}.modal-main{height:260px}.modal-images{min-height:0}.modal-copy{padding:24px}.modal{padding:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}


/* WordPress integration */
body.admin-bar .nav{top:32px}body.pmi-interior .nav{position:relative}.pmi-page{min-height:60vh;padding:70px 0}.pmi-page article{max-width:900px}.pmi-page .entry-content a{text-decoration:underline}.pmi-page .entry-content img{max-width:100%;height:auto}.pmi-page .post-navigation{margin:30px 0}.pmi-skip{position:absolute;left:15px;top:-90px;z-index:9999;background:white;padding:12px}.pmi-skip:focus{top:15px}@media(max-width:782px){body.admin-bar .nav{top:46px}}
.pmi-hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.enquiry{position:relative}.form-buttons .btn[disabled]{opacity:.7;cursor:wait}
