/* ================================
   CSS Custom Properties (Theme)
   ================================ */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d14;
    --bg-tertiary: #12121a;

    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --accent-purple: #8b5cf6;

    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b6b6b;

    /* Glows */
    --glow-cyan: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #00ffff;
    --glow-magenta: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 40px #ff00ff;
    --glow-purple: 0 0 10px #8b5cf6, 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;

    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: 'Consolas', 'Monaco', monospace;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================================
   CSS Reset & Base Styles
   ================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ================================
   Utility Classes
   ================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight-cyan {
    color: var(--accent-cyan);
}

.highlight-magenta {
    color: var(--accent-magenta);
}

.highlight-purple {
    color: var(--accent-purple);
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: background var(--transition-medium), padding var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: var(--glow-cyan);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    transition: var(--transition-medium);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    transition: var(--transition-medium);
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.nav-toggle.active .hamburger {
    background: transparent;
    box-shadow: none;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Grid overlay effect */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.hero-photo {
    width: 180px;
    height: 220px;
    margin: 0 auto 30px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.hero-photo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta), var(--accent-purple), var(--accent-cyan));
    background-size: 300% 300%;
    border-radius: 10px;
    z-index: -1;
    animation: borderGlow 4s ease infinite;
}

.hero-photo::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta), var(--accent-purple), var(--accent-cyan));
    background-size: 300% 300%;
    border-radius: 10px;
    z-index: -2;
    filter: blur(15px);
    opacity: 0.7;
    animation: borderGlow 4s ease infinite;
}

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

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    transition: all var(--transition-medium);
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.name-container {
    display: block;
    text-align: center;
}

.hero-title .title-line {
    display: inline;
}

.hero-title:hover {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.3);
}

.hero-title:hover .title-line.accent {
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.4), 0 0 45px rgba(0, 255, 255, 0.2);
}

.title-line {
    display: inline-block;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: text-shadow var(--transition-medium);
}

.title-line.accent {
    color: #66d9d9;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4), 0 0 16px rgba(0, 255, 255, 0.2);
    animation: none;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 255, 255, 0.4), 0 0 16px rgba(0, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 12px rgba(0, 255, 255, 0.5), 0 0 24px rgba(0, 255, 255, 0.3), 0 0 36px rgba(0, 255, 255, 0.15);
    }
}

.hero-tagline {
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 100%;
    width: 100%;
    margin: 0 auto 40px;
    line-height: 1.6;
    letter-spacing: 0.05em;
    font-weight: 300;
    white-space: nowrap;
    text-align: center;
    padding: 0 5%;
    display: block;
}

.hero-tagline .highlight-cyan,
.hero-tagline .highlight-purple,
.hero-tagline .highlight-magenta {
    display: inline-block;
}

.tagline-separator {
    margin: 0 3vw;
    color: var(--text-muted);
    font-weight: 200;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-magenta);
    border: 2px solid var(--accent-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3), inset 0 0 10px rgba(255, 0, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--accent-magenta);
    color: var(--bg-primary);
    box-shadow: var(--glow-magenta);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
    transform: rotate(45deg);
    box-shadow: 3px 3px 5px rgba(0, 255, 255, 0.3);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ================================
   Section Styles
   ================================ */
section {
    padding: var(--section-padding);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-magenta);
}

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

.about-content {
    display: grid;
    gap: 60px;
}

.about-intro {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.photo-placeholder {
    width: 180px;
    height: 220px;
    border-radius: 8px;
    background: var(--bg-tertiary);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    margin: 0 auto;
    display: block;
}

.photo-placeholder::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta), var(--accent-purple), var(--accent-cyan));
    background-size: 300% 300%;
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 4s ease infinite;
    box-shadow: 
        0 0 10px var(--accent-cyan),
        0 0 20px var(--accent-magenta),
        0 0 30px var(--accent-purple);
}

.photo-placeholder::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta), var(--accent-purple), var(--accent-cyan));
    background-size: 300% 300%;
    border-radius: 12px;
    z-index: -2;
    filter: blur(15px);
    opacity: 0.7;
    transition: all var(--transition-medium);
    animation: borderGlow 4s ease infinite;
}

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

.photo-placeholder:hover::before {
    box-shadow: 
        0 0 15px var(--accent-cyan),
        0 0 30px var(--accent-magenta),
        0 0 45px var(--accent-purple),
        0 0 60px rgba(0, 255, 255, 0.3);
}

.photo-placeholder:hover::after {
    filter: blur(20px);
    opacity: 0.9;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.about-text {
    max-width: 800px;
    text-align: left;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.focus-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--accent-purple);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

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

.focus-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 0, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.focus-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), 0 0 40px rgba(0, 255, 255, 0.1);
}

.focus-card:hover::before {
    opacity: 1;
}

.focus-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.focus-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.focus-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Get In Touch */
.get-in-touch {
    text-align: center;
    margin-top: 20px;
}

.touch-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 500;
}

.touch-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.touch-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 6px;
    transition: all var(--transition-medium);
}

.touch-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.touch-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.touch-icon svg {
    width: 100%;
    height: 100%;
    transition: all var(--transition-medium);
}

.linkedin-icon {
    color: #0077b5;
}

.touch-item:hover .linkedin-icon {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.touch-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.touch-item:hover .touch-label {
    color: var(--accent-cyan);
}

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

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

.project-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    padding: 30px;
    transition: all var(--transition-medium);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta), var(--accent-purple));
    border-radius: 9px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
    filter: blur(8px);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1), 0 0 20px rgba(139, 92, 246, 0.1);
}

.project-card:hover::before {
    opacity: 0.4;
    filter: blur(12px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: text-shadow var(--transition-medium);
    position: relative;
    z-index: 1;
}

.project-card:hover .project-title {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.project-link {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: all var(--transition-fast);
}

.project-link:hover {
    color: var(--accent-magenta);
    text-shadow: var(--glow-magenta);
    transform: translateX(5px);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color var(--transition-medium);
    position: relative;
    z-index: 1;
}

.project-card:hover .project-description {
    color: var(--text-secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-image {
    width: 100%;
    margin: 20px 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all var(--transition-medium);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.project-image-credit {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
    margin-bottom: 0;
    font-style: italic;
    padding: 0;
    opacity: 0.7;
}

.project-card:hover .project-image {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

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

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 20px;
}

.tag {
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

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

.contact-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    transition: all var(--transition-medium);
}

.contact-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1rem;
    color: var(--accent-cyan);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 0, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background: var(--bg-primary);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 4px;
    padding: 15px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    margin-top: 10px;
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right var(--transition-medium);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    /* Hero adjustments */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Projects grid */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Focus areas */
    .focus-grid {
        grid-template-columns: 1fr;
    }

    /* Hero photo */
    .hero-photo {
        width: 140px;
        height: 170px;
        margin-bottom: 20px;
    }

    /* About intro */
    .about-intro {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
        max-width: 100%;
    }

    .photo-placeholder {
        width: 150px;
        height: 180px;
    }

    /* Get in touch */
    .touch-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .touch-item {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-item:hover {
        transform: translateY(-5px);
    }
}

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

    .section-title {
        font-size: 1.8rem;
    }

    .project-card,
    .focus-card,
    .contact-form-container {
        padding: 20px;
    }
}

/* ================================
   Animation Classes (for JS)
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scanline effect (optional) */
.scanlines::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ================================
   Theme Toggle Button
   ================================ */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 30px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.theme-toggle-icon {
    font-size: 1.2rem;
}

.theme-toggle-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .theme-toggle {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .theme-toggle-text {
        display: none;
    }
}

/* ================================
   Military Theme
   ================================ */
body.military-theme {
    --bg-primary: #1a1f16;
    --bg-secondary: #252b1f;
    --bg-tertiary: #2f3728;

    --accent-cyan: #8b9a6b;
    --accent-magenta: #c4a35a;
    --accent-purple: #6b7c5c;

    --text-primary: #e8e4d9;
    --text-secondary: #b8b4a9;
    --text-muted: #7a7868;

    --glow-cyan: 0 0 10px rgba(139, 154, 107, 0.5);
    --glow-magenta: 0 0 10px rgba(196, 163, 90, 0.5);
    --glow-purple: 0 0 10px rgba(107, 124, 92, 0.5);

    font-family: 'Share Tech Mono', 'Courier New', monospace;
}

/* Military theme - Typography */
body.military-theme .hero-title,
body.military-theme .section-title,
body.military-theme .focus-title,
body.military-theme .touch-title,
body.military-theme .project-title {
    font-family: 'Black Ops One', 'Impact', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.military-theme .logo-text {
    font-family: 'Black Ops One', 'Impact', sans-serif;
    color: #8b9a6b;
    text-shadow: 0 0 10px rgba(139, 154, 107, 0.5);
}

/* Military theme - Hero */
body.military-theme .hero-background {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(107, 124, 92, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 154, 107, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(196, 163, 90, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, #1a1f16 0%, #252b1f 100%);
}

body.military-theme .hero-background::before {
    background-image:
        linear-gradient(rgba(139, 154, 107, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 154, 107, 0.05) 1px, transparent 1px);
}

body.military-theme .title-line {
    color: #e8e4d9;
    text-shadow: 0 0 20px rgba(232, 228, 217, 0.2);
}

body.military-theme .title-line.accent {
    color: #8b9a6b;
    text-shadow: 0 0 8px rgba(139, 154, 107, 0.4), 0 0 16px rgba(139, 154, 107, 0.2);
    animation: none;
}

body.military-theme .hero-title:hover {
    text-shadow: 0 0 30px rgba(232, 228, 217, 0.4);
}

body.military-theme .hero-title:hover .title-line.accent {
    text-shadow: 0 0 15px rgba(139, 154, 107, 0.6), 0 0 30px rgba(139, 154, 107, 0.3);
}

/* Military theme - Highlights */
body.military-theme .highlight-cyan {
    color: #8b9a6b;
}

body.military-theme .highlight-magenta {
    color: #c4a35a;
}

body.military-theme .highlight-purple {
    color: #6b7c5c;
}

body.military-theme .tagline-separator {
    color: #5a5848;
}

/* Military theme - Buttons */
body.military-theme .btn-primary {
    color: #8b9a6b;
    border-color: #8b9a6b;
    box-shadow: 0 0 10px rgba(139, 154, 107, 0.3), inset 0 0 10px rgba(139, 154, 107, 0.1);
}

body.military-theme .btn-primary:hover {
    background: #8b9a6b;
    color: #1a1f16;
    box-shadow: 0 0 20px rgba(139, 154, 107, 0.5);
}

body.military-theme .btn-secondary {
    color: #c4a35a;
    border-color: #c4a35a;
    box-shadow: 0 0 10px rgba(196, 163, 90, 0.3), inset 0 0 10px rgba(196, 163, 90, 0.1);
}

body.military-theme .btn-secondary:hover {
    background: #c4a35a;
    color: #1a1f16;
    box-shadow: 0 0 20px rgba(196, 163, 90, 0.5);
}

/* Military theme - Photo */
body.military-theme .photo-placeholder::before {
    background: linear-gradient(135deg, #8b9a6b, #c4a35a, #6b7c5c, #8b9a6b);
    box-shadow:
        0 0 10px rgba(139, 154, 107, 0.5),
        0 0 20px rgba(196, 163, 90, 0.3),
        0 0 30px rgba(107, 124, 92, 0.2);
}

body.military-theme .photo-placeholder::after {
    background: linear-gradient(135deg, #8b9a6b, #c4a35a, #6b7c5c, #8b9a6b);
}

body.military-theme .photo-placeholder:hover::before {
    box-shadow:
        0 0 15px rgba(139, 154, 107, 0.6),
        0 0 30px rgba(196, 163, 90, 0.4),
        0 0 45px rgba(107, 124, 92, 0.3);
}

/* Military theme - Section titles */
body.military-theme .section-title::after {
    background: linear-gradient(90deg, #8b9a6b, #c4a35a);
    box-shadow: 0 0 10px rgba(139, 154, 107, 0.5);
}

/* Military theme - Navigation */
body.military-theme .navbar.scrolled {
    background: rgba(26, 31, 22, 0.95);
    border-bottom: 1px solid rgba(139, 154, 107, 0.2);
}

body.military-theme .nav-link::after {
    background: #8b9a6b;
    box-shadow: 0 0 10px rgba(139, 154, 107, 0.5);
}

body.military-theme .nav-link:hover {
    color: #8b9a6b;
    text-shadow: 0 0 10px rgba(139, 154, 107, 0.5);
}

body.military-theme .hamburger,
body.military-theme .hamburger::before,
body.military-theme .hamburger::after {
    background: #8b9a6b;
    box-shadow: 0 0 10px rgba(139, 154, 107, 0.5);
}

/* Military theme - Focus cards */
body.military-theme .focus-card {
    border-color: rgba(139, 154, 107, 0.2);
}

body.military-theme .focus-card::before {
    background: linear-gradient(135deg, rgba(139, 154, 107, 0.1) 0%, transparent 50%, rgba(196, 163, 90, 0.1) 100%);
}

body.military-theme .focus-card:hover {
    border-color: #8b9a6b;
    box-shadow: 0 0 20px rgba(139, 154, 107, 0.2);
}

body.military-theme .focus-title {
    color: #c4a35a;
    text-shadow: 0 0 10px rgba(196, 163, 90, 0.4);
}

/* Military theme - Project cards */
body.military-theme .project-card {
    border-color: rgba(139, 154, 107, 0.2);
}

body.military-theme .project-card::before {
    background: linear-gradient(135deg, #8b9a6b, #c4a35a, #6b7c5c);
}

body.military-theme .project-card:hover {
    border-color: rgba(139, 154, 107, 0.4);
    box-shadow: 0 10px 30px rgba(139, 154, 107, 0.1);
}

body.military-theme .project-link {
    color: #8b9a6b;
}

body.military-theme .project-link:hover {
    color: #c4a35a;
    text-shadow: 0 0 10px rgba(196, 163, 90, 0.5);
}

body.military-theme .project-image {
    border-color: rgba(139, 154, 107, 0.2);
}

body.military-theme .project-card:hover .project-image {
    border-color: rgba(139, 154, 107, 0.4);
    box-shadow: 0 0 15px rgba(139, 154, 107, 0.1);
}

body.military-theme .tag {
    background: rgba(139, 154, 107, 0.2);
    color: #8b9a6b;
    border-color: rgba(139, 154, 107, 0.3);
}

/* Military theme - Contact */
body.military-theme .touch-item {
    border-color: rgba(139, 154, 107, 0.2);
}

body.military-theme .touch-item:hover {
    border-color: #8b9a6b;
    box-shadow: 0 0 15px rgba(139, 154, 107, 0.2);
}

body.military-theme .touch-item:hover .touch-label {
    color: #8b9a6b;
}

body.military-theme .linkedin-icon {
    color: #8b9a6b;
}

body.military-theme .touch-item:hover .linkedin-icon {
    color: #c4a35a;
    filter: drop-shadow(0 0 8px rgba(196, 163, 90, 0.5));
}

/* Military theme - Footer */
body.military-theme .footer {
    border-top-color: rgba(139, 154, 107, 0.2);
}

/* Military theme - Scroll indicator */
body.military-theme .scroll-arrow {
    border-color: #8b9a6b;
    box-shadow: 3px 3px 5px rgba(139, 154, 107, 0.3);
}

/* Military theme - Theme toggle button */
body.military-theme .theme-toggle {
    border-color: rgba(139, 154, 107, 0.3);
}

body.military-theme .theme-toggle:hover {
    border-color: #8b9a6b;
    color: #8b9a6b;
    box-shadow: 0 4px 20px rgba(139, 154, 107, 0.2);
}

/* Military theme - Mobile menu */
body.military-theme .nav-menu {
    background: rgba(26, 31, 22, 0.98);
}
