body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  color: #333;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/Staje.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
nav{
     display: flex;
     padding: 2% 6%;
     justify-content: space-between;
     align-items: center;
}
nav img{
    width: 200px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #2bd415;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
.odkaz{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.odkaz:hover{
    border: 1px solid #2bd415;
    background: #2bd415;
    transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width:700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #2bd415;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }

    .fotogalerie{
        padding: 0%;
    }

    .foto-col{
        max-height: 1%;
    } 
    
    /* Mobile Styles */
@media screen and (max-width: 700px) {
    /* Update font size and padding for better mobile readability */
    body {
        font-size: 16px;
    }
    
    /* Adjust the navigation bar for mobile */

    
    nav img {
        width: 150px;
    }

    
    /* Adjust the text-box styles for mobile */
    .text-box {
        top: 40%; /* Adjust as needed */
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .text-box h1 {
        font-size: 36px;
    }
    
    .text-box p {
        font-size: 14px;
        margin: 10px 0 20px; /* Adjust as needed */
    }
    
    .odkaz {
        padding: 10px 24px;
        font-size: 16px;

    }
    
    /* Update product column styles for mobile */
    .product-col {
        flex-basis: 100%; /* Full width on mobile */
        margin-bottom: 20px;
    }
    
    .product h1 {
        font-size: 24px; /* Adjust as needed */
        padding-top: 40px; /* Adjust as needed */
    }
    
    .product p {
        font-size: 12px; /* Adjust as needed */
        padding: 5px; /* Adjust as needed */
    }
    
    /* Update .row-foto styles for mobile */
    .row-foto {
        flex-direction: column; /* Stack images vertically on mobile */
    }
    
    .foto-col {
        flex-basis: 100%; /* Full width on mobile */
    }
    .foto-col img {
    height: 100px; /* Full width on mobile */
    }
    
    /* Update footer styles for mobile */
    .footer h4 {
        margin-top: 10px; /* Adjust as needed */
    }
    
    .icons .fa {
        font-size: 24px; /* Adjust as needed */
        margin: 0 10px; /* Adjust as needed */
        padding: 15px 0; /* Adjust as needed */
    }
    
}
}
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/Staje.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 100px;
}

.offers-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 100px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.offer-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.offer-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.offer-content {
  padding: 20px;
  text-align: center;
}

.offer-content h3 {
  margin: 0 0 15px;
  font-size: 1.3rem;
}

.offer-content a {
  text-decoration: none;
  background: #4CAF50;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background 0.3s;
}

.offer-content a:hover {
  background: #388e3c;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
}

