:root {
    --primary: #ffcc00; /* Gold */
    --primary-glow: rgba(255, 204, 0, 0.4);
    --secondary: #ff9900; /* Orange */
    --accent: #ffffff;
    --bg-dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--accent);
}

.logo-bracket {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--bg-dark) !important;
    padding: 8px 20px;
    border-radius: 50px;
}

/* Sections */
.section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 5% 60px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-identity {
    margin-bottom: 30px;
}

.identity-greeting {
    font-size: 1.5rem;
    color: var(--text-dim);
}

.highlight-name {
    color: var(--accent);
    font-weight: 700;
}

.identity-role {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-dim);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px var(--primary-glow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--accent);
}

/* Profile Image */
.hero-image-wrapper {
    position: relative;
}

.profile-ring {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 0 60px var(--primary-glow);
    margin: 0 auto;
}

.profile-image-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #87CEEB, #5dade2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ring-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.3;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.3; }
}

/* Background Effects */
.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 204, 0, 0.1);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 153, 0, 0.05);
    bottom: -100px;
    left: -100px;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

/* Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.vision-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vision-card p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}


/* Grids */
.skills-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category ul {
    list-style: none;
    margin-top: 15px;
}

.skill-category li {
    color: var(--text-dim);
    margin-bottom: 8px;
}

.skill-highlight {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

/* What I Do Section */
.what-i-do-wrapper {
    text-align: center;
    padding: clamp(30px, 8vw, 60px);
}

.highlight-glow {
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.3);
}

.feature-text {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.combination-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.combo-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.combo-item span {
    font-size: 1.5rem;
}

.accent-text {
    color: var(--primary);
    font-weight: 700;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.project-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.project-link {
    margin-top: auto;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.project-link:hover {
    gap: 10px;
}

.contact-arrow {
    transition: 0.3s;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step {
    text-align: center;
    font-weight: 600;
}

/* Contact */
.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    width: 100%;
}

.contact-links .btn {
    width: 100%;
    justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    transition: 0.3s;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        order: -1;
        margin-bottom: 20px;
    }

    .profile-ring {
        width: clamp(250px, 60vw, 400px);
        height: clamp(250px, 60vw, 400px);
        margin: 0 auto;
    }

    .section {
        padding: 60px 5%;
    }

    .about-grid, .skills-grid, .projects-grid, .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 25px;
        width: 100%;
        justify-content: center;
    }
}

/* Menu animations */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
