/* ========================================
   PARITOSH AJMERA - WEDDING BIODATA
   Elegant Indian Matrimonial Design
   Inspired by: Luxury Editorial + Traditional Elegance
   ======================================== */

/* CSS Variables - Refined Luxury Palette */
:root {
    /* Dark Theme - Deep Charcoal with Warm Gold */
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --bg-card: #111111;
    --bg-elevated: #1c1c1c;

    --text-primary: #f5f5f0;
    --text-secondary: #b8b5a8;
    --text-muted: #7a7a70;

    /* Rich Gold - Traditional Indian Wedding Tone */
    --accent-primary: #d4a853;
    --accent-secondary: #e8c97a;
    --accent-dark: #a67c3d;
    --accent-gradient: linear-gradient(135deg, #a67c3d 0%, #d4a853 30%, #e8c97a 50%, #d4a853 70%, #a67c3d 100%);
    --accent-subtle: rgba(212, 168, 83, 0.08);

    /* Decorative Colors */
    --burgundy: #6b2d3a;
    --cream: #faf8f0;

    --border-color: #2a2a28;
    --border-gold: rgba(212, 168, 83, 0.3);
    --border-light: rgba(245, 245, 240, 0.08);

    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(212, 168, 83, 0.25);
    --shadow-inner: inset 0 2px 20px rgba(0, 0, 0, 0.3);

    /* Typography - Elegant Serif + Clean Sans */
    --font-display: 'Cormorant Garamond', serif;
    --font-primary: 'DM Sans', sans-serif;

    /* Spacing */
    --section-padding: 140px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme - Warm Cream with Rich Accents */
[data-theme="light"] {
    --bg-primary: #faf8f0;
    --bg-secondary: #f5f2e8;
    --bg-tertiary: #ebe7da;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;

    --text-primary: #1a1a18;
    --text-secondary: #4a4a42;
    --text-muted: #8a8a80;

    --border-color: #e0ddd0;
    --border-light: rgba(0, 0, 0, 0.06);

    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

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

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

/* Elegant Selection */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

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

/* ========================================
   DECORATIVE PATTERNS (Traditional Motifs)
   ======================================== */
.pattern-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ========================================
   CUSTOM CURSOR - Refined
   ======================================== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor.hover {
    width: 12px;
    height: 12px;
    background: var(--accent-secondary);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, width 0.2s, height 0.2s, opacity 0.2s;
    opacity: 0.5;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    opacity: 0.3;
    border-width: 2px;
}

/* ========================================
   PRELOADER - Dramatic Cinematic Reveal
   ======================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    z-index: 10000;
    overflow: hidden;
}

#preloader.loaded {
    animation: preloaderExit 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderExit {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; visibility: hidden; transform: scale(1.15); }
}

/* Background - Large orbiting particles */
.preloader-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.25) 0%, transparent 70%);
}

/* Large slow-moving orbs */
.bg-particle:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
    animation: orbFloat1 12s ease-in-out infinite;
}

.bg-particle:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation: orbFloat2 15s ease-in-out infinite;
}

.bg-particle:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 4s ease-in-out infinite;
}

.bg-particle:nth-child(4) {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 20%;
    animation: orbFloat3 10s ease-in-out infinite;
}

.bg-particle:nth-child(5) {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 15%;
    animation: orbFloat4 13s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, 60px) scale(1.15); }
    50% { transform: translate(50px, 100px) scale(0.95); }
    75% { transform: translate(100px, 30px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-70px, -50px) scale(1.2); }
    66% { transform: translate(-30px, -80px) scale(0.9); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-60px, 40px) rotate(180deg); }
}

@keyframes orbFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(50px, -60px) scale(1.3); opacity: 1; }
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.15; }
}

/* Main loader container - floats gently */
.loader-container {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: containerFloat 5s ease-in-out infinite;
}

@keyframes containerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
}

/* SVG Circle - slower, more dramatic */
.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: circleRotate 8s linear infinite;
}

.loader-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(212, 168, 83, 0.15);
    stroke-width: 2;
}

.circle-progress {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 200;
    animation: circleProgress 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(212, 168, 83, 0.8));
}

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

@keyframes circleProgress {
    0% { stroke-dashoffset: 283; stroke-width: 3; }
    25% { stroke-dashoffset: 150; stroke-width: 5; }
    50% { stroke-dashoffset: 50; stroke-width: 4; }
    75% { stroke-dashoffset: 150; stroke-width: 5; }
    100% { stroke-dashoffset: 283; stroke-width: 3; }
}

/* Letters P and A - dramatic entrance and continuous motion */
.loader-letters {
    display: flex;
    gap: 8px;
    z-index: 2;
}

.letter {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 600;
    font-style: italic;
    color: var(--accent-primary);
    text-shadow: 0 0 40px rgba(212, 168, 83, 0.6),
                 0 0 80px rgba(212, 168, 83, 0.3);
    animation: letterFloat 3s ease-in-out infinite;
}

.letter-p {
    animation-delay: 0s;
}

.letter-a {
    animation-delay: 0.5s;
}

@keyframes letterFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        text-shadow: 0 0 40px rgba(212, 168, 83, 0.6),
                     0 0 80px rgba(212, 168, 83, 0.3);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        text-shadow: 0 0 60px rgba(212, 168, 83, 0.9),
                     0 0 120px rgba(212, 168, 83, 0.5),
                     0 0 180px rgba(212, 168, 83, 0.2);
    }
}

/* Tagline - smooth fade and float */
.loader-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: taglineFloat 4s ease-in-out infinite;
}

@keyframes taglineFloat {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(-10px); opacity: 1; }
}

.dot-pulse {
    display: flex;
    gap: 6px;
}

.dot-pulse span {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 168, 83, 0.8);
    animation: dotJump 1.8s ease-in-out infinite;
}

.dot-pulse span:nth-child(1) { animation-delay: 0s; }
.dot-pulse span:nth-child(2) { animation-delay: 0.3s; }
.dot-pulse span:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotJump {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-15px) scale(1.3);
        opacity: 1;
        box-shadow: 0 0 20px rgba(212, 168, 83, 1);
    }
}

/* ========================================
   THEME TOGGLE - Refined Circle
   ======================================== */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: scale(1.08);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.theme-toggle i {
    position: absolute;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.theme-toggle .fa-moon {
    color: var(--accent-primary);
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.theme-toggle .fa-sun {
    color: var(--accent-secondary);
    opacity: 0;
    transform: translateY(30px) rotate(-90deg);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: translateY(-30px) rotate(90deg);
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* ========================================
   FLOATING DOWNLOAD BUTTON
   ======================================== */
.floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    z-index: 1000;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transition: var(--transition-normal);
}

.floating-download:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(212, 168, 83, 0.4);
}

.floating-download i {
    font-size: 1rem;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.05s linear;
}

/* ========================================
   NAVIGATION - Refined Elegance
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 9999;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-light);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(250, 248, 240, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 500;
    font-style: italic;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.5; }
}

.nav-menu {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: var(--transition-normal);
}

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

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition-normal);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

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

.section-tag {
    display: inline-block;
    padding: 10px 28px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-gold);
    border-radius: 0;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 25px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.15;
    color: var(--text-primary);
}

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

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

.particles {
    position: absolute;
    inset: 0;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, var(--bg-primary) 70%),
        radial-gradient(circle at 20% 80%, rgba(212, 168, 83, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(212, 168, 83, 0.02) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 950px;
    padding: 0 40px;
}

.hero-greeting {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-name {
    margin-bottom: 25px;
}

.name-line {
    display: block;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

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

.typing-container {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.typing-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
}

.typing-cursor {
    font-size: 1.8rem;
    color: var(--accent-primary);
    animation: cursorBlink 1s infinite;
    margin-left: 2px;
}

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

.hero-tagline {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.03em;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

/* ========================================
   BUTTONS - Refined
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 0;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* ========================================
   HERO STATS
   ======================================== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 100px;
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    position: relative;
    opacity: 0.6;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s infinite;
}

@keyframes wheelScroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--bg-secondary);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-gold) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 120px;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid var(--border-gold);
    pointer-events: none;
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

.image-placeholder span {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent-primary);
    opacity: 0.8;
}

.image-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-primary);
    z-index: -1;
    opacity: 0.5;
}

.about-content {
    padding-top: 30px;
}

.about-intro h3 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.about-intro .subtitle {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent-primary);
    font-style: italic;
    margin-bottom: 35px;
    letter-spacing: 0.02em;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.detail-item i {
    font-size: 1.3rem;
    color: var(--accent-primary);
    margin-top: 3px;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.detail-value {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ========================================
   BUSINESS SECTION
   ======================================== */
.business-section {
    margin-bottom: 120px;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.business-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.business-card::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid var(--border-gold);
    opacity: 0;
    transition: var(--transition-normal);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover::after {
    opacity: 1;
}

.business-card.featured {
    background: linear-gradient(145deg, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
    border-color: var(--border-gold);
}

.card-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 6px 18px;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.business-card h4 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.card-role {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.business-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   HERITAGE / FAMILY SECTION
   ======================================== */
.heritage-section {
    margin-bottom: 120px;
    position: relative;
}

/* Decorative animated corner flourishes */
.heritage-section::before,
.heritage-section::after {
    content: '✦';
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent-primary);
    opacity: 0.3;
    animation: cornerFlourishPulse 4s ease-in-out infinite;
}

.heritage-section::before {
    top: -20px;
    left: 50px;
    animation-delay: 0s;
}

.heritage-section::after {
    bottom: 50px;
    right: 50px;
    animation-delay: 2s;
}

@keyframes cornerFlourishPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.6;
    }
}

.heritage-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.heritage-intro p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-style: italic;
}

.family-tree {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
}

/* Floating particles around family section */
.family-tree::before,
.family-tree::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.family-tree::before {
    top: -50px;
    right: -30px;
    animation: familyOrb1 8s ease-in-out infinite;
}

.family-tree::after {
    bottom: -30px;
    left: -50px;
    animation: familyOrb2 10s ease-in-out infinite;
}

@keyframes familyOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(-30px, 20px) scale(1.2); opacity: 0.8; }
    66% { transform: translate(20px, -30px) scale(0.9); opacity: 0.6; }
}

@keyframes familyOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(40px, -20px) scale(1.3); opacity: 0.7; }
}

.family-member {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.family-member:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 0 30px rgba(212, 168, 83, 0.15);
}
.family-member:nth-child(4)::before { animation-delay: 1.5s; }
.family-member:nth-child(5)::before { animation-delay: 2s; }

@keyframes cardShimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Animated border glow */
.family-member::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(212, 168, 83, 0.3), transparent, rgba(212, 168, 83, 0.3));
    background-size: 400% 400%;
    z-index: -1;
    animation: borderGlow 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.family-member:hover::after {
    opacity: 1;
}

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

.family-member:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.family-member.grandparent {
    background: linear-gradient(145deg, rgba(212, 168, 83, 0.06) 0%, transparent 60%);
}

.member-icon {
    width: 65px;
    height: 65px;
    background: var(--accent-subtle);
    border: 2px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-icon i {
    font-size: 1.4rem;
    color: var(--accent-primary);
}

.member-info h5 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.member-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   ADDRESSES SECTION
   ======================================== */
.addresses-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.address-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.address-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}

.address-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.address-card:hover::before {
    border-color: var(--border-gold);
}

.address-card i {
    font-size: 2.2rem;
    color: var(--accent-primary);
    margin-bottom: 25px;
}

.address-card h5 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 18px;
}

.address-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.address-note {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-style: italic;
}

/* ========================================
   EXPERIENCE / TIMELINE SECTION
   ======================================== */
.experience-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Floating ambient orbs in background */
.experience-section::before,
.experience-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.experience-section::before {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -100px;
    animation: ambientOrb1 15s ease-in-out infinite;
}

.experience-section::after {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: -80px;
    animation: ambientOrb2 12s ease-in-out infinite;
}

@keyframes ambientOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, 30px) scale(1.1); }
    50% { transform: translate(30px, -20px) scale(0.9); }
    75% { transform: translate(-20px, 40px) scale(1.05); }
}

@keyframes ambientOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -30px) scale(1.15); }
    66% { transform: translate(20px, 50px) scale(0.95); }
}

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

/* Animated timeline line with flowing gradient */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--accent-dark) 0%,
        var(--accent-primary) 20%,
        var(--accent-secondary) 40%,
        var(--accent-primary) 60%,
        var(--accent-dark) 80%,
        var(--accent-primary) 100%
    );
    background-size: 100% 200%;
    transform: translateX(-50%);
    animation: timelineFlow 4s linear infinite;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(212, 168, 83, 0.4);
}

@keyframes timelineFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 200%; }
}

/* Floating particles along timeline */
.timeline-line::before,
.timeline-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
}

.timeline-line::before {
    animation: particleRise1 6s ease-in-out infinite;
}

.timeline-line::after {
    animation: particleRise2 6s ease-in-out infinite 3s;
}

@keyframes particleRise1 {
    0% { top: 100%; opacity: 0; transform: translateX(-50%) scale(0); }
    10% { opacity: 1; transform: translateX(-50%) scale(1); }
    90% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { top: 0%; opacity: 0; transform: translateX(-50%) scale(0); }
}

@keyframes particleRise2 {
    0% { top: 100%; opacity: 0; transform: translateX(-50%) scale(0); }
    10% { opacity: 1; transform: translateX(-50%) scale(1); }
    90% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { top: 0%; opacity: 0; transform: translateX(-50%) scale(0); }
}

.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 60px 80px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
}

.timeline-marker {
    position: absolute;
    top: 5px;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 2px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: var(--transition-normal);
}

.timeline-item.left .timeline-marker {
    right: -25px;
}

.timeline-item.right .timeline-marker {
    left: -25px;
}

.timeline-marker i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.timeline-marker.featured {
    background: var(--accent-gradient);
    border-color: var(--accent-primary);
}

.timeline-marker.featured i {
    color: var(--bg-primary);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.5);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.timeline-content.featured {
    background: linear-gradient(145deg, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
    border-color: var(--border-gold);
    animation: cardFloat 6s ease-in-out infinite, featuredBorderPulse 3s ease-in-out infinite;
}

@keyframes featuredBorderPulse {
    0%, 100% { border-color: var(--border-gold); }
    50% { border-color: var(--accent-primary); }
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
    animation-play-state: paused;
}

.timeline-date {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-gold);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    position: relative;
    animation: dateBadgePulse 4s ease-in-out infinite;
}

@keyframes dateBadgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px 3px rgba(212, 168, 83, 0.15);
        transform: scale(1.02);
    }
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.timeline-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}

.timeline-content p:last-of-type {
    color: var(--text-secondary);
    line-height: 1.8;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.timeline-item.left .timeline-tags {
    justify-content: flex-end;
}

.timeline-tags span {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-section {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 70px;
}

.skills-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 45px;
}

.skills-category.wide {
    grid-column: span 2;
}

.skills-category h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 35px;
}

.skills-category h3 i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Skill Bars */
.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skill-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.skill-percent {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.skill-bar {
    height: 6px;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--accent-gradient);
    width: 0;
    transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Radar Chart */
.radar-chart-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

/* Rating Grid */
.rating-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

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

.rating-label {
    display: block;
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.stars i {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* ========================================
   HOBBIES SECTION
   ======================================== */
.hobbies-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 60px;
    text-align: center;
    position: relative;
}

.hobbies-section::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid var(--border-gold);
    pointer-events: none;
}

.hobbies-section h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 15px;
}

.hobbies-intro {
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1rem;
}

.hobbies-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.hobby-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: var(--transition-normal);
}

.hobby-item:hover {
    transform: translateY(-10px);
}

.hobby-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
}

.hobby-item:hover .hobby-icon {
    background: var(--accent-subtle);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.hobby-icon i {
    font-size: 1.6rem;
    color: var(--accent-primary);
}

.hobby-item span {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hobbies-tagline {
    font-family: var(--font-display);
    color: var(--accent-primary);
    font-style: italic;
    font-size: 1.15rem;
}

/* ========================================
   PROJECTS / CAREER SECTION
   ======================================== */
.projects-section {
    background: var(--bg-primary);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.project-card.featured {
    border-color: var(--border-gold);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-placeholder i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    opacity: 0.4;
}

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

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

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-primary);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-card:hover .project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-link:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

.project-content {
    padding: 35px;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.project-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

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

.project-tags span {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ========================================
   CERTIFICATIONS SECTION
   ======================================== */
.certifications-section {
    background: var(--bg-secondary);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 45px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.cert-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.cert-card:hover::before {
    border-color: var(--border-gold);
}

.cert-icon {
    width: 75px;
    height: 75px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 28px;
}

.cert-icon i {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.cert-card h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.cert-card p {
    color: var(--text-secondary);
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cert-year {
    display: inline-block;
    padding: 6px 18px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-gold);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 50px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 22px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.3rem;
    color: var(--accent-primary);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item a,
.contact-item span {
    font-weight: 500;
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 52px;
    height: 52px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 55px;
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid var(--border-gold);
    pointer-events: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-normal);
    font-size: 0.95rem;
}

.form-group textarea ~ label {
    top: 20px;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: 0;
    left: 15px;
    font-size: 0.75rem;
    padding: 0 8px;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    transform: translateY(-50%);
    letter-spacing: 0.05em;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-normal);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
    left: 0;
}

.btn-submit {
    align-self: flex-start;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 22px 0;
}

.stats-content {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

.visitor-count,
.weather-widget,
.current-time {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.visitor-count i,
.weather-widget i,
.current-time i {
    color: var(--accent-primary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-primary);
    padding: 70px 0 35px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-gold) 50%, transparent 100%);
}

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

.footer-logo .logo-text {
    font-size: 3.5rem;
    margin-bottom: 12px;
    display: block;
}

.footer-logo p {
    font-family: var(--font-display);
    color: var(--text-muted);
    margin-bottom: 35px;
    font-style: italic;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-bottom: 35px;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

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

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

.lightbox-content img {
    max-width: 90%;
    max-height: 90vh;
}

/* ========================================
   ADMIN LINK
   ======================================== */
.admin-link {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-normal);
    opacity: 0.4;
}

.admin-link:hover {
    opacity: 1;
    transform: rotate(90deg);
    border-color: var(--accent-primary);
}

.admin-link i {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: 340px 1fr;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }

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

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

    .timeline-item {
        width: 100%;
        padding: 0 0 50px 80px !important;
        text-align: left !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-line {
        left: 25px;
    }

    .timeline-item .timeline-marker {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-tags {
        justify-content: flex-start !important;
    }

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

    .skills-category.wide {
        grid-column: span 1;
    }

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

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .name-line {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 35px;
    }

    .family-tree {
        grid-template-columns: 1fr;
    }

    .family-member.grandparents {
        grid-column: span 1;
    }

    .addresses-section {
        grid-template-columns: 1fr;
    }

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

    .hobbies-grid {
        gap: 25px;
    }

    .hobby-icon {
        width: 65px;
        height: 65px;
    }

    .hobby-icon i {
        font-size: 1.4rem;
    }

    .contact-form-container {
        padding: 40px;
    }

    .contact-form-container::before {
        inset: 8px;
    }

    .theme-toggle {
        top: auto;
        bottom: 100px;
        right: 20px;
    }

    .floating-download {
        bottom: 20px;
        right: 20px;
        padding: 14px 22px;
    }

    .floating-download span {
        display: none;
    }

    .admin-link {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .name-line {
        font-size: 3rem;
    }

    .typing-text {
        font-size: 1.3rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .stats-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 18px;
    }
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* ========================================
   BORING BIODATA SECTION (For Aunties)
   ======================================== */
.boring-biodata-section {
    padding: 60px 0 80px;
    background: var(--bg-secondary);
}

.boring-biodata-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.boring-biodata-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.boring-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--accent-subtle);
    border: 2px dashed var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boring-icon i {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.boring-content {
    flex: 1;
}

.boring-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.boring-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.boring-content em {
    color: var(--accent-primary);
    font-style: italic;
}

.btn-boring {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1rem;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transition: var(--transition-normal);
}

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

.btn-boring i {
    font-size: 1.1rem;
}

.boring-note {
    display: block;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .boring-biodata-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .boring-content h3 {
        font-size: 1.6rem;
    }

    .boring-content p {
        font-size: 1rem;
    }

    .btn-boring {
        width: 100%;
        justify-content: center;
    }
}
