﻿/* ============================================================
   STYLE.CSS
   Copyright by [IFDAL FAHLEFI] - Personal Portfolio Website
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== VARIABLES ===== */
:root {
    --bg-deep: #060b14;
    --bg: #0a0f1f;
    --bg-card: #0f1729;
    --bg-card-hover: #131d33;
    --border: #1a2740;
    --border-glow: #1e3a5f;

    --blue-400: #38bdf8;
    --blue-500: #0ea5e9;
    --blue-600: #0284c7;
    --blue-700: #0369a1;
    --blue-glow: rgba(14, 165, 233, 0.3);

    --cyan-400: #22d3ee;
    --emerald-400: #34d399;
    --violet-400: #a78bfa;

    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ===== ANIMATED GRID BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 900px 500px at 15% 0%, rgba(14,165,233,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 700px 400px at 85% 100%, rgba(34,211,238,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 600px 600px at 50% 50%, rgba(14,165,233,0.03) 0%, transparent 70%);
    background-size: cover;
}

/* Subtle dot grid */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(148,163,184,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-600); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }

::selection { background: rgba(14,165,233,0.35); color: #fff; }

/* ==============================
   HERO SECTION
   ============================== */
.hero {
    position: relative;
    z-index: 1;
    padding: 110px 24px 100px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

/* Floating orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: floatOrb 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,238,0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -80px;
    animation: floatOrb 8s ease-in-out infinite reverse;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border: 1px solid rgba(14,165,233,0.3);
    border-radius: 50px;
    color: var(--blue-400);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
    background: rgba(14,165,233,0.06);
    backdrop-filter: blur(10px);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
    50% { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
}

/* Name with gradient */
.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 25%, #22d3ee 50%, #38bdf8 75%, #0ea5e9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

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

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero .subtitle i {
    color: var(--blue-400);
    font-style: normal;
    font-weight: 500;
}

.hero .subtitle u {
    text-decoration: none;
    border-bottom: 2px solid var(--blue-600);
}

/* Stats row */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    transition: var(--transition);
}

.hero-stat:hover { transform: translateY(-4px); }

.hero-stat .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Scroll indicator */
.hero-scroll {
    margin-top: 56px;
    animation: bounceArrow 2s infinite;
}

.hero-scroll svg { stroke: var(--blue-500); opacity: 0.7; }

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(12px); opacity: 1; }
}

/* ==============================
   NAVIGATION
   ============================== */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6,11,20,0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.84rem;
    padding: 18px 20px;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    letter-spacing: 0.3px;
}

nav a:hover { color: var(--text); }
nav a.active { color: var(--blue-400); border-bottom-color: var(--blue-500); }

/* ==============================
   MAIN CONTAINER
   ============================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    position: relative;
    z-index: 1;
}

/* ==============================
   SECTION HEADER
   ============================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.section-header .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(34,211,238,0.08));
    border: 1px solid rgba(14,165,233,0.2);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
}

.section-header .divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
    margin-left: 8px;
}

/* Card with glow border */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(14,165,233,0.15) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--border-glow); transform: translateY(-2px); }

/* ==============================
   ABOUT SECTION
   ============================== */
.about-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.about-photo-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.about-photo {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--border);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.about-photo .online-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(6,11,20,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52,211,153,0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--emerald-400);
    font-weight: 600;
}

.about-photo .online-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--emerald-400);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52,211,153,0.6);
}

.about-text p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    margin-bottom: 16px;
    line-height: 1.85;
    text-align: justify;
}

.about-text p:last-child { margin-bottom: 0; }

.about-text strong, .about-text b { color: var(--text); font-weight: 600; }
.about-text i, .about-text em { color: var(--cyan-400); font-style: normal; font-weight: 500; }
.about-text u { text-decoration: none; border-bottom: 2px solid rgba(14,165,233,0.5); }
.about-text mark { background: rgba(14,165,233,0.2); color: var(--blue-400); padding: 2px 8px; border-radius: 4px; }
.about-text del { color: var(--text-muted); opacity: 0.5; }
.about-text ins { color: var(--emerald-400); text-decoration: none; font-weight: 600; }
.about-text small { color: var(--text-muted); font-size: 0.85em; }
.about-text sup, .about-text sub { color: var(--blue-400); }

.about-text .motto-box {
    display: block;
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(14,165,233,0.05), rgba(34,211,238,0.03));
    border-left: 3px solid var(--blue-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 500;
    color: var(--blue-400);
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

/* ==============================
   TABLES
   ============================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }

table { width: 100%; border-collapse: collapse; }

thead th {
    background: rgba(14,165,233,0.08);
    color: var(--blue-400);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(14,165,233,0.2);
}

thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

tbody tr { transition: var(--transition); }
tbody tr:hover td { background: rgba(14,165,233,0.04); color: var(--text); }

tbody td:first-child {
    color: var(--blue-400);
    font-weight: 600;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
}

tbody td b, tbody td strong { color: var(--text); }
tbody td i, tbody td em { color: var(--cyan-400); font-style: normal; }
tbody td u { text-decoration: none; border-bottom: 1px solid var(--blue-500); }

tbody td mark {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(52,211,153,0.12);
    color: var(--emerald-400);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
}

/* ==============================
   SKILL LISTS
   ============================== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.skills-grid h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Skill bars */
.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}

.skill-list li:last-child { border-bottom: none; }

.skill-list .skill-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-list .skill-dot {
    width: 6px;
    height: 6px;
    background: var(--blue-500);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(14,165,233,0.5);
}

.skill-list .skill-level {
    display: flex;
    gap: 4px;
}

.skill-list .bar {
    width: 24px;
    height: 5px;
    border-radius: 5px;
    background: var(--border);
    transition: var(--transition);
}

.skill-list .bar.filled {
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
    box-shadow: 0 0 8px rgba(14,165,233,0.3);
}

/* Hobby list */
.hobby-list {
    padding-left: 22px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.hobby-list li {
    padding: 9px 0;
    transition: var(--transition);
}

.hobby-list li:hover { color: var(--text); transform: translateX(4px); }
.hobby-list li::marker { color: var(--blue-500); font-weight: 700; }

/* ==============================
   GALLERY SLIDER
   ============================== */
.gallery-card {
    padding: 28px 20px 24px;
}

/* Slider container */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Buttons */
.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(15,23,41,0.9);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: var(--blue-600);
    border-color: var(--blue-500);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}

/* Track wrapper */
.slider-track-wrapper {
    flex: 1;
    overflow: hidden;
    margin: 0 12px;
    border-radius: var(--radius-sm);
}

/* Track */
.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
}

.slider-track:active {
    cursor: grabbing;
}

/* Slide */
.slide {
    min-width: 100%;
    padding: 0 2px;
}

.slide figure {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.slide figure:hover {
    border-color: var(--blue-700);
}

.slide figure::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,11,20,0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.slide figure:hover::before { opacity: 1; }

.slide figure::after {
    content: '\1F50D';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2.5rem;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.slide figure:hover::after { transform: translate(-50%, -50%) scale(1); }

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slide figure:hover img { transform: scale(1.04); }

.slide figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 20px;
    z-index: 2;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.slide figure:hover figcaption { transform: translateY(0); }

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dots .dot.active {
    background: var(--blue-500);
    box-shadow: 0 0 12px rgba(14,165,233,0.5);
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: var(--text-muted);
}

/* Counter */
.slider-counter {
    text-align: center;
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
}

.slider-counter .current-slide {
    color: var(--blue-400);
    font-weight: 600;
}

/* ==============================
   LIGHTBOX
   ============================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(3, 7, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 60px rgba(0,0,0,0.6);
    display: block;
}

.lightbox-caption {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Lightbox buttons */
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(15,23,41,0.8);
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.lightbox-close:hover {
    background: #f43f5e;
    border-color: #f43f5e;
    color: #fff;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(15,23,41,0.8);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--blue-600);
    border-color: var(--blue-500);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14,165,233,0.4);
}

/* Body scroll lock saat lightbox aktif */
body.lightbox-open {
    overflow: hidden;
}

/* ==============================
   CONTACT LINKS
   ============================== */
.contact-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-links a .link-icon { font-size: 1.1rem; }

.contact-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.contact-links a:hover {
    border-color: var(--blue-500);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14,165,233,0.25);
}

.contact-links a:hover::before { opacity: 1; }

/* ==============================
   FOOTER
   ============================== */
footer {
    text-align: center;
    padding: 36px 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.84rem;
    position: relative;
    z-index: 1;
}

footer strong { color: var(--text); }
footer .heart { color: #f43f5e; display: inline-block; animation: heartbeat 1.5s ease-in-out infinite; }
footer b { color: var(--blue-400); }
footer i { color: var(--cyan-400); font-style: normal; }

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

/* ==============================
   BACK TO TOP BUTTON
   ============================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--blue-400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--blue-600);
    border-color: var(--blue-500);
    color: #fff;
    box-shadow: 0 4px 20px rgba(14,165,233,0.3);
    transform: translateY(-3px);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
    .hero { padding: 80px 20px 70px; }

    .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
    .hero-stats { gap: 32px; }
    .hero-stat .stat-number { font-size: 1.6rem; }

    nav { overflow-x: auto; justify-content: flex-start; padding: 0 12px; }
    nav a { padding: 16px 14px; white-space: nowrap; font-size: 0.78rem; }

    .card { padding: 28px 20px; }

    .about-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .about-photo-wrapper { width: 150px; height: 150px; }
    .about-text p { text-align: left; }

    .skills-grid { grid-template-columns: 1fr; gap: 24px; }
    .slide img { height: 280px; }
    .slider-btn { width: 36px; height: 36px; }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }

    .contact-links a { width: 100%; justify-content: center; }

    .section-header h2 { font-size: 1.25rem; }

    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero { padding: 60px 16px 50px; }
    .hero h1 { font-size: 1.9rem; }
    .hero-stats { flex-direction: column; gap: 14px; align-items: center; }

    .slide img { height: 240px; }
    .slider-btn { width: 32px; height: 32px; }
    .slider-track-wrapper { margin: 0 6px; }
    .gallery-card { padding: 20px 8px 18px; }

    .card { padding: 22px 16px; }

    thead th, tbody td { padding: 10px 12px; font-size: 0.78rem; }
}
