﻿.slider-container {
    position: relative;
    width: 99vw;
    height: 80vh;
    overflow: hidden;
    margin: auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    width: 99vw; /* Full viewport width */
    height: 80vh; /* 80% of viewport height */
    background-size:cover;
    
    background-position: center;
    flex-shrink: 0;
    position: relative;
}

.slide-content {
    color: white;
    /*background: rgba(0, 0, 0, 0.6);*/
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    position: absolute;
    bottom: 10%;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    max-width: 50%;
}

    .slide-content h2,
    .slide-content h3 {
        margin: 10px 0;
    }

    .slide-content p {
        margin: 10px 0;
    }

    .slide-content a {
        text-decoration: none;
        color: white;
        background-color: transparent;
        padding: 10px 20px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

        .slide-content a:hover {
            background-color: #0056b3;
        }

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    border-radius: 50%;
}

    button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}



/* General styling for slider and tabs */
.slider-container {
    position: relative;
    width: 100vw;
    height: 80vh; /* Matches the height of the slider */
    display: flex;
    background: #f3f3f3;
    overflow: hidden;
}

.slider {
    flex: 1;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1; /* Keeps the slider in the background */
}

.tab-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* For col-md-6 equivalent */
    height: 100%;
   /* background: rgba(0, 0, 0, 0.5);*/ /* Semi-transparent background */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2; /* Tabs appear above the slider */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none; /* Hidden by default for mobile views */
}

.tabs {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #ddd;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    background: #eee;
    border-right: 1px solid #ddd;
    font-size: 14px;
}

    .tab-item:last-child {
        border-right: none;
    }

    .tab-item.active {
        background: #fff;
        font-weight: bold;
        color: #333;
    }

.tab-content {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
}

.tab-panel {
    display: none;
    padding: 10px;
    /*font-size: 14px;*/
    color: #333;
}

    .tab-panel.active {
        display: block;
    }

/* Responsive design: Hide tabs on mobile */
@media (min-width: 768px) {
    .tab-container {
        display: flex;
    }
}

/* Scroll behavior: Tabs move with slider */
.slider-container {
    position: sticky;
    top: 0;
}
/* Individual Unique Slide */
.unique-slide {
    flex: 0 0 100%;
    background-size: contain; /* ✅ Show full image without cropping */
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .unique-slider-container {
        height: 50vh!important; /* Adjust height for mobile */
    }

    .unique-slider {
        height: 50vh!important;
    }

    .unique-slide {
        max-height: 50vh!important;
    }

    .unique-header-text {
        font-size: 1.8rem;
    }

    .unique-description-text {
        font-size: 1rem;
    }
}



/* Ensure the page allows vertical scrolling */
html, body {
    height: auto;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    overflow: auto;
}

/* Unique Slider Container */
.unique-slider-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0; /* Remove bottom margin */
    height: 80vh; /* Set the slider container height to 80% of the viewport */
    max-height: 80vh; /* Ensure the slider does not exceed 80% of the viewport height */
}

/* Unique Slider */
/*.unique-slider {
    width: 100vw;
    height: 80vh;*/ /* Full height of the container */
    /*overflow: hidden;*/ /* Prevent content overflow */
    /*position: relative;*/ /* Stack slides on top of each other */
/*}*/

/* Individual Unique Slide */
/*.unique-slide {
    flex: 0 0 100%;
    background-size: auto;*/ /* Ensures the image covers the entire slide */
    /*background-position: center;*/ /* Centers the image */
    /*background-repeat: no-repeat;*/ /* Prevents the image from repeating */
    /*width: 100%;*/ /* Ensures the slide takes the full width */
    /*height: 100%;*/ /* Ensures the slide takes the full height of the slider */
    /*max-height: 80vh;*/ /* Ensures the slide does not exceed 80% of the viewport height */
    /*opacity: 0;*/ /* Initially hidden */
    /*position: absolute;*/ /* Stack slides on top of each other */
    /*top: 0;
    left: 0;
    z-index: 0;*/ /* Default z-index */
    /*transition: opacity 1s ease-in-out;*/ /* Smooth transition for opacity */
/*}*/

/* Unique Slide Content */
.unique-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    opacity: 0; /* Initially hidden for animation */
}

/* Unique Header Text Styling */
/*.unique-header-text {
    color: #D4AF37;*/ /* Golden color extracted from the image */
    /*font-size: 2.5rem;*/ /* Adjust font size for visibility */
    /*font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/ /* Add shadow for better contrast */
/*}*/

/* Unique Description Text Styling */
/*.unique-description-text {
    color: #D4AF37;*/ /* Golden color extracted from the image */
    /*font-size: 1.2rem;*/ /* Adjust font size for visibility */
    /*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);*/ /* Add shadow for better contrast */
/*}*/

/* Unique Navigation Buttons */
.unique-prev, .unique-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.unique-prev {
    left: 10px;
}

.unique-next {
    right: 10px;
}