/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Oxanium", sans-serif;
  line-height: 1.6;
  position: relative;
}

/* General Header Styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    rgba(255, 255, 255, 0)
  );
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Header when scrolled */
header.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
}

h1,
h2,
h3,
h4 {
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
  text-align: center;
  position: relative;
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: 40px;
}
h2 {
  font-size: 40px;
}
h3 {
  font-size: 40px;
}
h4 {
  font-size: 40px;
}
.naslov {
  margin: 40px; /* MoÅ¾eÅ¡ prilagoditi vrednost po potrebi */
}

.logo-container {
  margin-left: 50px;
}

.logo {
  max-width: 350px;
  width: 80%;
  transition: opacity 0.3s ease-in-out;
}

.nav-menu {
  display: flex;
  gap: 20px;
  margin-right: 20px;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #07840c;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white; /* Default: White before scrolling */
  transition: color 0.3s ease-in-out;
}

/* When scrolled, the menu icon turns black */
header.scrolled .menu-toggle {
  color: black;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 90%; /* Closer to the header */
    left: 0;
    width: 100%;
    background: transparent; /* Transparent before scrolling */
    text-align: center;
    padding: 10px 0; /* Reduce padding to minimize space */
  }

  /* Show the nav menu when toggled */
  .nav-menu.show {
    display: flex;
    flex-direction: row; /* Keep items in one line */
    justify-content: center;
    gap: 20px;
  }

  .nav-menu li {
    padding: 5px 0; /* Reduce padding to bring items closer */
  }

  /* White text before scrolling */
  .nav-menu a {
    color: white !important;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
  }

  /* Green hover & active state */
  .nav-menu a:hover,
  .nav-menu a:focus,
  .nav-menu a:active {
    color: #07840c !important;
  }

  /* After scrolling: Black text on white background */
  header.scrolled .nav-menu {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  header.scrolled .nav-menu a {
    color: black !important;
  }

  /* Keep green hover & active even after scrolling */
  header.scrolled .nav-menu a:hover,
  header.scrolled .nav-menu a:focus,
  header.scrolled .nav-menu a:active {
    color: #07840c !important;
  }
}

/* Hero Section */
.Hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.Carousel {
  width: 100%;
  height: 100%;
}

.Carousel-cell {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh; /* Default full height */
}

/* Hero Text */
.Hero-text {
  position: absolute;
  bottom: 90px;
  left: 90px;
  color: white;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.Hero-title {
  font-size: 96px;
  font-family: "Oxanium", sans-serif;
  margin: 0;
}

.Hero-text p {
  font-size: 55px;
  font-family: "Oxanium", sans-serif;
  margin: 0;
  line-height: 1.2;
}

/* ðŸ“± Mobile Adjustments */
@media (max-width: 768px) {
  .Hero {
    height: 50vh; /* Carousel image takes only half the screen */
  }

  .Carousel-cell {
    height: 50vh; /* Reduce height */
  }

  .Hero-text {
    bottom: 10px; /* Move text to the bottom */
    left: 10px; /* Move text to the left corner */
  }

  .Hero-title {
    font-size: 40px; /* Smaller text */
  }

  .Hero-text p {
    font-size: 20px; /* Smaller subheading */
  }
}
/* section 2 mobile*/

/* Partners Section */
.partners-section {
  padding: 20px;
  text-align: center;
  background-color: #ffffff;
}

.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px; /* Added a gap between logos */
}

.partner-logo {
  max-width: 80px; /* Set max-width for mobile devices */
  width: auto;
  height: auto;
  margin: 10px; /* Margin for spacing between logos */
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 10px;
  background-color: #ffffff;
  color: #000000;
}

/* Mobile Adjustments for widths up to 800px */
@media (max-width: 800px) {
  .Hero {
    height: auto; /* Allow height to adjust based on content */
  }

  .Hero-title {
    font-size: 2.5rem; /* Smaller title size */
  }

  .Hero-text {
    font-size: 1rem; /* Smaller text size */
  }

  .partners-logos {
    justify-content: space-around; /* Ensure the logos are spaced evenly */
  }

  .partner-logo {
    max-width: 70px; /* Slightly smaller logos for mobile */
  }

  .nav-menu li {
    display: block; /* Stack navigation items vertically */
    margin: 0px 0; /* Add margin between items */
  }

  .nav-menu {
    flex-wrap: wrap; /* Allow items to wrap if necessary */
  }
}

/* Mobile Adjustments for widths up to 600px */
@media (max-width: 600px) {
  .partner-logo {
    max-width: 60px; /* Further reduce logo size for very small screens */
  }
}

/* Service Section */
.service-section {
  text-align: center;
  margin-bottom: 40px;
}

.service-btn {
  display: inline-block;
  background-color: transparent; /* Remove button background */
  color: #000000;
  margin: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
}

.service-btn i {
  margin-right: 10px; /* Space between icon and text */
}

.service-btn:hover {
  color: #07840c;
}

.service-btn:focus {
  outline: none;
}

.service-buttons {
  margin-bottom: 20px;
}

/* Image Gallery */
.gallery {
  display: none;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.active-service {
  display: block;
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 12px; /* Slightly rounded edges */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Mobile */
@media (max-width: 768px) {
  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .gallery-img {
    width: calc(33.33% - 10px); /* Each image takes 1/3 of the row */
    height: auto; /* Maintain aspect ratio */
    max-width: 100px; /* Adjust this size if needed */
  }
}
@media (max-width: 768px) {
  /* Keep service buttons in a row */
  .service-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* Prevent stacking */
    gap: 10px;
  }

  /* Ensure icon stays on the left side of text */
  .service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-btn i {
    margin-right: 8px; /* Keep space between icon and text */
  }

  /* Title & text stay centered */
  .service-section h1,
  .service-section p {
    text-align: center;
  }

  /* Make images 3 in a row */
  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .gallery-img {
    width: calc(33.33% - 10px); /* Keep 3 images per row */
    height: auto; /* Maintain proportions */
    max-width: 100px; /* Adjust size if needed */
  }

  /* Ensure modal image is centered and full-screen on mobile */
  .image-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .modal-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 0;
  }

  .modal-description-wrapper {
    display: block;
  }
}

/* Modal */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

.modal-content {
  display: flex;
  flex-direction: column; /* Stack image and text vertically */
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  gap: 20px;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.modal-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

#modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.modal-description-wrapper {
  width: 100%;
  color: white;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  padding: 10px;
}

.modal-description-wrapper::-webkit-scrollbar {
  width: 6px;
}

.modal-description-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.modal-description-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    gap: 10px;
  }

  .modal-description-wrapper {
    border-left: none;
    padding-top: 10px;
    text-align: center;
  }
}

/* Hover Effect for Image */
#modal-image:hover {
  transform: scale(1.03);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1100;
}

.modal-close:hover {
  color: #07840c;
}
.Contact {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  background-color: #fff;
  padding: 40px; /* Increased padding to reduce empty space */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 40px; /* Reduced space at the top */
  margin-bottom: 40px; /* Reduced space at the bottom */
  align-items: center; /* Center content vertically */
}

.Contact-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center map and info vertically */
}

/* Left Side: Google Map */
.GoogleLocation {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px; /* Increased size */
  height: 400px; /* Increased size */
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.GoogleLocation iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Right Side: Contact Info */
.Contact-details {
  padding-left: 20px;
  border-left: 2px solid #ddd;
}

.ContactList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ContactList-item {
  margin-bottom: 15px;
}

.ContactList-label {
  font-weight: bold;
  color: #444;
}

.ContactList-value {
  color: #777;
}

.ContactList a {
  color: #007bff;
  text-decoration: none;
}

.ContactList a:hover {
  text-decoration: underline;
}

.WorkingHours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Form Styles */
.Form {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  width: 100%; /* Ensure the form takes full width */
}

.Form-row {
  display: flex;
  gap: 20px; /* Increased gap between input fields */
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.Form-col {
  flex: 1;
  min-width: 250px; /* Set minimum width */
}

.Input {
  width: 100%;
  padding: 12px 15px; /* Increased padding for larger fields */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  margin-bottom: 10px;
}

.Input--textarea {
  resize: vertical;
  font-family: Arial, Helvetica, sans-serif;
}

.Button--submit {
  background: linear-gradient(90deg, #07840c, #007105);
  color: white;
  border: none;
  padding: 14px 30px; /* Increased padding for spreading */
  font-size: 1em;
  border-radius: 25px; /* Curved edges */
  cursor: pointer;
  display: block;
  width: 100%; /* Makes it spread full width */
  max-width: 300px; /* You can adjust this for a fixed spread */
  margin: 0 auto;
  transition: background 0.3s ease, transform 0.2s ease;
}

.Button--submit:hover {
  background: linear-gradient(90deg, #007105, #07840c);
  transform: translateY(-3px); /* Adds a lift effect */
}

.Button--submit:active {
  transform: translateY(1px);
}

.Form-message {
  display: none;
  color: green;
  margin-top: 10px;
  text-align: center;
}

/* General kontakt Block Styling */
.Block {
  padding: 40px; /* Increased padding */
  background-color: #f9f9f9;
  margin: 20px auto;
  max-width: 1200px; /* Increased width */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.Block-title {
  font-size: 2.5em; /* Increased font size */
  color: #333;
  margin-bottom: 20px; /* Adjusted margin */
  text-align: center;
}

.Block-title--small {
  font-size: 1.8em;
}

.u-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
/*mobile contact*/
@media (max-width: 768px) {
  /* Contact section layout for mobile */
  .Contact {
    flex-direction: column; /* Stack vertically */
    align-items: center;
    padding: 20px; /* Reduce padding */
  }

  .Contact-group {
    width: 100%; /* Full width on smaller screens */
    padding: 0;
    border: none;
  }

  .Contact-details {
    padding-left: 0;
    border-left: none;
    margin-top: 20px; /* Space between map and details */
  }

  /* Resize Google Map on mobile */
  .GoogleLocation {
    width: 100%; /* Full width for mobile */
    height: 300px; /* Adjust height */
  }

  /* Form adjustments for mobile */
  .Form {
    padding: 20px;
    width: 100%;
  }

  .Form-row {
    flex-direction: column; /* Stack inputs vertically */
    gap: 15px;
  }

  .Form-col {
    width: 100%;
    min-width: auto;
  }

  /* Button should take full width on mobile */
  .Button--submit {
    width: 100%;
    max-width: none;
  }

  /* Adjust block title for smaller screens */
  .Block-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .GoogleLocation {
    height: 250px; /* Further reduce map height on very small screens */
  }

  .Block-title {
    font-size: 1.8em;
  }

  .Input {
    padding: 10px;
    font-size: 0.9em;
  }

  .Button--submit {
    padding: 12px;
    font-size: 0.9em;
  }
}

.AboutUs {
  display: flex;
  background-color: white; /* White background */
  padding: 40px 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  flex-direction: column; /* Stack content vertically */
  align-items: center; /* Center everything */
}

.AboutUs-title {
  text-align: center;
  font-size: 40px !important; /* Force 40px size */
  margin-bottom: 20px; /* Adjust spacing below */
  color: #000000; /* Set title color to black */
  width: 100%;
  font-weight: bold; /* Bold text */
  padding-top: 20px; /* Add space above the title */
}

.AboutUs-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px; /* Limit the width */
}

.AboutUs-columns {
  display: flex;
  flex-direction: column; /* Stack the columns vertically */
  gap: 20px;
  flex: 1; /* Take up the remaining space */
}

.AboutUs-column {
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.AboutUs-column h3 {
  color: #007105;
  margin-bottom: 15px;
  font-size: 1.25em;
}

.AboutUs-column p {
  font-size: 1em;
  color: #555;
  line-height: 1.5;
}

.AboutUs-image {
  flex-shrink: 0;
  margin-left: 30px; /* Space between image and columns */
  width: 40%; /* Adjust image width */
  height: 100%; /* Ensure image takes up the full height of the columns */
  display: block; /* Make sure it's treated as a block-level element */
}

.AboutUs-img {
  width: 100%;
  height: 100%; /* Stretch the image to match the height of the columns */
  object-fit: cover; /* Ensures image maintains aspect ratio while filling the space */
  border-radius: 8px;
}
@media (max-width: 768px) {
  .AboutUs-content {
    flex-direction: column; /* Stack columns and image vertically */
    align-items: center;
  }

  .AboutUs-image {
    width: 100%; /* Full width on smaller screens */
    height: auto;
    margin-left: 0; /* Remove left margin for mobile */
    margin-top: 20px; /* Add space above the image */
  }

  .AboutUs-columns {
    width: 100%;
  }
}
/*transport*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.transport-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.transport-header {
  text-align: center;
  font-size: 40px !important;
  margin-bottom: 20px;
  color: #000000;
  width: 100%;
  font-weight: bold;
  padding-top: 20px;
}

.transport-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  width: 100%;
}

.transport-columns {
  display: flex;
  justify-content: center;
  max-width: 100%;
}

.transport-column {
  display: flex;
  flex-direction: row; /* Image and text side by side */
  align-items: center;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  font-size: 1em;
  color: #555;
  line-height: 1.5;
  gap: 20px;
}

.transport-image img {
  width: 240px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .transport-column {
    flex-direction: column; /* Stack image above text */
    text-align: center;
  }

  .transport-image img {
    width: 200px;
  }
}

