/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  background-color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
    width: 100%;
    overflow-x: hidden;
}

/* Header Styles */
.site-header {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  background-color: #ffffff;
}

.header-container {

  margin: 0;
  padding: 0;
}

.logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.logo-image {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  width: 200px;
  height: 140px;
  overflow: hidden;
}

/* Navigation Styles */
.category-nav {
  background-color: #337007;
  padding: 20px 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.nav-grid {

  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 140px;
  justify-content: center;
  padding-right: 5px;
  width: auto;
}

.category-item {
  text-align: center;
  margin-left: 30px;
  padding: 0 10px;
  width: auto;
}

.category-image {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  width: 100px;
  height: 60px;
  border-radius: 20px;
  margin: 0 auto 10px;
  
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  /*
  filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-webkit-transition: all 1s ease;
*/

}
/*
.category-image:hover{
  filter: grayscale(0%);
  filter: gray;
  -webkit-filter: grayscale(0%);
  filter: none;
  transition: 1s ease;
  }
  */

.category-name {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  
}

.category-name:hover{
  color: #32CD32;
  box-shadow: 20px;
  transition: 0.5s;
}

.category-name:hover{
  transition: 0.5s;
  color: #32CD32;
}

/* Main Content Styles */
.main-content {
  flex: 1;
  padding: 60px 0;
  background-color: white;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.content-card {
  text-align: center;
  position:relative;
}

.content-image {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 5px solid #337007;
  transition: .5s ease;
  backface-visibility: hidden;
  opacity:1;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.text {
  background-color: #337007;
  color: white;
  font-size: 16px;
  padding: 16px 25px;
  margin-bottom: 45px;
  font-weight:normal;
  border-radius: 20px;
}

.content-card:hover .content-image {
  opacity: 0.3;
}

.content-card:hover .middle {
  opacity: 1;
}

.slika{
  margin-top: 40px;
  width: 100%;
}

.content-title {
  margin: 0;
  color: #337007;
  font-size: 22px;
  font-weight: 700;
}

/* Footer Styles */
.site-footer {
  background-color: #337007;
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section {
  color: #fff;
}

.footer-heading {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.17em;
}

.footer-text {
  margin: 5px 0;
  color: #fff;
}

.footer-section:nth-child(2) .footer-heading,
.footer-section:nth-child(3) .footer-heading {
  color: #fff;
}

.footer-section:nth-child(2) .footer-text,
.footer-section:nth-child(3) .footer-text {
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .nav-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}






.page-container {
  background-color: rgb(246, 249, 252);
  color: rgb(10, 37, 64);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  width: 100%;
}

.content-wrapper {
  max-width: 1220px;
  margin: 0 auto;
  padding: 128px 0;
}

.hero-section {
  text-align: center;
  margin-bottom: 96px;
}

.hero-text {
  font-size: 24px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  color: rgb(10, 37, 64);
  font-weight: 400;
  text-align: center;
  font-size: 25px;
}

.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  background-color: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px;
  margin: 64px 0px;
}

.feature-content {
  padding: 0 32px;
  margin-left: 80px;
}

.feature-text {
  font-size: 20px;
  line-height: 1.6;
  color: rgb(10, 37, 64);
  margin: 0;
}

.image-container {
  margin: 0;
  padding: 0 32px;
}

.feature-image {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  border-radius: 12px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px;
  border: 5px solid #337007;
}

.closing-section {
  padding: 64px 0;
}

.closing-text {
  font-size: 20px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: rgb(10, 37, 64);
}

@media (max-width: 640px) {
  .feature-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-content {
    padding: 0 24px;
  }

  .image-container {
    padding: 0 24px;
  }
}

.naslov{
  font-size: 40px;
  color: #337007;
  text-align: center;
}


.stripe-hero-wrapper {
  display: flex;
  justify-content: center;
  padding: 96px 0px;
  background-color: rgb(246, 249, 252);
  color: rgb(10, 37, 64);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Ubuntu, sans-serif;
}

.stripe-hero-content {
  max-width: 11600px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 84px;
}

b{
  color: #337007;
}

.stripe-hero-headline {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: rgb(10, 37, 64);
  margin: 0;
}

.stripe-hero-text {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: rgb(10, 37, 64);
  margin: 0;
}

@media (max-width: 1000px) {
  .stripe-hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stripe-hero-headline,
  .stripe-hero-text {
    font-size: 20px;
    line-height: 28px;
  }
}
.main-text{
  font-size: 30px;
}

.rectangle-link {
  grid-column: span 2;
  text-decoration: none;
  color: inherit;
}

.rectangle-card {
  padding: 30px;
  border-radius: 20px;
  margin: 15px 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 5px solid #337007;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 180px;
  transition: all 0.3s ease;
  position: relative;
}

.rectangle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background-color: #f8fff8;
}

.rectangle-card h3 {
  color: #337007;
  font-size: 24px;
  margin-bottom: 10px;
}

.rectangle-card p {
  color: #333;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.link-arrow {
  color: #337007;
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.rectangle-card:hover .link-arrow {
  transform: translateX(5px);
}

.rectangle-1 {
  background-color: rgba(51, 112, 7, 0.1);
}

.rectangle-2 {
  background-color: rgba(51, 112, 7, 0.05);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .rectangle-link {
      grid-column: span 4;
  }
  
  .rectangle-card {
      min-height: 160px;
  }
}

@media (max-width: 640px) {
  .rectangle-card {
      min-height: 140px;
      padding: 20px;
  }
  
  .rectangle-card h3 {
      font-size: 20px;
  }
  
  .rectangle-card p {
      font-size: 16px;
  }
}