/* Base styles */
:root {
    --bg-color: #0b1120;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --nav-bg: rgba(15, 23, 42, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    background-color: var(--bg-color);
}

body {
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    font-size: 1.2rem;
}

/* Fix Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-btn {
    background-color: var(--accent-color);
    color: #0f172a !important;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 1.1rem;
}

/* Hero Section - Forced to Full Viewport Height */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 120px 5% 60px;
    box-sizing: border-box;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    z-index: 10;
}

.personal-intro {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 2s ease-out;
}

.personal-intro p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.subtitle-static {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

.btn-desc {
    font-size: 1rem !important;
    color: var(--text-secondary);
    font-weight: 400 !important;
    margin-top: 0.5rem;
}


h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(to right, var(--accent-color), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typewriter {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    min-height: 3rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Hero Actions - Large Visible Cards */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.action-btn {
    background: rgba(30, 41, 59, 0.85); /* Dark solid background for visibility */
    border: 2px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
    backdrop-filter: blur(15px);
}

.action-btn i {
    font-size: 3.5rem;
    color: var(--accent-color);
}

.action-btn span {
    font-size: 1.5rem;
    font-weight: 600;
}

.action-btn:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Footer Section - Hidden until scroll */
.footer {
    padding: 4rem 5%;
    background-color: #0f172a;
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .action-btn {
        width: 100%;
        padding: 1.5rem;
    }
}
