@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* Modern Tech Theme Variables */
:root {
    --bg-color: #050510;
    --card-bg: rgba(15, 20, 35, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #3b82f6;
    --accent-2: #8b5cf6;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
}

/* Basic setup */
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Glassmorphism Header */
.site-header {
    background-color: rgba(5, 5, 16, 0.6);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-1);
}

/* Parallax Hero Section */
.hero-parallax {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1694903089438-bf28d4697d9a?q=80&w=1632&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.3), var(--bg-color));
    z-index: 1;
}

.hero {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    margin: 0 auto 30px;
    max-width: 600px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.btn-large {
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 8px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.section-title {
    margin: 0 0 40px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Tech Course Cards */
.course-section {
    padding: 80px 0;
}

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

.course-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
    border-color: rgba(59, 130, 246, 0.5);
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.course-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 30px;
    background-color: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: var(--accent-1);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-card h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.course-card p {
    margin: 0 0 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    transition: filter 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-1);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Divider Parallax */
.parallax-divider {
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2600');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.parallax-overlay {
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(4px);
    padding: 50px 80px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.parallax-overlay h2 {
    font-size: 2rem;
    margin: 0 0 24px;
}

/* Sexy Dark Footer */
.site-footer {
    background-color: #030308;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-content h4 {
    margin: 0 0 20px;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.footer-content p,
.footer-content li {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-content li {
    margin-bottom: 12px;
}

.footer-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* Can add hamburger menu later */
    }

    .parallax-overlay {
        padding: 30px 20px;
    }

    .hero-parallax {
        background-attachment: scroll;
        /* fixes mobile browser parallax jank */
    }
}