/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Noto Sans TC', sans-serif;
    
    /* Layout */
    --navbar-height: 80px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Dark Theme Variables (Zen Slate - Default) */
body.dark-theme {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1524;
    --bg-glass: rgba(15, 21, 36, 0.7);
    --bg-card: rgba(22, 30, 49, 0.6);
    --bg-card-hover: rgba(30, 41, 67, 0.85);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-gold: #d4af37; /* Metallic Gold */
    --accent-gold-rgb: 212, 175, 55;
    --accent-gold-hover: #f3c63f;
    --accent-emerald: #10b981;
    --accent-emerald-rgb: 16, 185, 129;
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-hover: rgba(214, 175, 55, 0.4);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.2);
    
    --glass-blur: blur(12px);
    --gradient-hero: linear-gradient(180deg, rgba(10, 14, 23, 0.2) 0%, rgba(10, 14, 23, 0.85) 80%, #0a0e17 100%);
}

/* Light Theme Variables (Warm Silk) */
body.light-theme {
    --bg-primary: #faf8f5; /* Warm off-white */
    --bg-secondary: #f4f0ea;
    --bg-glass: rgba(250, 248, 245, 0.8);
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: #ffffff;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-gold: #855b00; /* Rich Deep Calligraphy Gold */
    --accent-gold-rgb: 133, 91, 0;
    --accent-gold-hover: #664500;

    --accent-emerald: #059669;
    --accent-emerald-rgb: 5, 150, 105;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(133, 91, 0, 0.4);
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-gold: 0 0 15px rgba(133, 91, 0, 0.15);
    
    --glass-blur: blur(12px);
    --gradient-hero: linear-gradient(180deg, rgba(250, 248, 245, 0.1) 0%, rgba(250, 248, 245, 0.8) 75%, #faf8f5 100%);
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-gold-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS & UI ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #0a0e17 !important;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--border-color);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.badge:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-1px);
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.highlight-text {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 700;
}

.gold-text {
    color: var(--accent-gold);
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 15px auto 0 auto;
    border-radius: 10px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    background-color: transparent;
}

.navbar-header.scrolled {
    background-color: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent-gold);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: rotate(15deg);
    box-shadow: var(--shadow-gold);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO COVER & CONTENT
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
    overflow: hidden;
}

.hero-cover-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65);
    transition: filter 0.5s ease;
}

body.light-theme .hero-cover-img {
    filter: brightness(0.8) contrast(1.05) saturate(1.1);
}

.hero-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 680px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle-top {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

/* Typing Carousel */
.typing-container {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    min-height: 40px;
}

.typing-prefix {
    margin-right: 8px;
    color: var(--text-secondary);
}

.typing-text {
    color: var(--accent-gold);
    border-right: none;
    font-family: var(--font-heading);
    font-weight: 600;
}

.typing-cursor {
    animation: blink 0.8s infinite;
    color: var(--accent-gold);
    margin-left: 2px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    animation: scrollMouse 1.5s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   ABOUT SECTION & BIOGRAPHY
   ========================================================================== */
.about-intro-box {
    display: flex;
    align-items: center;
    gap: 48px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    margin-bottom: 70px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.about-intro-box:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-gold);
}

.about-avatar-wrapper {
    flex-shrink: 0;
}

.abstract-zen-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.avatar-zen-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    z-index: 5;
    animation: spinSlow 20s infinite linear;
}

.avatar-ripple {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px dashed var(--accent-gold);
    opacity: 0.4;
    animation: spinSlow 35s infinite linear reverse;
}

.about-intro-text .lead-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--accent-gold);
}

/* Three Pillars Biography Grid */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.journey-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-emerald));
    opacity: 0;
    transition: var(--transition-smooth);
}

.journey-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.journey-card:hover::before {
    opacity: 1;
}

.journey-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.journey-card:hover .journey-icon-box {
    background-color: var(--accent-gold);
    color: #0a0e17;
    transform: scale(1.1);
}

.journey-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-emerald);
    margin-bottom: 16px;
    font-weight: 600;
}

.journey-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   PROJECTS SECTION - FEATURED SHOWCASE
   ========================================================================== */
.projects-container {
    margin-top: 40px;
}

.project-featured-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    backdrop-filter: var(--glass-blur);
}

.project-featured-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.project-image-side {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
    border-right: 1px solid var(--border-color);
}

.clickable-image-side {
    padding: 0 !important;
    cursor: pointer;
}

.clickable-image-side a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
    transition: var(--transition-smooth);
}

.project-featured-card:hover .project-card-img {
    transform: scale(1.05);
}

.project-image-side::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    animation: spinSlow 30s infinite linear;
}

.project-visual-placeholder {
    position: relative;
    z-index: 5;
    text-align: center;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    background: rgba(15, 23, 42, 0.6);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.floating-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.floating-icons i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    animation: floatIcon 3s infinite ease-in-out;
}

.floating-icons i:nth-child(2) {
    animation-delay: 0.6s;
    color: var(--accent-emerald);
}

.floating-icons i:nth-child(3) {
    animation-delay: 1.2s;
}

.visual-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.project-info-side {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-status-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-emerald);
    display: inline-block;
    margin-bottom: 12px;
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.project-card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.project-tech-stack {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.project-tech-stack span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.project-tech-stack span i {
    color: var(--accent-gold);
    margin-right: 4px;
}

.project-action-btn .project-launch-btn {
    font-size: 1rem;
    padding: 14px 32px;
}

/* ==========================================================================
   PHILOSOPHY & SLIDER
   ========================================================================== */
.philosophy-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-content-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 50px;
    position: relative;
    box-shadow: var(--shadow-md);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.philosophy-content-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.quote-mark-top {
    color: rgba(212, 175, 55, 0.15);
    font-size: 4rem;
    line-height: 0;
    margin-bottom: 10px;
}

.quote-mark-bottom {
    color: rgba(212, 175, 55, 0.15);
    font-size: 4rem;
    line-height: 0;
    text-align: right;
    margin-top: 10px;
}

.philosophy-quote-wrapper {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.philosophy-quote-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.philosophy-quote-author {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-gold);
    align-self: flex-end;
    transition: opacity 0.3s ease;
}

.quote-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.quote-nav-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.quote-nav-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.quote-dots {
    display: flex;
    gap: 8px;
}

.quote-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quote-dots .dot.active {
    background-color: var(--accent-gold);
    transform: scale(1.3);
}

.philosophy-intro-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.philosophy-intro-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.philosophy-badge-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.contact-card-wrapper:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.contact-info-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-info-panel p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.info-links-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.info-item:hover .info-icon {
    background-color: var(--accent-gold);
    color: #0a0e17;
    transform: scale(1.08);
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.info-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.info-value:hover {
    color: var(--accent-gold);
}

/* Contact Form Panel */
.contact-form-panel {
    background-color: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
}

body.light-theme .contact-form-panel {
    background-color: rgba(255, 255, 255, 0.5);
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 60px 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.footer-moto {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.footer-divider {
    width: 100px;
    height: 1px;
    background-color: var(--border-color);
    margin: 0 auto 24px auto;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-featured-card {
        grid-template-columns: 1fr;
    }
    
    .project-image-side {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 40px;
    }
    
    .philosophy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-card-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background-color: var(--bg-glass);
        backdrop-filter: var(--glass-blur);
        transition: var(--transition-smooth);
        padding: 40px 24px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .typing-container {
        font-size: 1.25rem;
    }
    
    .about-intro-box {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        gap: 24px;
    }
    
    .about-intro-text .lead-text {
        border-left: none;
        padding-left: 0;
    }
    
    .project-info-side {
        padding: 30px 20px;
    }
    
    .philosophy-content-card {
        padding: 30px 20px;
    }
    
    .contact-form-panel {
        padding: 24px 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
