/* ============================================================
   AJALON.GIBBS.COM - Consolidated Stylesheet
   Mobile-first responsive design with glassmorphism theme.
   Serves all 6 pages: index.html, contact.html, experience.html,
   hobbies.html, projects.html, website-building.html
   ============================================================ */

/* ===================== VARIABLES & RESET ===================== */
:root {
    --aero-blue: #0078D4;
    --aero-dark: #314E7A;
    --text-main: #2b3e50;
    --text-secondary: #4a5a6e;
    --text-muted: #667;
    --glass-surface: rgba(255, 255, 255, 0.7);
    --glass-border-top: rgba(255, 255, 255, 0.9);
    --glass-border-bottom: rgba(255, 255, 255, 0.3);
    --bg-light: #f4fcff;
    --radius-card: 16px;
    --radius-nav: 50px;
}

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

body {
    font-family: 'Segoe UI', 'Frutiger', 'Helvetica Neue', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* ===================== BACKGROUND (AURORA) ===================== */
.aero-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; background: linear-gradient(135deg, #eef7ff 0%, #dbeaff 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; }
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: #b3e5fc; }
.orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: #81d4fa; animation-delay: -5s; }

@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -50px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(0.9); } }

/* ===================== GLASSMORPHISM UTILS ===================== */
.glass-panel { background: var(--glass-surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--glass-border-top); border-left: 1px solid rgba(255, 255, 255, 0.9); border-right: 1px solid rgba(255, 255, 255, 0.4); border-bottom: 1px solid var(--glass-border-bottom); box-shadow: 0 8px 32px rgba(0, 67, 159, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.4); border-radius: var(--radius-card); }

/* ===================== NAVIGATION ===================== */
nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; position: sticky; top: 16px; z-index: 100; margin: 0 auto; max-width: 1200px; border-radius: var(--radius-nav); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); }

.logo { font-weight: 800; color: var(--aero-blue); display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 0.5rem; border-radius: 4px; transition: background 0.2s; }
.logo:hover { background: rgba(255, 255, 255, 0.3); }

/* Hamburger Button - Fixed for Mobile */
.hamburger { display: none; cursor: pointer; font-size: 1.8rem; color: var(--text-main); margin-right: 1rem; min-height: 44px; min-width: 44px; border-radius: 50%; background: transparent; padding: 0; position: relative; z-index: 110; }

.nav-links { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) scale(0.95); flex-direction: column; background: white; padding: 2rem; border-radius: var(--radius-nav); box-shadow: 0 8px 32px rgba(0,67,159,0.1); transform-origin: top center; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 105; }
.nav-links.active { visibility: visible; opacity: 1; transform: translateX(-50%) scale(1); }

@media (min-width: 769px) {
    .hamburger { display: none; }
    .nav-links { position: static !important; top: auto !important; left: auto !important; transform: none !important; opacity: 1 !important; visibility: visible !important; flex-direction: row !important; gap: 0.5rem; padding: 0 !important; margin: 0 !important; box-shadow: none !important; transition: all 0s !important; }
    .nav-links a { text-decoration: none; color: var(--text-main); margin-left: 1rem; font-weight: 600; padding: 4px 8px; border-radius: 4px; min-height: 44px; min-width: 44px; }
    .nav-links a:hover { color: var(--aero-blue); background: rgba(255, 255, 255, 0.3); }
}

@media (max-width: 768px) {
    /* Ensure hamburger shows on mobile */
    .hamburger { display: block; text-align: center; min-height: 44px; min-width: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); margin-left: -20px !important; z-index: 110; }
    .nav-links a { margin-left: 0; font-size: 1rem; padding: 12px 8px; border-radius: 4px; min-height: 44px; min-width: 44px; display: block; width: 100%; text-align: left; }
    .nav-links a:hover { color: var(--aero-blue); background: rgba(255, 255, 255, 0.3); }
}

/* ===================== PAGE HEADER ===================== */
.page-header { text-align: center; padding: 3rem 1.5rem 1.5rem; max-width: 700px; margin: 0 auto; }
.page-header h1 { font-size: 2.8rem; color: var(--text-main); letter-spacing: -0.5px; margin-bottom: 0.8rem; }
.intro { font-size: 1.1rem; color: var(--text-secondary); background: white; padding: 1rem 1.5rem; border-radius: 25px; display: inline-block; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

/* ===================== HERO SECTION (INDEX PAGE) ===================== */
.hero { display: flex; flex-direction: column; gap: 2rem; align-items: center; justify-content: center; max-width: 700px; margin: 4rem auto; padding: 1.5rem; position: relative; z-index: 1; }

.hero-text h1 { font-size: 3rem; color: var(--text-main); margin-bottom: 1rem; align-items: center; justify-content: center; }
.hero-text p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 500px; text-align: center; align-items: center; justify-content: center; }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn { padding: 12px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.2s ease; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

.btn-primary { color: white; background-image: linear-gradient(to bottom, #4facfe 0%, #0078D7 100%); border: none; box-shadow: 0 4px 6px rgba(0, 120, 215, 0.3), inset 0 1px 0 rgba(255,255,255,0.4); cursor: pointer; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 120, 215, 0.4), inset 0 1px 0 rgba(255,255,255,0.6); }

.btn-secondary { background-color: white; color: var(--aero-blue); border: 1px solid #dcebf7; box-shadow: inset 0 -2px 4px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.05); cursor: pointer; }
.btn-secondary:hover { background-color: #f7fbff; transform: translateY(-1px); border-color: var(--aero-blue); }

/* Hero Visual (The Aero Widget) */
.hero-visual { position: relative; height: 420px; display: flex; justify-content: center; align-items: center; max-width: 400px; margin: 0 auto; }

.avatar-container { width: 115px; height: 115px; position: relative; }
.avatar-gloss { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 60%); z-index: 1; }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; }

.status-badge { display: inline-flex; align-items: center; gap: 6px; background: #e3f2fd; color: var(--aero-blue); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; }
.status-dot { width: 8px; height: 8px; background-color: #4caf50; border-radius: 50%; box-shadow: 0 0 6px #4caf50; }

/* ===================== GRID SECTIONS ===================== */
.grid-section, .hobbies-grid, .project-grid { max-width: 1200px; margin: 3rem auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ===================== CARDS (Universal) ===================== */
.aero-card, .glass-panel, .project-card, .hobby-card, .price-card { padding: 2rem; transition: transform 0.3s ease, box-shadow 0.3s ease; margin-bottom: 1rem; }

.aero-card:hover, .glass-panel:hover, .project-card:hover, .hobby-card:hover, .price-card:hover { transform: translateY(-6px); }

.card-icon { font-size: 2rem; color: var(--aero-blue); margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.hobby-card:hover .card-icon { transform: rotate(-10deg) scale(1.1); color: #0056b3; }

/* --- Top Gradient Bar on Cards --- */
.aero-card::before, .hobby-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--aero-blue), #4facfe); transition: transform 0.3s ease; z-index: 2; }

/* --- Cards with Images (Projects) --- */
.card-image { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; background: #dbeaff; }
.project-card:nth-child(1) .card-image { background: linear-gradient(to bottom right, #e8f5e9, #c8e6c9); }
.project-card:nth-child(2) .card-image { background: linear-gradient(to bottom right, #e3f2fd, #bbdefb); }
.project-card:nth-child(3) .card-image { background: linear-gradient(to bottom right, #fff3e0, #ffe0b2); }

.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }

/* --- Hobbies Card Specific --- */
.hobby-card h2 { font-size: 1.6rem; margin-bottom: 0.8rem; color: var(--text-main); }

/* Terminal Simulation */
.terminal-window { background: #1e1e1e; border-radius: 8px; padding: 1rem; width: 100%; font-family: 'Consolas', monospace; color: #d4d4d4; font-size: 0.9rem; box-shadow: inset 0 2px 5px rgba(0,0,0,0.5); border: 1px solid #333; }
.prompt { color: #569cd6; margin-right: 8px; }
.path { color: #ce9178; }
.cmd { color: #d4d4d4; }
.cursor { display: inline-block; width: 8px; height: 15px; background-color: #d4d4d4; animation: blink 1s infinite; vertical-align: middle; margin-left: 2px; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===================== TAGS (Skill Pills / Project Tags) ===================== */
.skill-pill, .tag { background-color: #f0f8ff; color: var(--text-main); font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; font-weight: 600; border: 1px solid rgba(0,120,215,0.2); display: flex; align-items: center; gap: 5px; transition: all 0.2s ease; }
.skill-pill:hover, .tag:hover { background-color: var(--aero-blue); color: white; border-color: var(--aero-blue); }

.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.tag-pill { background: rgba(255,255,255,0.8); border: 1px solid #b3d9f7; padding: 6px 14px; border-radius: 20px; color: var(--text-main); font-weight: 600; transition: all 0.3s ease; cursor: default; }
.tag-pill:hover { background: white; border-color: var(--aero-blue); transform: scale(1.05); color: var(--aero-blue); box-shadow: 0 4px 12px rgba(0, 120, 215, 0.2); }

/* ===================== PROGRESS BARS (Language Progress) ===================== */
.progress-bar-bg { height: 8px; background-color: #eef3f8; border-radius: 6px; position: relative; width: 100%; overflow: hidden; margin-top: 5px; }
.progress-bar-fill { height: 100%; background: linear-gradient(to right, var(--aero-blue), #4facfe); border-radius: 6px; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); }
.progress-bar-fill::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent); opacity: 0.6; border-radius: 6px 6px 0 0; }

/* ===================== TIMELINE (Experience Page) ===================== */
.timeline-container { max-width: 1200px; margin: 3rem auto; padding: 0 2rem; position: relative; }

/* REMOVED: .timeline-container::after (blue line) - intentionally not defined */

.timeline-item { padding: 10px 40px; position: relative; width: 50%; display: flex; align-items: center; }
.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }

.timeline-item::after { content: ''; position: absolute; width: 24px; height: 24px; background: white; border: 3px solid var(--aero-blue); top: 35px; border-radius: 50%; left: -12px; }
.right::after { left: auto; right: -12px; }

.content-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 120, 159, .15); background: #fff; }

.role-title { color: var(--text-muted); font-weight: 600; font-size: 1.1rem; margin-bottom: 1rem; display: block; border-bottom: 2px solid #eef; padding-bottom: 5px; width: fit-content; }

/* ===================== PROCESS SECTION (Website Building) ===================== */
.process-section { margin-top: 3rem; position: relative; padding-bottom: 50px; text-align: center; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 2rem; }

.step-card { flex: 1; min-width: 200px; position: relative; text-align: center; transition: transform 0.3s; }
.step-icon { width: 60px; height: 60px; background-color: var(--aero-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1rem; }
.step-title { font-weight: bold; font-size: 1.1rem; color: var(--aero-dark); display: block;}
/* ===================== PRICING SECTION (Website Building) - FIXED ===================== */
.pricing-section { margin-top: 5rem; padding-bottom: 4rem; text-align: center; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; justify-content: center; }

/* Enhanced pricing card styling */
.price-card { text-align: center; padding: 2rem; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; border-top: 4px solid var(--aero-blue); }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0, 120, 159, .15); }

.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--aero-blue); margin-bottom: 4px; line-height: 1; letter-spacing: -0.5px; }
.frequency { font-size: 0.9rem; color: var(--text-muted); font-weight: normal; }

/* ===================== CONTACT SECTION (Contact Page) ===================== */
.contact-wrapper { max-width: 800px; margin: 2rem auto; padding: 0 2rem; flex-direction: column; }

.resume-box { width: 100%; text-align: center; margin-bottom: 3rem; padding: 2rem; border-top: 5px solid var(--aero-blue); background-color: rgba(255,255,255,0.8); display: flex; justify-content: center; align-items: center; flex-direction: column; }

.download-btn { display: inline-flex; align-items: center; gap: 10px; background-color: var(--aero-blue); color: white; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 1.1rem; transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s; margin-top: 1rem; min-height: 44px; min-width: 44px; }
.download-btn:hover { background-color: #0063b1; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 120, 215, 0.4); }

.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; margin-top: 2rem; justify-content: center; }
.contact-item:hover { background-color: rgba(255, 255, 255, 0.8); transition: background 0.3s; }

.icon-box { width: 45px; height: 45px; border-radius: 12px; background-color: var(--aero-blue); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.info-text a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 1.1rem; transition: color 0.2s; min-height: 44px; display: block; }
.info-text span { display: block; font-size: 0.85rem; color: #667; margin-bottom: -4px; min-height: 44px; text-align: center; padding-top: 20px; }

/* ===================== FOOTER (Universal) ===================== */
footer { text-align: center; padding: 3rem 1rem; color: var(--text-muted); position: relative; z-index: 10; font-size: 0.9rem; margin-top: auto; }

/* ===================== RESPONSIVE DESIGNS (MOBILE-FIRST) ===================== */
@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { max-width: 300px; height: 350px; margin: 0 auto; }

    .grid-section, .hobbies-grid, .project-grid { grid-template-columns: 1fr; }

    nav { padding: 0.8rem 1rem; }
    .nav-links a { margin-left: 0.75rem; font-size: 0.9rem; min-width: auto; }

    .page-header h1 { font-size: 2.2rem; }

    .timeline-item { width: 100%; padding-left: 60px; padding-right: 20px; }
    .left, .right { left: 0; text-align: left; }
    .timeline-item::after { left: 13px; right: auto; }

    .hero-visual { height: 350px; max-width: 400px; }

    .contact-details { grid-template-columns: 1fr; gap: 1rem; justify-content: center; }

    /* Enhanced mobile pricing */
    .price-card { padding: 1.5rem; }
    .price-amount { font-size: 2.2rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links a { margin-left: 1.5rem; }
    .hero-text h1 { font-size: 3rem; }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .nav-links a { margin-left: 1.75rem; font-size: 1rem; min-height: auto; }
    .hero-text h1 { font-size: 3.5rem; }
}

@media (min-width: 1401px) {
    .nav-links a { margin-left: 2rem; font-size: 1.1rem; min-height: auto; }
    .hero-text h1 { font-size: 4rem; }
    .project-grid { grid-template-columns: repeat(3, 1fr); }

    /* Enhanced desktop pricing */
    .price-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0, 120, 159, .2), inset 0 0 0 1px rgba(255,255,255,0.4); }
}

/* ===================== ACCESSIBILITY & TOUCH TARGETS ===================== */
button, a, input, select { min-height: 44px; min-width: 44px; }

html { scroll-behavior: smooth; }

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

/* Print Styles */
@media print { body { background: white !important; color: black !important; } .aero-bg, .orb, nav { display: none !important; } page-break-after: always; @page { margin: 10mm; } }
