/* Reset */
*
{
    margin: 0;
    box-sizing: border-box;
    font-family: -apple-system, 'Segoe UI', Roboto, Oxygen, sans-serif;
}

/* Theme */
:root
{
    --accent: #09BC8A;
    --body-primary: #14161b;
    --body-secondary: #0d0e11;
    --border: #303030;
    --nav-links: #15161b;
    --event-primary: #08D9D6;
    --footer: #111116;
    --h1: #BC4749;
    --overlay-fade: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), var(--body-primary));
    --p: #c1c1c1;
    --success: #4ade80;
    --text-secondary: rgb(200, 200, 200);
    --text: #de3c4b;
}

section #video-bg
{
    align-items: center;
    display: flex;
    height: 100vh;
    position: relative;
    width: 100%;
}

section #video-bg video
{
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Blur and transparency effects */
.blur-bg {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navbar styling | Any changes should be same in Java*/
nav {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    transition: 0.25s;
}

body
{
    background-color: var(--body-primary);
}

ul {
    margin: 10px 0;
    color: var(--text-secondary);
}

h1
{
    color: var(--h1);
}

h2, h3, h4
{
    color: var(--accent);
}

h5
{
    color: var(--p);
}

p
{
    color: var(--p);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: black;
    color: white;
    padding: 8px 8px;
    text-decoration: none;
}

.nav-cta:hover {
    background: white;
    color: black;
    transition: 0.25s ease;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-fade);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    color: #08D9D6;
    line-height: 1.1;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.hero p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
}

.btn {
    padding: 12px 48px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--event-primary);
    border: 2px solid var(--event-primary);
    font-weight: 700;
    color: black;
}

.btn-primary:hover {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: black;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: black;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-down i {
    font-size: 2rem;
    color: var(--text);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-down:hover i {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

/* Section styling */
section {
    padding: 100px 10%;
}

.section-header {
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header p {
    font-size: 1.2rem;
    line-height: 1.7;
}

.section-primary
{
    background-color: var(--body-primary);
}

.section-secondary
{
    background-color: var(--body-secondary);
}

/* About section */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 25px;
}

.feature {
    background-color: var(--body-secondary);
    border-radius: 12px;
    border: solid var(--border);
    display: flex;
    gap: 15px;
    padding: 12px;
}

.feature i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 5px;

}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature p {
    font-size: 1rem;
    margin-bottom: 0;
}

.feature div
{
    padding-top: 3px;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    flex: 1;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Screenshots section */
.screenshots {
    background: rgba(10, 10, 30, 0.7);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.screenshot:hover {
    transform: translateY(-8px);
}

/* Team section */
.team {
    background: var(--body-primary);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.member {
    text-align: center;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    background-color: var(--body-secondary);
    box-shadow: 8px 8px;
}

.member-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 2px solid var(--border);
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.member-role {
    color: var(--h1);
    font-weight: 600;
    margin-bottom: 16px;
}

.member-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent);
    color: black;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-links a:hover {
    background: var(--h1);
    color: black;
    transform: translateY(-3px);
}

/* Footer */

footer {
    background: var(--footer);
    color: var(--p);
    padding: 70px 10% 40px;
    border-top: 2px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    background-origin: var(--footer);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: var(--text);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger i {
    font-size: 1.8rem;
    color: var(--text);
    transition: color 0.3s ease;
}

.hamburger:hover i {
    color: var(--accent);
}

/* Responsive */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .about-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
}

/* Responsive Design for Hamburger Menu */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 256px;
        height: 100vh;
        background: var(--nav-links);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.25s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        margin: 0;
    }

    .features
    {
        grid-template-columns: repeat(1, 1fr);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 15px 0px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
        color: var(--p);
        display: block;
    }

    .nav-links a:hover
    {
        color: var(--accent);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a::after {
        display: none;
    }

    .hamburger {
        display: block;
    }

    /* Adjust logo size on mobile */
    .logo img {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 100%;
        padding: 100px 20px 20px;
    }

    .logo img {
        width: 180px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    nav {
        padding: 12px 20px;
    }
}

/* Mobile menu link animations */
.nav-links a {
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .nav-links a {
        opacity: 0;
        transform: translateX(26px);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for links */
    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links a:nth-child(5) { transition-delay: 0.3s; }
    .nav-links a:nth-child(6) { transition-delay: 0.35s; }
    .nav-links a:nth-child(7) { transition-delay: 0.4s; }
}