.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 2000;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--text-primary);
    color: var(--background);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: color-mix(in srgb, var(--background) 88%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 24px;
}

.brand {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand span,
.accent-dot,
.footer-heart {
    color: var(--accent);
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation a {
    position: relative;
    display: inline-flex;
    padding: 8px 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--accent);
    transition: width var(--transition);
}

.navigation a:hover::after,
.navigation a[aria-current="page"]::after {
    width: 100%;
}

.navigation a[aria-current="page"] {
    color: var(--text-primary);
}

.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-primary);
    font-size: 24px;
    transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.theme-toggle .theme-icon {
    width: 20px;
    height: 20px;
    display: block;
    transition: filter var(--transition);
}

.theme-toggle:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    padding: 64px 0 54px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 392px;
    align-items: center;
    gap: 72px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 22px;
}

.hero h1,
.page-hero h1,
.not-found h1,
.maintenance h1 {
    color: var(--text-primary);
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.hero h2 {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: 700;
}

.hero p,
.page-hero p,
.lead,
.page-section p,
.contact-cta p,
.not-found p,
.maintenance p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-content > p:last-of-type {
    max-width: 470px;
    margin-top: 22px;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.btn::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    background: rgba(96, 165, 250, 0.35);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, opacity 0.15s ease;
}

.btn.is-sending::after {
    opacity: 1;
    transform: scaleX(1);
    animation: send-trail 0.75s ease-in-out forwards;
}

@keyframes send-trail {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    40% {
        transform: scaleX(0.4);
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

.btn-primary {
    background: #050505;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.btn-primary .btn-icon {
    filter: invert(1);
}

.btn-outline {
    background: var(--surface);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-meta i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--success);
}

.portrait-card {
    position: relative;
    min-height: 408px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 18%, #eef2f7 0 24%, transparent 25%),
        linear-gradient(180deg, #f4f6f9 0%, #ffffff 100%);
}

/* Filigran (watermark) - resmin ARKASINDA kalir, yalnizca kart kenarlarina yansiir */
.portrait-card::after {
    content: "emredogan.me  emredogan.me  emredogan.me  emredogan.me  emredogan.me  emredogan.me  emredogan.me  emredogan.me";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(120, 120, 120, 0.22);
    transform: rotate(-30deg);
    pointer-events: none;
    z-index: 1;
    word-break: break-all;
    line-height: 2.8;
    padding: 12px;
    text-align: center;
}

.portrait-card.compact {
    min-height: 312px;
}

.portrait-silhouette {
    position: absolute;
    inset: 64px 58px 0;
    border-radius: 46% 46% 0 0;
    background:
        radial-gradient(circle at 50% 8%, #111827 0 17%, transparent 18%),
        linear-gradient(145deg, transparent 0 25%, #111827 26% 100%);
    filter: grayscale(1);
}

.split-section,
.projects,
.page-section,
.contact-cta {
    padding: 42px 0;
    border-top: 1px solid var(--border);
}

.split-grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 300px;
    gap: 42px;
    align-items: start;
}

.experience-grid,
.skills-grid {
    grid-template-columns: 220px minmax(0, 1fr);
}

.section-label span {
    display: block;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 13px;
}

.section-label h2,
.page-section h2 {
    color: var(--text-primary);
    font-size: 25px;
    line-height: 1.2;
}

.lead {
    max-width: 560px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    color: var(--text-primary);
    font-weight: 700;
}

.info-list {
    display: grid;
    gap: 18px;
}

.info-list p,
.detail-list p {
    margin: 0;
    font-size: 14px;
}

.info-list strong,
.detail-list strong {
    color: var(--text-primary);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card,
.project-row,
.blog-row,
.wide-card,
.stats > div,
.contact-form {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.project-card {
    display: flex;
    flex-direction: column;
    min-height: 214px;
    padding: 18px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.project-card:hover,
.project-row:hover,
.blog-row:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.project-top {
    display: grid;
    grid-template-columns: 48px 1fr 34px;
    align-items: start;
    gap: 12px;
}

.project-top.large {
    grid-template-columns: 62px 1fr;
}

.project-mark,
.skill span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #111827, var(--accent));
    color: #ffffff;
    font-weight: 800;
}

.project-top h3,
.project-top h2,
.project-top h1 {
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.2;
}

.project-top p {
    margin-top: 4px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.project-top a,
.blog-row > a,
.social-row a {
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    background: var(--surface);
}

.project-top a {
    width: 34px;
    height: 34px;
}

.project-card > p {
    flex: 1;
    margin: 18px 0;
    font-size: 15px;
}

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

.tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    max-width: 720px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--border-strong);
}

.timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 34px;
    padding: 0 0 30px 44px;
}

.timeline article::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #667085;
}


.timeline time,
.timeline p {
    color: var(--text-secondary);
    font-size: 14px;
}

.timeline h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 16px;
}

.skill-row {
    display: grid;
    grid-template-columns: repeat(9, minmax(70px, 1fr));
    gap: 20px;
    align-items: start;
}

.skill {
    text-align: center;
}

.skill span {
    margin: 0 auto 10px;
}

.skill p {
    color: var(--text-secondary);
    font-size: 13px;
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: 220px 1fr auto auto;
    gap: 28px;
    align-items: center;
}

.contact-cta-grid .social-row {
    margin-top: 0;
    flex-wrap: nowrap;
    gap: 8px;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.social-row a {
    width: 46px;
    height: 46px;
    font-size: 13px;
    font-weight: 800;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 22px 0;
}

/* No-copy class to prevent image copying */
.no-copy {
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

/* Profil resim tag - filigranin UZERINDE kalir (z-index: 2) */
.portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
  z-index: 2;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.page-hero {
    padding: 56px 0 34px;
}

.page-hero h1 {
    margin-bottom: 14px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.filter-btn {
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-primary);
    font-weight: 600;
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.project-list,
.blog-list {
    display: grid;
    gap: 18px;
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 28px;
    align-items: center;
    padding: 18px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.project-preview,
.post-cover,
.blog-thumb {
    min-height: 178px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)),
        linear-gradient(135deg, #0f172a, #1e293b);
}

.project-preview {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 18px;
    color: #ffffff;
}

.project-preview.big {
    min-height: 280px;
}

.project-preview span {
    font-weight: 800;
}

.project-preview i {
    display: block;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

/* Kapak görseli girilmiş projeler: logo da ekran görüntüsü de kırpılmadan sığar */
.project-preview.has-image {
    display: block;
    padding: 0;
    overflow: hidden;
    background: var(--surface);
}

.project-preview.has-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: contain;
}

.project-detail {
    padding: 42px 0;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 34px;
    color: var(--text-secondary);
    font-size: 14px;
}

.project-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 56px;
    align-items: start;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.divided-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
}

.divided-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
    transform: translateX(-50%);
}

.divided-section h2 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.divided-section p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.features {
    margin-top: 28px;
    gap: 14px 56px;
}

.features p span {
    margin-right: 10px;
    color: var(--accent);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 72px;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 72px;
    align-items: start;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 34px;
}

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

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 2px; /* slight visual tweak to align with label */
}

.detail-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.wide-card {
    display: grid;
    grid-template-columns: 1fr repeat(3, auto);
    gap: 22px;
    align-items: center;
    margin-top: 18px;
    padding: 22px;
}

.wide-card span {
    color: var(--text-secondary);
    font-size: 14px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 28px;
}

.stats > div {
    display: grid;
    place-items: center;
    min-height: 96px;
    border-radius: 0;
    border-right: 0;
}

.stats > div:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.stats > div:last-child {
    border-right: 1px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.stats strong {
    color: var(--text-primary);
    font-size: 26px;
}

.stats span {
    color: var(--text-secondary);
    font-size: 13px;
}

.blog-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 46px;
    gap: 24px;
    align-items: center;
    padding: 16px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.blog-thumb {
    min-height: 104px;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
}

.blog-row h2 {
    color: var(--text-primary);
    font-size: 18px;
}

.blog-row small {
    display: block;
    margin-top: 10px;
    color: var(--text-muted);
}

.blog-row > a {
    width: 46px;
    height: 46px;
}

.post {
    padding: 42px 0 72px;
}

.post-header {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.post-header h1 {
    color: var(--text-primary);
    font-size: clamp(34px, 5vw, 52px);
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 56px;
    margin-top: 34px;
}

.post-body p {
    margin: 18px 0;
    color: var(--text-secondary);
    line-height: 1.85;
}

.post-body h2,
.post-sidebar h2 {
    margin-top: 28px;
    color: var(--text-primary);
}

.post-cover {
    min-height: 260px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #111827, #1d4ed8);
}

.post-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    align-self: start;
}

.post-sidebar a {
    display: block;
    margin-top: 10px;
    color: var(--text-secondary);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-primary);
    padding: 13px 14px;
    font: inherit;
    font-weight: 400;
}

.contact-form textarea {
    min-height: 154px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

.form-status {
    display: none;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.form-status.visible {
    display: block;
    background: var(--accent-soft);
    color: var(--text-primary);
}

.form-status.error {
    background: #fef2f2;
    color: #991b1b;
}

.contact-form .btn {
    position: relative;
    overflow: hidden;
}

.contact-form .btn[disabled] {
    opacity: 0.95;
    cursor: wait;
}

.contact-form .btn .btn-icon {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-form .btn[disabled] .btn-icon {
    transform: translateX(4px);
    opacity: 0.7;
}


.contact-form .btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.contact-form .btn[disabled]::after {
    width: 100%;
    animation: progress-shimmer 0.9s linear infinite;
}

.contact-form .btn.is-sending::after {
    opacity: 1;
    width: 100%;
    animation: send-trail 0.75s ease-in-out forwards;
}

.contact-form .btn.is-sending .btn-icon {
    animation: send-arrow 0.75s ease-in-out forwards;
}

@keyframes progress-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.not-found {
    min-height: calc(100vh - var(--header-height) - 73px);
    display: grid;
    align-items: center;
    padding: 56px 0;
}

.not-found-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: center;
}

.orb-404 {
    display: grid;
    place-items: center;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9, #e5e7eb);
    color: #cbd5e1;
    font-size: 110px;
    font-weight: 800;
}

.maintenance-page {
    min-height: 100vh;
    background: var(--surface-secondary);
}

@keyframes simpleFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.maintenance {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 36px;
    animation: simpleFade 0.8s ease-out;
}

.maintenance-shell {
    width: min(100%, 1180px);
    min-height: calc(100vh - 72px);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 22px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--background);
    box-shadow: var(--shadow-lg);
    padding: 36px;
    text-align: center;
}

.maintenance-top {
    position: absolute;
    top: 72px;
    left: max(72px, calc((100vw - 1180px) / 2 + 42px));
    right: max(72px, calc((100vw - 1180px) / 2 + 42px));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.maintenance-visual {
    display: grid;
    place-items: center;
    width: 320px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, #eef2f7 0 48%, transparent 49%);
}

.maintenance-visual span {
    display: grid;
    place-items: center;
    width: 96px;
    height: 70px;
    border-radius: var(--radius);
    background: #1f2937;
    color: #ffffff;
    font-weight: 800;
}

.progress {
    width: min(100%, 500px);
}

.progress div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.progress i {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent) 0 var(--prog, 48%), #e5e7eb var(--prog, 48%));
}

.maintenance-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 500px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.maintenance-info p {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.maintenance-info p:first-child {
    border-right: 1px solid var(--border);
}

.maintenance-info span {
    color: var(--accent);
    font-weight: 700;
}

.is-hidden {
    display: none !important;
}

.section-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.section-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Inline icon styles */
.meta-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    margin-right: 6px;
    opacity: 0.7;
}

.status-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--success);
}

.btn-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    margin-left: 6px;
}

.skill-icon {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    border-radius: var(--radius);
    padding: 6px;
    background: var(--surface-secondary);
    border: 1px solid var(--border);
}

.social-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

[data-theme="dark"] .meta-icon,
[data-theme="dark"] .btn-icon,
[data-theme="dark"] .social-icon {
    filter: invert(1);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--surface-hover);
    transform: translateY(-3px);
}

/* Proje detayı: başlık ile içerik arasında nefes payı */
.project-info h2 {
    margin-bottom: 12px;
}

/* Buton içinde ikon-metin aralığını .btn'in gap'i verir; ikonun kendi kenar boşluğu
   bunun üstüne eklenip aralığı fazla açıyordu */
.btn .btn-icon {
    margin: 0;
}

/* Kapak görseli olan projelerde işaret kutusu logoyu gösterir */
.project-mark.has-image {
    padding: 4px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
}

.project-mark.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Kapak alanında video da olabilir */
.project-preview.has-image video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

/* Çerez onay bandı (sol alt; ortada yukarı çık butonu, sağda sohbet balonu var) */
.cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1000;
    max-width: 420px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

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

.cookie-banner p {
    margin: 0 0 14px;
}

.cookie-banner strong {
    color: var(--text-primary);
}

.cookie-banner-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-banner-actions .btn {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.footer-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-link:hover {
    color: var(--text-primary);
}

@media (max-width: 560px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .cookie-banner-actions .btn {
        flex: 1;
    }
}
