@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&family=Montserrat:wght@400;600;700;800;900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #3d1f59;
  color: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== LAYOUT WRAPPER ===== */
.page-wrapper {
  width: 96%;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 0 8px 8px;
}
.header .logo { height: 50px; width: auto; }

/* ===== HERO ===== */
.hero {
  background: #3d1f59;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  border-radius: 8px;
  margin-top: 5px;
  position: relative;
  overflow: hidden;
  background-image: url("hero-image.png");
  height: 648px;
  background-size: auto;
  background-position:center;
  background-repeat: no-repeat;
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-container img {
  max-height: 1080px;
  width: auto;
}

.hero-content-box {
  width: 680px;
  height: auto;
  background: #3d1f59;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding-bottom: 40px;
  padding-top: 40px;
}

.hero-content {
  flex: 1;
  text-align: center;
}
.hero-content h1 {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.3;
}
.hero-content p {
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.btn {
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.3s, transform 0.2s;
  display: inline-block;
  text-align: center;
}
.btn:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-primary { background: #7153a5; }
.btn-secondary { background: #ab9cce; }

/* ===== E-SINDIKAT SECTION ===== */
.e-sindikat {
  background: #fff;
  padding: 50px 40px;
  border-radius: 8px;
  margin-top: 5px;
}
.e-sindikat .section-title {
  color: #3d1f59;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 35px;
  line-height: 1.4;
}
.e-sindikat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.e-sindikat-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.e-sindikat-card .card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.card-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e0d4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d1f59;
  font-size: 12px;
}
.e-sindikat-card .card-label {
  background: #3d1f59;
  color: #fff;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.e-sindikat-card .card-hover-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(61,31,89,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 15px;
}
.e-sindikat-card .card-hover-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.e-sindikat-card:hover .card-hover-overlay { opacity: 1; }
.e-sindikat-card:hover .card-label { opacity: 0; }

/* ===== STANI CHAST ===== */
.stani-chast {
  padding: 50px 0px;
}
.stani-chast .section-title {
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.stani-chast-content {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
}
.stani-chast-text {
  flex: 1;
  background: #7153a5;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stani-chast-text p {
  font-family: 'Caveat', cursive;
  font-size: 56px;
  color: #fff;
  line-height: 1.6;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}
.stani-chast-image {
  flex: 1;
}
.stani-chast-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stani-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: #5a3d7a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}

/* ===== NUMBERS / CIFRI ===== */
.cifri {
  background: #fff;
  padding: 50px 40px;
  border-radius: 8px;
  margin-top: 5px;
}
.cifri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.cifri-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cifri-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 5px;
}
.cifri-icon-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3d1f59;
  font-size: 24px;
}
.cifri-number {
  font-size: 36px;
  font-weight: 900;
  color: #3d1f59;
}
.cifri-text {
  font-size: 14px;
  color: #3d1f59;
  font-weight: 600;
  line-height: 1.4;
}

.cifri-item:nth-child(3) img {
  transform: scale(1.3);
}

.cifri-item:nth-child(4) img {
  transform: scale(1.6);
}

/* ===== MEMBERSHIP / CHLENSTVO ===== */
.chlenstvo {
  background: #703779;
  padding: 50px 40px;
  border-radius: 8px;
  margin-top: 5px;
}
.chlenstvo .section-title {
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 35px;
}
.chlenstvo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.chlenstvo-card {
  padding: 35px 25px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.chlenstvo-card:nth-child(1) { background: #8b53a7; }
.chlenstvo-card:nth-child(2) { background: #bd99c8; }
.chlenstvo-card:nth-child(3) { background: #7153a5; }
.chlenstvo-number {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
}
.chlenstvo-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}
.chlenstvo-btn {
  background: #3d1f59;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  transition: opacity 0.3s, transform 0.2s;
  display: inline-block;
  margin-top: auto;
}
.chlenstvo-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ===== CONTACTS ===== */
.kontakti {
  background: #fff;
  padding: 50px 40px;
  border-radius: 8px;
  margin-top: 5px;
}
.kontakti .section-title {
  color: #3d1f59;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.kontakti-content {
  display: flex;
  gap: 25px;
}
.kontakti-info {
  flex: 0 0 35%;
  background: #3d1f59;
  padding: 35px 30px;
  border-radius: 8px;
}
.kontakti-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.kontakti-info ul { display: flex; flex-direction: column; gap: 10px; }
.kontakti-info ul li a {
  color: #fff;
  font-size: 14px;
  transition: opacity 0.3s;
  position: relative;
  padding-left: 15px;
}
.kontakti-info ul li a::before {
  content: '›';
  position: absolute;
  left: 0;
  font-weight: bold;
}
.kontakti-info ul li a:hover { opacity: 0.7; }
.kontakti-form {
  flex: 1;
}
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 13px;
  color: #3d1f59;
  margin-bottom: 5px;
  font-weight: 600;
}
.form-group label .required { color: red; }
.form-group input,
.form-group textarea {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #3d1f59;
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #7153a5; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  background: #3d1f59;
  color: #fff;
  padding: 12px 35px;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.3s, transform 0.2s;
  margin-top: 10px;
}
.form-submit:hover { opacity: 0.85; transform: translateY(-2px); }

/* ===== FOOTER 1 ===== */
.footer1 {
  background: #fff;
  padding: 35px 40px;
  border-radius: 8px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer1-logo {
  flex: 0 0 auto;
}
.footer1-logo-placeholder {
  width: 400px;
  height: 100px;
  background: #e0e0e0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
}
.footer1-text {
  font-size: 13px;
  color: #3d1f59;
  line-height: 1.6;
}
.footer1-text strong { font-weight: 800; }

.footer1-logo-knsb {
  width: 179;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FOOTER 2 ===== */
.footer2 {
  padding: 30px 40px;
  margin-top: 5px;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr auto;
  gap: 30px;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 0 0 8px 8px;
}
.footer2-col a {
  color: #fff;
  transition: opacity 0.3s;
}
.footer2-col a:hover { opacity: 0.7; }
.footer2-col p { margin-bottom: 5px; }
.footer2-social {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.social-icon-placeholder {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: background 0.3s;
}
.social-icon-placeholder:hover { background: rgba(255,255,255,0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
  }
  .hero-buttons { justify-content: center; }
  .e-sindikat-grid { grid-template-columns: repeat(2, 1fr); }
  .stani-chast-content { flex-direction: column; }
  .cifri-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .chlenstvo-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .kontakti-content { flex-direction: column; }
  .kontakti-info { flex: 1; }
  .footer1 { flex-direction: column; text-align: center; }
  .footer2 { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 576px) {
  .page-wrapper { width: 95%; }
  .e-sindikat-grid { grid-template-columns: 1fr; }
  .cifri-grid { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; }
  .footer2 { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 22px; }
  .hero-image-placeholder { width: 200px; height: 300px; }
}
