/* 
   Apple-inspired Dark Mode Theme
   Focuses on deep blacks, subtle grays, vibrant glowing accents, and smooth typography.
*/

:root {
    --bg-color: #000000;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-color: #0071e3; /* Apple Blue */
    --accent-glow: rgba(0, 113, 227, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

/* Typography Utilities */
.text-center { text-align: center; }
.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 60px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Subtle blend with dark theme */
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hero-word {
    background: linear-gradient(90deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0; /* Handled by GSAP */
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0;
}

.scroll-arrow {
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Sections General */
section {
    padding: 8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Timeline Section */
.profile-image-container {
    text-align: center;
    margin: 2rem 0;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--glass-border);
    box-shadow: 0 0 30px var(--accent-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--accent-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 4rem;
    opacity: 0; /* Handled by GSAP */
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.placeholder-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ff9f0a; /* Apple Orange */
    font-style: italic;
}

/* Aviation Guidance Section */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Handled by GSAP */
    transform: translateY(30px);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
    border-color: rgba(255,255,255,0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-secondary);
}

/* Web Dev Section */
.webdev-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.webdev-text {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #e0e0e0;
}

/* Browser Mockup Visual */
.webdev-visual {
    flex: 1;
    perspective: 1000px;
}

.browser-mockup {
    background: #1c1c1e;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.browser-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: #2c2c2e;
    padding: 10px;
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 2rem;
    height: 300px;
}

.mockup-line {
    height: 20px;
    background: #333;
    border-radius: 10px;
    margin-bottom: 1rem;
    width: 100%;
}
.mockup-line.short { width: 60%; }
.mockup-box {
    height: 150px;
    background: #2c2c2e;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
}

.email-link {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    margin: 2rem 0;
    position: relative;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title { font-size: 4rem; }
    .webdev-content { flex-direction: column; }
    .browser-mockup { transform: none; }
}
