/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  
  /* Osnovne postavke tipografije */
  body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #ffffff; /* svijetla pozadina */
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  /* -------------------------- */
  /* HEADER & NAVIGATION       */
  /* -------------------------- */
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000; /* crna */
    padding: 1rem 2rem;
    position: sticky;
    top:0px;
    z-index: 1000;
    width: 100%;
  }
  
  .main-header .logo img {
    max-height: 40px; /* prilagodi po potrebi */
  }
  
  .main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }
  
  .main-nav ul li a:hover {
    color: #FF6500; /* narančasta hover */
  }
  
  /* -------------------------- */
  /* HERO SECTION              */
  /* -------------------------- */
  .hero {
    position: relative;
    height: 60vh;
    width: 100%;
    /* background: url('https://via.placeholder.com/1600x600/000000/FFFFFF?text=Volt+X+Hero') no-repeat center center/cover; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero .overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    background: url("assets/images/elco900-cooking-range.avif") no-repeat center center/cover;
    z-index: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 1rem;
    background-color: #413e3ebd;
    width: 60%;
    border-radius: 10px;
    padding: 10px 20px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: rem;
    font-weight: 700;
    z-index: 10;
    color:white;
  }
  
  .btn {
    display: inline-block;
    background-color: #FF6500; /* narančasta */
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #E55700; /* tamnija narančasta */
  }
  
  /* -------------------------- */
  /* SERVICES SECTION          */
  /* -------------------------- */
  .services {
    padding: 1.5rem 1rem;
    background-color: #fff;
    text-align: center;
  }

  .services>.info {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #000; /* crna za kontrast */
  }
  
  .service-box {
    max-width: 600px;
    margin: 1rem auto;
    background-color: #f3f3f3bf;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
  }
  
  .service-box h3 {
    margin-bottom: 0.5rem;
    color: #FF6500;
    font-weight: 700;
  }
  
  /* -------------------------- */
  /* WHY CHOOSE SECTION        */
  /* -------------------------- */
  .why-choose {
    padding: 3rem 1rem;
    background-color: #fafafa;
    text-align: center;
  }
  
  .why-choose h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #000;
  }
  
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .why-item {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    background-color: #f3f3f3bf;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  
  .why-item h3 {
    margin-bottom: 0.5rem;
    color: #FF6500;
    font-weight: 700;
  }
  
  /* -------------------------- */
  /* CONTACT SECTION           */
  /* -------------------------- */
  .contact-section {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
    width: 80%;
  }
  
  .contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
  }
  
  .contact-info {
    margin: 1rem 0 2rem;
    line-height: 1.8;
  }
  
  /* Kontakt forma */
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: #f7f7f7;
    padding: 1.5rem;
    border-radius: 8px;
  }
  
  .contact-form label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact-form button {
    margin-top: 1rem;
    width: 100%;
    background-color: #FF6500;
    color: #fff;
    font-weight: 600;
  }
  
  .contact-form button:hover {
    background-color: #E55700;
  }

  /* auto slider */

  #slider-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 90%;
    /* background-color: #f9f9f9; */
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;                                                          
    height: auto; /* Adjust based on your image size */
  }
  
  .track {
    display: flex;
    width: calc(600px*8);                                                                                                  
    animation: scroll 20s alternate infinite linear; 
  }
  
#slider-wrapper .logo {
    flex: 0 0 auto;
    width: 800px; /* Adjust based on your image size */
  }
  
  #slider-wrapper  .logo img {
    width: 600px;
    /* height: 100%; */
    display: block;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(25%);
    }
    100% {
      transform: translateX(-80%);
    }
  }
  
  
  /* -------------------------- */
  /* FOOTER                    */
  /* -------------------------- */
  .main-footer {
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    text-align: center;
    width: 100%;
  }
  #o-nama{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
  }
  #o-nama>.service-box{
    margin: 3rem 50px;
    padding: 0px;
    display: flex;
    background-color: #f3f3f3bf;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.205);
    flex-direction: row;
    max-width: fit-content;
  }
  #o-nama>.service-box>.info{
    width: 100%;
    padding: 20px;
  }
  #o-nama>.service-box h3{
    font-size: 2rem;
  }
  #o-nama>.service-box>img{
    overflow: hidden;
    object-fit: cover;
    width: 100%;
  }
  /* -------------------------- */
  /* RESPONSIVE BREAKPOINTS    */
  /* -------------------------- */
  @media (max-width: 992px) {
    .hero-content {
      transform: translateY(0%);
    }
    
    #o-nama > .service-box {
      flex-direction: column;
      margin: 1rem;
    }
    
    .main-nav ul {
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  
  @media (max-width: 700px) {
    /* O nama: stack content vertically */
    .main-header {
      flex-wrap: wrap;
      justify-content: center;
      position: relative;
      
    }
    .main-nav{
      margin:8px;
    }
    /* Services grid becomes single column */
    .services > .info {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    /* Why choose grid becomes single column */
    .why-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    #slider-wrapper {
      height: auto;
      width: 100%;
    }
    
  
    /* Reduce hero height */
    .hero {
      min-height: 40vh;
    }

    
  }

  @media (max-width: 460px) {
    .hero-content h1 {
      font-size: 1.5rem;
    }
  }
  