/* ============================================
   OBSIDIAN AURA — Premium Portfolio CSS
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0c0c1a;
    --bg-card: rgba(15, 15, 30, 0.6);
    --bg-glass: rgba(20, 20, 40, 0.45);
    --border-glass: rgba(212, 165, 116, 0.12);
    --border-glass-hover: rgba(212, 165, 116, 0.3);

    --gold: #d4a574;
    --gold-light: #e8c9a0;
    --gold-dark: #b8895a;
    --gold-glow: rgba(212, 165, 116, 0.4);

    --text-primary: #f0ece4;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;

    --accent-blue: #4a90d9;
    --accent-purple: #7b5ea7;
    --accent-gradient: linear-gradient(135deg, var(--gold) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);

    --font-primary: 'Outfit', sans-serif;
    --font-accent: 'Playfair Display', serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-glow: 0 0 30px rgba(212, 165, 116, 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;

    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

a { color: var(--gold); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--gold-light); }

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

::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 6, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

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

.nav-logo {
    text-decoration: none;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lang-toggle:hover {
    border-color: var(--border-glass-hover);
    color: var(--gold);
}

.lang-flag { font-size: 1rem; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translateY(9.5px);
}
.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9.5px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: 20%;
    left: 10%;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Avatar */
.hero-avatar {
    position: relative;
    margin-bottom: 8px;
}

.avatar-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 4px;
    background: var(--accent-gradient);
    animation: ringRotate 6s linear infinite;
    position: relative;
}

@keyframes ringRotate {
    from { background-position: 0% 50%; }
    to { background-position: 200% 50%; }
}

.avatar-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--accent-gradient);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-initials {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.avatar-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Hero Text */
.hero-greeting {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-name {
    font-family: var(--font-accent);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.1;
    font-weight: 700;
}

.name-line {
    display: block;
    color: var(--text-primary);
}

.name-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.title-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.hero-title {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gold-light);
    max-width: 500px;
    opacity: 0.8;
}

/* Social Links */
.hero-socials {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    margin-top: 24px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== SECTIONS COMMON ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    border: 1px solid var(--border-glass);
    padding: 8px 24px;
    border-radius: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}


.furniture-scene:hover .f-lamp-light {
    opacity: 1;
}

.furniture-scene:hover .f-shadow {
    opacity: 0.6;
    transform: translate(-50%, -50%) rotateX(90deg) scale(1.1);
}

.furniture-scene:hover .f-decor-cushion .f-shadow,
.furniture-scene:hover .f-plant .f-shadow,
.furniture-scene:hover .f-art .f-shadow {
    opacity: 0; /* Hide shadow for items placed on other items */
}

/* ===== ABOUT SECTION ===== */
.about-intro {
    max-width: 700px;
    margin: 0 auto 56px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-intro strong {
    color: var(--gold);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.about-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    animation-delay: var(--delay);
}

.about-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(123, 94, 167, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.about-card h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
    animation-delay: var(--delay);
    backdrop-filter: blur(10px);
}

.value-item:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* ===== CAREER SECTION ===== */
.career-section {
    background: linear-gradient(180deg, transparent 0%, rgba(12, 12, 26, 0.5) 50%, transparent 100%);
}

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

.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold-dark) 20%, var(--gold) 50%, var(--gold-dark) 80%, transparent);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 48px;
    animation-delay: var(--delay);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: 22px;
    top: 24px;
    width: 22px;
    height: 22px;
}

.node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.node-ring {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: nodeRingPulse 2s ease-in-out infinite;
}

@keyframes nodeRingPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.timeline-content {
    padding: 32px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 28px;
    width: 10px;
    height: 10px;
    background: var(--bg-glass);
    border-left: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    transform: rotate(45deg);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.timeline-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(212, 165, 116, 0.15);
    color: var(--gold);
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.timeline-tag.active {
    animation: tagGlow 2s ease-in-out infinite;
}

@keyframes tagGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(212, 165, 116, 0.1); }
    50% { box-shadow: 0 0 16px rgba(212, 165, 116, 0.3); }
}

/* ===== ACHIEVEMENTS SECTION ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 48px 24px;
    position: relative;
    overflow: hidden;
    animation-delay: var(--delay);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

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

.stat-icon-bg {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(123, 94, 167, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-bg svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    display: inline;
}

.stat-label {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: linear-gradient(180deg, transparent 0%, rgba(12, 12, 26, 0.5) 50%, transparent 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    overflow: hidden;
    animation-delay: var(--delay);
}

.project-image {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(20, 20, 40, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--gold);
    opacity: 0.3;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 14, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    padding: 12px 28px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.project-link:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.project-info {
    padding: 28px;
}

.project-info h3 {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.15);
    letter-spacing: 0.5px;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation-delay: var(--delay);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(123, 94, 167, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.contact-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--text-primary);
}

.contact-socials {
    margin-top: 12px;
}

.contact-socials h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-social-link svg {
    width: 20px;
    height: 20px;
}

.contact-social-link:hover {
    color: var(--gold);
    transform: translateX(4px);
}

/* Contact Form */
.contact-form {
    padding: 40px;
    animation-delay: var(--delay);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(6, 6, 14, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-glass);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

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

.footer-credit {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
}

.footer-credit-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-style: italic;
}

.footer-credit-name {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-credit-name:hover {
    opacity: 0.75;
    text-decoration: underline;
    -webkit-text-decoration-color: var(--gold);
    text-decoration-color: var(--gold);
}

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

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a svg {
    width: 20px;
    height: 20px;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 32px 16px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 6, 14, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 14px 32px;
    }

    .menu-toggle {
        display: block;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 32px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .timeline-line {
        left: 14px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-node {
        left: 4px;
    }

    .timeline-content {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }

    .hero-title-wrapper {
        flex-direction: column;
        gap: 8px;
    }

    .title-line {
        display: none;
    }

    .contact-form {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .avatar-ring {
        width: 120px;
        height: 120px;
    }

    .avatar-initials {
        font-size: 2.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .value-item {
        padding: 24px 12px;
    }

    .hero-socials {
        gap: 12px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* ===== INSIGHTS SECTION ===== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.insight-card {
    overflow: hidden;
    position: relative;
    transition: transform 0.4s var(--ease-out), border-color 0.4s ease;
}

.insight-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.insight-image {
    height: 200px;
    width: 100%;
    background: var(--bg-lighter);
    position: relative;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.insight-card:hover .insight-image img {
    transform: scale(1.1);
}

.insight-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-light), var(--bg-lighter));
}

.insight-content {
    padding: 25px;
}

.insight-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.insight-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.insight-link:hover {
    gap: 12px;
    color: var(--gold);
}

/* Post Detail Page Styles */
.post-section {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 80vh;
}

.post-header {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.post-meta {
    display: block;
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.post-title {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin: 20px 0;
    line-height: 1.1;
    color: var(--text-primary);
}

.post-hero-image {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glow);
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.post-body p {
    margin-bottom: 30px;
}

.post-body h2, .post-body h3 {
    margin: 50px 0 25px;
    color: var(--text-primary);
    font-family: var(--font-accent);
}

.btn-back-wrap {
    max-width: 800px;
    margin: 0 auto 40px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .post-hero-image { height: 300px; margin-bottom: 40px; }
    .post-body { font-size: 1.05rem; }
}
