/* ==================== GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0a1a2f 0%, #0d2b50 100%);
    color: #e8f6ff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== LINKS & TYPOGRAPHY ==================== */
a {
    text-decoration: none;
    color: #54e0ff;
    transition: all 0.3s ease;
}

h1, h2, h3 {
    font-weight: 600;
}

/* ==================== NAVIGATION ==================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background: rgba(10, 26, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(84, 224, 255, 0.2);
}

nav a {
    color: #b0e6ff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

nav a:hover {
    color: #ffffff;
    background: rgba(84, 224, 255, 0.1);
}

nav a.active {
    color: #54e0ff;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #54e0ff;
}

/* ==================== BINARY BACKGROUND ==================== */
.binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

/* ==================== HERO SECTION ==================== */
.hero {
    text-align: center;
    padding: 200px 20px 150px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(84, 224, 255, 0.3);
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #54e0ff;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero .tagline {
    font-size: 1.2rem;
    color: #b0e6ff;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
}

.cta {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #54e0ff, #2a8da8);
    border-radius: 8px;
    color: #0a1a2f;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(84, 224, 255, 0.3);
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(84, 224, 255, 0.4);
    background: linear-gradient(45deg, #5deeff, #34a8c8);
}

/* ==================== ABOUT PAGE ==================== */
.about-container {
    max-width: 1000px;
    margin: 120px auto 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(84, 224, 255, 0.1);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    padding-right: 20px;
}

.about-text h2 {
    color: #54e0ff;
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #e8f6ff;
}

.about-image img {
    width: 30%;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.skills-container {
    margin-top: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #54e0ff;
}

.skill-category h3 {
    color: #54e0ff;
    margin-bottom: 15px;
}

.skills-list {
    list-style: none;
}

.skills-list li {
    padding: 8px 0;
    color: #e8f6ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-list li:last-child {
    border-bottom: none;
}

/* ==================== PROJECTS PAGE ==================== */
.projects-container {
    max-width: 1200px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(84, 224, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #54e0ff;
    box-shadow: 0 15px 30px rgba(84, 224, 255, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #54e0ff, #2a8da8);
}

.project-card h3 {
    color: #54e0ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-card p {
    color: #b0e6ff;
    margin-bottom: 20px;
    font-size: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tags span {
    background: rgba(84, 224, 255, 0.1);
    color: #54e0ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-links a {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
}

.project-links .demo {
    background: #54e0ff;
    color: #0a1a2f;
}

.project-links .code {
    border: 1px solid #54e0ff;
    color: #54e0ff;
}

/* ==================== CONTACT PAGE ==================== */
.contact-container {
    max-width: 800px;
    margin: 120px auto 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
}

.contact-header h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-header p {
    color: #b0e6ff;
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(84, 224, 255, 0.1);
    transform: translateX(5px);
}

.contact-method i {
    font-size: 1.5rem;
    color: #54e0ff;
    width: 30px;
}

.contact-method h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-method p {
    color: #b0e6ff;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #54e0ff;
    color: #0a1a2f;
    transform: translateY(-5px);
}

.cv-download {
    margin-top: 40px;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #54e0ff;
    color: #54e0ff;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cv-btn:hover {
    background: #54e0ff;
    color: #0a1a2f;
    transform: translateY(-3px);
}

/* ==================== FOOTER ==================== */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 80px;
    border-top: 1px solid rgba(84, 224, 255, 0.1);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    nav {
        gap: 15px;
        padding: 15px;
    }
    
    nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 180px 20px 100px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container,
    .contact-container {
        padding: 30px 20px;
        margin: 100px auto 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-links a {
        text-align: center;
    }
}
/* ==================== HIGHLIGHTS SECTION ==================== */
.highlights {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.highlights h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px 30px;
    border: 1px solid rgba(84, 224, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #54e0ff;
    box-shadow: 0 10px 25px rgba(84, 224, 255, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: #54e0ff;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #b0e6ff;
    line-height: 1.6;
}