/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Modern 2025 Design */
    --primary: #00f0ff;
    --primary-dark: #00a8cc;
    --secondary: #ff006e;
    --accent: #8338ec;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --text-muted: #6e6e88;
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 0, 110, 0.5);
    --glow-accent: 0 0 20px rgba(131, 56, 236, 0.5);
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-max-width: 1400px;
    --gap-sm: 1rem;
    --gap-md: 2rem;
    --gap-lg: 4rem;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== PARTICLE CANVAS ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 10px 18px;
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.lang-btn .icon {
    width: 20px;
    height: 20px;
}

/* ===== MENU TOGGLE BUTTON ===== */
.menu-toggle {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001;
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 2px solid rgba(0, 240, 255, 0.4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    transition: var(--transition-smooth);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-toggle .menu-close {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.menu-toggle .menu-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) rotate(0deg);
}

.menu-toggle.active .menu-open {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) rotate(90deg);
}

.menu-toggle.active .menu-close {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) rotate(0deg);
}

.menu-toggle:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary), 0 6px 30px rgba(0, 240, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.menu-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

/* Hide toggle on very large screens where menu is always visible */
@media (min-width: 1441px) {
    .menu-toggle {
        display: none;
    }
}

/* ===== SIDE MENU ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.85);
    border-left: 1px solid rgba(0, 240, 255, 0.4);
    z-index: 1000;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px) saturate(180%);
    overflow-y: auto;
    box-shadow: 
        -10px 0 40px rgba(0, 0, 0, 0.6),
        -20px 0 80px rgba(0, 0, 0, 0.4),
        -30px 0 120px rgba(0, 240, 255, 0.1);
    transform: translateX(0);
}

@media (max-width: 1440px) {
    .side-menu {
        transform: translateX(100%);
    }
    
    .side-menu.active {
        transform: translateX(0);
    }
}

.menu-logo {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-logo img {
    width: 140px;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.7)) 
            drop-shadow(0 0 40px rgba(131, 56, 236, 0.4));
    transition: var(--transition-smooth);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.7)) 
                drop-shadow(0 0 40px rgba(131, 56, 236, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.9)) 
                drop-shadow(0 0 60px rgba(131, 56, 236, 0.6))
                drop-shadow(0 0 80px rgba(255, 0, 110, 0.3));
    }
}

.menu-logo img:hover {
    transform: scale(1.08) rotateY(10deg);
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 1)) 
            drop-shadow(0 0 60px rgba(131, 56, 236, 0.7))
            drop-shadow(0 0 90px rgba(255, 0, 110, 0.4));
}

.menu-items {
    list-style: none;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.15), rgba(131, 56, 236, 0.15));
    transition: width 0.3s ease;
    z-index: -1;
}

.menu-item:hover::before,
.menu-item.active::before {
    width: 100%;
}

.menu-item:hover {
    transform: translateX(-6px) scale(1.03);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 
        -2px 0 15px rgba(0, 240, 255, 0.2),
        inset 0 0 15px rgba(0, 240, 255, 0.05);
}

.menu-item.active {
    background: rgba(0, 240, 255, 0.08);
    font-weight: 600;
}

.menu-item .icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    transition: transform 0.3s ease;
    color: var(--primary);
    filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.4));
}

.menu-item:hover .icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

.menu-item.active .icon {
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.8));
}

.menu-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.menu-item.active span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 2;
    transition: margin-right var(--transition-smooth);
}

/* Adjust content on very large screens to account for pinned menu */
@media (min-width: 1441px) {
    .main-content {
        margin-right: 350px;
    }
}

/* Add overlay when menu is active on smaller screens */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(3px);
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* No overlay needed on very large screens */
@media (min-width: 1441px) {
    .menu-overlay {
        display: none;
    }
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    transition: max-width var(--transition-smooth);
}

/* Optimize container width on very large screens */
@media (min-width: 1441px) {
    .container {
        max-width: calc(100vw - 350px - 80px);
    }
}

/* ===== PARALLAX LAYERS ===== */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    opacity: 0.15;
}

.layer-1 {
    background-image: url('bg1.jpg');
}

.layer-2 {
    background-image: url('bg2.jpg');
    opacity: 0.1;
}

.layer-3 {
    background-image: url('bg3.jpg');
    opacity: 0.01;
}

.layer-4 {
    background-image: url('bg4.jpg');
    opacity: 0.1;
}

.layer-5 {
    background-image: url('bg5.jpg');
    opacity: 0.1;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.hero-label:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(180, 180, 200, 0.95);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatUpDown 2s ease-in-out infinite;
    color: var(--primary);
}

@keyframes floatUpDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 15px); }
}

/* ===== FLOATING ANIMATION ===== */
.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ===== GLOW HOVER EFFECT ===== */
.glow-hover {
    position: relative;
    transition: var(--transition-smooth);
}

.glow-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-smooth);
    border-radius: inherit;
    z-index: -1;
}

.glow-hover:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-title .icon {
    width: clamp(32px, 5vw, 48px);
    height: clamp(32px, 5vw, 48px);
    stroke: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
    flex-shrink: 0;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: transparent;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.strengths, .skills {
    margin-top: 50px;
}

.strengths h4, .skills h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.strength-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: var(--transition-smooth);
    text-align: center;
}

.strength-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.strength-item .icon {
    color: var(--primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-tag {
    background: var(--bg-card);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: default;
}

.skill-tag:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    transform: scale(1.05);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .side-menu {
        width: 280px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .strength-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .strength-grid {
        grid-template-columns: 1fr;
    }
    
    .lang-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ===== ICON STYLES ===== */
.icon {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
