/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Styles */
  body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f7f7f7;
    line-height: 1.6;
  }

  /* Button Styles */
.btn {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s; /* Add transition for shadow */
}

.btn:hover {
    background-color: #e55c5c;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}
  
  /* Header Section with Fixed Background */
.header {
    background: url('slike-s-spleta/kamnik_panorama_1.jpg') no-repeat center center/cover; /* Fixed background image */
    background-attachment: fixed; /* Keep background fixed */
    color: #fff;
    text-align: center;
    height: 60vh; /* Height set to 60% of viewport height */
    min-height: 400px; /* Minimum height to ensure it's always visible */
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    position: relative; /* Required to position child elements */
  }
  
  /* Header Text Styles */
  .header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  
  .header p {
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  
  /* Main Content */
  main {
    margin-top: -100px; /* Allow the header image to be seen at first */
    position: relative; /* Required to overlay content */
    z-index: 1; /* Set lower z-index than header */
  }
  
  /* Container Section */
  .container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255); /* Slightly transparent to see the background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
  }
  
  /* Section Titles */
  .container h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
  }
  
/* About Section Styles */
.about-section {
    padding: 40px 0;
    background-color: #f9f9f9;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* To make it responsive */
    gap: 20px;
  }
  
  .about-text {
    flex: 1;
    min-width: 300px;
  }
  
  .about-image {
    flex: 1;
    min-width: 300px;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Stack columns on small screens */
@media (max-width: 768px) {
    .about-content {
      flex-direction: column;
      text-align: center;
    }
  
    .about-image, .about-text {
      width: 100%;
    }
  }

  /* Wrapper with padding for responsiveness */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Adds left and right padding */
  }
  
  .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  
  
  /* 2x2 Grid for Amenities */
  .grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
  }
  
  .grid-2x2 img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  
  .grid-2x2 img:hover {
    transform: scale(1.05);
  }

  .grid-5x1 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 15px;
  }

  .grid-5x1 img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .grid-5x1 img:hover {
    transform: scale(1.05);
  }

  /* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .grid-2x2 {
      grid-template-columns: 1fr; /* Stack in a single column */
    }

    .grid-2x2 img {
      max-width: 500px;
    }
  }

  .image-link img {
    cursor: pointer; /* Change cursor to pointer on hover */
  }
  
  .image-link img:hover {
    transform: scale(1.03); /*image zoom effect on hover */
  }
  
  /* Fullscreen overlay styles */
  .image-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark overlay */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 999; /* Ensure it appears above other elements */
  }
  
  .image-fullscreen img {
    max-width: 90%;
    max-height: 90%;
  }
  
  /* To show the overlay */
  .show {
    display: flex;
  }

  .btn {
    display: inline-block; /* Make sure the button is treated as an inline block */
    margin-top: 20px;
  }
  
  /* 3x2 Grid for Activities */
  .grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
  }
  
  .grid-3x2 img {
    width: 100%;
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensures image fills the box without distortion */
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  
  .grid-3x2 img:hover {
    transform: scale(1.05);
  }

  /* Adjust to two-column layout on medium screens */
  @media (max-width: 992px) {
    .grid-3x2 {
      grid-template-columns: 1fr 1fr; /* Two columns */
    }
  }
  
  /* Stack to one-column layout on smaller screens */
  @media (max-width: 600px) {
    .grid-3x2 {
      grid-template-columns: 1fr; /* One column */
    }
  }

  /* Location */
  .location-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
  }

  /* Style for the clickable image */
  .location-img {
    width: 100%; /* Adjust the width as needed */
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 15px;
  }

  /* Fullscreen overlay */
  .fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    z-index: 1000; /* Ensure it's on top of everything */
    justify-content: center;
    align-items: center;
  }

  /* Container for the fullscreen image */
  .fullscreen-img-container {
    position: relative;
    overflow: hidden;
    width: 90%;
    height: 90%;
    max-width: 90vw;
    max-height: 90vh;
  }

  /* Fullscreen image */
  .fullscreen-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease; /* Smooth zoom in/out */
    cursor: zoom-in;
  }

  /* Zoomed-in image */
  .fullscreen-img.zoomed {
    transform: scale(1.5); /* Scale to 150% */
    cursor: zoom-out;
  }

  /* Close button */
  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }

  /* Text inside the fullscreen overlay */
  .fullscreen-text {
    margin-top: 20px;
    font-size: 20px;
    color: white;
    text-align: center;
  }


  
  /* Contact Form */
  form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  form label {
    margin-top: 10px;
    font-size: 1em;
    color: #333;
  }
  
  form input, form textarea {
    width: 80%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  form .btn {
    margin-top: 15px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  form .btn:hover {
    background-color: #e55c5c;
  }

  /* Footer */
  footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 0.8em;
  }
  
  footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
  }
  
  .footer-contacts p {
    margin: 5px 0;
  }
  
  .footer-contacts a {
    color: #ffffff;
    text-decoration: none;
  }
  
  .footer-contacts a:hover {
    text-decoration: underline;
  }
  
    