@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: #333;
    position: relative;
    overflow: hidden;
    
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pozadi.jpg') no-repeat center center/cover;
    filter: blur(10px) brightness(20%);
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
}

p {
    padding: 0;
    color: #fff;
}

h1 {
    color: #fff;
    margin-top: 50px;
}

h2 {
    color: #fff;
}

/* Navbar */
.navbar {
    height: 8vh;
    padding: 0.5rem;
}

.navbar-brand img {
    width: 50px;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
    color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:focus, 
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    position: relative;
    font-family: "Montserrat", serif;
    font-size: 1.5rem;
}

.nav-link:hover, 
.nav-link.active {
    color: #000000;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #fff;
    visibility: hidden;
    transition: 0.1s ease-in-out;
}

.nav-link:hover::before, 
.nav-link.active::before {
    width: 100%;
    visibility: visible;
}

/* Offcanvas menu styles */
.offcanvas {
    background-color: black; /* Set background color to black */
}

.offcanvas-body .nav-link {
    color: #fff !important;
    display: flex;
    justify-content: center;
}

.offcanvas-header {
    background-color: black;
}

.offcanvas-header .btn-close {
    color: white !important;
}

/* Hero Section with Slider */
.hero {
    height: 100vh;
    user-select: none;
}

/* Skibidi */
.single-image-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px; 
    gap: 5px; 
}

.text-section-2 {
    width: 50%;
    padding-right: 7px; 
    text-align: center;
}

.text-section-2 h2 {
    font-family: "Montserrat", serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.text-section-2 p {
    font-family: "Montserrat", serif;
    font-size: 1.2rem;
}

.image-container {
    width: 45%; 
    display: flex;
    justify-content: center;
}

.image-container img {
    position: relative;
    width: 80%;
    height: 60%;
    overflow: hidden;
    border-radius: 10px;
    margin-left: 30px;
    border: 2px solid #ffffff;
    box-shadow: 0.5rem 7px #ffffff;
}

.single-image {
    max-width: 90%; 
    height: auto;
    border-radius: 10px;
}

/* New Section with Slider and Text */
button {
    width: 150px;
    height: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
}

.text-section {
    text-align: center;
    margin-right: 30px;
}

.text-section h2 {
    font-family: "Montserrat", serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.line-image {
    margin: 0 auto 20px;
    display: flex;
    width: 80%;
}

.text-section p {
    font-family: "Montserrat", serif;
    font-size: 1.2rem;
}

.image-comparison {
    position: relative;
    width: 80%;
    height: 60%;
    overflow: hidden;
    border-radius: 10px;
    margin-left: 30px;
    border: 2px solid #ffffff;
    box-shadow: 0.5rem 7px #ffffff;
}

.image-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
}

.image-wrapper img {
    height: 100%;
    width: 100%;
}

.first {
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.second {
    z-index: 0;
}

.slider {
    position: absolute;
    z-index: 2;
    width: 4px;
    height: 100%;
    left: 100%;
    transform: translateX(-50%);
    cursor: ew-resize;
    background: white;
}

.slider-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.slider-circle {
    position: relative;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.arrow {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

/* ========================= */
/* FOOTER SECTION            */
/* ========================= */

footer{
    background-color: #ffffff;
    }

footer h5{
    font-size: 1.8rem;
    font-weight: 200;
    font-family: "Montserrat", serif;
  }
  
  footer p{
    padding: 0;
    color: #838282;
    font-size: 1.1rem;
    transition: 0.5s;
    font-family: "Montserrat", serif;
  }
  
  footer p:hover{
    color: black;
    transform: scale(1.1);
    transition: 0.5s;
  }
  
  footer a{
    text-decoration: none;
    padding: 10px;
    transform: 0.5s;
  }
  
  
  .video-responsive {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; 
  }
  
  .video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* Tour Packages Grid */
.tour-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: 0.5s;
}

.card-img-top:hover{
    transform:scale(1.2);
    transition: 0.5s;
}

.card-body {
    padding: 15px;
    text-align: left;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 25px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* Add your styles here */
}

@media (max-width: 900px) {
    /* Add your styles here */
}

@media (max-width: 600px) {
    /* Add your styles here */
}

@media (max-width: 390px) {
    .hero-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    .text-section {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    .image-comparison {
        margin-bottom: 20px;
    }
}
