/* CYBERSPACE101 STYLESHEET - FULLY RESPONSIVE */
:root {
    --cyberblue: #0A84FF;
    --dark-bg: #0A0A14;
    --darker-bg: #050508;
    --light-text: #E0E0F0;
    --purple-accent: #8A2BE2;
    --green-accent: #00FF9D;
    --card-bg: #151521;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER STYLES */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--cyberblue);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cyberblue);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyberblue);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--cyberblue);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

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

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

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    margin-top: 80px;
    padding: 2rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-greeting {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--cyberblue);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    min-height: 80px;
    color: var(--green-accent);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    opacity: 0.8;
}

.cta-button {
    background: linear-gradient(45deg, var(--cyberblue), var(--purple-accent));
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Courier New', monospace;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 132, 255, 0.3);
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(10, 132, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 132, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ABOUT SECTION */
.about {
    padding: 100px 0;
    background: var(--darker-bg);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--cyberblue);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-image {
    text-align: center;
}

.profile-img-placeholder {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border: 3px solid var(--cyberblue);
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.profile-img-placeholder:hover {
    transform: scale(1.05);
}

.profile-img-placeholder svg {
    width: 100%;
    height: 100%;
}

.bio h3 {
    color: var(--cyberblue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.bio p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.skills {
    margin: 2rem 0;
}

.skill {
    margin-bottom: 1.5rem;
}

.skill span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.skill-bar {
    background: var(--card-bg);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    background: linear-gradient(45deg, var(--cyberblue), var(--purple-accent));
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.download-btn {
    display: inline-block;
    background: var(--green-accent);
    color: var(--dark-bg);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
}

/* PROJECTS SECTION */
.projects {
    padding: 100px 0;
    background: var(--dark-bg);
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--cyberblue);
}

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

.project-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 132, 255, 0.2);
    border-color: var(--cyberblue);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
}

.project-placeholder svg {
    width: 100%;
    height: 100%;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--cyberblue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag {
    background: rgba(10, 132, 255, 0.2);
    color: var(--cyberblue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--cyberblue);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-link {
    background: transparent;
    color: var(--cyberblue);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid var(--cyberblue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--cyberblue);
    color: white;
}

/* BLOG SECTION */
.blog {
    padding: 100px 0;
    background: var(--darker-bg);
}

.blog h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--cyberblue);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyberblue);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-card h3 {
    color: var(--cyberblue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.read-more {
    color: var(--green-accent);
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    display: inline-block;
}

.blog-cta {
    text-align: center;
}

.view-all-btn {
    background: transparent;
    color: var(--cyberblue);
    border: 2px solid var(--cyberblue);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-btn:hover {
    background: var(--cyberblue);
    color: white;
}

/* CONTACT SECTION */
.contact {
    padding: 100px 0;
    background: var(--dark-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--cyberblue);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: var(--cyberblue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-details a {
    color: var(--cyberblue);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

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

.form-status {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}

.form-status.success {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--green-accent);
    color: var(--green-accent);
    display: block;
}

.form-status.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    display: block;
}

.contact-form input,
.contact-form textarea {
    background: var(--card-bg);
    border: 1px solid #333;
    padding: 1rem;
    border-radius: 5px;
    color: var(--light-text);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyberblue);
}

.submit-btn {
    background: var(--green-accent);
    color: var(--dark-bg);
    border: none;
    padding: 1rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Courier New', monospace;
    position: relative;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

/* FOOTER */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--cyberblue);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cyberblue);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--cyberblue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-top: 1px solid var(--cyberblue);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 1rem 0;
        border-bottom: 1px solid #333;
        width: 100%;
        font-size: 1.2rem;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .nav a::after {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }
    
    .hero-greeting {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        min-height: 60px;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    /* About Section */
    .about {
        padding: 60px 0;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-img-placeholder {
        width: 200px;
        height: 200px;
    }
    
    /* Projects Section */
    .projects {
        padding: 60px 0;
    }
    
    .projects h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Blog Section */
    .blog {
        padding: 60px 0;
    }
    
    .blog h2 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact {
        padding: 60px 0;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-greeting {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-link {
        text-align: center;
    }
}

/* Landscape phones */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
}
