/* style.css */

/* Define Aung's Color Palette & Typography */
:root {
    --color-background: #0D1A2B;  /* Deep Twilight Blue */
    --color-primary: #FFD700;     /* Aurora Gold */
    --color-text-light: #E0E7FF;  /* Off-White for body text */
    --font-heading: 'Georgia', serif; /* Visionary, strong header font */
    --font-body: 'Arial', sans-serif; /* Clean, technical body font */
}

/* Base Styles */
body {
    background-color: var(--color-background);
    color: var(--color-text-light);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2 {
    font-family: var(--font-heading);
    color: var(--color-primary); /* Use the Aurora Gold for emphasis */
}

/* 1. HERO SECTION: The visual and emotional hook */
#hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;

    /* New Animated Background Styles */
    /* This gradient uses the base blue and two slightly lighter/different shades */
    background: linear-gradient(-45deg, var(--color-background), #1A3459, #3A66A8, var(--color-background));
    background-size: 400% 400%; /* Makes the gradient large for a gentle shift */
    animation: interdimensional-shift 30s ease infinite; /* Apply the slow 30-second loop */
}

/* 2. Keyframes for the Interdimensional Shift */
@keyframes interdimensional-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Typography Refinements */
h1 {
    /* Add a subtle shadow for a glowing 'Aurora Gold' effect */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    font-size: 3.5em; /* Make the name slightly larger */
}

.tagline {
    font-size: 1.5em;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 30px;
}

/* Navigation Styles */
nav a {
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-primary); /* Gold hover effect */
}

/* Basic Section Styles (for future use) */
section {
    padding: 80px 5%;
}

/* --- Portfolio Grid Styles --- */

.project-grid {
    display: grid;
    /* Sets up a responsive grid: 
       1 column on small screens, 
       3 columns on larger screens (min 800px) */
    grid-template-columns: 1fr; 
    gap: 30px;
    margin-top: 40px;
}

/* Media Query for larger screens (e.g., desktops) */
@media (min-width: 800px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background-color: rgba(26, 52, 89, 0.4); /* Semi-transparent darker blue */
    border: 1px solid rgba(255, 215, 0, 0.2); /* Subtle gold outline */
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15); /* Gold glow effect */
}

.project-tag {
    color: var(--color-primary);
    font-size: 0.9em;
    font-weight: bold;
    margin-top: -10px;
    margin-bottom: 15px;
}

.view-project-btn {
    margin-top: auto; /* Pushes the button to the bottom */
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

/* --- Navigation & Button Styles --- */
.main-nav {
    margin-top: 40px;
}

.hero-buttons {
    margin: 20px 0 50px 0;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
}

.cta-primary {
    background-color: var(--color-primary); /* Aurora Gold */
    color: var(--color-background);
}

.cta-secondary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background-color: transparent;
}

.cta-primary:hover {
    background-color: #FFEB80; /* Lighter gold on hover */
}

.cta-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

/* --- Highlights/Stats Section --- */
#highlights {
    text-align: center;
    padding: 50px 5%;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stats-grid p {
    font-size: 1em;
    font-weight: 300;
    margin: 15px;
    color: var(--color-text-light);
}

.stats-grid span {
    color: var(--color-primary); /* Emphasize stats in gold */
    font-weight: 900;
    font-size: 1.2em;
    display: block; /* Puts the number/key term on its own line */
}