/* GLOBALNA PODEŠAVANJA */
body {
  margin: 0;
  padding: 0;
  background-color: #7b552c;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', sans-serif;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #7b552c;
  padding: 40px;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.about-hero2 {
  width: 100%;
  height: 60vh;
  background-image: url('img_onama/83cca471-9bb0-4f5c-bccf-ed306a1e9dc4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-overlay2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-overlay2 h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(35px, 7vw, 72px);
  color: white;
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  margin: 0;
  padding: 0 5vw;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 50vh;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-card {
  background-color: #ffffff;
  color: #000000;
  max-width: 600px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  line-height: 1.6;
}

.about-card h2 {
  margin-top: 0;
  color: #7b552c;
}

.team-section {
  background-color: #7b552c;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
}

.team-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.team-text h2 span {
  color: #7b552c;
}

.team-text p {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-size: 16px;
}

.carousel-container {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  display: flex;
  justify-content: center;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  width: 25%; 
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  margin: 0;
  padding: 0;
}

.team-card {
  background-color: #ffffff;
  color: #000000;
  max-width: 1000px;
  width: 100%;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.team-card h2 span {
  color: #7b552c;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    padding: 20px;
  }

  .about-image img,
  .about-card {
    max-width: 100%;
  }

  .carousel-track-wrapper {
    width: 70vw;
    overflow: hidden;
  }

  .carousel-track img {
    width: 70vw; 
    height: 110vw;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    margin: 0;
    padding: 0;
  }
}