.header {
    position: fixed;
  }

/*PC VIEW*/
@media screen and (min-width: 767px) {
    .izletpage {
        padding-top: 20px !important;
        padding-bottom: 0px !important;
    }
  }
  
  /*Mobile VIEW*/
  @media screen and (max-width: 767px) {
    .izletpage {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
  }


  /*Mobile VIEW*/
  @media screen and (max-width: 767px) {
    .sectionsliderizlet {
        margin-bottom: 25px !important;
    }
  }

  @media screen and (min-width: 767px) {
    .displaytimelinetitle{
        display: none;
    }
  }
  
  /*Mobile VIEW*/
  @media screen and (max-width: 767px) {
    .displaytimelinetitle-2 {
        display: none;
    }
  }


/* HERO SECTION */
.hero-izlet {
    width: 100%;
    height: 48.5vh; /* Adjust height based on your design */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure the image doesn't overflow */
    opacity: 0.9;
}

.hero-izlet .hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image scales properly to fill the section */
    z-index: 1; /* Keeps the image behind the text */
}

.hero-izlet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Overlay for better text readability */
    z-index: 2; /* Overlay above the image but below content */
}

.hero-content-izlet {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 1rem; /* Ensure some padding for smaller screens */
}

.hero-content-izlet h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem); /* Scales based on screen width */
    margin-top: 2rem;
    line-height: 1.2;
    color: #fff;
}

/* HERO INFO CONTAINER */
.hero-info-container {
    position: relative;
    top: -40px; /* Pull it up to overlap with the hero section */
    z-index: 10; /* Ensure it stays above the hero section */
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* Space between items */
    flex-wrap: wrap; /* Wrap items on smaller screens */
    padding: 1rem 2rem;
    background: rgba(255, 255, 255); /* Semi-transparent background */
    border-radius: 12px; /* Smooth rounded edges */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    max-width: 1200px; /* Keep the info section contained */
}

/* Each INFO ITEM */
.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #333; /* Default text color */
    font-size: 0.9rem;
    width: 150px; /* Control width of each item */
}

.info-item i {
    font-size: 1.5rem; /* Icon size */
    margin-bottom: 0.5rem; /* Space between icon and text */
    color: #f9a826; /* Icon color */
}

/* Title Style */
.info-title {
    font-weight: bold; /* Bold for the title */
    margin-bottom: 0.2rem; /* Space below the title */
}

/* Value Style */
.info-value {
    font-size: 1rem; /* Smaller font size for value */
    color: #ec9a40; /* Gold color for value */
}

.included-section {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.included-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.included-container {
    display: flex;
    gap: 2rem;
}

/* TIMELINE SECTION */
.timeline-modern {
    background: #f5f5f5; /* Light gray background */
    padding: 100px 0; /* Increased spacing */
    display: flex;
    justify-content: center;
}

/* TIMELINE CONTAINER */
.timeline-container {
    position: relative;
    max-width: 1220px;
    padding: 50px 35px; /* Added padding to prevent overlap */
    padding-top: 60px;
    padding-bottom: 18px;
}

/* Timeline Line */
.timeline-container::before {
    content: "";
    position: absolute;
    top: 50px; /* Creates space above first item */
    left: 50%;
    width: 6px;
    height: calc(100% - 100px); /* Adjusted height */
    background: linear-gradient(180deg, #f7a64933, #eb970f);
    transform: translateX(-50%);
    border-radius: 3px;
}

/* TIMELINE ITEMS */
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px; /* Increased margin */
    position: relative;
}


.flatpickr-day.booked-date {
    background-color: #d56969 !important;
    color: white !important;
    cursor: not-allowed;
    pointer-events: none;  /* Prevents selection */
}





/* Alternating Layout */
.timeline-reverse {
    flex-direction: row-reverse;
}

/* Floating Cards */
.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    width: 45%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content h3 {
    color: #e98c25;
    font-size: 1.3rem;
    font-weight: bold;
}

.timeline-content p {
    font-size: 1rem;
    color: #555;
}

/* Image Section */
.timeline-image {
    width: 45%;
}

.timeline-image img {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


/* Hover Effects */
.timeline-item:hover .timeline-content,
.timeline-item:hover .timeline-image img {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Timeline Circle */
.timeline-circle {
    width: 18px;
    height: 18px;
    background: #e98c25;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
}

/* TIMELINE START & END LABELS */
.timeline-start,
.timeline-end {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 13px 10px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #28a3d8;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-start {
    top: -60px; /* Moves it away from first item */
}

.timeline-end {
    bottom: -60px; /* Moves it away from last item */
}

/* Icons for Start & End */
.timeline-start i,
.timeline-end i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #4caf50;
    display: block;
}

/* Testimonials Section */
.testimonials-section {
    background: #f8fbfc; /* Light grayish-blue background */
    padding: 80px 10%;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 30px;
}

/* Header Section */
.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.testimonials-title {
    text-align: left;
}
.timeline-title {
    text-align: left;
    color: #73280e;
}

.testimonials-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #27a3dd;
    text-transform: uppercase;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111;
    margin: 10px 0;
}

.testimonials-description {
    max-width: 400px;
    font-size: 1rem;
    color: #555;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 1250px;
    margin: 50px auto;
    margin-bottom: 0px;
    padding: 10px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    width: 320px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Star Rating */
.stars {
    font-size: 18px;
    color: #ffb400; /* Yellow Stars */
    margin-bottom: 10px;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 1.2rem;
    color: #222;
    font-weight: 500;
    line-height: 1.4;
    padding-bottom: 15px; /* Added spacing */
}

/* Author Name */
.testimonial-author {
    font-size: 1rem;
    font-weight: bold;
    color: #444;
    padding-top: 10px;
}

/* Hover Effects */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.swiper-pagination-2 {
    position: relative; /* Ensures it stays below */
    margin-top: 20px; /* Space between slider and dots */
    text-align: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #bbb;
    opacity: 0.5;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.swiper-pagination-bullet-active {
    background: #e98c25;
    opacity: 1;
    transform: scale(1.2);
}


.no-reviews-message {
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    color: #555;
    margin: 20px auto;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reviews-container {
    text-align: center;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: auto;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    transition: transform 0.3s ease-in-out;
}

.reviews-container:hover {
    transform: scale(1.02);
}

/* Title & Subtitle */
.reviews-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reviews-title i {
    color: #f4b400; /* Modern gold star */
    font-size: 24px;
}

.reviews-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    margin-top: 5px;
}

/* Review Buttons */
.reviews-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Individual Button Styling */
.review-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    padding: 14px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
}

.review-btn i {
    color: white;
    font-size: 18px;
}

.review-btn:hover {
    background: linear-gradient(135deg, #ff9a7b, #ffcc8f);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.4);
    transform: translateY(-3px);
}


/* Responsive */
@media (max-width: 600px) {
    .reviews-buttons {
        flex-direction: column;
        align-items: center;
    }

    .review-btn {
        width: 80%;
        justify-content: center;
    }
}




/* Responsive Design */
@media (max-width: 900px) {
    .testimonials-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonials-title {
        text-align: center;
    }

    .timeline-title {
        text-align: center;
    }

    .timeline-title-mobile {
        text-align: center;
        background: #f5f5f5;
        padding-top: 33px;
        color: #73280e;
        font-size: 2rem;
    }



    .testimonials-description {
        margin-top: 15px;
    }
    
    .testimonials-slider {
        max-width: 100%;
    }
}

/* PULSING ANIMATION */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(40 163 216);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .timeline-item {
        flex-direction: column;
        text-align: left;
    }

    .timeline-reverse {
        flex-direction: column;
    }

    .timeline-content, .timeline-image {
        width: 90%;
        margin-left: 40px;
        margin-bottom: 8px;
    }

    .timeline-circle {
        left: -24px;
        transform: translateY(42%);
    }

    .included-section {
        padding-top: 3rem;
        padding-bottom: 1rem;
    }

    /* TIMELINE START & END LABELS */
    .timeline-start,
    .timeline-end {
        padding: 13px 6px;
        font-size: 1rem;
        width: 250px;
    }

}

/* Cancellation Policy Container */
.cancellation-policy {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.cancellation-policy:hover {
    transform: translateY(-3px);
}

/* Icon Styling */
.icon-container {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 4px 8px rgba(255, 126, 95, 0.3);
}

/* Title */
.cancellation-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

/* Text */
.cancellation-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

/* Link Styling */
.cancellation-link {
    font-size: 15px;
    font-weight: bold;
    color: #d9534f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cancellation-link:hover {
    color: #c9302c;
    text-decoration: underline;
}

.start-end-tour {
    color: #333 !important;
    font-size: 0.9rem;
    padding-top: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    .cancellation-policy {
        flex-direction: column;
        align-items: flex-start;
    }

    .icon-container {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Flatpickr Calendar Styling */
.flatpickr-calendar {
    background: white !important; /* White background */
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header (Month & Year) */
.flatpickr-months {
    background: #f8f9fa !important; /* Light gray */
    color: #333 !important;
    height: 41px;
}

/* Days */
.flatpickr-day {
    color: black !important;
}


/* Selected & Today Highlight */
.flatpickr-day.selected {
    background: #83b764 !important; /* Orange */
    color: white !important;
    border-radius: 50%;
}

.flatpickr-day.today {
    border-color: #fff;

}

/* Hover Effect */
.flatpickr-day:hover {
    background: #f39c12 !important;
    color: white !important;
}

/* Disabled Past Dates */
.flatpickr-day.disabled {
    color: #aaa !important;
    cursor: not-allowed;
}


/* STILIZACIJA BOXEVA */
.included-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
}

.included-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745; /* Zelena boja za uključene stavke */
}

/* STILIZACIJA LISTE */
.included-box ul {
    list-style: none;
    padding: 0;
}

.included-box ul li {
    font-size: 1rem;
    color: #555;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* IKONICE */
.included-box i {
    font-size: 1.2rem;
    color: #28a745; /* Zelene ikonice za uključeno */
}

.included-border {
    border: 2px dashed #28a745; /* Crvena isprekidana linija */
}

/* NIJE UKLJUČENO BOX */
.not-included {
    border: 2px dashed #dc3545; /* Crvena isprekidana linija */
}

.not-included h3 {
    color: #dc3545; /* Crvena boja za nije uključeno */
}

.not-included i {
    color: #dc3545; /* Crvene ikonice za nije uključeno */
}

/* General Styles */
.booking-box {
    background: #1b2a38;
    padding: 2rem;
    border-radius: 12px;
    width: auto;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Price Section */
.price-row {
    font-size: 1.2rem;
    font-weight: bold;
    background: #2d3e50;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.child-price {
    color: #ec9a40;
    font-size: 0.85rem;
    justify-self: left;
}

/* Inputs */
.booking-box input {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    background: white;
    color: black;
}

.booking-box input:disabled {
    background: #ddd; /* Greyed out when disabled */
    cursor: not-allowed;
}

/* Checkbox Container (Fixed Alignment) */
.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.checkbox-container input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Payment Section */
.payment-method {
    text-align: left;
    margin: 1.7rem 0;
}

.payment-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

/* Fix Radio Button Layout */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

/* Hide all slides by default */
.timeline-slider .swiper-slide {
    display: none;
  }
  
  /* Show only the active slide */
  .timeline-slider .swiper-slide.active {
    display: block;
  }
  
  /* Optional: style the slider container */
  .timeline-slider {
    position: relative;
  }
  
  /* Navigation button styles */
  .slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    pointer-events: none; /* allow clicks to pass to the buttons */
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 100;
  }
  .slider-prev,
  .slider-next {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-decoration: none;
    padding: 12px;
    font-size: 1.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute; /* Ensure it overlays correctly */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for perfect centering */
    z-index: 10;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
  }
  
  /* Left arrow positioning */
  .slider-prev {
    left: 10px; /* Adjust to align properly */
  }
  
  /* Right arrow positioning */
  .slider-next {
    right: 10px; /* Adjust to align properly */
  }
  
  /* Hover effects */
  .slider-prev:hover,
  .slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
  }
  
  /* Responsive Fix for Mobile */
  @media (max-width: 768px) {
    .slider-prev,
    .slider-next {
      font-size: 1rem;
      width: 40px;
      height: 40px;
    }
  }
  
  @media (max-width: 480px) {
    .slider-prev,
    .slider-next {
      font-size: 1rem;
      width: 35px;
      height: 35px;
    }
  }
  
  
  /* Pagination dots container */
  .slider-pagination {
    text-align: center;
    margin-top: 10px;
  }
  
  /* Pagination dots */
  .slider-pagination .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .slider-pagination .dot.active {
    background: #e98c25;
  }
  
  /* Ensure images fill their container */
  .timeline-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
  }

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* Styling radio buttons */
.radio-label input[type="radio"] {
    accent-color: #f39c12;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Book Now Button */
.booking-box button {
    width: 100%;
    padding: 0.8rem;
    background: #e78c24;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    margin-top: 1rem;
}

.booking-box button:hover {
    background: #28a3d8;
}

/* Confidence Section */
.confidence-section {
    text-align: center;
    margin-top: 1.5rem;
}

.confidence-section h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.confidence-section p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.boxpayment-title {
    color: white;
    padding-bottom: 0.5rem;
}


/* RESPONSIVNOST */
@media (max-width: 768px) {
    .included-container {
        flex-direction: column;
        align-items: center;
    }

    .included-box {
        width: 100%;
        max-width: 400px;
    }
}


/* RESPONSIVENESS */

/* For tablets and smaller devices (768px) */
@media screen and (max-width: 768px) {
    .reviews-title {
        font-size: 1.5rem;
    }

    .swiper-top-gallery {
        height: 250px;
    }

    .reviews-subtitle {
        font-size: 15px;
    }

    .reviews-title i {
        font-size: 22px;
        
    }
    
    .hero-info {
        gap: 1rem; /* Further reduce gap */
        padding: 1rem;
    }

    .info-item {
        font-size: 0.8rem; /* Smaller text size */
        width: calc(33.33% - 1rem); /* Force three items per row */
    }

    .info-item i {
        font-size: 1.2rem; /* Smaller icons */
    }

    .info-title {
        font-size: 1.05rem;
    }

    .info-value {
        font-size: 1rem; /* Adjust value size */
    }

    .info-item:nth-child(4),
    .info-item:nth-child(5) {
        width: calc(50% - 1rem); /* Two items in the second row */
    }

    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-description {
        font-size: 16px;
    }

    /* Testimonial Text */
    .testimonial-text {
        font-size: 15px;
    }

    .testimonials-section {
        padding-top: 28px;
        padding-bottom: 15px;
    } 
}

@media (max-width: 768px) {
    .hero-izlet {
        height: 42vh; /* Reduce height for smaller screens */
    }

    .hero-content-izlet h1 {
        font-size: 1.5rem; /* Further reduce font size on smaller devices */
    }

}

@media (max-width: 480px) {
    .hero-izlet {
        height: 42vh; /* Make hero even smaller on very small screens */
    }

    .hero-content-izlet h1 {
        font-size: 1.4rem; /* Smaller heading font size for compact screens */
    }

}