﻿/* Fullscreen Slider */

.carousel,
.carousel-inner,
.carousel-item {
    background-color: #000 !important;
}

.carousel-item {
    height: 100vh;
    position: relative;
    /* overflow: hidden; */
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.7);
        transition: filter 0.3s ease-in-out;
    }

    .carousel-item:hover img {
        filter: brightness(0.8);
    }

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

    .carousel-caption h2 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-transform: uppercase;
        animation: fadeIn 2s ease-out;
    }

    .carousel-caption p {
        font-size: 1.5rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
        opacity: 0;
        animation: fadeIn 3s ease-out forwards;
    }
/* Ensure the next and prev buttons are visible */
/* Adjust Next and Prev buttons */
.carousel-control-next, .carousel-control-prev {
    z-index: 9999; /* Ensure buttons are above everything else */
    position: absolute; /* Fix positioning */
    top: 50%; /* Vertically center the buttons */
    transform: translateY(-50%); /* Center the button vertically */
    height: 80px;
    background:none;
    border:none;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 40px; /* Button size */
    height: 40px; /* Button size */
    background-size: 100%, 100%;
}

    /* Button Styling */
    .slider-btn {
    background: linear-gradient(45deg, #FF9F00, #FF6600);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.25rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeIn 4s ease-out forwards;
}

    .slider-btn:hover {
        transform: scale(1.1);
        background: linear-gradient(45deg, #FF6600, #FF9F00);
        box-shadow: 0px 10px 20px rgba(255, 159, 0, 0.5);
    }

/* Geometric Shapes on the Sides */
.left-shape, .right-shape {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    border: 5px solid black;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(135deg, rgba(255, 179, 82, 1) 0%, rgba(255, 142, 77, 1) 100%); /* Shiny gradient */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    overflow: hidden;
    border-radius: 15px; /* Rounded corners for a smooth look */
}

/* Left Shape */
.left-shape {
    width: 60%;
    left: -5%;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%);
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow: visible; /* Allow content to flow without cutting */
}


    /* Content inside Left Shape */
    .left-shape img {
        width: 400px;
        max-width: 400px;
        height: auto;
        max-height: 400px;
        object-fit: contain;
        border-radius: 10px;
        margin-bottom: 15px;
        border:none;
        box-shadow:none;
    }

    .left-shape .content {
        padding: 20px;
        align-items: flex-start; /* Center horizontally */
        text-align: left;
        word-break: break-word; /* Prevent overflow */
    }


a {
    text-decoration: none;
}

.left-shape h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* Hero Content 3D Flip from Left */
.hero-content {
    position: absolute;
    left: 70%;
    top: 50%;
    transform: translateY(-50%) rotateY(-90deg);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    z-index: 3;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    opacity: 0;
    animation: flipInFromLeft 1.5s ease-out forwards;
}

/* Keyframes for Flip In from Left */
@keyframes flipInFromLeft {
    0% {
        opacity: 0;
        transform: translateY(-50%) rotateY(-90deg);
    }

    50% {
        opacity: 0.5;
        transform: translateY(-50%) rotateY(15deg);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) rotateY(0); /* Final position */
    }
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6600, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-content .btn {
    background: linear-gradient(45deg, #ff9f00, #ff6600);
    padding: 14px 28px;
    font-size: 1rem;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
}

    .hero-content .btn:hover {
        background: linear-gradient(45deg, #ff6600, #ff9f00);
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    }



/* Right Shape */
.right-shape {
    width: 40%;
    right: -5%;
    clip-path: polygon(100% 0, 0 0, 50% 100%, 100% 100%);
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

/* Black Strips */
.black-strip-left, .black-strip-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2%;
    background-color: black;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.black-strip-left {
    left: 0;
    box-shadow: 3px 0 20px rgba(0, 0, 0, 0.5);
}

.black-strip-right {
    right: 0;
    box-shadow: -3px 0 20px rgba(0, 0, 0, 0.5);
}

/* Hover Effects */
.carousel-item:hover .left-shape {
    left: -10%;
    box-shadow: 5px 0 50px rgba(0, 0, 0, 0.2);
}

.carousel-item:hover .right-shape {
    right: -10%;
    box-shadow: -5px 0 50px rgba(0, 0, 0, 0.2);
}

.carousel-item:hover .black-strip-left {
    left: -5%;
}

.carousel-item:hover .black-strip-right {
    right: -5%;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.bx {
    color: darkorange;
}

@media (max-width: 768px) {
    .left-shape,
    .right-shape,
    .black-strip-left,
    .black-strip-right,
     {
        display: none !important;
    }

    .carousel-item {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }
    .carousel-caption {
        position: relative;    
        top:-75%;
        transform: translate(-50%, -50%);
        color: white;
        text-align: center;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
        z-index: 2;
    }

        .carousel-caption h2 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-transform: uppercase;
            animation: fadeIn 2s ease-out;
        }
    .hero-content {
        position: absolute;
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 1 !important;
        animation: none !important;
        width: 90%;
        padding: 30px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        text-align: center;
    }

        .hero-content h1 {
            font-size: 2rem;
            background: linear-gradient(45deg, #ff6600, #ffcc00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-content p {
            font-size: 1rem;
            color: #fff;
        }

        .hero-content .btn {
            font-size: 1rem;
            padding: 12px 24px;
        }
}
