@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

/* Fix for navbar positioning */
body {
    padding-top: 0 !important; /* Override default padding to fix the gap */
}

.banner{
    width: 100%;
    height: 70vh; /* Increased to cover 70% of the viewport height */
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-top: 0; /* Removed margin to fix white gap */
    margin-bottom: 0; /* Ensure no bottom margin */
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
    box-shadow: 
        inset 0 0 100px rgba(0, 255, 255, 0.1),
        inset 0 0 200px rgba(255, 0, 255, 0.05),
        0 0 50px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
}
.banner .slider{
    position: absolute;
    width: 180px; /* Increased from 150px */
    height: 220px; /* Increased from 180px */
    top: 10%; /* Adjusted for the larger banner */
    left: calc(50% - 90px); /* Adjusted center position */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(400px); /* Reduced from 550px for smaller space */
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 30px; /* Reduced from 100px for smaller banner */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
.banner .content h1{
    font-family: 'ICA Rubrik';
    font-size: 8em; /* Reduced from 16em for smaller banner */
    line-height: 0.9em; /* Tighter line height */
    color: #25283B;
    position: relative;
}
.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}
.banner .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.banner .content h2{
    font-size: 2em; /* Reduced from 3em */
}
.banner .content .model{
    background-image: url(../assets/gallery/model.png);
    width: 100%;
    height: 50vh; /* Increased to match larger hero section */
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 140%; /* Slightly increased size */
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .banner{
        margin-top: 0; /* Removed margin to fix white gap */
        height: 65vh; /* Adjusted for tablets, slightly smaller than desktop */
    }.banner .slider{
        width: 120px; /* Reduced from 160px */
        height: 150px; /* Reduced from 200px */
        left: calc(50% - 60px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(250px); /* Reduced from 300px */
    }
    .banner .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 5em; /* Reduced from 7em */
    }
    .banner .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
    .banner .content{
        padding-bottom: 20px; /* Reduced padding for tablets */
    }
}
@media screen and (max-width: 767px) {
    .banner{
        margin-top: 0; /* Removed margin to fix white gap */
        height: 60vh; /* Adjusted for mobile, slightly smaller than tablet */
    }.banner .slider{
        width: 80px; /* Reduced from 100px */
        height: 120px; /* Reduced from 150px */
        left: calc(50% - 40px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(150px); /* Reduced from 180px */
    }
    .banner .content h1{
        font-size: 3.5em; /* Reduced from 5em */
    }
    .banner .content{
        padding-bottom: 15px; /* Reduced padding for mobile */
    }
    .banner .content h2{
        font-size: 1.5em; /* Smaller on mobile */
    }
}