* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary-color: #10b981; --bg-color: #1e293b; --content-width: 1500px; --text-color: #1f2937; --bg-light: #f9fafb; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--bg-color); }
.content-wrapper { background-color: #fff; max-width: var(--content-width); margin: 0 auto; box-shadow: 0 0 30px rgba(0,0,0,0.2); }
.container { max-width: calc(var(--content-width) - 100px); margin: 0 auto; padding: 0 1.5rem; }
.site-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--content-width); background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); z-index: 1000; }
.header-content { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo span { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.main-nav ul { display: flex; list-style: none; gap: 2rem; }
.main-nav a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s ease; position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; }
.main-nav a:hover { color: var(--primary-color); }
.main-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: var(--text-color); margin: 5px 0; transition: all 0.3s ease; border-radius: 2px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
@media (max-width: 768px) {
  .site-header { left: 0; right: 0; transform: none; max-width: 100%; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 70px; left: 0; right: 0; width: 100%; background: #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transform: translateY(-100%); opacity: 0; visibility: hidden; transition: all 0.3s ease; max-height: calc(100vh - 70px); overflow-y: auto; z-index: 999; }
  .main-nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 1rem 0; }
  .main-nav li { border-bottom: 1px solid #e5e7eb; }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 1rem 1.5rem; }
  .main-nav a::after { display: none; }
  .hero h1 { font-size: 2rem; }
  .content-wrapper { max-width: 100%; }
}
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; padding-top: 70px; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.section { padding: 5rem 0; text-align: center; }
.section:nth-child(even) { background: var(--bg-light); }
.section h2 { font-size: 2rem; margin-bottom: 2rem; color: var(--primary-color); }
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.offer-card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; }
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.offer-card h3 { color: var(--primary-color); margin-bottom: 1rem; }
.offer-image { width: 5cm; height: 5cm; object-fit: cover; border-radius: 12px; margin: 0 auto 1rem; display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.contact-info { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.contact-subtitle { color: #6b7280; margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-contact { display: inline-block; background: var(--primary-color); color: #fff; padding: 1rem 3rem; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-contact:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.contact-form { max-width: 500px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 8px; }
.btn-primary { background: var(--primary-color); color: #fff; border: none; padding: 0.875rem 2rem; border-radius: 8px; cursor: pointer; width: 100%; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-primary:active { transform: translateY(0); }
.news-preview-section { padding: 6rem 0 4rem; padding-top: calc(70px + 3rem); background-size: cover; background-position: center; }
.news-preview-title { color: white; font-size: 1.75rem; margin-bottom: 2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.news-preview-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.news-featured-card { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.news-featured-card h3 { font-size: 1.5rem; margin: 1rem 0 0.5rem; color: #1f2937; }
.news-featured-card p { color: #6b7280; }
.news-badge { display: inline-block; padding: 0.25rem 0.75rem; border: 1px solid var(--primary-color); color: var(--primary-color); border-radius: 20px; font-size: 0.75rem; font-weight: 500; }
.news-date { color: #9ca3af; font-size: 0.875rem; margin-top: 0.5rem; }
.news-side-cards { display: flex; flex-direction: column; gap: 1rem; }
.news-small-card { background: white; border-radius: 12px; padding: 1.25rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; align-items: center; }
.news-small-card span { display: block; margin-top: 0.5rem; font-weight: 600; color: #1f2937; }
.news-small-card > div { flex: 1; }
.news-preview-cta { text-align: center; margin-top: 2rem; }
.btn-news { display: inline-block; padding: 0.875rem 2rem; border: 2px solid var(--primary-color); color: var(--primary-color); border-radius: 50px; text-decoration: none; font-weight: 500; transition: all 0.3s; }
.btn-news:hover { background: var(--primary-color); color: white; }
@media (max-width: 768px) { .news-preview-grid { grid-template-columns: 1fr; } .location-layout { flex-direction: column; gap: 2rem; } .location-map-wrapper { min-height: 300px; } .map-container { height: 300px; min-height: 300px; } }
.location-section { background: var(--bg-light); }
.location-layout { display: flex; gap: 3rem; align-items: stretch; }
.location-content { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.location-content h2 { margin-bottom: 1rem; }
.location-section .location-text { font-size: 1.1rem; color: #6b7280; margin-bottom: 1.5rem; line-height: 1.7; white-space: pre-line; }
.address-row { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-color); }
.address-icon { font-size: 1.25rem; color: var(--primary-color); }
.location-map-wrapper { flex: 1; min-height: 350px; }
.map-container { height: 100%; min-height: 350px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.sponsors-section { padding: 4rem 0; background: var(--bg-color); text-align: center; }
.sponsors-title { color: #fff; font-size: 1.25rem; font-weight: 500; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 0.1em; }
.sponsors-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3rem; }
.sponsor-item { display: block; transition: opacity 0.3s, transform 0.3s; }
.sponsor-item:hover { opacity: 0.8; transform: scale(1.05); }
.sponsor-item img { max-height: 60px; max-width: 150px; object-fit: contain; }
.sponsor-item span { color: #fff; font-size: 1rem; }
.site-footer { background: var(--text-color); color: #fff; padding: 2rem 0; text-align: center; }

/* ===== RK Zelene Doline — vizualna osvežitev 2026 ===== */
:root {
  --primary-color: #159447;
  --primary-dark: #0b572e;
  --primary-soft: #eaf7ef;
  --accent-color: #b7d43b;
  --bg-color: #071c13;
  --bg-light: #f4f8f5;
  --text-color: #17231c;
  --muted-color: #66756c;
  --content-width: 1440px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(8, 48, 27, .08);
  --shadow-md: 0 18px 50px rgba(8, 48, 27, .14);
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(21,148,71,.22), transparent 32rem),
    #06170f;
  color: var(--text-color);
  letter-spacing: -.01em;
}

.container {
  max-width: 1240px;
  padding-left: clamp(1.1rem, 3vw, 2.25rem);
  padding-right: clamp(1.1rem, 3vw, 2.25rem);
}

.content-wrapper {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0,0,0,.28);
}

/* Header */
.site-header {
  max-width: var(--content-width);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(11,87,46,.10);
  box-shadow: 0 8px 28px rgba(7,28,19,.08);
  backdrop-filter: blur(14px);
}

.header-content {
  position: relative;
  min-height: 86px;
  height: 86px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.header-logo {
  position: absolute !important;
  left: 50% !important;
  top: 8px !important;
  width: auto !important;
  height: 70px !important;
  max-width: 140px;
  margin: 0 !important;
  transform: translateX(-50%);
  object-fit: contain;
  z-index: 2;
}

.b2b-btn {
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 8px 20px rgba(11,87,46,.22);
  font-size: 14px;
}

.main-nav ul { gap: clamp(1rem, 2vw, 1.8rem); }

.main-nav a {
  color: #243229;
  font-weight: 650;
  font-size: .95rem;
  padding: 12px 0;
}

.main-nav a::after {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* News hero */
.news-preview-section {
  position: relative;
  padding: calc(86px + 4.5rem) 0 5rem;
  background-position: center 38% !important;
}

.news-preview-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(183,212,59,.18), transparent 25rem),
    linear-gradient(120deg, rgba(4,25,15,.35), rgba(4,25,15,.68));
  pointer-events: none;
}

.news-preview-section > .container { position: relative; z-index: 1; }

.news-preview-title {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0,0,0,.28);
}

.news-preview-grid { gap: 1.35rem; }

.news-featured-card,
.news-small-card {
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow-md);
  transition: transform .28s ease, box-shadow .28s ease;
}

.news-featured-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.news-featured-card:hover,
.news-small-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}

.news-featured-card img {
  height: clamp(220px, 28vw, 360px) !important;
  border-radius: 18px !important;
}

.news-featured-card h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.25;
  margin-top: 1.15rem;
}

.news-featured-card p { color: var(--muted-color); font-size: 1rem; }

.news-small-card {
  min-height: 128px;
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.news-small-card img {
  width: 92px !important;
  height: 76px !important;
  border-radius: 12px !important;
}

.news-badge {
  border: 0;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 750;
}

.btn-news {
  padding: .9rem 2.2rem;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  box-shadow: 0 10px 25px rgba(11,87,46,.28);
}

.btn-news:hover {
  background: linear-gradient(135deg, #1aa755, #083f23);
  transform: translateY(-2px);
}

/* Content sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section h2 {
  position: relative;
  display: inline-block;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 58%;
  height: 5px;
  margin: .65rem auto 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.about-section p {
  max-width: 980px;
  margin: 0 auto;
  color: #4d5c53;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.9;
}

.offers-grid { gap: 1.4rem; }

.offer-card {
  padding: 1.15rem 1.15rem 1.7rem;
  border: 1px solid rgba(11,87,46,.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.offer-image {
  width: 100%;
  height: 280px;
  border-radius: 15px;
  margin-bottom: 1.35rem;
}

.offer-card h3 {
  color: var(--primary-dark);
  margin-bottom: .35rem;
  font-size: 1.3rem;
}

.offer-card p { color: var(--muted-color); }

.gallery-grid { gap: 1.25rem; }

.gallery-item {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.gallery-item img { transition: transform .55s ease, filter .4s ease; }
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.08); }

.location-layout {
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.location-content {
  background: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.location-content h2 { margin-bottom: 1.5rem; }
.location-content h2::after { margin-left: 0; }

.address-row {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 650;
}

.map-container {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 5px solid #fff;
}

/* Sponsors and footer */
.sponsors-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(21,148,71,.32), transparent 30rem),
    #071c13;
}

.sponsors-title { color: #dcebe2; }
.sponsor-item img { filter: drop-shadow(0 7px 12px rgba(0,0,0,.22)); }
.site-footer { background: #04110b; color: #cbd8d0; }

/* Focus and accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .header-logo {
    left: 42% !important;
    height: 62px !important;
  }
  .main-nav ul { gap: .85rem; }
  .main-nav a { font-size: .88rem; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 74px; }

  .header-content { min-height: 74px; height: 74px; }
  .site-header { max-width: 100%; }

  .logo { min-width: 0; }
  .b2b-btn { padding: 9px 12px; font-size: 12px; }
  .header-logo {
    left: 50% !important;
    top: 7px !important;
    height: 60px !important;
    max-width: 105px;
  }

  .main-nav { top: 74px; }
  .menu-toggle { margin-left: auto; }

  .news-preview-section { padding: calc(74px + 3rem) 0 3.5rem; }
  .news-preview-title { margin-bottom: 1.4rem; }
  .news-featured-card img { height: 220px !important; }
  .news-small-card { min-height: 100px; }
  .news-small-card img { width: 76px !important; height: 62px !important; }

  .section { padding: 4rem 0; }
  .section h2 { margin-bottom: 2.25rem; }

  .offer-image { height: 320px; }
  .location-content { text-align: center; }
  .location-content h2::after { margin-left: auto; }
  .location-map-wrapper, .map-container { min-height: 320px; }
}

@media (max-width: 480px) {
  .header-logo { height: 54px !important; max-width: 86px; }
  .b2b-btn i { display: none; }
  .news-featured-card { border-radius: 20px; }
  .news-featured-card img { height: 190px !important; }
  .offer-image { height: 270px; }
}
	