
body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    box-sizing: border-box;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
nav{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  background: black;
}

nav .menu {
  display: flex;
}

nav .menu li {
  list-style: none;
}

nav .menu li a,
nav .menu button { /* Apply the same styles to both button and a elements */
  height: 40px;
  line-height: 43px;
  margin: 0px;
  padding: 0px 22px;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
  background: black;
  border: none;
  text-decoration: none;
}

/* Button hover effect */
nav .menu button:hover,
nav .menu li a:hover {
  background-color: red;
  color: white;
  box-shadow: 5px 10px 30px rgba(53, 53, 53, 0.1);
  transition: all ease 0.2s;
}

#main{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70vh;
    background-color: black;
    padding: 50px;
}
@keyframes slideUp{
    from{
        opacity: 0;
        transform: translateY(50px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.main-text{
    position: relative;
    width: 50%;
    color: white;
    text-align: left;
    margin-bottom: 15px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 150;
    font-size: 90px;
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
}
.main-image{
    width: 50%;
    display: flex;
    justify-content: flex-end;
}
.main-image img{
    width: 70%;
    height: 79vh;
    object-fit: contain;
}

.urbanist {
    font-family: "Urbanist", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  }
  .car-text{
    width: 100vW;
    min-height: 150px;
    background-color: white;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 70px 20px;
    box-sizing: border-box;
  }
  .section-title{
    font-size: 36px;
    font-family: 'Urbanist', sans-serif;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
  }
  .section-paragraph{
    font-size: 28px;
    color: darkgray;
    font-family: 'Urbanist', sans-serif;
    width: 100%;
    max-width: 900px;
    text-align: center;
  }
  #car-showcase {
    padding-top: 50px;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }
  
  .showcase-box {
    width: 430px;
    height: 250px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .showcase-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
  }
  
  .cs-hidden {
    overflow: visible;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .showcase-text-a,
  .showcase-text-b,
  .showcase-text-c {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
  
  .showcase-text-a strong,
  .showcase-text-b strong,
  .showcase-text-c strong {
    color: darkgrey;
  }
  
  /* Mobile Responsive Styles */
  
  .button-a{
    text-align: center;
    margin-top: 20px;
  }
  .learn-more-a{
    display: inline-flex; /* Ensures it behaves like a navbar item */
    justify-content: center; /* Centers text inside */
    align-items: center; /* Aligns text vertically */
    height: 40px; /* Same as navbar height */
    line-height: 43px;
    padding: 0px 22px; /* Same padding as navbar items */
    font-size: 0.8rem; /* Matches navbar font size */
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    background: black; /* Same background as navbar */
    text-decoration: none; /* Remove underline */
    border: none;
    cursor: pointer;
    transition: all ease 0.2s;
  }
  .learn-more-a:hover{
    background-color: red;
    color: white;
    box-shadow: 5px 10px 30px rgba(53, 53, 53, 0.1);
  }
  .benz-text {
    width: 100vw;
    min-height: 150px;
    background-color: white;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px; /* nav-title spacing */
    box-sizing: border-box;
}

.benz-title {
  font-size: 36px;
  font-family: 'Urbanist', sans-serif;
  font-weight: bold;
  color: black;
  margin-bottom: 10px; /* Adjusted margin */
}
.benzinska-text{
  width: 100vw;
    min-height: 150px;
    background-color: white;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px 100px 20px; /* removed top padding */
    box-sizing: border-box;
}

.benzinska-textp {
  font-size: 28px;
  color: darkgray;
  font-family: 'Urbanist', sans-serif;
  width: 100%;
  max-width: 900px;
  text-align: left;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Image Section */
.benz-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.benz-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Remove overlay for 'Hadžić Benz' */
.benz-image .overlay {
    display: none; /* Removed overlay effect */
}
  
  
  .sobe-text {
    width: 100vw;
    min-height: 150px;
    background-color: white;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px; /* nav-title spacing */
    box-sizing: border-box;
}

.sobe-title {
    font-size: 36px;
    font-family: 'Urbanist', sans-serif;
    font-weight: bold;
    color: black;
    margin-bottom: 10px; /* default spacing, matches nav */
}

.hsobe-text {
    width: 100vw;
    min-height: 150px;
    background-color: white;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px 100px 20px; /* removed top padding */
    box-sizing: border-box;
}


.hsobe-par {
    font-size: 28px;
    color: darkgray;
    font-family: 'Urbanist', sans-serif;
    width: 100%;
    max-width: 900px;
    text-align: left;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Styling for the images section */
.sobe-images {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.sobe-images img {
  width: 100%;
  max-width: 500px; /* Increased from 280px */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}


  /* 'Registracija Vozila' Text Styling (regvoz-text) */
.regvoz-text {
  width: 100vw;
  min-height: 150px;
  background-color: white;
  display: grid;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  box-sizing: border-box;
}

/* Title Styling (regvoz-title) */
.regvoz-title {
  font-size: 36px; /* Keep the same title font size */
  font-family: 'Urbanist', sans-serif;
  font-weight: bold;
  color: black;
  margin-bottom: 10px; /* Space below the title */
}

/* 'Hadžić Registracija' Text Styling (hreg-text) */
.hreg-text {
  width: 100vw;
  min-height: 150px;
  background-color: white;
  display: grid;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px; /* Reduced padding to match Hadžić Sobe style */
  box-sizing: border-box;
}

/* Paragraph Styling (hreg-par) to match 'Hadžić Sobe' */
.hreg-par {
  font-size: 28px; /* Consistent font size with Hadžić Sobe */
  color: darkgray; /* Same color as Hadžić Sobe */
  font-family: 'Urbanist', sans-serif;
  width: 100%;
  max-width: 900px; /* Maximum width for consistency */
  text-align: left; /* Align text to the left like Hadžić Sobe */
  margin: 0;
  padding: 0 20px; /* Same padding as Hadžić Sobe */
}

/* Adding space between paragraphs */
.hreg-par p {
  margin-bottom: 20px; /* Adds space between paragraphs */
}

  /* 'O Nama' Text Styling (onama-text) */
.onama-text {
  width: 100vw;
  min-height: 150px;
  background-color: white;
  display: grid;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px; /* Consistent padding */
  box-sizing: border-box;
}

/* Title Styling (onama-title) */
.onama-title {
  font-size: 36px; /* Keep the same title font size */
  font-family: 'Urbanist', sans-serif;
  font-weight: bold;
  color: black;
  margin-bottom: 10px; /* Space below the title */
}

/* 'O Nama' Paragraph Styling (hnama-text) */
.hnama-text {
  width: 100vw;
  min-height: 150px;
  background-color: white;
  display: grid;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px; /* Adjusted padding to match 'Hadžić Sobe' */
  box-sizing: border-box;
}

/* Paragraph Styling (hnama-par) to match 'Hadžić Sobe' */
.hnama-par {
  font-size: 28px; /* Consistent font size with 'Hadžić Sobe' */
  color: darkgray; /* Same color as 'Hadžić Sobe' */
  font-family: 'Urbanist', sans-serif;
  width: 100%;
  max-width: 900px; /* Maximum width for consistency */
  text-align: left; /* Align text to the left */
  margin: 0;
  padding: 0 20px; /* Padding for consistency */
}

/* Adding space between paragraphs */
.hnama-par p {
  margin-bottom: 20px; /* Adds space between paragraphs */
}

  .kontakt{
    width: 100vW;
    min-height: 20px;
    background-color: white;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    box-sizing: border-box;
  }
  .kontakt-title{
    font-size: 36px;
    font-family: 'Urbanist', sans-serif;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
  }
  .layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px 0px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .names {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .maps {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .map-frame {
    width: 300px;
    height: 300px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  @media (max-width: 768px) {
    .layout {
      flex-direction: column;
      align-items: center;
    }
  
    .maps {
      flex-direction: column;
      align-items: center;
    }
  
    .map-frame {
      width: 90vw;
      height: 300px;
    }
  
    .names {
      width: 90vw;
    }
  }
  /* Responsive Navigation Dropdown for Small Screens */
  @media (max-width: 768px) {
    nav {
      flex-direction: column;
    }
  
    nav .menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background: black;
      align-items: flex-start; /* Align items to the left */
    }
  
    nav .menu li a {
      justify-content: flex-start; /* Align text to the left */
      padding: 10px 0;
      width: 100%; /* Ensure the items take up full width */
      text-align: left; /* Align text to the left */
    }
  
    nav .menu button {
      justify-content: flex-start; /* Align button text to the left */
      padding: 10px 0; /* Match padding with links */
      width: 100%; /* Make sure the button takes up full width like the links */
      text-align: left; /* Align button text to the left */
      background: black; /* Ensure it's consistent with the other items */
      border: none;
      font-size: 0.8rem;
      font-weight: bold;
      color: white;
      letter-spacing: 1px;
    }
  
    nav .menu button:hover,
    nav .menu li a:hover {
      background-color: red;
      color: white;
      box-shadow: 5px 10px 30px rgba(53, 53, 53, 0.1);
      transition: all ease 0.2s;
    }
  
    nav .menu.show {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      margin-top: 10px;
    }
  }

/* Footer Section Styling */
/* Footer Section Styling */
.footer {
  width: 100vw;
  background-color: red; /* Red background */
  color: white;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 50px; /* Adjust this value to match the space between title and text */
  position: relative;
  bottom: 0;
}

.footer-content p {
  font-size: 16px;
  font-family: 'Urbanist', sans-serif;
  margin: 5px 0;
}

.footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  color: yellow; /* Yellow hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
      padding: 15px; /* Slightly less padding on small screens */
      margin-top: 40px; /* Adjust for smaller screens */
  }

  .footer-content p {
      font-size: 14px; /* Smaller text for mobile */
      margin: 3px 0; /* Reduce the margin for mobile */
  }

  .footer a {
      font-size: 14px; /* Smaller links for mobile */
  }
}

@media (max-width: 480px) {
  .footer-content p {
      font-size: 12px; /* Even smaller text for very small screens */
  }

  .footer a {
      font-size: 12px; /* Smaller font size for links */
  }
}
/* Available Cars Section */
.vehicles-title{
  width: 100vW;
    min-height: 20px;
    background-color: white;
    display: grid;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    box-sizing: border-box;
}
.vehicles-main-title{
  font-size: 36px;
    font-family: 'Urbanist', sans-serif;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
}



/* Title */
.cars-title {
    font-size: 36px;
    font-family: 'Urbanist', sans-serif;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
}

/* Individual Car Items */
.vehicle-item {
    width: 100%; /* Width reduced to move content more toward the center */
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
    background-color: white;
    margin-left: 80px;
}
.vehicle-content-wrapper {
    display: flex;
    flex-direction: row;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Image */
.vehicle-image {
    flex: 0 0 40%;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Car Description */
.vehicle-description {
   flex: 1;
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    color: darkgray;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;margin-left: 150px;
}

/* Car Name */
.vehicle-name {
    font-size: 28px;
    color: black;
    margin-bottom: 10px;
}

/* Year, A/M, and Price */
.vehicle-details {
    font-size: 22px;
    color: darkgray;
    margin-bottom: 10px;
}

/* Additional Information Section */
.car-additional-info{
  width: 100vw;
  min-height: 150px;
  background-color: white;
  display: grid;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px; /* Adjusted padding to match 'Hadžić Sobe' */
  box-sizing: border-box;
}
.additional-info-text{
  font-size: 28px; /* Consistent font size with 'Hadžić Sobe' */
  color: darkgray; /* Same color as 'Hadžić Sobe' */
  font-family: 'Urbanist', sans-serif;
  width: 100%;
  max-width: 900px; /* Maximum width for consistency */
  text-align: center; /* Align text to the left */
  margin: 0;
  padding: 0 20px; /* Padding for consistency */
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .vehicle-item {
        flex-direction: column;
        align-items: center; /* Centers the items horizontally */
        justify-content: center; /* Centers the content vertically */
        margin-left: 0; /* Removes any left margin */
        margin-right: 0; /* Removes any right margin */
    }

    .vehicle-image {
        margin-bottom: 20px; /* Space between image and description */
        max-width: 100%; /* Ensures the image does not overflow */
        width: 100%; /* Makes the image responsive */
        margin-left: 0; /* Removes any left margin */
    }

    .vehicle-description {
        align-items: center; /* Centers the description text */
        text-align: center; /* Ensures text is centered */
        max-width: 100%; /* Ensures the description stays within the container */
        margin-left: 0; /* Removes any left margin */
    }

    .additional-info-text {
        font-size: 24px;
        text-align: center; /* Centers the additional info text */
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        justify-content: center;
        margin-left: -25px;
    }
}
.hreg-slike {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.hreg-logo {
  font-family: 'Urbanist', sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hreg-logo p {
  font-family: 'Urbanist', sans-serif;
 font-size: 30px; /* Slightly larger */
  color: black; /* Changed to black */
  font-family: 'Urbanist', sans-serif;
  margin: 0 0 20px 0; /* Bottom spacing */
}

.hreg-logo img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  object-fit: cover;
}


