body {
font-family: Verdana, Geneva, Tahoma, sans-serif;    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding-top: 100px; /* Add padding to body to prevent content from hiding behind sticky header */
  }

  header {
    background: #034a5c;
    color: #fff;
    padding: 0.5rem 0; /* Reduced vertical padding */
    text-align: center;
    position: fixed; /* Changed to fixed */
    top: 0;
    left: 0;
    width: 100%; /* Ensure header spans full width */
    z-index: 1000; /* Ensure header is above other content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional shadow */
  }

  .header-container {
    max-width: 1100px; /* Match main content width */
    margin: 0 auto;
    padding: 0 20px; /* Add horizontal padding */
    display: flex;
    justify-content: space-between; /* Space out logo, center, and right elements */
    align-items: center; /* Vertically align items */
    min-height: 70px; /* Ensure header has some height */
  }

  .logo {
    flex-shrink: 0; /* Prevent logo from shrinking */
  }

  .logo a, .logo img {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem; /* Adjust as needed */
    font-weight: bold;
    display: block; /* Needed for image height */
    max-height: 200px; /* Control logo image height */
  }
  .logo img {
     width: 250px; /* Maintain aspect ratio */
  }


  .header-center {
    text-align: center;
  }

  .header-center h1 {
    margin: 0 0 5px 0; /* Adjust margin */
    padding: 0;
    font-size: 1.8rem; /* Adjust as needed */
    color: #fff;
  }

  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    display: inline;
    margin: 0 10px; /* Reduced margin */
  }

  nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem; /* Slightly smaller nav links */
  }

  nav a:hover {
    text-decoration: underline;
  }

  .header-right {
    flex-shrink: 0; /* Prevent phone number from shrinking */
    text-align: right;
  }

  .phone-number {
    margin: 0;
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff; /* Slightly lighter color */
  }

  main {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
  }

  section {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  section h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
  }

  #hero {
    background: #308aa0;
    color: #fff;
    text-align: center;
    margin-top: 100px;
    padding: 70px 20px; /* Added padding */
    border-radius: 5px; /* Match other sections */
  }
  #hero p{
    font-size: larger;
  }

  #hero h2 {
    color: #fff;
    margin-top: 0;
  }

  .service-item {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    font-size: larger;
  }
  .service-item:last-child {
     border-bottom: none;
  }

  .service-item h3 {
      margin-bottom: 10px;
      color: #0056b3;
  }

  .service-item h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-size: 1.1em;
  }

  .service-gallery-grid, .service-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
  }

  .ac-brands-gallery {
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 20px;
  }

  .gallery-item {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #eee;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.9em;
    border-radius: 4px;
  }

  .video-item {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #eee;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    border-radius: 4px;
  }

  .gallery-item img,
  .gallery-item .image-placeholder {
      max-width: 100%;
      height: 150px;
      object-fit: contain;
      display: block;
      margin-bottom: 10px;
      background-color: #ccc;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #555;
      font-style: italic;
  }

  .gallery-item p.description {
    margin-top: auto;
    margin-bottom: 0;
    font-size: 0.9em;
    color: #333;
    text-align: center;
    padding: 5px;
    width: 100%;
  }

  .ac-sub-service {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
  }

  .ac-sub-service h4 {
    margin-top: 0;
    margin-bottom: 8px;
    border-bottom: none;
    color: #333;
    font-size: 1.05em;
  }

  .ac-sub-service p {
    margin-bottom: 15px;
    font-size: 0.95em;
  }

  .ac-sub-service .video-item {
    min-height: 180px;
    background-color: #e5e5e5;
  }

  #contact form {
    max-width: 600px;
    margin: 0 auto;
  }
  #contact p {
text-align: center;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }

  .form-group input[type="email"],
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

  #contact button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background: #28d1b5c0;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
  }

  #contact button:hover {
    background: #034a5c;
    color: #eee;
  }

  /* Add back styles for the status message */
  #form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    min-height: 1.2em; /* Prevent layout shift when message appears/disappears */
  }

  footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: #034a5c;
    color: #fff;
  }





  .brand-header{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;   
    font-size: x-large;
    text-decoration: underline;
     display: flex;
    justify-content: center;
  }




@media (max-width: 490px) {
  .header-container {
    height: 100px;
    flex-direction: column;
    align-items: center;
    height: fit-content;
  }
  .logo{
    padding-bottom: 50px;
    margin-bottom: -140px;
    margin-top: -50px;
  }
  .header-center{
    display: none;
  }
  .header-right{
    justify-content: center;
    padding-bottom: 40px;
    color: white;
  }
}

@media (max-width: 700px) and (min-width: 490px) {
  /* Стили кои важат само од 700px до 490px ширина */

  .header-container {
    height: 160px;
  }

  .header-right {
    gap: 15px;
    font-size: 14px;
    color: white;

  }
  .header-center{
    display: none;
  }

  .logo {
width: 30%;  }
}
