/* =============================================
   ČASOVI PLIVANJA — GHOST THEME STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* === VARIABLES === */
:root {
  --navy: #0d1b2e;
  --navy-light: #162032;
  --cyan: #00c9c8;
  --cyan-hover: #00b3b2;
  --white: #ffffff;
  --gray-100: #f4f7fa;
  --gray-200: #e8edf3;
  --gray-500: #6b7a90;
  --gray-700: #374151;
  --dark-text: #0d1b2e;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 32px rgba(0,0,0,0.10);
  --max-width: 1140px;
  --font: 'Plus Jakarta Sans', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* === CONTAINER === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION SPACING === */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-100); }
.section--navy { background: var(--navy); }

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section__subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}
.btn--primary:hover {
  background: var(--cyan-hover);
  border-color: var(--cyan-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark-text);
  border-color: var(--gray-200);
}
.btn--outline-dark:hover {
  border-color: var(--gray-500);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(13, 27, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

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

.navbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.navbar__nav a:hover { color: var(--white); }

.navbar__cta { margin-left: 12px; padding: 10px 20px; font-size: 14px; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,201,200,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero__title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.62);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__ctas .btn { padding: 16px 32px; font-size: 16px; }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === WHY SWIM — PAINPOINTS === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-card__icon {
  width: 52px; height: 52px;
  background: rgba(0,201,200,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card__icon svg { width: 26px; height: 26px; color: var(--cyan); }

.why-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.why-card__text {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* === PROGRAMS === */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.program-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.program-card__icon {
  width: 52px; height: 52px;
  background: rgba(0,201,200,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.program-card__icon svg { width: 26px; height: 26px; color: var(--cyan); }

.program-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.program-card__desc {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.65;
}

.program-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}

.program-card__feature::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* === ABOUT === */
.about { background: var(--gray-100); }

.about__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.about__text {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 56px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.about__stat {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.about__stat-icon {
  width: 52px; height: 52px;
  background: rgba(0,201,200,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.about__stat-icon svg { width: 24px; height: 24px; color: var(--cyan); }

.about__stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.about__stat-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  color: var(--cyan);
  font-size: 18px;
}

.testimonial-card__text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-text);
}

/* === PRICING === */
.pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }

.pricing-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.pricing-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-card--featured .pricing-card__title { color: var(--white); }

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1;
}
.pricing-card--featured .pricing-card__amount { color: var(--cyan); }

.pricing-card__currency {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-500);
}
.pricing-card--featured .pricing-card__currency { color: rgba(255,255,255,0.6); }

.pricing-card__period {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.pricing-card--featured .pricing-card__period { color: rgba(255,255,255,0.5); }

.pricing-card__savings {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}
.pricing-card--featured .pricing-card__feature { color: rgba(255,255,255,0.8); }

.pricing-card__feature::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* === CONTACT === */
.contact { background: var(--gray-100); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__item-icon {
  width: 44px; height: 44px;
  background: rgba(0,201,200,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__item-icon svg { width: 20px; height: 20px; color: var(--cyan); }

.contact__item-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact__item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-text);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text);
}

.form-input,
.form-textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark-text);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-500); }

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

.form-submit {
  background: var(--cyan);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 15px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
}
.form-submit:hover {
  background: var(--cyan-hover);
  transform: translateY(-1px);
}

/* === FOOTER === */
.footer {
  background: var(--navy);
  padding: 28px 24px;
  text-align: center;
}

.footer__text {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* === BLOG INDEX === */
.blog-hero {
  background: var(--navy);
  padding: 140px 24px 80px;
  text-align: center;
}

.blog-hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.blog-hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 72px 0;
}

.post-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--gray-200);
}

.post-card__image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, #162844 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__image-placeholder svg { width: 40px; height: 40px; color: var(--cyan); opacity: 0.5; }

.post-card__body { padding: 24px; }

.post-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cyan);
  margin-bottom: 10px;
}

.post-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.post-card__excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  font-size: 13px;
  color: var(--gray-500);
}

/* === SINGLE POST === */
.post-header {
  background: var(--navy);
  padding: 140px 24px 72px;
  text-align: center;
}

.post-header__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cyan);
  margin-bottom: 16px;
}

.post-header__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
  letter-spacing: -0.5px;
}

.post-header__meta {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

.post-feature-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.post-content h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; color: var(--dark-text); }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--dark-text); }
.post-content p { font-size: 17px; line-height: 1.8; color: var(--gray-700); margin-bottom: 24px; }
.post-content ul, .post-content ol { margin: 0 0 24px 24px; }
.post-content li { font-size: 17px; line-height: 1.8; color: var(--gray-700); margin-bottom: 8px; }
.post-content strong { font-weight: 700; color: var(--dark-text); }
.post-content a { color: var(--cyan); text-decoration: underline; }
.post-content blockquote {
  border-left: 4px solid var(--cyan);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--gray-100);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-700);
}
.post-content img {
  border-radius: var(--radius);
  margin: 32px 0;
  width: 100%;
}

/* === GHOST REQUIRED CLASSES === */
.kg-width-wide {
  margin-left: -80px;
  margin-right: -80px;
  max-width: calc(100% + 160px);
  width: calc(100% + 160px);
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

@media (max-width: 900px) {
  .kg-width-wide { margin-left: 0; margin-right: 0; max-width: 100%; width: 100%; }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .why-grid,
  .programs-grid,
  .pricing-grid,
  .testimonials-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .about__stats { grid-template-columns: repeat(3, 1fr); }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; }

  .pricing-card--featured { transform: none; }

  .navbar__nav { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .about__stats { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 320px; }
}

/* === CONTACT INFO CENTERED (no form) === */
.contact__info--centered {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 480px;
  margin: 0 auto;
}

/* === REDUCE GAP BETWEEN PROGRAMS AND ABOUT === */
#o-meni {
  padding-top: 48px !important;
}

/* === HERO — SHORTER, TWO COLUMN === */
.hero {
  min-height: unset !important;
  padding: 100px 24px 72px !important;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.hero__title {
  font-size: clamp(32px, 4.5vw, 56px) !important;
  letter-spacing: -1px !important;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px !important;
  margin: 0 0 32px !important;
}

.hero__image-wrap {
  width: 100%;
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}

.hero__image-placeholder svg {
  width: 48px;
  height: 48px;
}

/* === ABOUT — TWO COLUMN SPLIT === */
.about__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left !important;
  max-width: 100%;
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: var(--gray-200);
  border: 2px dashed var(--gray-500);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 14px;
}

.about__image-placeholder svg {
  width: 48px;
  height: 48px;
}

.about__text-wrap .about__text {
  margin-bottom: 16px;
}

.about__stats--left {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about__stats--left .about__stat {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
}

.about__stats--left .about__stat-icon {
  margin: 0;
  flex-shrink: 0;
}

.about__stats--left .about__stat-value {
  font-size: 16px;
  margin-bottom: 2px;
}

.about__stats--left .about__stat-label {
  font-size: 13px;
}

/* === TESTIMONIALS — 3 COLUMNS === */
.testimonials-grid {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* === RESPONSIVE UPDATES === */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__image-wrap { display: none; }
  .about__inner--split {
    grid-template-columns: 1fr;
  }
  .about__image-placeholder { aspect-ratio: 16/9; }
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
}

/* === REAL IMAGES === */
.hero__photo {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.about__photo {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
}

/* === HERO 30% TALLER === */
.hero {
  padding: 130px 24px 94px !important;
}

/* === ABOUT STATS - heading only, no subtext === */
.about__stats--left .about__stat {
  padding: 16px 20px;
}

.about__stats--left .about__stat-label {
  display: none;
}

.about__stats--left .about__stat-value {
  font-size: 17px;
  font-weight: 700;
}
