/**
 * Soundframe — Bootstrap + minimal black / white (breezycv-style flow)
 */
:root {
    --sf-bg: #ffffff;
    --sf-fg: #0a0a0a;
    --sf-muted: #4a4a4a;
    --sf-border: #0a0a0a;
    --sf-max: 1180px;
    --sf-font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 17px; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--sf-bg);
    color: var(--sf-fg);
    font-family: var(--sf-font);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover { opacity: 0.65; }

img, video { max-width: 100%; height: auto; vertical-align: middle; }

.sf-navbar { z-index: 1030; }
.sf-navbar-inner {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sf-navbar .navbar-brand { letter-spacing: -0.02em; }
.sf-navbar a,
.sf-navbar .nav-link {
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.sf-navbar .nav-link:hover { opacity: 0.7; }
.sf-footer a { text-decoration: none; }
.sf-footer a:hover { text-decoration: underline; }

.sf-footer-social .sf-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--sf-border);
    color: var(--sf-fg);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sf-footer-social .sf-social-btn:hover {
    background-color: var(--sf-fg);
    color: var(--sf-bg);
    text-decoration: none;
    opacity: 1;
}

.sf-footer-social .sf-social-btn i {
    font-size: 1rem;
    line-height: 1;
}

.sf-main {
    width: 100%;
    min-height: 40vh;
}

.sf-footer { background: var(--sf-bg); }

/* Home: full-bleed video hero */
.sf-hero-cinematic {
    min-height: min(78vh, 820px);
}

.sf-hero-media-wrap {
    z-index: 0;
}

.sf-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.sf-hero-scrim {
    background: rgba(10, 10, 10, 0.52);
    z-index: 1;
    pointer-events: none;
}

.sf-hero-content {
    z-index: 2;
    min-height: min(72vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 3rem !important;
}

.sf-hero-name { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }

.sf-typewriter-line {
    display: block;
    box-sizing: border-box;
    min-height: calc(1.45em * 2);
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: 0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sf-typewriter-text { color: rgba(255, 255, 255, 0.88); }

.sf-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 2px;
    vertical-align: -0.15em;
    background: rgba(255, 255, 255, 0.9);
    animation: sf-cursor-blink 1s step-end infinite;
}

/* Sabit genişlik şerit (CV vb.) */
.sf-fixed-bar {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Review tarzı gri butonlar */
.sf-btn-review {
    display: inline-block;
    padding: 0.5rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: #f2f2f2;
    background: #5c5c5c;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

button.sf-btn-review,
input[type="submit"].sf-btn-review,
input[type="button"].sf-btn-review {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid transparent;
    font-family: inherit;
}

.sf-btn-review:hover {
    color: #fff;
    background: #6a6a6a;
}

.sf-btn-review:focus-visible {
    outline: 2px solid #0a0a0a;
    outline-offset: 2px;
}

.sf-btn-review--outline {
    background: #e8e8e8;
    color: #2a2a2a;
    border-color: #c8c8c8;
}

.sf-btn-review--outline:hover {
    background: #dcdcdc;
    color: #0a0a0a;
}

@keyframes sf-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.sf-section { margin-bottom: 3.5rem; }

.sf-section-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 1.25rem;
    color: var(--sf-muted);
}

.sf-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid #c8c8c8;
    background: #5c5c5c;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.sf-btn:hover {
    background: #6a6a6a;
    color: #fff;
}

.sf-btn--ghost {
    background: #ececec;
    color: #2a2a2a;
}

.sf-btn--ghost:hover {
    background: #e0e0e0;
    color: #0a0a0a;
}

/* Projects / blog: sabit genişlik grid */
.sf-grid-fixed {
    display: grid;
    grid-template-columns: repeat(auto-fill, 320px);
    gap: 1.5rem;
    justify-content: start;
}

.sf-card-cell {
    width: 320px;
    max-width: 100%;
}

/* Projeler listesi: daha küçük kart görselleri (blog 320px kalır) */
.sf-projects-grid.sf-grid-fixed {
    grid-template-columns: repeat(auto-fill, 220px);
    gap: 1.25rem;
}

.sf-projects-grid .sf-card-cell {
    width: 220px;
}

.sf-projects-grid .sf-media-fixed {
    width: 220px;
    height: 165px;
}

.sf-media-fixed {
    width: 320px;
    max-width: 100%;
    height: 240px;
    overflow: hidden;
    background: #ebebeb;
    border: 1px solid #d8d8d8;
    flex-shrink: 0;
}

.sf-media-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.sf-zoom-host {
    cursor: zoom-in;
}

.sf-zoom-host:focus-visible {
    outline: 2px solid #0a0a0a;
    outline-offset: 2px;
}

.sf-card-body-link {
    display: block;
    margin-top: 0.65rem;
    text-decoration: none;
    color: inherit;
}

.sf-card-body-link:hover {
    opacity: 0.75;
}

.sf-card-title {
    margin: 0 0 0.15rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.sf-card-meta {
    font-size: 0.8rem;
    color: var(--sf-muted);
    text-transform: lowercase;
}

/* Kapak görselleri: sabit genişlik */
.sf-cover-frame,
.sf-media-fixed-wide {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ebebeb;
    border: 1px solid #d8d8d8;
}

.sf-cover-frame img,
.sf-media-fixed-wide img {
    display: block;
}

.blog-detail .blog-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-blog-card-cell {
    width: 320px;
    max-width: 100%;
}

.sf-blog-thumb {
    height: 200px;
}

.sf-blog-card-body {
    margin-top: 0.75rem;
    color: inherit;
}

.sf-blog-card-body:hover .sf-blog-card-hit {
    opacity: 0.8;
}

.sf-blog-card-body .sf-blog-card-hit h2 {
    font-size: 1.05rem;
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.sf-blog-card-body .sf-blog-card-hit time {
    font-size: 0.8rem;
    color: var(--sf-muted);
}

.sf-prose img {
    cursor: zoom-in;
}

.sf-modal-zoom-img {
    max-height: min(90vh, 1200px);
    width: auto;
    max-width: 100%;
}

/* Project / blog article */
.sf-article-title { font-size: clamp(1.5rem, 4vw, 2.25rem); margin: 0 0 0.75rem; letter-spacing: -0.03em; }

.sf-article-meta { font-size: 0.85rem; color: var(--sf-muted); margin-bottom: 2rem; }

.sf-prose { max-width: 42rem; }
.sf-prose :where(p, ul, ol) { margin: 0 0 1rem; }

/* Blog list grid (genişlik .sf-grid-fixed ile) */
.sf-blog-grid {
    display: grid;
    gap: 2rem;
}

/* Forms */
.sf-form-row { margin-bottom: 1rem; }
.sf-label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.35rem; color: var(--sf-muted); }
.sf-input, .sf-textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--sf-border);
    background: var(--sf-bg);
    color: var(--sf-fg);
    font: inherit;
}
.sf-textarea { min-height: 140px; resize: vertical; }

/* About */
.sf-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .sf-about-grid { grid-template-columns: 1fr; }
    .sf-hero-cinematic { min-height: 70vh; }
    .sf-grid-fixed {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    .sf-card-cell,
    .sf-blog-card-cell,
    .sf-media-fixed {
        width: 100%;
    }

    .sf-projects-grid .sf-card-cell,
    .sf-projects-grid .sf-media-fixed {
        width: 100%;
    }
}

.sf-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border: 1px solid #ccc;
    font-size: 0.75rem;
    margin: 0 0.35rem 0.35rem 0;
}

.sf-timeline-item { margin-bottom: 1.5rem; padding-left: 1rem; border-left: 1px solid var(--sf-border); }

.sf-skill-bar {
    height: 2px;
    background: #e0e0e0;
    margin-top: 0.35rem;
}
.sf-skill-fill { height: 100%; background: var(--sf-fg); }

/* Blog detail (from shared markup) */
.blog-detail .blog-title { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 0.5rem; }
.blog-detail .blog-meta { font-size: 0.85rem; color: var(--sf-muted); margin-bottom: 1.25rem; }
.blog-detail .blog-meta span { margin-right: 1rem; }
.blog-detail .blog-content { max-width: 42rem; }

.comment-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #e5e5e5; }
.comment-section .section-title { font-size: 1rem; margin-bottom: 1rem; }
.comment-card { padding: 1rem 0; border-bottom: 1px solid #eee; }
.comment-author { font-weight: 600; font-size: 0.9rem; }
.comment-date { font-size: 0.8rem; color: var(--sf-muted); }

/* Service / pricing */
.sf-service-block { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #eee; }
.sf-pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.sf-price-card { border: 1px solid var(--sf-border); padding: 1.25rem; }
.sf-funfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.5rem; text-align: center; }
.sf-funfact-num { font-size: 1.75rem; font-weight: 600; display: block; }

/* Project category filter (project.js) — Review butonları + .active */
.sf-category-buttons .category-button {
    margin: 0;
    text-transform: none;
}

.sf-category-buttons .category-button.sf-btn-review.active {
    border-color: transparent;
}
.project-item.hidden { display: none !important; }

/* Blog filter form — Bootstrap row/col (yan yana md+); ek ince ayar */
.sf-blog-filter-form .form-control,
.sf-blog-filter-form .form-select {
    font-size: 0.9375rem;
}

.sf-blog-filter-form .form-control:focus,
.sf-blog-filter-form .form-select:focus {
    border-color: #0a0a0a;
    box-shadow: 0 0 0 0.2rem rgba(10, 10, 10, 0.12);
}

.sf-alert { padding: 0.75rem 1rem; border: 1px solid; margin-bottom: 1rem; font-size: 0.9rem; }
.sf-alert ul { margin: 0; padding-left: 1.1rem; }
.sf-alert--danger { border-color: #b00; background: #fff8f8; }
.sf-alert--success { border-color: #060; background: #f8fff8; }
.sf-alert--warning { border-color: #a60; background: #fffbf5; }

.sf-input.is-invalid, .sf-textarea.is-invalid { border-color: #b00; }
.sf-field-error { font-size: 0.8rem; color: #a00; margin-top: 0.25rem; }

.lmpixels-map iframe { width: 100%; height: 280px; border: 1px solid #e5e5e5; }

.sf-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border: 1px solid var(--sf-border);
    font-size: 0.75rem;
    text-decoration: none;
    margin-right: 0.35rem;
}

.sf-share a { text-decoration: none; margin-left: 0.75rem; font-size: 0.85rem; }
.sf-muted-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.sf-muted-btn:disabled { opacity: 0.45; cursor: default; text-decoration: none; }
