/* ==========================================================================
   Engineering Portfolio Premium Theme - Burak Terzioğlu
   ========================================================================== */

:root {
    --bg-color: #030508;
    --text-color: #f1f5f9;
    --text-muted: #8a99ad;
    --primary-color: #00f2fe;    /* Cyber Cyan */
    --secondary-color: #00ff88;  /* Cyber Neon Green */
    --accent-color: #8b5cf6;     /* Neon Purple */
    --card-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-glow: rgba(0, 242, 254, 0.15);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Interactive Particles Canvas */
#bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #0a1224 0%, #030508 100%);
}

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

/* Glassmorphism Common Style */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.08);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: rgba(3, 5, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    letter-spacing: -1px;
    cursor: default;
}

.logo span {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.nav-links .nav-cta {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
    opacity: 1;
}

.nav-links .nav-cta:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    text-shadow: none;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
    margin-bottom: 20px;
}

.glitch-text {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.7;
}

.profile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.info-item-simple {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.info-item-simple svg,
.info-item-simple i {
    color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.social-links a svg,
.social-links a i {
    width: 18px;
    height: 18px;
}

.info-item-simple a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.info-item-simple a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    color: var(--text-color);
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: var(--bg-color);
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.profile-photo-card {
    position: relative;
    border-radius: 24px;
    padding: 12px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 320px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    filter: brightness(0.9) contrast(1.05);
    transition: 0.5s ease;
}

.profile-photo-card:hover .profile-img {
    filter: brightness(1) contrast(1);
    transform: scale(1.02);
}

.photo-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 26px;
    z-index: -1;
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

.profile-photo-card:hover .photo-glow {
    opacity: 0.5;
    filter: blur(4px);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 15px;
}

.underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

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

/* ==========================================================================
   Workspace & Pomodoro Timer
   ========================================================================== */
.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.pomodoro-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.timer-display-container {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.timer-progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-bar {
    stroke-dasharray: 603.18; /* 2 * PI * r (r=96) */
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.3s linear;
}

.timer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}

.timer-text #timer-status {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Pulsing glow during active timer */
.pomodoro-box.active .timer-display-container::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
    animation: timerPulse 2s infinite alternate ease-in-out;
}

@keyframes timerPulse {
    0% { transform: scale(0.98); opacity: 0.5; }
    100% { transform: scale(1.02); opacity: 1; }
}

.timer-controls {
    display: flex;
    gap: 15px;
}

.btn-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid var(--primary-color);
    background: rgba(0, 242, 254, 0.1);
    color: #fff;
}

.btn-timer svg,
.btn-timer i {
    width: 16px;
    height: 16px;
}

.btn-timer:hover:not(.disabled) {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.btn-timer.secondary {
    border-color: var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
}

.btn-timer.secondary:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-timer.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.focus-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.focus-details h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.ambient-sound-selector {
    margin-bottom: 30px;
}

.selector-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selector-title svg,
.selector-title i {
    width: 16px;
    height: 16px;
}

.sound-btn svg,
.sound-btn i {
    width: 16px;
    height: 16px;
}

.sound-options {
    display: flex;
    gap: 10px;
}

.sound-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.sound-btn:hover {
    border-color: var(--glass-border);
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.sound-btn.active {
    color: var(--primary-color);
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.study-stats {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.stat-label {
    color: var(--text-muted);
}

.stat-value {
    font-weight: 700;
    color: #fff;
}

.stat-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.stat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.stat-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Focus Areas (Study Logs)
   ========================================================================== */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.focus-card {
    display: flex;
    flex-direction: column;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card-icon svg,
.card-icon i {
    width: 22px;
    height: 22px;
}

.focus-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.focus-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-progress {
    margin-top: auto;
}

.card-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.card-progress-header span:first-child {
    color: var(--text-muted);
}

.card-progress-header span:last-child {
    font-weight: 700;
}

.progress-track {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
}

.progress-fill.math {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.progress-fill.physics {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.progress-fill.coding {
    background: linear-gradient(90deg, var(--accent-color), #f43f5e);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--accent-color);
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-icon svg,
.service-icon i {
    width: 22px;
    height: 22px;
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Target Universities
   ========================================================================== */
.uni-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.uni-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.uni-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.uni-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.uni-logo-placeholder svg,
.uni-logo-placeholder i {
    width: 24px;
    height: 24px;
}

.uni-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.uni-major {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.uni-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uni-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.uni-details li svg,
.uni-details li i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* ==========================================================================
   Roadmap (Timeline)
   ========================================================================== */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;
    width: 50%;
    margin-bottom: 40px;
}

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

.roadmap-item.left {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.roadmap-item.right {
    left: 50%;
    padding-left: 40px;
}

.roadmap-dot {
    position: absolute;
    top: 25px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 3px solid var(--glass-border);
    z-index: 2;
    transition: 0.3s;
}

.roadmap-item.left .roadmap-dot {
    right: -8px;
}

.roadmap-item.right .roadmap-dot {
    left: -8px;
}

.roadmap-dot.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.roadmap-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.roadmap-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 8px;
}

.roadmap-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.roadmap-item.active .roadmap-content {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    border-top: 1px solid var(--glass-border);
}

.contact-grid {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 18px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
    background: rgba(0, 0, 0, 0.5);
}

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.4s ease;
    cursor: pointer;
    text-align: center;
    font-size: 0.95rem;
    border: none;
}

.btn.primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-color);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.25);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.45);
    filter: brightness(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    text-align: center;
    background: rgba(3, 5, 8, 0.8);
    backdrop-filter: blur(10px);
}

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

/* ==========================================================================
   Toast Notification Boxes
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: rgba(6, 10, 18, 0.96);
    color: var(--text-color);
    border-left: 4px solid var(--secondary-color);
    border-radius: 12px;
    padding: 16px 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 450px;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    font-family: var(--font-main);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-error {
    border-left-color: #ff3860;
}

.toast-info {
    border-left-color: var(--primary-color);
}

.toast-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon.success {
    color: var(--secondary-color);
}

.toast-icon.error {
    color: #ff3860;
}

.toast-icon.info {
    color: var(--primary-color);
}

.toast-icon.info i {
    animation: rotate 1.5s linear infinite;
    display: inline-block;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.toast-content {
    flex-grow: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: var(--text-color);
}

/* ==========================================================================
   Scroll Reveal Animation (Intersection Observer)
   ========================================================================== */
.reveal {
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsiveness
   ========================================================================== */
@media (max-width: 992px) {
    .navbar {
        padding: 20px 30px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .badge {
        margin-left: auto;
        margin-right: auto;
    }

    .glitch-text {
        font-size: 3rem;
    }

    .profile-contact-info {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

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

    .focus-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .uni-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .roadmap-timeline::before {
        left: 20px;
    }

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

    .roadmap-item.right {
        left: 0;
    }

    .roadmap-dot {
        left: 12px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 80px 20px 40px;
    }

    .navbar {
        position: relative;
        padding: 20px;
    }

    .nav-links {
        display: none; /* Can toggle in JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 5, 8, 0.98);
        border-bottom: 1px solid var(--glass-border);
        padding: 20px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .contact-form {
        padding: 25px 20px;
    }
}

/* Visually Hidden labels for SEO & Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   CV / Özgeçmiş Bölümü Stilleri
   ========================================================================== */
.cv-section {
    border-top: 1px solid var(--glass-border);
}

.cv-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.cv-profile h4 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.cv-profile p {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.cv-block {
    margin-bottom: 30px;
}

.cv-block h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.cv-block h5 svg,
.cv-block h5 i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.cv-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    transition: all 0.3s;
}

.skill-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 242, 254, 0.05);
}

.cv-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv-timeline-item {
    position: relative;
}

.cv-timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--primary-color);
}

.cv-time {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.cv-timeline-item h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.cv-interests {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cv-interests li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cv-interests li svg,
.cv-interests li i {
    width: 14px;
    height: 14px;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .cv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cv-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* ==========================================================================
   Baskı ve PDF Çıktı Düzeni (@media print)
   ========================================================================== */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt !important;
    }

    #bg-particles,
    .navbar,
    .mobile-nav-toggle,
    .timer-controls,
    .ambient-sound-selector,
    .toast-container,
    .btn,
    #contact,
    footer,
    .hero-right,
    .underline,
    .badge,
    .timer-progress-ring,
    .stat-progress-bar,
    .stat-progress-labels,
    .section-badge,
    .workspace-section,
    .focus-section,
    .universities-section,
    .roadmap-section,
    .services-section {
        display: none !important;
    }

    .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .glass-card {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
        backdrop-filter: none !important;
    }

    .cv-wrapper {
        border: none !important;
        padding: 0 !important;
    }

    .cv-header {
        border-bottom: 2px solid #000 !important;
    }

    .cv-profile h4 {
        color: #000 !important;
        font-size: 24pt !important;
    }

    .cv-profile p {
        color: #333 !important;
        font-weight: bold !important;
    }

    .cv-block h5 {
        color: #000 !important;
        border-left: 4px solid #000 !important;
        font-size: 14pt !important;
    }

    .cv-block p, 
    .cv-interests li, 
    .cv-timeline-item p,
    .cv-timeline-item h6 {
        color: #222 !important;
    }

    .skill-tag {
        border: 1px solid #333 !important;
        color: #000 !important;
        background: none !important;
    }

    .cv-time {
        color: #111 !important;
    }

    .cv-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    .cv-block {
        page-break-inside: avoid;
    }
}