/*
Theme Name: Satori Kiara Premium
Theme URI: https://satorikiara.com
Description: Šatori Kiara – Najam šatora i opreme za događanja
Version: 3.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --gold: #c9a96e;
  --dark: #1a1f2e;
  --light: #eef5fb;
  --white: #ffffff;
  --text: #2d3142;
  --muted: #6b7280;
  --whatsapp: #25D366;
  --radius: 12px;
  --shadow: 0 8px 40px rgba(0,0,0,0.10);
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.2; }

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 76px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--dark); letter-spacing: 0.02em; }
.logo-tagline { font-family: 'Jost', sans-serif; font-size: 0.65rem; font-weight: 400; color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; }
.footer-slogan { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.95rem; color: var(--gold); margin-top: 10px; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

/* Instagram ikona — mala, inline u nav */
.nav-insta {
  display: flex;
  align-items: center;
  transition: var(--transition);
  line-height: 0;
}
.nav-insta:hover { transform: scale(1.15); }
.nav-insta::after { display: none !important; }
.nav-insta svg { width: 20px; height: 20px; }

/* Gumb "Zatražite ponudu" u headeru */
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.78rem !important;
  box-shadow: 0 3px 14px rgba(201,169,110,0.35);
  transition: var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #b8935a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.45) !important;
  color: var(--white) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Menu overlay za mobitel */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 997;
}
.menu-overlay.open { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://satorikiara.com/wp-content/uploads/2025/09/pexels-photo-32854452.jpeg');
  background-image: image-set(
    url('https://satorikiara.com/wp-content/uploads/2025/09/pexels-photo-32854452.webp') type('image/webp'),
    url('https://satorikiara.com/wp-content/uploads/2025/09/pexels-photo-32854452.jpeg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,31,46,0.48) 0%,
    rgba(26,31,46,0.20) 55%,
    rgba(26,31,46,0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.5);
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== GUMBI ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
}
.btn-primary:hover {
  background: #b8935a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,169,110,0.45);
}

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: #2d3556;
  transform: translateY(-2px);
}

/* ===== OPĆE SEKCIJE ===== */
.section { padding: 96px 24px; }
.section-white { background: var(--white); }
.section-light { background: var(--light); }
.section-dark { background: var(--dark); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  color: var(--dark);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.75;
}

.section-header { margin-bottom: 56px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== O NAMA SEKCIJA (početna) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img:hover img { transform: scale(1.03); }

.about-text .section-title { font-size: 2.2rem; }
.about-text p { color: var(--muted); margin-bottom: 14px; font-weight: 300; }

/* ===== SLIKE ŠATORA (horizontalni niz) ===== */
.photos-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photo-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-item:hover img { transform: scale(1.05); }

/* Velika + mala kombinacija */
.photos-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 480px;
}
.photos-featured .photo-main {
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photos-featured .photo-main img,
.photos-featured .photo-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photos-featured .photo-main:hover img,
.photos-featured .photo-side:hover img { transform: scale(1.04); }
.photos-featured .photo-side {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== ZAŠTO MI ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,169,110,0.3);
}

.why-icon {
  width: 48px; height: 48px;
  background: rgba(201,169,110,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.why-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.55); font-size: 0.93rem; font-weight: 300; line-height: 1.7; }

/* ===== USLUGE GRID (stranica /usluge) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: var(--transition);
  display: block;
  color: var(--text);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.13);
}

.service-card-img { aspect-ratio: 4/3; overflow: hidden; }
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.07); }

.service-card-body { padding: 18px 20px 22px; }
.service-card-body h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 7px; }
.service-card-body p { font-size: 0.87rem; color: var(--muted); font-weight: 300; margin-bottom: 12px; line-height: 1.6; }

.service-card-link {
  font-family: 'Jost', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ===== KONTAKT / FORMA ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { font-size: 2.2rem; }
.contact-info p { color: var(--muted); font-weight: 300; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--gold);
}

.contact-item a { color: var(--text); font-weight: 400; transition: var(--transition); }
.contact-item a:hover { color: var(--gold); }
.contact-item span { color: var(--muted); font-weight: 300; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--light);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* ===== CTA BANER ===== */
.cta-banner {
  background: var(--dark);
  border-radius: 18px;
  padding: 56px 48px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-weight: 300; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-banner-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== PAGE HERO (podstranice) ===== */
.page-hero {
  background: var(--dark);
  padding: 80px 24px 56px;
  text-align: center;
}
.page-hero .section-label { display: block; margin-bottom: 12px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.62); font-size: 1.05rem; font-weight: 300; max-width: 560px; margin: 0 auto; }

/* ===== DETALJ USLUGE (podstranica) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }

.service-detail-text h2 { font-size: 2rem; color: var(--dark); margin-bottom: 16px; }
.service-detail-text p { color: var(--muted); font-weight: 300; margin-bottom: 12px; line-height: 1.75; }

/* ===== O NAMA STRANICA ===== */
.onama-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.onama-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.onama-img img { width: 100%; height: 100%; object-fit: cover; }
.onama-text h2 { font-size: 2rem; color: var(--dark); margin-bottom: 18px; }
.onama-text p { color: var(--muted); font-weight: 300; margin-bottom: 14px; line-height: 1.75; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 24px 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 48px;
}

.footer-logo img {
  height: 52px;
  margin-bottom: 14px;
  opacity: 0.92;
}
.footer-desc { font-size: 0.88rem; font-weight: 300; line-height: 1.75; max-width: 260px; }

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 36px rgba(37,211,102,0.55); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== ANIMACIJE ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONZIVNOST ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photos-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header { padding: 0 20px; }

  .nav {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 78vw; max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 32px 40px;
    gap: 28px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.14);
    z-index: 999;
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; width: 100%; }
  .nav-cta { display: inline-flex; width: auto !important; }
  .menu-toggle { display: flex; }

  .hero { min-height: 88vh; }
  .about-grid,
  .contact-grid,
  .service-detail,
  .onama-grid { grid-template-columns: 1fr; gap: 36px; }
  .photos-featured { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .photos-featured .photo-main { grid-row: auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .section { padding: 64px 20px; }
  .cta-banner { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 280px; }
  .services-grid { grid-template-columns: 1fr; }
  .photos-strip { grid-template-columns: 1fr; }
}

/* ===== REVEAL ANIMACIJE ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== GALERIJA MASONRY ===== */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
  margin-top: 48px;
}
.gallery-item {
  break-inside: avoid;
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: var(--light);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.45s ease;
  will-change: transform;
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,31,46,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item-overlay svg {
  transform: scale(0.8);
  transition: transform 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.88);
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-item:hover .gallery-item-overlay svg {
  transform: scale(1);
}
.gallery-cta {
  margin-top: 56px;
  padding: 40px 32px;
  background: var(--light);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.gallery-cta p {
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 400;
  line-height: 1.6;
  background: transparent;
}
@media (max-width: 900px) {
  .gallery-masonry { columns: 2; }
}
@media (max-width: 560px) {
  .gallery-masonry { columns: 1; }
  .gallery-item { margin-bottom: 12px; }
}
