/*
Theme Name: Bazen Shop
Theme URI: https://cloudharbour.co
Author: CloudHarbour.co
Author URI: https://cloudharbour.co
Description: Moderna 3D landing WordPress tema za Bazen Shop Čapljina, s linkom prema WooCommerce shopu na shop.bazenshop.ba.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: bazen-shop
*/

:root {
  --navy: #071d4f;
  --navy-2: #0b2f75;
  --blue: #0ba7e9;
  --cyan: #47d5ff;
  --aqua: #dff8ff;
  --white: #ffffff;
  --text: #17315f;
  --muted: #617398;
  --glass: rgba(255, 255, 255, .74);
  --line: rgba(255,255,255,.38);
  --shadow: 0 30px 80px rgba(3, 29, 75, .18);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(71,213,255,.42), transparent 28%),
    radial-gradient(circle at 95% 12%, rgba(11,167,233,.22), transparent 30%),
    linear-gradient(145deg, #eefbff 0%, #f7fdff 38%, #e8f7ff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7,29,79,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,29,79,.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  top: 9%;
  right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48,199,255,.48), transparent 66%);
  filter: blur(12px);
  pointer-events: none;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 14px;
  z-index: 50;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 18px 46px rgba(7, 29, 79, .12);
  backdrop-filter: blur(18px);
  border-radius: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 168px; height: auto; margin: -22px 0 -26px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nav a:hover { transform: translateY(-2px); background: rgba(11, 167, 233, .10); }
.nav-shop { background: var(--navy) !important; color: #fff !important; box-shadow: 0 12px 24px rgba(7,29,79,.22); }

.nav-toggle { display: none; border: 0; background: var(--navy); border-radius: 14px; width: 48px; height: 44px; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: white; margin: 5px 0; border-radius: 10px; transition: transform .2s ease, opacity .2s ease; }

.section-pad { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; }
.hero { min-height: 760px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 46px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 999px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 16px 0 22px;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .91;
  letter-spacing: -0.08em;
  max-width: 850px;
}
h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}
h3 { color: var(--navy); font-size: 1.36rem; margin-bottom: 12px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.33rem); line-height: 1.68; color: var(--muted); max-width: 660px; }

.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid rgba(255,255,255,.7);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: 0 18px 42px rgba(7,29,79,.27); }
.btn-soft { color: var(--navy); background: rgba(255,255,255,.72); box-shadow: 0 15px 34px rgba(11,167,233,.13); backdrop-filter: blur(12px); }
.btn-light { color: var(--navy); background: rgba(255,255,255,.92); }
.hero-info { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-info span {
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.7);
  font-weight: 700;
  color: #2d4675;
}

.hero-visual { position: relative; min-height: 620px; perspective: 1200px; }
.floating-card {
  position: absolute;
  inset: 52px 36px 22px 48px;
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.55));
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.9);
  transform: rotateX(9deg) rotateY(-14deg) rotateZ(2deg);
  transform-style: preserve-3d;
  padding: 24px;
  animation: floatCard 6s ease-in-out infinite;
  backdrop-filter: blur(22px);
}
.phone-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 32px;
  border: 1px solid rgba(11,167,233,.18);
  pointer-events: none;
}
.phone-top { display: flex; gap: 8px; margin-bottom: 16px; }
.phone-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(11,167,233,.28); }
.phone-card img { width: 76%; margin: -18px auto -4px; }
.water-panel {
  position: relative;
  overflow: hidden;
  height: 270px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.75), transparent 20%),
    linear-gradient(145deg, #0ba7e9 0%, #025ca3 100%);
  box-shadow: inset 0 18px 48px rgba(255,255,255,.26), inset 0 -24px 50px rgba(0,0,0,.16);
}
.water-panel::before {
  content: "";
  position: absolute;
  inset: -60px -35px auto;
  height: 210px;
  background: rgba(255,255,255,.24);
  border-radius: 45%;
  transform: rotate(-8deg);
}
.water-line {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 84px;
  height: 4px;
  border-radius: 10px;
  background: rgba(255,255,255,.58);
}
.water-wave {
  position: absolute;
  width: 160%;
  height: 150px;
  left: -30%;
  bottom: -58px;
  border-radius: 45%;
  background: rgba(255,255,255,.22);
  animation: wave 7s linear infinite;
}
.bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 28px rgba(255,255,255,.45); }
.b1 { width: 44px; height: 44px; left: 54px; top: 160px; }
.b2 { width: 24px; height: 24px; left: 145px; top: 128px; }
.b3 { width: 34px; height: 34px; right: 60px; top: 96px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.mini-grid div { padding: 17px; border-radius: 22px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.75); }
.mini-grid strong { display: block; color: var(--navy); }
.mini-grid small { color: var(--muted); font-weight: 700; }

.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 180px; height: 180px; right: 0; top: 10px; background: radial-gradient(circle, rgba(71,213,255,.76), rgba(71,213,255,.02)); }
.orb-two { width: 120px; height: 120px; left: 20px; bottom: 28px; background: radial-gradient(circle, rgba(7,29,79,.22), transparent); }
.glass-badge {
  position: absolute;
  z-index: 3;
  padding: 16px 19px;
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 18px 40px rgba(7,29,79,.13);
  font-weight: 900;
  color: var(--navy);
  backdrop-filter: blur(16px);
}
.badge-one { left: 2px; top: 150px; transform: rotate(-8deg); }
.badge-two { right: 8px; bottom: 130px; transform: rotate(6deg); }

.trust-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 24px 64px rgba(7,29,79,.12);
  backdrop-filter: blur(20px);
}
.trust-strip div { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.56); }
.trust-strip strong { display: block; color: var(--navy); font-size: 1.05rem; }
.trust-strip span { display: block; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.section-head { max-width: 780px; margin: 0 auto 38px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.section-head .eyebrow { justify-content: center; }
.section-head.compact { margin-bottom: 24px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  min-height: 252px;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 18px 48px rgba(7,29,79,.08);
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-8px) rotateX(4deg); box-shadow: 0 26px 60px rgba(7,29,79,.13); }
.icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, #e8faff, #c9f3ff); font-size: 1.6rem; margin-bottom: 22px; }
.service-card p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: stretch; }
.split-card, .stats-card, .map-card, .notice-card, .cta-inner {
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(7,29,79,.10);
  backdrop-filter: blur(20px);
}
.split-card { padding: clamp(28px, 6vw, 58px); background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(255,255,255,.48)); }
.split-card p { color: var(--muted); font-size: 1.08rem; line-height: 1.78; }
.inline-link { color: var(--blue); font-weight: 900; }
.stats-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(7,29,79,.96), rgba(11,47,117,.9));
  color: white;
}
.stats-card div { padding: 24px; border-radius: 26px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); }
.stats-card strong { display: block; font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.05em; }
.stats-card span { display: block; margin-top: 5px; color: rgba(255,255,255,.7); font-weight: 800; }

.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.map-card, .notice-card { padding: clamp(26px, 5vw, 46px); background: rgba(255,255,255,.66); }
.map-pin { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(135deg, var(--navy), var(--blue)); font-size: 2rem; margin-bottom: 18px; box-shadow: 0 16px 34px rgba(7,29,79,.2); }
.map-card p, .notice-card p { color: var(--muted); line-height: 1.75; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.social-row a { padding: 13px 16px; border-radius: 999px; color: white; background: var(--navy); font-weight: 900; }

.cta { padding-top: 34px; }
.cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 8vw, 76px);
  text-align: center;
  background:
    radial-gradient(circle at 16% 20%, rgba(71,213,255,.5), transparent 24%),
    linear-gradient(135deg, #071d4f, #0b3b8b 55%, #0ba7e9);
  color: white;
}
.cta-inner::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 180px;
  left: 50%;
  bottom: -130px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  animation: wave 8s linear infinite;
}
.cta-inner .eyebrow, .cta-inner h2, .cta-inner p { color: white; position: relative; z-index: 1; }
.cta-inner p { max-width: 630px; margin: 0 auto; opacity: .82; font-size: 1.1rem; line-height: 1.7; }
.contact-actions { justify-content: center; position: relative; z-index: 1; }

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 22px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 18px 48px rgba(7,29,79,.08);
}
.site-footer > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { width: 150px; margin: 0; }
.site-footer p { margin: 0; color: var(--muted); font-weight: 700; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; }
.footer-links a { padding: 10px 12px; border-radius: 999px; background: rgba(11,167,233,.1); color: var(--navy); font-weight: 800; }

.builder-credit {
  width: min(1180px, calc(100% - 32px));
  margin: -6px auto 24px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 29, 79, .94);
  color: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 42px rgba(7,29,79,.16);
  font-size: .95rem;
  font-weight: 800;
}
.builder-credit a {
  color: white;
  font-weight: 950;
}
.builder-credit .dot {
  color: rgba(71,213,255,.9);
}

@keyframes floatCard {
  0%, 100% { transform: rotateX(9deg) rotateY(-14deg) rotateZ(2deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateY(-10deg) rotateZ(1deg) translateY(-14px); }
}
@keyframes wave {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .hero-visual { min-height: 560px; }
  .trust-strip, .cards, .split, .location-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { top: 10px; }
  .brand-logo { width: 138px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 20px 50px rgba(7,29,79,.14);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { text-align: center; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section-pad { padding: 64px 0; }
  .hero { gap: 20px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .hero-info { display: grid; }
  .hero-visual { min-height: 470px; }
  .floating-card { inset: 36px 10px 20px 10px; padding: 18px; border-radius: 34px; transform: none; }
  .phone-card img { width: 88%; }
  .water-panel { height: 220px; }
  .glass-badge { font-size: .88rem; }
  .badge-one { top: 112px; left: -4px; }
  .badge-two { bottom: 98px; right: -2px; }
  .trust-strip, .cards, .location-grid { grid-template-columns: 1fr; }
  .trust-strip { margin-top: -28px; }
  .mini-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .footer-logo { width: 132px; }
  .footer-links { justify-content: flex-start; }
  .builder-credit {
    border-radius: 24px;
    padding: 16px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition: none !important; }
}


/* CloudHarbour branding */
.made-by {
  width: min(1180px, calc(100% - 32px));
  margin: -8px auto 28px;
  padding: 14px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  text-align: center;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 14px 38px rgba(7,29,79,.08);
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
  backdrop-filter: blur(18px);
}
.made-by strong,
.made-by a {
  color: var(--navy);
  font-weight: 950;
}
.made-by a:hover {
  color: var(--blue);
}
.admin-bar .site-header {
  top: 46px;
}
