/* ===== CSS Variables - Executive Gold/Slate Theme ===== */
:root {
    /* Deep Charcoal Base - Executive Foundation */
    --bg-primary: #1a1a1d;
    --bg-secondary: #252528;
    --bg-tertiary: #2d2d31;
    --bg-card: #323238;
    
    /* Muted Gold Accents - Luxury Touch */
    --accent-gold: #d4af37;
    --accent-gold-dark: #b8941f;
    --accent-gold-light: #f0db93;
    --accent-slate: #94a3b8;
    --accent-slate-dark: #64748b;
    
    /* Glass Morphism Colors */
    --glass-bg: rgba(37, 37, 40, 0.4);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-highlight: rgba(212, 175, 55, 0.05);
    
    /* Premium Gradients */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f0db93 100%);
    --gradient-slate: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    --gradient-executive: linear-gradient(135deg, #d4af37 0%, #b8941f 50%, #d4af37 100%);
    
    /* Text Colors - Perfect Hierarchy */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e1;
    --text-dim: #94a3b8;
    --text-gold: #d4af37;
    
    
    --accent-cyan: #00ffcc; /* That bright Mint/Cyan from the image */
    --bg-darker: #050505;
    --terminal-bg: rgba(10, 10, 15, 0.8);


    /* UI Elements */
    --border-color: rgba(212, 175, 55, 0.15);
    --border-glow: rgba(212, 175, 55, 0.3);
    
    /* Shadows & Effects */
    --shadow-glow-gold: 0 0 40px rgba(212, 175, 55, 0.3);
    --shadow-glow-subtle: 0 0 20px rgba(212, 175, 55, 0.15);
    --shadow-dark: 0 10px 50px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
}
:root {
    --accent-cyan: #00ffcc; 
    --text-white: #ffffff;
    --terminal-bg: rgba(10, 10, 15, 0.85);
}
/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
.skills-scroll-section {
    padding: 100px 8%;
    background: var(--bg-darker);
}

.skills-stack-container {
    display: flex;
    flex-direction: column;
    gap: 10vh; /* Space between triggers */
}

.skill-reveal-card {
    position: sticky;
    top: 15vh; /* Where the card "locks" */
    width: 100%;
    min-height: 400px;
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 24px;
    padding: 4rem;
    margin-bottom: 4rem;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.skill-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.skill-number {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.skill-info-left h3 {
    font-size: 2.5rem;
    font-family: 'Lexend Deca', sans-serif;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.tech-pill {
    padding: 8px 20px;
    background: rgba(0, 255, 204, 0.05);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 30px;
    font-size: 0.9rem;
    margin: 5px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.1);
}

/* Mobile Fix */
@media (max-width: 768px) {
    .skill-content { grid-template-columns: 1fr; text-align: center; }
    .skill-reveal-card { padding: 2rem; top: 10vh; }
}
.projects-stack-section {
    padding: 100px 8%;
    background: var(--bg-primary);
}

.projects-stack-container {
    display: flex;
    flex-direction: column;
    gap: 15vh; /* Larger gap for scrolling trigger */
}

.project-reveal-card {
    position: sticky;
    top: 10vh; /* Cards lock slightly higher for a gallery feel */
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 5vh;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.project-card-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 500px;
}

.project-visual {
    background: linear-gradient(45deg, #0f0f0f, #1a1a1a);
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-reveal-card:hover .project-img-placeholder {
    transform: scale(1.05);
}

.project-detail-panel {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-detail-panel h3 {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 2.2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.5rem 0;
}

.project-tech-tags span {
    font-size: 0.8rem;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.btn-project-view {
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-project-view:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

/* Mobile Gallery View */
@media (max-width: 992px) {
    .project-card-inner { grid-template-columns: 1fr; }
    .project-visual { height: 250px; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .project-detail-panel { padding: 2rem; }
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a1d 0%, #242427 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
}

/* ===== Glassmorphism Background Elements ===== */
#canvas3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

@media (max-width: 768px) {
    #canvas3d {
        opacity: 0.3;
    }
}

.glass-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: floatOrb 25s ease-in-out infinite;
}

@media (max-width: 768px) {
    .glass-orb {
        filter: blur(60px);
        animation: floatOrb 30s ease-in-out infinite;
    }
}

.glass-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.glass-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.15) 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation-delay: 7s;
}

.glass-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1300px;
    padding: 0 5%;
}
.hero-title {
    font-size: 4rem;
    font-family: 'Lexend Deca', sans-serif;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.highlight-cyan {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}
.tech-stack-mini {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.tech-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Buttons */
.btn-primary-cyan {
    background: var(--accent-cyan);
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    margin-left: 15px;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-left {
        order: 1;
    }
    
    .hero-right {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .tech-stack-mini {
        justify-content: center;
    }
}
.badge {
    background: rgba(0, 255, 204, 0.1);
    color: var(--accent-cyan);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    margin-bottom: 2rem;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* The Terminal Window */
.terminal-window {
    background: var(--terminal-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.terminal-header {
    background: rgba(255,255,255,0.05);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.terminal-body {
    padding: 25px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Syntax Highlighting */
.code-keyword { color: #c678dd; }
.code-var { color: #e06c75; }
.code-string { color: #98c379; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 204, 0); }
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .badge { justify-content: center; margin: 0 auto 2rem; }
}

.floating-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 20, 0.85); /* Slightly darker for better contrast */
    backdrop-filter: blur(15px);
    padding: 10px 20px;
    border-radius: 50px; /* Fully rounded pill shape */
    display: flex;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dock-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary); /* Default dimmed color */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.dock-item svg {
    transition: transform 0.3s ease;
}

/* Hover Effect - Changes to Cyan with Glow */
.dock-item:hover {
    background: rgba(0, 255, 204, 0.1); /* Subtle Cyan background */
    color: var(--accent-cyan); /* Icon turns Cyan */
    transform: translateY(-8px); /* Float up effect */
}

.dock-item:hover svg {
    filter: drop-shadow(0 0 8px var(--accent-cyan)); /* Glowing icon */
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .glass-orb-1 {
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
        right: 5%;
    }
    
    .glass-orb-2 {
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(148, 163, 184, 0.2) 0%, transparent 70%);
        left: 5%;
    }
    
    .glass-orb-3 {
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.22) 0%, transparent 70%);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(100px, -100px);
    }
    50% {
        transform: translate(-50px, 100px);
    }
    75% {
        transform: translate(50px, 50px);
    }
}

@media (max-width: 768px) {
    @keyframes floatOrb {
        0%, 100% {
            transform: translate(0, 0);
        }
        25% {
            transform: translate(50px, -50px);
        }
        50% {
            transform: translate(-30px, 50px);
        }
        75% {
            transform: translate(30px, 30px);
        }
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 20px; /* Floating away from the top edge */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 40px; /* Pill shape */
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
    top: 10px;
    height: 60px;
    background: rgba(10, 10, 15, 0.8);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    gap: 0.5rem;
    letter-spacing: 0.05em;
}

.bracket {
    color: var(--accent-gold);
}

.logo-text {
    background: var(--gradient-executive);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 3s ease-in-out infinite;
}
.nav-links {
    position: relative;
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
}

.nav-link {
    padding: 0.6rem 1.2rem;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    z-index: 2;
}
.nav-link:hover {
    color: var(--accent-gold);
}

/* Moving Glow Indicator */
.nav-glow-indicator {
    position: absolute;
    height: 80%;
    top: 10%;
    border-radius: 25px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    opacity: 0;
}

/* Premium Hire Me Button */
.btn-nav-premium {
    background: var(--gradient-gold);
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-nav-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
    background: var(--accent-gold);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--accent-gold);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 8% 4rem;
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 7rem 5% 3rem;
    }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 60px rgba(212, 175, 55, 0.03);
    transition: all 0.5s ease;
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        0 0 60px rgba(212, 175, 55, 0.2),
        inset 0 0 60px rgba(212, 175, 55, 0.05);
}

.greeting {
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
}

.name {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.04em;
    line-height: 1;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
}

.name-text {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-size: 5.5rem;
    line-height: 1;
    
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* This shadow makes the gold "lift" off the dark background */
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

.role {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    letter-spacing: 0.6em; /* Ultra-wide spacing for luxury feel */
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 1rem;
    margin-top: 15px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .role {
        font-size: 1rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.5rem;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .role {
        font-size: 0.85rem;
        min-height: 35px;
    }
}

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-gold);
}

.description {
    font-size: 1.15rem;
    color: var(--text-tertiary);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

@media (max-width: 768px) {
    .description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .description {
        font-size: 0.95rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.btn {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-gold);
    background-size: 200% auto;
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow-subtle);
    font-weight: 700;
    animation: gradientShift 3s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-gold);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-subtle);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-subtle);
    background: rgba(212, 175, 55, 0.1);
}

/* ===== Section Styles ===== */
section {
    padding: 6rem 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.highlight {
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 3s ease-in-out infinite;
}

.title-underline {
    width: 120px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--accent-gold);
}

/* ===== About Section ===== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    perspective: 1000px;
}

.image-frame {
    width: 400px;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.image-frame:hover {
    transform: rotateY(10deg) rotateX(5deg);
}
/* Update your Name Font */
.name-text {
    font-family: 'Bodoni Moda', serif;
    font-weight: 800;
    font-style: italic; /* Adding italic makes Bodoni look even more "Designer" */
    letter-spacing: -0.02em;
    text-transform: uppercase;
    /* Keep your existing gradient and animation code below this */
}
.name-text {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
    /* This makes the thin serifs of the font glow slightly against the dark background */
}

/* Update your Role Font */
.role {
    font-family: 'Satoshi', 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    letter-spacing: 0.3em; /* Increased spacing for a premium feel */
    text-transform: uppercase;
    opacity: 0.8;
}
.frame-inner {
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    background-size: 200% auto;
    animation: gradientShift 5s ease-in-out infinite;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow-subtle);
}

.frame-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--bg-tertiary);
    border-radius: 15px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

.stat-item p {
    color: var(--text-dim);
    margin-top: 0.5rem;
}

/* ===== Skills Section ===== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-gold);
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow-subtle);
}

.skill-card:hover::before {
    opacity: 0.05;
}

.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.skill-card h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
    box-shadow: 0 0 15px var(--accent-gold);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(5px);
    animation: shimmer 2s infinite;
}

/* ===== Projects Section ===== */
.projects {
    background: var(--bg-secondary);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow-subtle);
}

.project-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-gold);
    background-size: 200% auto;
    animation: gradientShift 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px;
    animation: moveBackground 20s linear infinite;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-view {
    padding: 0.8rem 2rem;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-gold);
}
.typing-text {
    color: var(--accent-gold);
    font-weight: 500;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--accent-gold);
    margin-left: 5px;
    animation: blink 1s infinite;
}

.project-card:hover .btn-view {
    transform: scale(1);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* ===== Contact Section ===== */
.contact-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-item svg {
    color: var(--accent-gold);
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    background: var(--bg-tertiary);
}

.contact-form .btn-primary {
    align-self: flex-start;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(400%);
    }
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 1.2rem 2rem;
    }
    
    .btn:active {
        transform: translateY(-2px);
        filter: brightness(0.95);
    }
    
    .social-icon {
        min-width: 48px;
        min-height: 48px;
    }
    
    .social-icon:active {
        transform: scale(0.95);
    }
    
    .tag:active {
        background: rgba(212, 175, 55, 0.2);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 29, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        max-height: 300px;
        padding: 1.5rem 0;
    }
    
    .nav-links li {
        padding: 0.8rem 5%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        text-align: center;
        padding: 7rem 5% 3rem;
    }
    
    .glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 25px;
    }
    
    .name {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .role {
        font-size: 1rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.5rem;
    }
    
    .greeting {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    section {
        padding: 4rem 5%;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .image-frame {
        width: 100%;
        max-width: 300px;
        height: 350px;
        margin: 0 auto;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        border-radius: 15px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .btn-view {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 4%;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hero {
        min-height: 85vh;
        padding: 6.5rem 4% 2.5rem;
    }
    
    .glass-card {
        padding: 2rem 1rem;
        border-radius: 20px;
    }
    
    .name {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .role {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .greeting {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.8rem;
        min-height: 42px;
    }
    
    .social-icons {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    section {
        padding: 3rem 4%;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .title-underline {
        width: 80px;
        height: 3px;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .image-frame {
        max-width: 250px;
        height: 300px;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    .skill-card {
        padding: 1.2rem;
    }
    
    .skill-card h3 {
        font-size: 1.1rem;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
    }
    
    .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        gap: 0.8rem;
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 1.5rem 4%;
        font-size: 0.85rem;
    }
}