/*
Theme Name: Island Luxury Services Pag
Theme URI: https://example.com/
Author: OpenAI
Description: Luxury mobile-first multilingual WordPress theme for Island Luxury Services d.o.o. focused on Otok Pag.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: island-luxury-services-pag
*/

:root{
  --bg:#0c0c0c;
  --bg-soft:#111214;
  --text:#f6f1e7;
  --muted:#c9c0b5;
  --gold:#c7a35a;
  --gold-soft:#e0c58c;
  --line:rgba(255,255,255,.12);
  --card:rgba(255,255,255,.04);
  --max:1240px;
  --radius:22px;
  --shadow:0 20px 60px rgba(0,0,0,.35);
}

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

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
  width:100%;
}

body{
  margin:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
}

.site,
.site-header,
main,
section,
footer{
  width:100%;
  max-width:100%;
  overflow-x:clip;
}

img,
svg,
video,
canvas,
iframe{
  max-width:100%;
  height:auto;
  display:block;
}

a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.screen-reader-text{position:absolute;left:-9999px}

.site-header{
  position:sticky;
  top:0;
  z-index:999;
  backdrop-filter:blur(14px);
  background:rgba(12,12,12,.88);
  border-bottom:1px solid var(--line);
}

.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:1 1 auto;
}

.brand > img,
.brand .custom-logo-link img,
.brand .custom-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:10px;
  background:#000;
  padding:2px;
  border:1px solid rgba(199,163,90,.15);
  box-shadow:0 3px 10px rgba(0,0,0,.3);
  flex:0 0 58px;
}

.brand-meta{
  min-width:0;
  overflow:hidden;
}

.brand-title{
  margin:0;
  font-size:13px;
  line-height:1.1;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.brand-sub{
  color:var(--muted);
  opacity:.88;
  font-size:11px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.desktop-nav{display:none}

.lang-dropdown-wrap{
  position:relative;
  flex:0 0 auto;
}

.lang-dropdown{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  min-height:40px;
  width:72px;
  padding:0 28px 0 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:
    linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%) calc(100% - 15px) calc(50% - 3px)/6px 6px no-repeat,
    linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%) calc(100% - 10px) calc(50% - 3px)/6px 6px no-repeat,
    rgba(255,255,255,.03);
  color:var(--text);
}

.menu-toggle{
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.03);
  color:var(--text);
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:0;
  flex:0 0 42px;
}

.menu-toggle .burger,
.menu-toggle .burger::before,
.menu-toggle .burger::after{
  display:block;
  width:18px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .2s ease, opacity .2s ease;
  content:"";
}

.menu-toggle .burger{
  position:relative;
}

.menu-toggle .burger::before{
  position:absolute;
  left:0;
  top:-6px;
}

.menu-toggle .burger::after{
  position:absolute;
  left:0;
  top:6px;
}

.menu-toggle[aria-expanded="true"] .burger{
  transform:rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .burger::before{
  transform:rotate(90deg) translateX(-6px);
  top:0;
}
.menu-toggle[aria-expanded="true"] .burger::after{
  opacity:0;
}

.mobile-panel{
  display:none;
  border-top:1px solid var(--line);
  padding:0 14px 14px;
}

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

.mobile-panel nav ul{
  list-style:none;
  margin:0;
  padding:12px 0 0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mobile-panel nav a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  color:var(--text);
  background:rgba(255,255,255,.03);
}

.cta-mini{
  padding:10px 16px;
  border-radius:999px;
  background:var(--gold);
  color:#111;
  font-weight:700;
}

.hero{
  min-height:100svh;
  position:relative;
  display:flex;
  align-items:flex-end;
  isolation:isolate;
  overflow:hidden;
}

.hero-media,
.hero-overlay{
  position:absolute;
  inset:0;
}

.hero-media{
  background-size:cover;
  background-position:center;
  transform:none;
  will-change:auto;
}

.hero-overlay{
  background:
    linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.54) 45%, rgba(0,0,0,.88) 100%),
    radial-gradient(circle at 70% 10%, rgba(199,163,90,.20), transparent 35%);
}

.hero-content{
  position:relative;
  z-index:1;
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:98px 14px 28px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--gold-soft);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:800;
}

.hero h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,10vw,5.8rem);
  line-height:1.02;
  letter-spacing:-.03em;
  margin:16px 0 14px;
  max-width:900px;
}

.hero p{
  max-width:680px;
  color:#f0e8da;
  font-size:clamp(.98rem,4vw,1.18rem);
  margin:0 0 24px;
}

.hero-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-bottom:22px;
  width:100%;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  width:100%;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--text);
  background:transparent;
  font-weight:700;
  text-align:center;
}

.btn-gold{
  background:var(--gold);
  border-color:var(--gold);
  color:#111;
}

.hero-stats{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  width:100%;
}

.stat{
  padding:14px 16px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
}

.stat strong{display:block;font-size:1.05rem}
.stat span{display:block;color:var(--muted);font-size:13px}

.section{
  max-width:var(--max);
  margin:0 auto;
  padding:58px 14px;
}

.section-head{margin-bottom:22px}

.section-kicker{
  color:var(--gold-soft);
  text-transform:uppercase;
  letter-spacing:.11em;
  font-size:11px;
  font-weight:800;
}

.section-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.8rem,8vw,3.6rem);
  line-height:1.02;
  margin:10px 0 12px;
}

.section-intro{
  color:var(--muted);
  max-width:720px;
  margin:0;
}

.grid{display:grid;gap:14px}
.cards-3{grid-template-columns:1fr}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.card-media{
  aspect-ratio:4/3;
  background-size:cover;
  background-position:center;
}

.card-body{padding:18px}
.card h3{margin:0 0 10px;font-size:1.2rem}
.card p{margin:0;color:var(--muted)}

.inline-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.pill{
  max-width:100%;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background:rgba(255,255,255,.03);
  font-size:14px;
}

.split{
  display:grid;
  gap:14px;
}

.panel{
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.feature-list{display:grid;gap:12px}

.feature{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.feature-mark{
  flex:0 0 36px;
  height:36px;
  border-radius:12px;
  background:rgba(199,163,90,.14);
  border:1px solid rgba(199,163,90,.35);
  display:grid;
  place-items:center;
  color:var(--gold-soft);
  font-weight:900;
}

.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.gallery figure{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  min-height:220px;
  border:1px solid var(--line);
  background:var(--card);
}

.gallery .tall{
  grid-row:auto;
  min-height:260px;
}

.gallery figure div{
  width:100%;
  height:100%;
  min-height:inherit;
  background-size:cover;
  background-position:center;
}

.cover-card{
  min-height:360px;
  border-radius:24px;
  overflow:hidden;
  position:relative;
  border:1px solid var(--line);
}

.cover-card .cover-media,
.cover-card .cover-overlay{
  position:absolute;
  inset:0;
}

.cover-card .cover-media{
  background-size:cover;
  background-position:center;
}

.cover-card .cover-overlay{
  background:linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.78));
}

.cover-card .cover-body{
  position:relative;
  z-index:1;
  padding:20px;
  display:flex;
  align-items:flex-end;
  min-height:360px;
}

.form-wrap{
  display:grid;
  gap:14px;
}

.booking-form{
  display:grid;
  gap:12px;
}

.booking-form input,
.booking-form textarea,
.booking-form select{
  width:100%;
  max-width:100%;
  background:#0f1012;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 15px;
}

.booking-form textarea{
  min-height:120px;
  resize:vertical;
}

.notice{
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:14px;
}

.notice-success{background:rgba(56,142,60,.15);border:1px solid rgba(56,142,60,.35)}
.notice-error{background:rgba(183,28,28,.15);border:1px solid rgba(183,28,28,.35)}

.contact-list{
  display:grid;
  gap:10px;
}

.contact-item{
  padding:14px 15px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  overflow-wrap:anywhere;
}

.site-footer{
  border-top:1px solid var(--line);
  background:#090909;
}

.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:24px 14px 104px;
  display:grid;
  gap:16px;
}

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

.footer-brand img{
  width:48px;
  height:48px;
  border-radius:12px;
  background:#000;
  padding:4px;
  flex:0 0 48px;
}

.footer-grid{
  display:grid;
  gap:14px;
}

.footer-grid h4{
  margin:0 0 8px;
  font-size:14px;
  color:var(--gold-soft);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.footer-grid p,
.footer-grid li,
.footer-grid a{
  margin:0;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.footer-grid ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}

.sticky-bar{
  position:fixed;
  left:10px;
  right:10px;
  bottom:10px;
  z-index:998;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.sticky-bar a{
  min-height:50px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  box-shadow:var(--shadow);
  text-align:center;
  padding:0 10px;
}

.sticky-call{background:#fff;color:#111}
.sticky-wa{background:var(--gold);color:#111}

.entry-content,
.wp-block-group,
.wp-block-columns,
.wp-block-column{
  max-width:100%;
}

.entry-content img{
  height:auto;
}

@media (min-width:640px){
  .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (min-width:768px){
  .header-inner{padding:14px 18px}
  .brand > img,
  .brand .custom-logo-link img,
  .brand .custom-logo{
    width:56px;
    height:56px;
    flex-basis:56px;
  }
  .brand-title{font-size:15px}
  .brand-sub{font-size:12px}
  .lang-dropdown{width:80px}
  .section{padding:72px 18px}
  .cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .split{grid-template-columns:1.1fr .9fr}
  .form-wrap{grid-template-columns:1.05fr .95fr}
  .footer-grid{grid-template-columns:1.2fr .8fr .8fr}
  .hero-stats{grid-template-columns:repeat(4,minmax(0,1fr));max-width:900px}
  .gallery{grid-template-columns:2fr 1fr 1fr}
  .gallery .tall{grid-row:span 2;min-height:372px}
}

@media (min-width:992px){
  .desktop-nav{display:block}
  .desktop-nav ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }
  .desktop-nav a{
    display:inline-flex;
    align-items:center;
    min-height:42px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid transparent;
    color:var(--muted);
  }
  .desktop-nav a:hover{
    border-color:var(--line);
    color:var(--text);
  }
  .header-inner{padding:16px 22px}
  .lang-dropdown{width:88px}
  .menu-toggle{display:none}
  .mobile-panel{display:none!important}
  .sticky-bar{display:none}
  .hero-content{padding:110px 22px 34px}
}


.footer-legal{
  margin-top:4px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.footer-legal a{
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.footer-legal a:hover{
  color:var(--gold-soft);
}


@media (min-width:768px){
  .brand > img,
  .brand .custom-logo-link img,
  .brand .custom-logo{
    width:62px;
    height:62px;
    flex-basis:62px;
  }
}

@media (min-width:992px){
  .brand > img,
  .brand .custom-logo-link img,
  .brand .custom-logo{
    width:64px;
    height:64px;
    flex-basis:64px;
  }
}
