/* Base Styles & Variables */
:root {
    --space-dark: #0a0a12;
    --space-blue: #12122c;
    --space-purple: #2c1a4a;
    --space-accent: #4a2ca3;
    --neon-blue: #3498db;
    --text-light: #f0f0f0;
    --text-muted: #a0a0b0;
    --transition: all 0.3s ease;
    --border: 1px solid rgba(100, 100, 150, 0.2);
    --card-bg: rgba(20, 20, 40, 0.7);
    --font-mono: 'Courier New', Courier, monospace;
    --gradient-bg: linear-gradient(135deg, var(--space-purple), var(--space-blue));
}

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

body {
    font-family: var(--font-mono);
    background-color: var(--space-dark);
    color: var(--text-light);
    line-height: 1.7;
    background-image:
    radial-gradient(circle at 20% 30%, rgba(74, 44, 163, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-light), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--space-accent), var(--neon-blue));
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--neon-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: var(--transition);
}

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

nav a.active,
nav a:hover {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.tagline {
    color: var(--neon-blue);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.cta-button:hover {
    background: rgba(52, 152, 219, 0.1);
    text-decoration: none;
}

/* Grid & Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: var(--card-bg);
    border: var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 100, 150, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: var(--gradient-bg);
}

.card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.card .meta {
    font-size: 0.9rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    display: block;
}

.card .btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    transition: var(--transition);
}

.card .btn:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    display: inline-block;
}

.section-header h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    max-width: 700px;
    margin: 1rem auto 0;
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 18, 0.98);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    background: var(--space-blue);
    border-radius: 4px;
    overflow: hidden;
    border: var(--border);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    background: rgba(10, 10, 18, 0.7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--neon-blue);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 2rem;
}

.video-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Blog Content */
.blog-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    border: var(--border);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.blog-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: var(--border);
}

.blog-header h1 {
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: var(--neon-blue);
    font-size: 0.95rem;
    display: flex;
    gap: 1.5rem;
}

.blog-body {
    line-height: 1.8;
}

.blog-body p {
    margin-bottom: 1.8rem;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: rgba(10, 10, 18, 0.95);
    padding: 4rem 0 3rem;
    border-top: var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--neon-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--neon-blue);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.3rem;
    }

    section {
        padding: 4rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--neon-blue);
}

.back-link:hover {
    text-decoration: none;
}

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

.tag {
    background: rgba(52, 152, 219, 0.1);
    color: var(--neon-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}



/* Contact Page */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: rgba(30, 42, 74, 0.7);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 89, 182, 0.2);
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.contact-id {
    background: rgba(20, 20, 40, 0.5);
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    margin: 1rem 0;
}

.contact-instructions {
    font-size: 0.9rem;
    color: #a0a0b0;
    margin-top: 1rem;
}

.contact-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* Add these styles to your existing styles.css */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.card .tech-tag {
    background: rgba(52, 152, 219, 0.15);
}

.project-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
