/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap');

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

/* CSS Custom Properties - Dark Mode */
:root {
    --primary: #0F0F0F; /* Near-black */
    --secondary: #3E3E3E; /* Dark Gray */
    --accent: #FF0000; /* Red */
    --background: #141414; /* Slightly lighter black for background */
    --text: #F5F5F5; /* Off-white for readability */
    --muted: #282828; /* For muted elements */
    --border: #333333; /* Darker border */
    --card: #1C1C1C; /* Card background */
    --card-hover: #2B2B2B; /* Card hover background */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Skip to Content Link (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--primary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 9999;
}

.skip-to-content:focus {
    top: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-hero {
    animation: fadeInHero 0.8s ease-out forwards;
}

/* Site Name */
.site-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 2rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--accent);
    background: var(--primary);
    animation: fadeIn 0.6s ease-out forwards;
}

.site-logo {
    height: clamp(40px, 8vw, 60px);
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    background: var(--primary); /* Solid near-black background */
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text); /* White text for contrast */
    animation: fadeInHero 0.8s ease-out forwards;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--accent); /* Gold for subheadline */
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInHero 0.8s ease-out 0.2s backwards;
}

/* Courses Section */
.courses {
    padding: 6rem 2rem;
    background: var(--background);
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent); /* Gold for section titles */
}

.section-header p {
    color: var(--text);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 700px;
    margin: 0 auto;
}

.course-card {
    padding: 3rem;
    border-radius: 12px;
    background: var(--card); /* Darker card background */
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    max-width: 600px; /* Constrain card width */
    margin: 0 auto; /* Center the card */
    box-shadow: var(--shadow-md);
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.3s; /* Delay for courses section */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.course-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: inline-block; /* For SVG alignment */
}

.course-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.course-card p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.course-status {
    font-style: italic;
    color: var(--accent); /* Gold for "Coming Soon" */
    font-weight: 700;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    background: var(--primary); /* Near-black for footer */
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    color: var(--text); /* Lighter text for better readability */
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
    }
    
    .courses {
        padding: 4rem 1.5rem;
    }
}

/* Remove navigation styles entirely */
nav, .nav-container, .logo, .mobile-menu-toggle, .hamburger, .nav-links {
    display: none !important;
}
