/* Premium Project Details Styles - Universal Support */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-cyan: #00fffc;
    --accent-glow: rgba(0, 255, 252, 0.15);
    --border-light: rgba(255, 255, 255, 0.1);
    --font-main: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    margin: 0;
}

/* --- VISIBILITY FIXES --- */
/* Override style.css scroll animations that hide content */
section,
.section,
.project-section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* --- HEADER SUPPORT (Legacy .navbar) --- */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar .logo a {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.navbar .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar .nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: var(--accent-cyan);
}

.navbar .cta-button {
    background: var(--accent-cyan);
    color: #000 !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

/* --- HERO SECTION SUPPORT --- */
.hero,
.project-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), var(--bg-dark)), url('../static/Design.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
    /* Increased to clear fixed header */
    padding-top: 0;
    /* Reset padding from style.css if any */
}

.hero::after,
.project-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
}

.hero-content,
.project-hero .container {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    max-width: 800px;
    margin: 0 auto;
    /* Ensure centering */
}

.hero-title,
.project-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-meta,
.project-category,
.project-subtitle {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.project-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 1rem;
    text-transform: none;
}

/* --- CONTAINER SUPPORT --- */
.container,
.project-details-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

/* --- SECTIONS SUPPORT --- */
.section,
.project-section {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    /* Reset text-align center from style.css */
}

.section:hover,
.project-section:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 255, 252, 0.3);
}

.section h2,
.project-section h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    margin-top: 0;
}

.section p,
.project-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* --- LISTS & GRIDS --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
}

.feature-card h3 {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.feature-card p {
    margin-bottom: 0;
}

.challenges,
.project-section ul {
    list-style: none;
    padding: 0;
}

.challenges li,
.project-section ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.challenges li::before,
.project-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.tech-list,
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.tech-list li,
.tech-tag {
    background: rgba(0, 255, 252, 0.1);
    color: var(--accent-cyan);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 252, 0.2);
    transition: all 0.2s;
    display: inline-block;
}

.tech-list li:hover,
.tech-tag:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- CTA SECTION --- */
.project-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 252, 0.05), transparent);
    border-radius: 20px;
    border: 1px solid var(--accent-cyan);
    margin-top: 3rem;
}

.project-cta h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.btn-primary,
.cta-button {
    display: inline-block;
    background: var(--accent-cyan);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* --- FOOTER SUPPORT --- */
footer {
    background: #050505;
    border-top: 1px solid var(--border-light);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--text-muted);
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent-cyan);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .navbar .nav-links {
        display: none;
        /* Hide nav links on mobile for now, hamburger needed */
    }

    .hero-title,
    .project-hero h1 {
        font-size: 2.5rem;
    }

    .section,
    .project-section {
        padding: 1.5rem;
    }
}