body {
    margin: 0;
    padding: 0;
    font-family: "Canva Sans", Arial, Helvetica, sans-serif;
}

.wrapper {
    position: relative;
}

svg {
    display: block;
    width: 100%;
    height: 70vh;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
}

.scrollElement {
    position: absolute;
    height: 6000px;
    width: 100%;
    top: 0;
    z-index: 4;
}

.btn {
    position: fixed;
    bottom: 5%;
    right: 0px;
    transform: translateX(-50%);
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    padding: 0.5rem 0.7em;
    background-color: transparent;
    color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    transition: all .3s;
    z-index: 11;
}



.btn:hover {
    background: #ffffff;
    color: #1B1734;
}

/* MARK: ---0-490 Mobile */
@media (max-width: 490px) {

    #text,
    #arrow {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }

    #info2 {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }
}
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.parallax {
    width: 100%;
    height: 100%;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    font-family: 'Poppins', sans-serif;
}

.hero-text h1 {
    font-size: 4rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-text button {
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    background: #ffcc70;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.hero-text button:hover {
    transform: scale(1.05);
    background: #ffd98e;
}
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}
#btnEvents:hover rect {
    fill: #ffd98e;
}

#btnGallery:hover rect {
    fill: rgba(255,255,255,0.15);
}
.top-image {
    width: 100%;
    text-align: center;
    padding: 30px 0 10px;
    background: transparent;
}

.top-image img {
    width: 120px;
    max-width: 40%;
    height: auto;
}
@media (max-width: 768px) {
    .top-image img {
        width: 90px;
    }
}
/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1a1433, #0b081a);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 200px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 25px rgba(255, 204, 112, 0.6));
}

.loader-line {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.loader-line::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, #ffcc70, transparent);
    animation: loading 1.4s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 93%;
    height: 130px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    pointer-events: auto;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 0px; 
    right: -40px;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 0px;
}

.nav-logo {
    width: 130px;
    height: auto;
}

.nav-title {
    color: #000000;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links li a {
    color: #000000;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.9;
}

/* underline hover effect */
.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #c04406;
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;    padding: 8px;}

.hamburger span {
    width: 30px;
    height: 4px;
    background: #c04406;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80%;
        left: 0;
        width: 100%;
        height: auto;
        background: #f4bd9f85;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        color: #c04406;
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
        margin-right: 60px;
    }

    .navbar {
        padding: 14px 24px;
        height: 70px;
        background: transparent;
        
    }

    .nav-logo {
        width: 70px;
    }
}

/* Mobile responsiveness for SVG elements */
@media (max-width: 768px) {
    svg {
        height: 100vh;
    }

    #heroText text:first-child {
        font-size: 36px;
    }

    #heroText text:last-child {
        font-size: 14px;
    }

    #heroButtons g rect {
        width: 140px;
        height: 40px;
    }

    #heroButtons g text {
        font-size: 14px;
    }

    #btnEvents {
        transform: translate(0,0);
    }

    #btnGallery {
        transform: translate(0,0);
    }

    .scrollElement {
        height: 4000px; /* Reduce scroll height for mobile */
    }

    /* Ensure touch targets are at least 44px */
    #heroButtons g {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    #heroText text:first-child {
        font-size: 28px;
    }

    #heroText text:last-child {
        font-size: 12px;
    }

    #heroButtons g rect {
        width: 120px;
        height: 35px;
    }

    #heroButtons g text {
        font-size: 12px;
    }

    #btnEvents {
        transform: translate(0,0);
        
    }

    #btnGallery {
        transform: translate(0,0);
    }

    .scrollElement {
        height: 3000px; /* Further reduce for small screens */
    }

    .loader-logo {
        width: 150px;
    }

    .loader-line {
        width: 150px;
    }

    .hamburger span {
        width: 20px;
    }
}
/* FOOTER */
.footer {
    position: relative;
    width: 80%;
    margin-top: 900vh;
    background: radial-gradient(circle at top, #1a0f2e, #090511);
    color: #fff;
    padding: 80px 10% 30px;
    z-index: 20;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-logo {
    width: 90px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(255, 180, 80, 0.5));
}

.footer-left h3 {
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: 2px;
}

.footer-left p {
    opacity: 0.8;
    margin-top: 6px;
}

.footer h4 {
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #ffcc70;
}

.footer-center a {
    display: block;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-center a:hover {
    opacity: 1;
    color: #ffcc70;
    transform: translateX(5px);
}

.footer-right p {
    opacity: 0.85;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.75;
}

.footer-bottom span {
    color: #ffcc70;
    font-weight: 600;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .footer-center a:hover {
        transform: none;
    }
}
