/* Homepage specific styles */
.home-banner {
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.home-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
}

.search-box {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.section-padding {
    padding: 80px 0;
}

.experience-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.category-card, .resort-card, .new-resort-card, .blog-card, .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.category-card:hover, .resort-card:hover, .new-resort-card:hover, .blog-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.virtual-tour-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.virtual-tour-card:hover {
    transform: scale(1.03);
}

.virtual-tour-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.virtual-tour-card:hover .virtual-tour-overlay {
    opacity: 1;
}

.counter-item {
    padding: 20px;
    border-radius: 8px;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.d-flex:hover .feature-icon {
    transform: scale(1.1);
}

.cta-section {
    position: relative;
}

.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.rating-stars {
    color: #ffc107;
}

.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.benefit-card:hover .benefit-icon i {
    transform: scale(1.1);
}

.benefit-icon i {
    transition: transform 0.3s ease;
}

/* Hero section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Resort cards */
.resort-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resort-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.resort-img {
    position: relative;
    overflow: hidden;
}

.resort-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resort-card:hover .resort-img img {
    transform: scale(1.1);
}

.resort-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
}

.resort-amenities {
    margin: 15px 0;
}

.resort-amenities small {
    display: inline-block;
    margin-right: 10px;
    color: #666;
}

/* Popular resort card */
.popular-resort-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.popular-resort-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.popular-resort-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-resort-card:hover .overlay {
    opacity: 1;
}

.popular-resort-card .view-details {
    color: white;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 4px;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.popular-resort-card:hover .view-details {
    transform: translateY(0);
    opacity: 1;
}

/* Testimonials section */
.testimonials-slider {
    padding: 20px 0;
}

.testimonial-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 10px;
}

.testimonial-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #777;
}

/* Stats section */
.stats-section {
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1.2rem;
}

/* Why choose us section */
.divider {
    height: 3px;
    width: 70px;
    background-color: #0d6efd;
    margin: 15px 0;
}

.divider.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.feature-box {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* New resort tag */
.new-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 10;
}

/* Blog cards */
.blog-category a {
    display: inline-block;
    background: #f8f9fa;
    color: #0d6efd;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
}

.blog-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

/* CTA section */
.cta-section {
    background-size: cover;
    background-position: center;
    color: white;
}

/* ========================================
   CAROUSEL STYLES
   ======================================== */

/* Hero Slider Styles */
.hero-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.hero-slide {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide-bg {
    width: 100%;
    min-height: 80vh;
    background-attachment: fixed;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,111,97,0.2) 0%, rgba(255,111,97,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.text-shadow-lg {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.text-shadow-md {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.hero-slide-column {
    min-height: 400px;
}

.hero-slide-column .hero-slide-bg {
    min-height: 400px;
}

/* Enhanced Owl Carousel Styles with Site Colors */
.owl-carousel {
    position: relative;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.owl-carousel .owl-nav button {
    pointer-events: all;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    color: #ff6f61 !important;
    border: 3px solid #ff6f61 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(255,111,97,0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 20px !important;
    margin: 0 !important;
    backdrop-filter: blur(10px);
}

.owl-carousel .owl-nav button:hover {
    background: #ff6f61 !important;
    color: white !important;
    transform: scale(1.15) !important;
    box-shadow: 0 12px 30px rgba(255,111,97,0.4) !important;
    border-color: #e55a4b !important;
}

.owl-carousel .owl-nav button:active {
    transform: scale(1.05) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 30px !important;
}

.owl-carousel .owl-nav button.owl-next {
    right: 30px !important;
}

/* Move dots outside carousel container */
.owl-carousel + .owl-dots-wrapper {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
}

.owl-carousel + .owl-dots-wrapper .owl-dots {
    position: static !important;
    bottom: auto !important;
    width: auto !important;
    display: inline-block;
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.owl-carousel + .owl-dots-wrapper .owl-dots .owl-dot {
    display: inline-block;
    width: 12px !important;
    height: 12px !important;
    background: rgba(255,255,255,0.3) !important;
    border-radius: 50% !important;
    margin: 0 8px !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    cursor: pointer;
    position: relative;
}

.owl-carousel + .owl-dots-wrapper .owl-dots .owl-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
}

.owl-carousel + .owl-dots-wrapper .owl-dots .owl-dot:hover {
    background: rgba(255,255,255,0.6) !important;
    transform: scale(1.2);
    border-radius: 50% !important;
}

.owl-carousel + .owl-dots-wrapper .owl-dots .owl-dot.active {
    background: white !important;
    border-color: white !important;
    transform: scale(1.4) !important;
    box-shadow: 0 2px 8px rgba(255,255,255,0.4) !important;
}

.owl-carousel + .owl-dots-wrapper .owl-dots .owl-dot.active::before {
    opacity: 0;
}

/* Remove old absolute positioning */
.owl-carousel .owl-dots {
    display: none; /* Hide the original dots */
}

/* Hero Carousel Specific */
.hero-carousel .owl-nav button {
    width: 70px !important;
    height: 70px !important;
    font-size: 24px !important;
}

.hero-carousel .owl-nav button.owl-prev {
    left: 40px !important;
}

.hero-carousel .owl-nav button.owl-next {
    right: 40px !important;
}

.hero-carousel .owl-dots {
    bottom: 50px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-slide {
        min-height: 60vh;
    }

    .hero-slide-bg {
        min-height: 60vh;
    }

    .owl-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 20px !important;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 20px !important;
    }

    .hero-carousel .owl-nav button {
        width: 55px !important;
        height: 55px !important;
        font-size: 20px !important;
    }

    .hero-carousel .owl-nav button.owl-prev {
        left: 25px !important;
    }

    .hero-carousel .owl-nav button.owl-next {
        right: 25px !important;
    }

    .hero-carousel .owl-dots {
        bottom: 30px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        min-height: 50vh;
    }

    .hero-slide-bg {
        min-height: 50vh;
    }

    .owl-carousel .owl-nav button {
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 15px !important;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 15px !important;
    }

    .hero-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 18px !important;
    }

    .hero-carousel .owl-nav button.owl-prev {
        left: 20px !important;
    }

    .hero-carousel .owl-nav button.owl-next {
        right: 20px !important;
    }

    .display-3 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }
}

/* Hide navigation on very small screens for better UX */
@media (max-width: 576px) {
    .categories-carousel .owl-nav,
    .brands-carousel .owl-nav,
    .featured-products-carousel .owl-nav {
        display: none;
    }
}

/* Specific carousel customizations */
.testimonials-carousel .owl-dots {
    bottom: -30px;
}

.blog-carousel .owl-nav {
    display: none;
}

.blog-carousel .owl-dots {
    bottom: -40px;
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #ff6f61 0%, #e55a4b 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a4b 0%, #cc4a3d 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,111,97,0.4);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.8);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
    backdrop-filter: blur(10px);
}

/* Enhanced image centering and cover properties */
.hero-slide-bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.category-hero-img, .brand-logo, .banner-img, .blog-img {
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Ensure all carousel images are properly centered */
.owl-carousel img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Enhanced card hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,111,97,0.15);
}

/* Enhanced feature icons with site colors */
.feature-icon i {
    color: #ff6f61;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #e55a4b;
    transform: scale(1.1);
}

/* Enhanced testimonial ratings */
.testimonial-rating .bi-star-fill {
    color: #ff6f61;
}

.testimonial-rating .bi-star-half {
    color: #ff6f61;
}

/* Enhanced section headers */
.section-header h2 {
    color: #212529;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6f61 0%, #e55a4b 100%);
    border-radius: 2px;
}

/* Enhanced navigation buttons for all carousels */
.owl-carousel .owl-nav button {
    background: rgba(255,255,255,0.95) !important;
    border: 2px solid #ff6f61 !important;
    color: #ff6f61 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.owl-carousel .owl-nav button:hover {
    background: #ff6f61 !important;
    color: white !important;
    transform: scale(1.1) !important;
    box-shadow: 0 8px 20px rgba(255,111,97,0.3) !important;
}

/* Enhanced dots for all carousels */
.owl-carousel .owl-dots .owl-dot {
    background: rgba(255,111,97,0.3) !important;
    border: 1px solid rgba(255,111,97,0.5) !important;
    transition: all 0.3s ease !important;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #ff6f61 !important;
    border-color: #ff6f61 !important;
    transform: scale(1.2) !important;
    box-shadow: 0 4px 12px rgba(255,111,97,0.3) !important;
}

.owl-carousel .owl-dots .owl-dot:hover {
    background: rgba(255,111,97,0.7) !important;
    transform: scale(1.1) !important;
}

/* Category Styles */
.category-hero-card .category-hero-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-hero-card:hover .category-hero-img {
    transform: scale(1.05);
}

.category-overlay {
    background: linear-gradient(135deg, rgba(255,111,97,0.8) 0%, rgba(255,111,97,0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-hero-card:hover .category-overlay {
    opacity: 1;
}

/* Brand Styles */
.brand-logo {
    border: 3px solid #e9ecef;
}

/* Banner Styles */
.banner-img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-card:hover .banner-img {
    transform: scale(1.05);
}

.banner-content {
    background: linear-gradient(135deg, rgba(33,37,41,0.7) 0%, rgba(33,37,41,0.5) 100%);
}

/* Blog Styles */
.blog-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-date {
    font-size: 0.8rem;
}

/* Testimonial Styles */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* App Download Styles */
.app-mockup {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Mobile button styles */
@media (max-width: 576px) {
    .btn-mobile-sm {
        font-size: 0.875rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* Hero slider pagination white text */
.owl-carousel + .owl-dots-wrapper .owl-dots .owl-dot {
    background: rgba(255,255,255,0.3) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: white !important;
}

.owl-carousel + .owl-dots-wrapper .owl-dots .owl-dot.active {
    background: white !important;
    border-color: white !important;
    color: #ff6f61 !important;
}

/* Modern testimonial styles */
.bg-gradient-primary {
    background: linear-gradient(135deg, #ff6f61 0%, #e55a4b 100%);
}

.testimonial-modern-card {
    transition: all 0.3s ease;
    border: none;
}

.testimonial-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255,111,97,0.2) !important;
}

.testimonial-quote-icon {
    transform: rotate(180deg);
}

.testimonial-stats {
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 2rem;
    line-height: 1;
}

/* ========================================
   NEW CAROUSEL HEADER STYLES
   ======================================== */

/* Carousel Header Layout */
.carousel-header {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,111,97,0.1);
}

.carousel-info {
    flex: 1;
}

.carousel-info h2,
.carousel-info .section-title {
    margin-bottom: 0.5rem;
    color: #212529;
    font-weight: 700;
}

.carousel-info p,
.carousel-info .section-subtitle {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 1.1rem;
}

.carousel-nav {
    flex-shrink: 0;
}

.carousel-nav .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff6f61;
    background: white;
    color: #ff6f61;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-nav .btn:hover {
    background: #ff6f61;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,111,97,0.3);
}

.carousel-nav .btn:active {
    transform: scale(0.95);
}

/* Responsive adjustments for carousel header */
@media (max-width: 768px) {
    .carousel-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .carousel-nav {
        align-self: flex-end;
    }

    .carousel-info h2 {
        font-size: 1.8rem;
    }

    .carousel-info p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .carousel-nav .btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .carousel-info h2 {
        font-size: 1.6rem;
    }
}
