/* ======================================================
   TIARA BENANI - Personal Website Styles
   A creative, unique design for an extraordinary 8-year-old
   ====================================================== */

/* ---------- CSS Custom Properties (Themes) ---------- */
:root {
    /* Base spacing & typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, sans-serif;
    --font-accent: 'Dancing Script', cursive;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);

    /* Gold accent (logo inspired) */
    --gold: #d4a843;
    --gold-light: #f0d68a;
    --gold-dark: #b8860b;
}

/* ---------- COLOR THEMES ---------- */
[data-color="blue"] {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.3);
    --primary-subtle: rgba(59, 130, 246, 0.08);
}
[data-color="dark-blue"] {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-glow: rgba(30, 64, 175, 0.3);
    --primary-subtle: rgba(30, 64, 175, 0.08);
}
[data-color="teal"] {
    --primary: #14b8a6;
    --primary-light: #2dd4bf;
    --primary-dark: #0d9488;
    --primary-glow: rgba(20, 184, 166, 0.3);
    --primary-subtle: rgba(20, 184, 166, 0.08);
}
[data-color="red"] {
    --primary: #ef4444;
    --primary-light: #f87171;
    --primary-dark: #dc2626;
    --primary-glow: rgba(239, 68, 68, 0.3);
    --primary-subtle: rgba(239, 68, 68, 0.08);
}
[data-color="orange"] {
    --primary: #f97316;
    --primary-light: #fb923c;
    --primary-dark: #ea580c;
    --primary-glow: rgba(249, 115, 22, 0.3);
    --primary-subtle: rgba(249, 115, 22, 0.08);
}
[data-color="yellow"] {
    --primary: #eab308;
    --primary-light: #facc15;
    --primary-dark: #ca8a04;
    --primary-glow: rgba(234, 179, 8, 0.3);
    --primary-subtle: rgba(234, 179, 8, 0.08);
}

/* ---------- DARK THEME ---------- */
[data-theme="dark"] {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.8);
    --bg-card-solid: #1a2332;
    --bg-nav: rgba(10, 14, 26, 0.85);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    --wave-fill: #111827;
    --input-bg: rgba(255, 255, 255, 0.05);
    --overlay: rgba(0, 0, 0, 0.7);
    --particle-color: #ffffff;
    --particle-line: #ffffff;
}

/* ---------- LIGHT THEME ---------- */
[data-theme="light"] {
    --bg-primary: #faf8f5;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-solid: #ffffff;
    --bg-nav: rgba(250, 248, 245, 0.9);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(0, 0, 0, 0.15);
    --wave-fill: #ffffff;
    --input-bg: rgba(0, 0, 0, 0.04);
    --overlay: rgba(255, 255, 255, 0.7);
    --particle-color: #334155;
    --particle-line: #334155;
}

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

html {
    font-size: 17px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

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

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

.section {
    padding: 100px 0;
    position: relative;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    z-index: 10000;
    transition: width 0.1s linear;
    width: 0%;
}

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

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

/* SVG Logo - uses currentColor for automatic theme adaptation */
.logo-svg {
    color: var(--primary);
    transition: color var(--transition);
}

.logo-svg-footer {
    display: block;
    margin: 0 auto;
    color: var(--primary);
}

.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 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

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

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

.theme-toggle,
.color-picker-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.theme-toggle:hover,
.color-picker-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- COLOR PICKER PANEL ---------- */
.color-picker-panel {
    position: fixed;
    top: 80px;
    right: 24px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.color-picker-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.color-picker-title {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.color-option {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: var(--swatch);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-option span {
    display: none;
}

.color-option:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px var(--swatch);
}

.color-option.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 15px var(--swatch);
}

.color-option.active span {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.color-option.active span::after {
    content: "\2713";
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 12px auto 0;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.title-decoration span {
    display: block;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
}

.title-decoration span:nth-child(1) { width: 20px; opacity: 0.4; }
.title-decoration span:nth-child(2) { width: 40px; }
.title-decoration span:nth-child(3) { width: 20px; opacity: 0.4; }

.section-tagline {
    font-family: var(--font-accent);
    color: var(--text-secondary);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    max-width: 650px;
    margin: 18px auto 0;
    opacity: 0.8;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* ---------- SECTION DIVIDERS ---------- */
.section-divider {
    position: relative;
    margin-top: -2px;
    line-height: 0;
    z-index: 1;
}

.section-divider.flip {
    transform: scaleY(-1);
    margin-top: 0;
    margin-bottom: -2px;
}

.wave-fill {
    fill: var(--bg-secondary);
    transition: fill 0.5s ease;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-glow);
    color: white;
}

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

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

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 140px 24px 30px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(-10%, 10%) scale(1.2); opacity: 0.5; }
}

/* Hero Split Layout */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1050px;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
}

/* Hero Profile Image (right side) */
.hero-image-wrapper {
    flex-shrink: 0;
    position: relative;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-image-frame {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 0 0 0 10px var(--primary-subtle), 0 25px 60px rgba(0, 0, 0, 0.2);
    background: var(--bg-card);
    position: relative;
}

.hero-image-frame img {
    width: 89%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    transform: scale(1.3);
}

.hero-badge {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
    letter-spacing: 1px;
}

.hero-greeting {
    display: block;
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
    animation: fadeInUp 0.6s ease 0.2s both;
    letter-spacing: 0.5px;
}

.hero-firstname {
    display: inline;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-surname {
    display: inline;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-rotating-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin: 20px 0 36px;
    min-height: 1.8em;
    overflow: hidden;
    max-width: 100%;
}

.hero-rotating {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.rotating-cursor {
    color: var(--primary);
    font-weight: 300;
    animation: blink 0.7s step-end infinite;
}

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

/* Hero Quote */
.hero-quote {
    margin: 6px 0 22px;
    animation: fadeInUp 0.8s ease 1.3s both;
}
.hero-quote blockquote {
    margin: 0;
    padding: 0;
}
.hero-quote blockquote p {
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 2.8vw, 1.55rem);
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
    letter-spacing: 0.3px;
}
.hero-quote blockquote em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1.5s both;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    color: var(--primary);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape i { font-size: 1.5rem; }
.shape-1 { top: 15%; left: 8%; animation-delay: 0s; animation-duration: 7s; }
.shape-2 { top: 20%; right: 12%; animation-delay: 1s; animation-duration: 5s; color: var(--gold); }
.shape-3 { bottom: 30%; left: 5%; animation-delay: 2s; animation-duration: 8s; }
.shape-4 { top: 35%; right: 8%; animation-delay: 0.5s; animation-duration: 6s; }
.shape-5 { bottom: 15%; right: 15%; animation-delay: 1.5s; animation-duration: 7s; color: var(--gold); }
.shape-6 { top: 60%; left: 12%; animation-delay: 3s; animation-duration: 9s; }
.shape-7 { bottom: 25%; left: 25%; animation-delay: 2.5s; animation-duration: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(3deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 0.8s ease 2s both;
    width: 100%;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ---------- ABOUT SECTION ---------- */
.about {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-facts-column {
    display: flex;
    align-items: flex-start;
}

.about-fun-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.fun-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.fun-fact:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.fun-fact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.fun-fact-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.fun-fact-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---------- ACHIEVEMENTS SECTION ---------- */
.achievements {
    position: relative;
    z-index: 1;
}

.achievements-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.achievement-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.achievement-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.achievement-card:hover .achievement-shine {
    transform: translateX(200%) skewX(-20deg);
}

.achievement-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.achievement-icon-wrapper {
    flex-shrink: 0;
}

.achievement-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--primary-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.achievement-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.achievement-logo.dual-logo {
    flex-direction: row;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.achievement-logo.dual-logo img {
    width: 45%;
    height: 45%;
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    color: var(--primary);
}

.achievement-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.achievement-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.achievement-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- HOBBIES SECTION ---------- */
.hobbies {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.hobby-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.4s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.hobby-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.hobby-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-subtle), transparent);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.hobby-card:hover .hobby-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.hobby-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.hobby-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ---------- TRAVEL SECTION ---------- */
.travel {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

/* Interactive World Map */
.travel-map-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto 40px;
}

#world-map {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

/* jsvectormap overrides for theme integration */
#world-map .jvm-container {
    background: transparent !important;
}

/* Zoom buttons */
#world-map .jvm-zoom-btn {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#world-map .jvm-zoom-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Tooltip */
.jvm-tooltip {
    z-index: 9999 !important;
    background: var(--bg-card-solid) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 6px 14px !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}

/* Make marker dots bigger and glowing for easier hover */
#world-map .jvm-marker {
    cursor: pointer;
    filter: drop-shadow(0 0 3px var(--primary-glow));
}
#world-map .jvm-marker:hover {
    filter: drop-shadow(0 0 8px var(--primary));
}

/* Adventures Section */
.adventures-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.adventures-section::before {
    content: '\1F525';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    opacity: 0.03;
    transform: rotate(-15deg);
    pointer-events: none;
}

.adventures-header {
    text-align: center;
    margin-bottom: 32px;
}

.adventures-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.adventures-title i {
    color: var(--primary);
    margin-right: 8px;
}

.adventures-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.adventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

.adventure-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: default;
}

.adventure-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px var(--primary-glow);
}

.adventure-card-media {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.adventure-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-subtle), transparent);
    color: var(--primary);
    font-size: 2.5rem;
    transition: all 0.4s ease;
}

.adventure-card:hover .adventure-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.adventure-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.adventure-card:hover .adventure-card-media img {
    transform: scale(1.05);
}

.adventure-card-body {
    padding: 14px 16px;
}

.adventure-card-body h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.adventure-card-body p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .adventures-section {
        padding: 24px 16px;
    }
    .adventures-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
}

/* Passport Stamps Section */
.passport-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.passport-section::before {
    content: '\2708';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    opacity: 0.03;
    transform: rotate(-15deg);
    pointer-events: none;
}

.passport-header {
    text-align: center;
    margin-bottom: 32px;
}

.passport-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.passport-title i {
    color: var(--primary);
    margin-right: 8px;
}

.passport-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Continent Groups */
.continent-group {
    margin-bottom: 28px;
}

.continent-group:last-of-type {
    margin-bottom: 0;
}

.continent-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.continent-label i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.countries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.country-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: default;
}

.country-chip:hover {
    border-color: var(--primary);
    background: var(--primary-subtle);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--primary-glow);
}

.country-flag {
    font-size: 1.2rem;
    line-height: 1;
}

/* Passport Stats Footer */
.passport-footer {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

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

.passport-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.passport-stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .passport-section {
        padding: 24px 16px;
    }
    .passport-footer {
        gap: 24px;
    }
    .country-chip {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .country-flag {
        font-size: 1rem;
    }
    .passport-stat-number {
        font-size: 1.6rem;
    }
    #world-map {
        height: 240px;
    }
}

/* ---------- CREATIVE CORNER (BLOG) ---------- */
.creative-corner {
    position: relative;
    z-index: 1;
}

/* Featured Blog Post */
.blog-featured {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-featured:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.blog-featured-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.blog-featured-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.blog-featured-content {
    padding: 32px 36px 36px;
}

.blog-featured-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-story {
    max-width: 750px;
}

.blog-story p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.blog-story p:last-child {
    margin-bottom: 0;
}

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

.blog-quote {
    display: block;
    margin-top: 8px;
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--primary);
    font-style: italic;
}

.blog-the-end {
    text-align: center;
    font-size: 0.85rem !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    margin-top: 24px !important;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .blog-featured-content {
        padding: 20px 18px 24px;
    }
    .blog-story p {
        font-size: 0.9rem;
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.blog-card-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--primary-subtle);
}

.blog-card-media img,
.blog-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img,
.blog-card:hover .blog-card-media video {
    transform: scale(1.05);
}

.blog-placeholder-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
    color: var(--text-muted);
}

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

.blog-placeholder-media span {
    font-family: var(--font-accent);
    font-size: 1rem;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.blog-tag {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-date i {
    margin-right: 4px;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Blog Card Link (wraps entire card) */
.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Play Icon Overlay on Video Cards */
.blog-card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--primary-glow);
    z-index: 2;
}

.blog-card-play-icon i {
    margin-left: 3px; /* visual centering for play triangle */
}

.blog-card:hover .blog-card-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px var(--primary-glow);
}

/* ---------- BLOG DETAIL PAGE ---------- */
.blog-detail-page {
    min-height: 100vh;
}

.blog-detail-header {
    padding-top: 100px;
    padding-bottom: 20px;
}

.blog-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 24px;
    transition: gap var(--transition);
}

.blog-detail-back:hover {
    gap: 12px;
}

.blog-detail-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.blog-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 12px;
}

.blog-detail-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-detail-meta i {
    margin-right: 4px;
}

.blog-detail-video {
    width: 100%;
    max-width: 900px;
    margin: 32px auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-lg);
}

.blog-detail-video video {
    width: 100%;
    display: block;
}

.blog-detail-body {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.blog-detail-body p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.blog-detail-body p:last-child {
    margin-bottom: 0;
}

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

.blog-detail-body .blog-quote {
    display: block;
    margin-top: 10px;
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--primary);
    font-style: italic;
}

.blog-detail-body .blog-the-end {
    text-align: center;
    font-size: 0.9rem !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    margin-top: 32px !important;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.blog-detail-footer {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px 60px;
    text-align: center;
}

.blog-detail-footer .btn {
    display: inline-flex;
}

@media (max-width: 768px) {
    .blog-detail-header {
        padding-top: 80px;
    }
    .blog-detail-body p {
        font-size: 0.95rem;
    }
    .blog-detail-video {
        border-radius: var(--radius);
        margin: 20px auto;
    }
}

/* ---------- CERTIFICATES SECTION ---------- */
.certificates {
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.certificate-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.certificate-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.certificate-image {
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.certificate-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--primary-subtle), transparent);
}

.certificate-placeholder i {
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.5;
}

.certificate-placeholder span {
    font-family: var(--font-accent);
    font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    background: var(--primary-subtle);
    color: var(--primary);
}

/* ---------- CONTACT SECTION ---------- */
.contact {
    position: relative;
    z-index: 1;
}

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

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

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

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

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
}

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

.social-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

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

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

/* reCAPTCHA v3 — hide floating badge (credited in form) */
.grecaptcha-badge {
    visibility: hidden !important;
}

.recaptcha-credit {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}
.recaptcha-credit a {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* ---------- CLOSING QUOTE ---------- */
.closing-quote-section {
    padding: 64px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}
.closing-quote {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.closing-quote-icon {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.7;
}
.closing-quote blockquote {
    margin: 0;
    padding: 0;
}
.closing-quote blockquote p {
    font-family: var(--font-accent);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--text-primary);
    line-height: 1.7;
    font-style: italic;
    letter-spacing: 0.3px;
}
.closing-quote blockquote em {
    font-style: italic;
    color: var(--primary-light);
    font-weight: 600;
}
.closing-quote blockquote footer {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
    letter-spacing: 2px;
    text-transform: none;
    opacity: 0.7;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 32px;
    position: relative;
    z-index: 1;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-family: var(--font-accent);
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

.footer-copyright .fa-heart {
    color: var(--primary);
}

/* Footer Policy Links */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

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

.footer-links a i {
    font-size: 0.75rem;
}

.footer-links-sep {
    color: var(--border-color);
    font-size: 0.7rem;
    user-select: none;
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--bg-card-solid, var(--bg-secondary));
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-banner p i {
    color: var(--primary);
    margin-right: 6px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner-link {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    white-space: nowrap;
}

.cookie-banner-link:hover {
    text-decoration: underline;
}

.cookie-banner-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.cookie-banner-btn:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 14px 16px;
    }
    .cookie-banner p {
        font-size: 0.8rem;
    }
}

/* ---------- POLICY PAGES ---------- */
.policy-body {
    max-width: 750px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.policy-body h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.policy-body h2:first-child {
    margin-top: 0;
}

.policy-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.policy-body ul {
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.policy-body li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

.policy-body a {
    color: var(--primary);
    font-weight: 500;
}

.policy-body a:hover {
    text-decoration: underline;
}

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

/* Policy Table */
.policy-table-wrapper {
    overflow-x: auto;
    margin: 16px 0 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.policy-table th,
.policy-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.policy-table th {
    background: var(--primary-subtle);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-table tr:hover td {
    background: var(--primary-subtle);
}

@media (max-width: 768px) {
    .policy-body {
        padding: 20px 16px 40px;
    }
    .policy-body h2 {
        font-size: 1.15rem;
    }
    .policy-table th,
    .policy-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="slide-right"] {
    transform: translateX(-50px);
}

[data-animate="slide-left"] {
    transform: translateX(50px);
}

[data-animate="slide-up"] {
    transform: translateY(40px);
}

[data-animate="pop"] {
    transform: scale(0.8);
    transition-delay: calc(var(--delay, 0) * 0.07s);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ---------- CURSOR SPARKLE ---------- */
.cursor-sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
    mix-blend-mode: screen;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-rotating-wrapper {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image-frame {
        width: 260px;
        height: 260px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card-solid);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s ease;
        box-shadow: var(--shadow-lg);
        z-index: 998;
    }

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

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

    .section {
        padding: 70px 0;
    }

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

    .achievements-timeline {
        grid-template-columns: 1fr;
    }

    .hobbies-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .hobby-card {
        padding: 24px 12px;
    }

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

    .certificates-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-image-frame {
        width: 220px;
        height: 220px;
    }

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

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

@media (max-width: 480px) {
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .certificates-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .hero-firstname, .hero-surname {
        font-size: clamp(2.2rem, 12vw, 3.5rem);
    }

    .about-image-frame {
        width: 220px;
        height: 220px;
    }

    .about-image-frame {
        width: 220px;
        height: 220px;
    }
}

/* ---------- PRINT STYLES ---------- */
@media print {
    .navbar, .scroll-progress, #particles-js, .floating-shapes,
    .scroll-indicator, .section-divider, .color-picker-panel,
    .cursor-sparkle { display: none !important; }

    body { background: white; color: black; }
    .section { padding: 40px 0; }
}
