* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 100%;
    height: auto;
    /* Changed from 100% to auto */
    min-height: 100vh;
    overflow-x: hidden;
    background-color: black;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}


/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: .5rem 2rem .5rem 2rem;
    /* Adjusted padding for better spacing */
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(30px);
    transition: all 0.3s ease;
}

.header-container {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo and Title Container */
.logo-title-container {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.header-title {
    font-family: 'Zen Dots', cursive;
    font-size: 1.75rem;
    margin: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

        .title-link {
            text-decoration: none;
            color: inherit;
        }

        .title-link:hover {
            text-decoration: none;
        }

/* Add this new style below the existing logo style */
.logo-image {
    height: 35px;
    width: 40px;
    display: block;
    transition: all 0.3s ease;
}

/* Keep the hover effect but modify it for the image */
.logo:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 1.1rem;
    align-items: center;

}

.nav-link {
    font-family: 'Zen Dots', cursive;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #4A00E0, #8E2DE2, #FF0080);
    transition: width 0.3s ease;
}



.nav-link:hover::after {
    width: 100%;
}

/* Active navigation link */
.nav-link.active {
    color: var(--text-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: var(--primary-gradient);
    height: 3px;
    opacity: 1;
}

/* Ensure active state is visible on hover */
.nav-link.active:hover::after {
    background: var(--primary-gradient);
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: gray;
    cursor: pointer;
    padding: 0.5rem;
}

/* Footer Styles */
/* Social Media Footer Icons */
.footer-social-list {
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0.5rem 0 0 0;
    list-style: none;
    align-items: center;
}
.footer-social-list li {
    margin-bottom: 0;
}
.footer-social-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s;
    display: inline-block;
    vertical-align: middle;
}
.footer-social-list a:hover .footer-social-img {
    opacity: 1;
}


.main-footer {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.9);
    padding: 4rem 2rem .5rem 2rem;
    color: white;
    width: 100%;
    opacity: 0.8;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section h3 {
    font-family: 'Zen Dots', cursive;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    text-shadow: 0 0 10px rgba(142, 45, 226, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: .95rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {


    .nav-links {
        gap: 0.5rem;
        font-size: 1rem;
    }

    .header-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .logo-title-container {
        gap: 1rem;
    }

    .logo-image {
        height: 30px;
        width: 35px;
        /* Slightly smaller logo on tablets */
    }

}

/* Responsive Design */
@media (max-width: 768px) {


    .main-header {
        padding: .5rem 1rem .2rem 1rem;
    }

    .logo-title-container {
        gap: 1rem;
    }

    .header-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .mobile-menu-btn {
        display: block;
    }



    .mobile-menu.active {
        display: block;
    }


    nav {
        display: flex;
        align-items: center;
    }

    /* Blur overlay for mobile menu */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        border-radius: 0 0 30px 30px;
        box-shadow: var(--card-shadow);
        background: var(--lightfilled-btn);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    /* Mobile menu nav links styling */
    .nav-links .nav-link {
        padding: 0.75rem 0;
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }

    .nav-links .nav-link::after {
        display: none;
        /* Hide the underline effect in mobile menu */
    }

    /* Theme toggle in mobile menu */
    .nav-links #theme-toggle {
        align-self: center;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Left align footer sections on mobile */
    .footer-section {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {

    .main-header {
        padding: .2rem .5rem;
    }

    .header-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-section {
        text-align: left !important;
        width: 100%;
        margin-left: 0;
    }

    .footer-section .large-button {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 4;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid #e7e7e7;
    border-left: 0;
    border-top: 0;
    animation: bounce 2s infinite;
}

/* Up Arrow */
.scroll-indicator.up {
    top: 40px;
    bottom: auto;
    transform: translateX(-50%);
}

.scroll-arrow.up {
    width: 20px;
    height: 20px;
    border: 2px solid #e7e7e7;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}




/* 3D Rolling Image View Styles */

.rolling-image-view {
    margin-top: 200px;
    margin-bottom: 100px;
}

.banner {
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.banner .slider {
    position: absolute;
    width: 250px;
    height: 350px;
    top: 10%;
    left: calc(50% - 100px);
    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(550px);
}

.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: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.banner .content h1 {
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #ffffff;
    position: relative;
    margin-top: -850px;

}

.banner .content h1::after {
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #a4a4a5;
    color: transparent;
}

.banner .content .author {
    font-family: Poppins;
    text-align: right;
    max-width: 250px;
}

.banner .content h2 {
    font-size: 3em;
}

.banner .content .model {
    width: 100%;
    height: 75vh;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.banner .content .model img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.large-button {
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Zen Dots', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    margin: 2rem auto;
}

.large-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(142, 45, 226, 0.8);
}



@media screen and (max-width: 1023px) {
    .banner .slider {
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }

    .banner .slider .item {
        transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(300px);
    }

    .banner .content h1 {
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 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;
    }
}

@media screen and (max-width: 767px) {
    .banner .slider {
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }

    .banner .slider .item {
        transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)) translateZ(180px);
    }

    .banner .content h1 {
        font-size: 5em;
    }
}