/* ============================================
   MÜZEYYEN MERVE BAKANGÖZ — MAIN STYLESHEET
   ============================================ */

/* --- CSS VARIABLES --- */
:root {
    --bg-dark:      #080613;
    --bg-darker:    #04020b;
    --bg-card:      rgba(255, 255, 255, 0.035);
    --primary:      #8A2BE2;
    --primary-light:#B47AEB;
    --primary-dark: #5B1BA3;
    --cyan:         #00E5FF;
    --pink:         #FF006E;
    --text-main:    #f0eeff;
    --text-muted:   #a89ec4;
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    --radius-lg:    20px;
    --radius-md:    14px;
    --radius-sm:    8px;
    --font:         'Outfit', sans-serif;
    --transition:   0.35s cubic-bezier(.4,0,.2,1);
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* --- UTILITIES --- */
.container { width: 90%; max-width: 1240px; margin: 0 auto; }

.highlight {
    background: linear-gradient(130deg, var(--cyan) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

section { padding: 110px 0; position: relative; overflow: hidden; }

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 580px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.dark-gradient { background: linear-gradient(178deg, var(--bg-dark) 0%, var(--bg-darker) 100%); }
.glass-bg { background: var(--bg-dark); }

/* --- GLASSMORPHISM CARD --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
    border-radius: inherit;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 900;
    padding: 22px 0;
    transition: padding var(--transition), background var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
    padding: 14px 0;
    background: rgba(8, 6, 19, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
}
.logo span {
    background: linear-gradient(90deg, var(--cyan), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list { display: flex; gap: 28px; }
.nav-link {
    font-size: .97rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width var(--transition);
    border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
    display: none;
    font-size: 1.4rem;
    color: var(--text-main);
    transition: color var(--transition);
}
.hamburger:hover { color: var(--cyan); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: .97rem;
    font-weight: 600;
    transition: all var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(138,43,226,.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(138,43,226,.6);
}
.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--primary-light);
}
.btn-secondary:hover {
    background: rgba(180,122,235,.12);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
}
.btn-insta {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    box-shadow: 0 4px 20px rgba(229,69,90,.35);
    font-size: 1.05rem;
    padding: 14px 36px;
}
.btn-insta:hover { transform: translateY(-3px) scale(1.03); }

/* ============================================
   HERO
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 90px;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(8,6,19,.97) 38%, rgba(8,6,19,.6) 100%);
}

/* Particles */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: .12;
    animation: float-particle 12s ease-in-out infinite;
}
.particles span:nth-child(1)  { width:12px; height:12px; left:10%;  animation-duration:10s; animation-delay:0s; }
.particles span:nth-child(2)  { width:8px;  height:8px;  left:25%;  animation-duration:14s; animation-delay:2s; }
.particles span:nth-child(3)  { width:16px; height:16px; left:70%;  animation-duration:11s; animation-delay:1s; background: var(--cyan);}
.particles span:nth-child(4)  { width:6px;  height:6px;  left:85%;  animation-duration:9s;  animation-delay:3s; }
.particles span:nth-child(5)  { width:10px; height:10px; left:55%;  animation-duration:13s; animation-delay:0.5s; background: var(--pink);}
.particles span:nth-child(6)  { width:20px; height:20px; left:40%;  animation-duration:16s; animation-delay:4s; }
.particles span:nth-child(7)  { width:7px;  height:7px;  left:5%;   animation-duration:12s; animation-delay:1.5s; background: var(--cyan);}
.particles span:nth-child(8)  { width:14px; height:14px; left:90%;  animation-duration:15s; animation-delay:2.5s; }
@keyframes float-particle {
    0%, 100% { transform: translateY(100vh) scale(1); opacity: .1; }
    50%       { opacity: .22; }
}

.hero-content {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    background: rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.2);
    padding: 6px 16px;
    border-radius: 50px;
}
.hero-text .title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
}
.hero-text .description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(130deg, var(--cyan), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.stat-item span { font-size: 2rem; font-weight: 800; color: var(--primary-light); margin-left: 2px; }
.stat-item p { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }

/* Portrait */
.hero-image-wrapper { position: relative; display: flex; justify-content: center; align-items: center; }
.portrait-card {
    width: 380px; height: 480px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 7s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(138,43,226,.25), inset 0 0 30px rgba(0,229,255,.08);
}
.portrait-card::before {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--primary), var(--cyan), var(--primary));
    background-size: 200% 200%;
    animation: border-spin 4s linear infinite;
    z-index: -1;
}
@keyframes border-spin {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.portrait {
    width: 98%; height: 98%;
    object-fit: cover;
    border-radius: 22px;
    position: relative; z-index: 1;
}
.portrait-glow {
    position: absolute; inset: -30px;
    border-radius: 36px;
    background: radial-gradient(circle, rgba(138,43,226,.2) 0%, transparent 70%);
    animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50%       { opacity: 1;  transform: scale(1.1); }
}

/* Floating badges */
.floating-badge {
    position: absolute;
    background: rgba(10, 5, 24, .88);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
    white-space: nowrap;
}
.floating-badge i { color: var(--cyan); }
.badge-1 { top: 18%; right: -30px; animation: float 6s 1s ease-in-out infinite; }
.badge-2 { bottom: 20%; left: -30px; animation: float 7s 0.5s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

/* Scroll arrow */
.scroll-down {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.4rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 2;
    transition: color var(--transition);
}
.scroll-down:hover { color: var(--cyan); }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   ABOUT — TIMELINE
   ============================================ */
.about-bio {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 70px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    border-left: 4px solid var(--primary);
}
.bio-icon {
    font-size: 2rem;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 4px;
}
.bio-text p { color: var(--text-muted); line-height: 1.8; }

.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::after {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--cyan), var(--primary));
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 36px);
    position: relative;
    margin-bottom: 48px;
}
.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 36px);
}
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 2.5px solid var(--cyan);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(0,229,255,.4);
    z-index: 1;
}
.timeline-content { max-width: 360px; }
.timeline-content h3 { color: var(--primary-light); margin-bottom: 6px; font-size: 1.1rem; }
.timeline-content .date { color: var(--cyan); font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.timeline-content p { color: var(--text-muted); font-size: .95rem; }

/* ============================================
   CV
   ============================================ */
.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.cv-col-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cv-col-title i { color: var(--cyan); }

/* Skills */
.skills-list { display: flex; flex-direction: column; gap: 18px; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: .92rem; font-weight: 500; }
.skill-bar { height: 7px; background: var(--bg-card); border-radius: 50px; overflow: hidden; border: 1px solid var(--glass-border); }
.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 50px;
    transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

/* Badges */
.badges-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(138,43,226,.12);
    border: 1px solid rgba(138,43,226,.25);
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary-light);
    transition: all var(--transition);
}
.badge-chip:hover { background: rgba(138,43,226,.25); transform: translateY(-2px); }
.badge-chip i { color: var(--cyan); }

/* Experience */
.exp-list { display: flex; flex-direction: column; gap: 18px; }
.exp-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
}
.exp-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(138,43,226,.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--cyan);
    flex-shrink: 0;
}
.exp-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.exp-place { color: var(--primary-light); font-size: .88rem; margin-bottom: 4px; }
.exp-date  { color: var(--text-muted); font-size: .82rem; }

/* ============================================
   CV CARD — Özet CV
   ============================================ */
.cv-card {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

/* Başlık bandı */
.cv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 44px;
    background: linear-gradient(135deg, rgba(138,43,226,.18) 0%, rgba(0,229,255,.08) 100%);
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
}
.cv-header-left { display: flex; align-items: center; gap: 24px; }
.cv-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 24px rgba(138,43,226,.4);
}
.cv-name { font-size: 1.65rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px; }
.cv-title { font-size: .95rem; color: var(--primary-light); font-weight: 600; margin-bottom: 10px; }
.cv-contact-row {
    display: flex; flex-wrap: wrap; gap: 16px;
    font-size: .8rem; color: var(--text-muted);
}
.cv-contact-row span, .cv-contact-row a {
    display: flex; align-items: center; gap: 6px;
    color: var(--text-muted);
}
.cv-contact-row a:hover { color: var(--cyan); }
.cv-contact-row i { color: var(--cyan); }

.cv-header-stats {
    display: flex; gap: 28px; flex-wrap: wrap;
}
.cv-stat { text-align: center; }
.cv-stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--cyan); }
.cv-stat-lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

/* CV Gövde */
.cv-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
}
.cv-main {
    padding: 36px 40px;
    border-right: 1px solid var(--glass-border);
}
.cv-sidebar {
    padding: 36px 32px;
    background: rgba(0,0,0,.12);
}

/* Bölüm başlığı */
.cv-sec-heading {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

/* CV Kayıtları */
.cv-entry {
    display: flex; gap: 14px; align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}
.cv-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cv-entry-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(138,43,226,.18);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; color: var(--cyan);
    flex-shrink: 0;
}
.cv-entry-title { font-size: .95rem; font-weight: 700; color: var(--text-main); margin-bottom: 3px; }
.cv-entry-place { font-size: .82rem; color: var(--primary-light); margin-bottom: 3px; }
.cv-entry-date { font-size: .76rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

/* Sağ sidebar: özet metin */
.cv-summary { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }

/* CV Skills */
.cv-skills { display: flex; flex-direction: column; gap: 14px; }
.cv-skill-item { }
.cv-skill-row { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 500; margin-bottom: 6px; }
.cv-skill-pct { color: var(--cyan); font-weight: 700; }

/* CV Badges */
.cv-badges { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 960px) {
    .cv-body { grid-template-columns: 1fr; }
    .cv-main { border-right: none; border-bottom: 1px solid var(--glass-border); }
    .cv-card-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .cv-card-header, .cv-main, .cv-sidebar { padding: 24px 20px; }
    .cv-header-left { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cv-name { font-size: 1.3rem; }
}

/* ============================================
   ACHIEVEMENTS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 26px;
}
.achievement-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.achievement-card:hover { transform: translateY(-10px); box-shadow: 0 16px 48px rgba(138,43,226,.35); border-color: rgba(255,255,255,.18); }

.card-icon {
    font-size: 2.6rem;
    margin-bottom: 18px;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0,229,255,.35);
    display: block;
}
.achievement-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.achievement-card p  { color: var(--text-muted); font-size: .93rem; line-height: 1.7; }
.card-year {
    display: inline-block;
    margin-top: 14px;
    background: rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.18);
    color: var(--cyan);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
}

/* ============================================
   NEWS / BLOG
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.news-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,.5); border-color: rgba(255,255,255,.18); }
.news-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform .5s ease;
}
.news-card:hover .news-img { transform: scale(1.04); }

.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-tag {
    display: inline-block;
    background: rgba(138,43,226,.18);
    border: 1px solid rgba(138,43,226,.3);
    color: var(--primary-light);
    font-size: .76rem;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 50px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.news-date {
    color: var(--text-muted);
    font-size: .82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.news-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.news-body p  { color: var(--text-muted); font-size: .9rem; line-height: 1.7; flex: 1; }

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: .88rem;
    font-weight: 700;
    margin-top: 18px;
    transition: gap var(--transition);
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.read-more:hover { gap: 14px; }

/* ============================================
   INSTAGRAM
   ============================================ */
.instagram-cta { text-align: center; margin-bottom: 50px; }
.insta-link {
    color: var(--primary-light);
    font-weight: 700;
    transition: color var(--transition);
}
.insta-link:hover { color: var(--cyan); }

.mock-instagram {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.mock-post {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}
.mock-post:hover { transform: scale(1.05); }
.mock-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    font-size: 1.8rem;
    color: #fff;
}
.mock-post:hover .mock-overlay { opacity: 1; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    transition: transform var(--transition), border-color var(--transition);
}
.contact-item:hover { transform: translateX(6px); border-color: rgba(255,255,255,.18); }
.contact-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 50%;
    background: rgba(138,43,226,.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--cyan);
}
.contact-item h4 { font-size: .9rem; color: var(--text-muted); margin-bottom: 3px; }
.contact-item a, .contact-item p { font-weight: 600; font-size: .97rem; }
.contact-item a:hover { color: var(--cyan); }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font);
    font-size: .97rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(138,43,226,.18);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-note { margin-top: 12px; font-size: .88rem; text-align: center; min-height: 18px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 24px;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-logo a {
    display: block;
    font-size: 1.3rem; font-weight: 700;
    background: linear-gradient(90deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}
.footer-logo p { color: var(--text-muted); font-size: .88rem; }
.footer-nav {
    display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
}
.footer-nav a {
    font-size: .9rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 14px; justify-content: flex-end; }
.footer-social a {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: var(--text-muted);
    font-size: .85rem;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed; inset: 0;
    z-index: 9999;
    background: rgba(4, 2, 11, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modal-fade-in .25s ease;
    overflow-y: auto;
}
.modal-overlay[hidden] { display: none !important; }
@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal-container {
    max-width: 720px; width: 100%;
    border-radius: 24px;
    overflow: hidden;
    padding: 0;
    position: relative;
    animation: modal-slide-up .3s ease;
}
@keyframes modal-slide-up { from { transform: translateY(50px); opacity:0; } to { transform: translateY(0); opacity:1; } }

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    z-index: 2;
    cursor: pointer;
}
.modal-close:hover { background: var(--pink); transform: rotate(90deg); }

.modal-img-wrap { height: 300px; overflow: hidden; }
.modal-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.modal-body { padding: 32px 36px 36px; }
.modal-body h2 { font-size: 1.6rem; font-weight: 800; margin: 12px 0 20px; line-height: 1.3; }
.modal-text { color: var(--text-muted); font-size: .97rem; line-height: 1.85; }
.modal-text br { display: block; content: ''; margin-top: .5em; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in       { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s ease; }
.slide-up      { opacity: 0; transform: translateY(55px); transition: opacity 1s ease, transform 1s ease; }
.slide-in-left { opacity: 0; transform: translateX(-55px); transition: opacity .85s ease, transform .85s ease; }
.slide-in-right{ opacity: 0; transform: translateX(55px);  transition: opacity .85s ease, transform .85s ease; }

.fade-in.appear, .slide-up.appear, .slide-in-left.appear, .slide-in-right.appear {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1020px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-overlay { background: linear-gradient(180deg, rgba(8,6,19,.95) 0%, rgba(8,6,19,.75) 100%); }
    .hero-text .description { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .portrait-card { width: 320px; height: 420px; }
    .badge-1 { right: -10px; top: 10%; }
    .badge-2 { left: -10px; bottom: 15%; }

    .timeline::after { left: 22px; }
    .timeline-item { padding-right: 0; padding-left: 70px; justify-content: flex-start; }
    .timeline-item:nth-child(even) { padding-left: 70px; }
    .timeline-dot { left: 3px; top: 14px; transform: none; }
    .timeline-content { max-width: 100%; }

    .cv-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .footer-social { justify-content: center; }
    .footer-nav { justify-content: center; }
    .mock-instagram { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-list {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(8, 6, 19, .97);
        border-top: 1px solid var(--glass-border);
        flex-direction: column; gap: 0;
        max-height: 0; overflow: hidden;
        transition: max-height var(--transition);
    }
    .nav-list.open { max-height: 360px; }
    .nav-list li { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.04); }
    .nav-link { font-size: 1rem; }
    .modal-body { padding: 20px 22px 28px; }
    .mock-instagram { grid-template-columns: repeat(2, 1fr); }
    section { padding: 75px 0; }
}

@media (max-width: 480px) {
    .hero-stats { gap: 24px; }
    .portrait-card { width: 260px; height: 340px; }
    .floating-badge { display: none; }
    .modal-img-wrap { height: 200px; }
    .modal-body h2 { font-size: 1.25rem; }
    .mock-instagram { grid-template-columns: repeat(2, 1fr); }
}
