/* GENERAL RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0073e6;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #005bb5;
}

/* SECTION SPACING */
section {
    padding: 80px 20px;
}

/* HERO SECTION */
#hero {
    height: 100vh;
    background-image: url('../images/hero-bg.jpg'); /* Prilagodi putanju */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax efekat */
    margin: 0;
    padding: 0;
  }
  
  .hero-content {
    color: #fff;
    padding: 0 20px;
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1.5rem;
    color: #ddd;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2.2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  }

/* ABOUT SECTION */
#about {
    background-color: #ebeef2;
    text-align: center;
    width:100%;
    padding: 80px 20px; 
    text-align: center;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2rem;
    max-width: 70%;
    margin: 0 auto;
    color: #151b28 !important; 
}

/* FEATURES SECTION */
#features {
    text-align: center;
    background-color: #fff;
    width: 100%;
}

#features p {
    color: #151b28 !important;
}

#features h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.featured-card {
    border-top: 5px solid #d91b57;
    border-radius: 10px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 280px;
    max-width: 100%;
    border-radius: 10px; 
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #151b28 !important;
}

/* LATEST POSTS SECTION */

#latest-posts{ 
    padding: 80px 0px;
    background-color: #ebeef2;
    width:100%;
    margin:auto;
    padding:20px;
    
}


#latest-posts h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}



#latest-posts .post-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#latest-posts article {
    background: white; 
    border-radius: 10px; 
    padding: 20px; 
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1); 
    flex: 1 1 200px; 
    max-width: 100%;
}

#latest-posts article h3 a {
    margin-top: 15px;
    font-size: 1.3rem;
    color:#d91b57;
}

#latest-posts article p {
    color: #151b28;
    font-size: 0.95rem;
}

#latest-posts img { 
    transition: all .3s ease;

}

#latest-posts img:hover{ 
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    #features,
    #latest-posts .post-wrapper {
        flex-direction: column;
        align-items: center;
    } }

        .page #content {
            margin-top: 0;
            max-width: 100%;   }


 .hero_btn{ 
        display: inline-block;
        padding: 15px 30px;
        background-color: #d91b57;
        color: #fff;
        font-weight: 600;
        border-radius: 5px;
        text-decoration: none;

 }

.hero_btn:hover{ 
background-color:#f9538f !important;
transition: 0,5;
color:#fff;
}

