/* Carousel Animations */
.carousel-item {
    transition: transform 1.2s ease-in-out;
    height: 100vh; /* Increased height from 60vh */
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Carousel Text Styling */
.carousel-caption h1 {
    font-family: var(--font-script);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.carousel-caption p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    font-size: var(--text-lg);
}

/* Landing Container Spacing */
.landing-container {
    padding: 1rem 0; /* Reduced from 2rem */
    background-color: #fff;
}

.service-card-1 {
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.service-card-2 {
    margin-bottom: 0.5rem; /* Reduced from 1rem */
}

.our-services img {
    margin-bottom: 0.5rem; /* Reduced from 0.75rem */
    transition: transform 0.3s ease;
}

.our-services:hover img {
    transform: translateY(-5px);
}

.fade-in-overlay {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-up-caption {
    animation: slideUp 0.8s ease-out;
}

.animate-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-text-delay {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 2rem;
    background-size: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Enhanced Carousel Indicators */
.carousel-indicators {
    margin-bottom: 1rem; /* Reduced from 2rem */
    z-index: 15;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-indicators button {
    width: 30px !important;
    height: 6px !important;
    border-radius: 3px !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    opacity: 0.8;
    position: relative;
}

.carousel-indicators button.active {
    background-color: #fff;
    opacity: 1;
    width: 40px !important;
}

.carousel-indicators button::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators button:nth-child(1)::after {
    content: '1';
}

.carousel-indicators button:nth-child(2)::after {
    content: '2';
}

.carousel-indicators button:nth-child(3)::after {
    content: '3';
}

/* Reduce spacing between sections */
section {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

section:last-child {
    padding-bottom: 0 !important;
}

/* Specific section spacing adjustments */
#about {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

#destinations {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

#packages {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.partners-section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh; /* Even smaller on mobile */
    }
    
    .landing-container {
        padding: 0.5rem 0;
    }
    
    .service-card-1 {
        margin-bottom: 0.5rem;
    }
    
    .service-card-2 {
        margin-bottom: 0.25rem;
    }
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.5;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.landing-page {
    background: #fff !important;
} 