/* ============================================
   NAVA JEEVAN PORTFOLIO
   Pixel-Perfect Dark Theme
   ============================================ */

/* CSS Variables */
:root {
    --color-bg: #000000;
    --color-bg-elevated: #0a0a0a;
    --color-text: #ffffff;
    --color-text-secondary: #888888;
    --color-text-muted: #555555;
    --color-border: #333333;
    --color-border-light: #444444;
    --color-accent: #a65a5a;
    --color-accent-gold: #c9a96e;
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

::selection {
    background: var(--color-accent);
    color: var(--color-text);
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-text);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s var(--transition-smooth);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s var(--transition-smooth), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover {
    transform: scale(2.5);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.6);
}

@media (pointer: coarse) {
    .cursor, .cursor-follower {
        display: none;
    }
    body {
        cursor: auto;
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 80px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: background 0.4s var(--transition-smooth), padding 0.4s var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (min-width: 768px) {
    .nav-container {
        padding: 0 48px;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 80px;
    }
}

/* Logo - BIGGER */
.logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.logo:hover {
    opacity: 0.8;
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    margin-left: 3px;
}

/* Nav Links */
.nav-links {
    display: none;
    list-style: none;
    gap: 40px;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width 0.4s var(--transition-smooth);
}

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

/* Nav Resume Button */
.nav-resume {
    display: none;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 28px;
    border: 2px solid var(--color-border);
    background: transparent;
    transition: all 0.4s var(--transition-smooth);
}

.nav-resume:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

@media (min-width: 1024px) {
    .nav-resume {
        display: inline-block;
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: none;
    gap: 8px;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--color-text);
    transition: all 0.4s var(--transition-smooth);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--transition-smooth), visibility 0.6s;
}

/* Mobile Close (Cross) */
.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 30px;
    line-height: 1;
    z-index: 1003;
    cursor: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.mobile-menu.active .mobile-close {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .mobile-close {
        display: none;
    }
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    padding: 40px;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth), color 0.3s;
}

.mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-link::before {
    content: attr(data-index);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-muted);
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: 0.1em;
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

.mobile-menu-footer {
    margin-top: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s 0.6s, transform 0.5s 0.6s;
}

.mobile-menu.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-resume {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 32px;
    border: 1px solid var(--color-border);
    margin-bottom: 32px;
    transition: all 0.4s;
}

.mobile-resume:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.mobile-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.mobile-socials a {
    font-size: 12px;
    color: var(--color-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.mobile-socials a:hover {
    color: var(--color-text);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px 32px;
    border: 1px solid transparent;
    transition: all 0.4s var(--transition-smooth);
    cursor: none;
    position: relative;
    overflow: hidden;
}

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

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

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

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.btn-project {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    font-size: 10px;
    padding: 14px 28px;
}

.btn-project:hover {
    background: transparent;
    color: var(--color-text);
}

.btn-submit {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    width: 100%;
    margin-top: 16px;
}

.btn-submit:hover {
    background: transparent;
    color: var(--color-text);
}

.btn-view-more {
    padding: 18px 48px;
    font-size: 13px;
}

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: flex-end;      /* Push image to bottom */
    justify-content: center;    /* Center horizontally */
    pointer-events: none;
}

.hero-img {
    width: auto;
    height: 82vh;              /* Portrait height — adjust 75-90vh to taste */
    max-width: 90%;            /* Prevent touching edges on ultrawide */
    object-fit: contain;
    object-position: center bottom;
    filter: grayscale(100%);
    position: relative;
    z-index: 1;
    /* REMOVE the zoom/scale effects */
    transform: none;
    animation: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;  /* Above overlay + image */
    text-align: center;
    padding: 120px 24px 80px;
    pointer-events: auto;
}
   /* .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(100%);
    transform: none;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
} */

.hero-greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 23px;
    font-weight: 800;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards;
}

.crown {
    font-size: 16px;
    filter: brightness(1.2);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.hero-line {
    display: block;
    font-size: clamp(42px, 12vw, 132px);
    opacity: 0;
    transform: translateY(60px);
    animation: fadeInUp 1s forwards;
}

.hero-line[data-delay="0"] { animation-delay: 0.3s; }
.hero-line[data-delay="1"] { animation-delay: 0.5s; }
.hero-line[data-delay="3"] { animation-delay: 0.9s; }

.hero-amp {
    display: block;
    font-size: clamp(30px, 8vw, 75px);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin: 8px 0;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s 0.7s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s 1.1s forwards;
}

/* Hero Socials */
.hero-socials {
    position: absolute;
    bottom: 40px;
    right: 24px;
    z-index: 2;
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s 1.3s forwards;
}

@media (min-width: 768px) {
    .hero-socials {
        right: 48px;
    }
}

@media (min-width: 1024px) {
    .hero-socials {
        right: 80px;
    }
}

.social-link {
    color: var(--color-text-secondary);
    transition: color 0.3s, transform 0.3s;
}

.social-link:hover {
    color: var(--color-text);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInUp 0.8s 1.5s forwards;
}

.scroll-indicator span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 140px 0;
    }
}

.section-label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.section.visible .section-label {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* ============================================
   BIO SECTION
   ============================================ */
.bio {
    background: var(--color-bg);
}

.bio-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 1024px) {
    .bio-container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.bio-title {
    max-width: 700px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s 0.1s, transform 0.8s 0.1s;
}

.section.visible .bio-title {
    opacity: 1;
    transform: translateY(0);
}

.bio-content {
    max-width: 600px;
    margin-bottom: 64px;
}

.bio-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.section.visible .bio-text:nth-child(1) { transition-delay: 0.2s; }
.section.visible .bio-text:nth-child(2) { transition-delay: 0.3s; }

.section.visible .bio-text {
    opacity: 1;
    transform: translateY(0);
}

.bio-stats {
    display: flex;
    gap: 64px;
}

.stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.section.visible .stat:nth-child(1) { transition-delay: 0.4s; }
.section.visible .stat:nth-child(2) { transition-delay: 0.5s; }

.section.visible .stat {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Bio Image */
.bio-right {
    display: flex;
    justify-content: center;
}

.bio-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.bio-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(100%);
    position: relative;
    z-index: 2;
}

.bio-image-frame {
    position: absolute;
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    border: 1px solid var(--color-border);
    z-index: 1;
    transition: all 0.6s var(--transition-smooth);
}

.bio-image-wrapper:hover .bio-image-frame {
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    border-color: var(--color-text);
}

.bio-image-wrapper:hover .bio-image {
    filter: grayscale(60%);
}

/* ============================================
   SKILLS SECTION — CENTERED
   ============================================ */
.skills {
    background: var(--color-bg-elevated);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.service-item {
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.section.visible .service-item:nth-child(1) { transition-delay: 0.1s; }
.section.visible .service-item:nth-child(2) { transition-delay: 0.2s; }
.section.visible .service-item:nth-child(3) { transition-delay: 0.3s; }

.section.visible .service-item {
    opacity: 1;
    transform: translateY(0);
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-item:hover .service-number {
    color: var(--color-text);
    opacity: 1;
    transition: color 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}

.service-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.service-number {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: var(--color-text-muted);
    line-height: 1;
    opacity: 0.4;
    transition: color 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}

.service-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    display: flex;
    flex-direction: column;
}

.project-card {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    cursor: none;
}

.project-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 1.2s var(--transition-smooth), filter 0.8s;
}

.project-card:hover .project-img {
    transform: scale(1.05);
    filter: grayscale(80%);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    transition: background 0.6s;
}

.project-card:hover .project-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.project-info {
    position: absolute;
    bottom: 48px;
    left: 24px;
    z-index: 2;
}

@media (min-width: 768px) {
    .project-info {
        left: 48px;
        bottom: 64px;
    }
}

@media (min-width: 1024px) {
    .project-info {
        left: 80px;
        bottom: 80px;
    }
}

.project-name {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.project-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

/* Projects Footer - View More */
.projects-footer {
    background: var(--color-bg);
    padding: 64px 24px;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .projects-footer {
        padding: 80px 48px;
    }
}

@media (min-width: 1024px) {
    .projects-footer {
        padding: 100px 80px;
    }
}

/* ============================================
   JOURNAL SECTION
   ============================================ */
.journal {
    background: var(--color-bg);
}

.journal-list {
    display: flex;
    flex-direction: column;
}

.journal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
    gap: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.section.visible .journal-item:nth-child(1) { transition-delay: 0.1s; }
.section.visible .journal-item:nth-child(2) { transition-delay: 0.2s; }
.section.visible .journal-item:nth-child(3) { transition-delay: 0.3s; }
.section.visible .journal-item:nth-child(4) { transition-delay: 0.4s; }

.section.visible .journal-item {
    opacity: 1;
    transform: translateY(0);
}

.journal-item:hover .journal-title {
    color: var(--color-accent);
}

.journal-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.journal-date {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.journal-cat {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.journal-title {
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex: 1;
    transition: color 0.4s;
}

.journal-arrow {
    color: var(--color-text-secondary);
    transition: color 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.journal-item:hover .journal-arrow {
    color: var(--color-text);
    transform: translate(4px, -4px);
}

/* Journal Footer - View More */
.journal-footer {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--color-bg-elevated);
    padding-bottom: 80px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 32px 0 48px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s 0.1s, transform 0.8s 0.1s;
}

.section.visible .contact-title {
    opacity: 1;
    transform: translateY(0);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s 0.3s, transform 0.8s 0.3s;
}

.section.visible .contact-details {
    opacity: 1;
    transform: translateY(0);
}

.contact-link {
    font-size: 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--color-text);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s 0.2s, transform 0.8s 0.2s;
}

.section.visible .contact-form {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.4s;
    resize: none;
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-input:focus {
    border-color: var(--color-text);
}

.form-textarea {
    min-height: 120px;
    line-height: 1.6;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width 0.4s var(--transition-smooth);
}

.form-input:focus ~ .form-line {
    width: 100%;
}

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

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-copy {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-text);
    color: var(--color-bg);
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.5s var(--transition-bounce);
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .bio-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 36px;
    }

    .journal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .journal-arrow {
        align-self: flex-end;
    }

    .scroll-indicator {
        display: none;
    }

    .bio-container {
        gap: 48px;
    }

    .bio-image-wrapper {
        max-width: 320px;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   BLOG POST PAGES
   ============================================ */
.blog-post {
    min-height: 100vh;
    padding: 80px 0 120px;
}

.blog-header {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 28px;
    border: 2px solid var(--color-border);
    background: transparent;
    margin-bottom: 48px;
    transition: all 0.4s var(--transition-smooth);
}

.blog-back:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    transform: translateX(-4px);
}

.blog-title-wrapper {
    animation: fadeInUp 0.8s 0.2s forwards;
    opacity: 0;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.blog-date {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-category {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
}

.blog-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 8vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    text-transform: none;
    letter-spacing: -0.01em;
}

.blog-excerpt {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-section {
    margin-bottom: 64px;
}

.blog-section h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 5vw, 40px);
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.blog-section h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    text-transform: none;
}

.blog-section p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-section p strong {
    font-weight: 600;
    color: var(--color-text);
}

.blog-section p em {
    font-style: italic;
    color: var(--color-text-secondary);
}

.blog-section p code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: var(--color-bg-elevated);
    color: var(--color-accent-gold);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid var(--color-border-light);
}

.blog-section ul,
.blog-section ol {
    margin-left: 24px;
    margin-bottom: 16px;
    list-style-position: outside;
}

.blog-list {
    list-style-type: disc;
}

.blog-list li {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 12px;
}

.blog-list li strong {
    font-weight: 600;
}

.blog-footer {
    max-width: 800px;
    margin: 120px auto 0;
    padding: 80px 24px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

/* Blog Page Responsive */
@media (max-width: 768px) {
    .blog-post {
        padding: 60px 0 80px;
    }

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

    .blog-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .blog-excerpt {
        font-size: 16px;
    }

    .blog-section {
        margin-bottom: 48px;
    }

    .blog-section h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .blog-section h3 {
        font-size: 16px;
    }

    .blog-section p {
        font-size: 15px;
    }

    .blog-section ul,
    .blog-section ol {
        margin-left: 20px;
    }

    .blog-list li {
        font-size: 15px;
    }

    .blog-footer {
        margin-top: 80px;
        padding: 60px 24px 0;
    }
}