.section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ABOUT GRID */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: black;
}

.about-text p {
    font-size: 19px;
    margin-top: 20px;
    text-align: justify;
}

/* USLUGE */
#usluge {
    background-color: rgb(248, 134, 27, 0.7);
}

#usluge p {
    margin-top: 15px;
    font-size: 20px;
}

/* CUSTOM LISTE */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
}

.custom-list li {
    background-color: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    color: rgb(80, 40, 3);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 2s ease-out;
}

.custom-list li.visible {
  opacity: 1;
  transform: translateY(0);
}


.custom-list li::before {
    content: "✓";
    color: black;
    font-weight: bold;
    margin-right: 10px;
}

/* CENTER BUTTONS */
.center-buttons {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.center-buttons a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    background-color: rgba(255,255,255,0.2);
    padding: 10px 16px;
    border-radius: 20px;
    transition: 0.3s ease;
}

.center-buttons a:hover {
    color: black;
    background-color: rgba(255, 255, 255, 0.774);
    padding: 15px 24px;
}

/* Iz ponude izdvajamo */
.section-subtitle {
  margin-top: 60px;
  font-size: 28px;
  text-align: center;
  font-weight: bold;
  color: #2a2a2a;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding: 0 10px;
}

.offer-card {
  background-color: #ffffffdd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.offer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.offer-card p {
  padding: 15px;
  font-size: 16px;
  color: #333;
  flex-grow: 1;
}

.card-btn {
  display: block;
  text-align: center;
  margin: 0 15px 15px;
  padding: 10px;
  background-color: rgb(248, 134, 27);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.card-btn:hover {
  background-color: #d56e00;
}

/* KONTAKT */
.kontakt-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.kontakt-info {
    flex: 1;
    min-width: 300px;
}

.kontakt-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: black;
}

.kontakt-info p {
    margin-bottom: 15px;
    font-size: 19px;
}

.text-indent {
    text-indent: 1em;
}

.kontakt-info a {
    color: black;
    text-decoration: none;
}

.kontakt-mapa {
    flex: 1;
    min-width: 300px;
}

.kontakt-mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .custom-list {
        grid-template-columns: 1fr; 
    }

    .about-grid,
    .kontakt-grid {
        flex-direction: column;
        text-align: center;
    }

    .center-buttons {
        flex-direction: column;
    }
}