/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    overflow-x: hidden;
    color: #fff;
}

/* Hero Background - Full Page Image */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('pics/alternate-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Glassmorphism Navigation Bar */
.top-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Styling */
    padding: 16px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);

    /* Layout */
    display: flex;
    align-items: center;
    gap: 8px;

    /* Animation */
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.3s;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Navigation Links */
.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect */
.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Active/Focus State */
.nav-link:active {
    transform: translateY(0);
}

/* Separator Dots */
.nav-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    user-select: none;
}

/* Mobile Hamburger Menu - Hidden by default (desktop) */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sidebar Overlay - Hidden on desktop */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* Sidebar Menu - Hidden on desktop */
.sidebar-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: -8px 0 32px 0 rgba(0, 0, 0, 0.3);
    z-index: 1003;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    flex-direction: column;
}

.sidebar-menu.active {
    right: 0;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Sidebar Links */
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
    color: #ffffff;
}

/* Content Sections */
.content-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 20px;
}

.content-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
}

.content-card h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
}

.content-card p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-nav {
        top: 10px;
        padding: 12px 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        max-width: 90%;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }

    .nav-separator {
        font-size: 12px;
    }

    .content-card {
        padding: 30px 20px;
    }

    .content-card h2 {
        font-size: 28px;
    }

    .content-card p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Hide desktop navigation on mobile */
    .top-nav {
        display: none;
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Show sidebar menu elements on mobile */
    .sidebar-menu {
        display: flex;
    }

    .sidebar-overlay.active {
        display: block;
    }

    /* Mobile background image */
    .hero-background {
        background-image: url('pics/main-page.jpg');
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* First Section - Full Height Hero */
#about.content-section {
    padding-top: 0;
    display: block;
}

#about .content-card {
    display: none; /* Hide the placeholder card on hero section */
}
