/* ==========================================================================
   Sibel Avcı Tuğal — Fine Art & Gallery Minimalist Stylesheet
   Pure Deep Black (#000000) Dark Mode & Gallery White Light Mode
   Editorial Typography, Text-Only Navigation & Portfolio Filters
   ========================================================================== */

:root {
    /* --- Light Mode (Art Gallery Muted Stone / Sand #e1e1dd) --- */
    --bg-main: #e1e1dd;
    --bg-surface: #d8d8d4;
    --bg-subtle: #d0d0cc;
    --bg-secondary: #cecec9;
    --border: rgba(0, 0, 0, 0.12);
    --border-subtle: rgba(0, 0, 0, 0.06);

    --text-primary: #121212;
    --text-secondary: #4a4a48;
    --text-muted: #787873;

    --accent-contrast: #121212;
    --accent-line: #121212;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

    --logo-filter: brightness(0);
    --header-bg: rgba(225, 225, 221, 0.94);
}

[data-theme="dark"] {
    /* --- Dark Mode (Pure Deep Gallery Black) --- */
    --bg-main: #000000;
    --bg-surface: #080808;
    --bg-subtle: #121212;
    --border: rgba(255, 255, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: #d4d4d8;
    --text-muted: #71717a;

    --accent-contrast: #ffffff;
    --accent-line: #ffffff;

    --logo-filter: brightness(0) invert(1);
    --header-bg: rgba(0, 0, 0, 0.92);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Site Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-img {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-logo {
    height: 38px;
    width: auto;
    filter: var(--logo-filter);
    transition: filter 0.25s ease;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
}

/* --- Navigation Dropdown (MORE) --- */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
}

.dropdown-caret {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.nav-dropdown-wrapper:hover .dropdown-caret,
.nav-dropdown-wrapper.open .dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    min-width: 240px;
    padding: 0.75rem 0;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 120;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-group-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.4rem 1.25rem 0.25rem;
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    text-decoration: none;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.nav-dropdown-highlight {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Dil Değiştirici (Language Switcher) */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.lang-btn {
    color: var(--text-muted);
    padding: 0.2rem 0.3rem;
    transition: color 0.2s ease;
}

.lang-btn.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-divider {
    color: var(--border);
    font-weight: 300;
}

/* Tema Butonu */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--text-primary);
    transform: scale(1.05);
}

[data-theme="light"] .dark-icon { display: none; }
[data-theme="light"] .light-icon { display: block; }
[data-theme="dark"] .light-icon { display: none; }
[data-theme="dark"] .dark-icon { display: block; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1px;
    background-color: var(--text-primary);
}

.mobile-menu-drawer {
    display: none;
    padding: 1.5rem 2rem 2rem;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border);
}

.mobile-menu-drawer.open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.mobile-nav-link.active {
    color: var(--text-primary);
}

/* --- Hero Section (Cutout Portrait on Divider) --- */
.hero-section {
    padding: 5rem 0 0 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: flex-end; /* Image sits directly on the bottom divider */
    width: 100%;
}

.hero-content {
    padding-bottom: 5rem;
    display: flex;
    align-items: center;
}

.hero-manifesto-text {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    max-width: 680px;
    margin: 0;
}

/* --- Hero Section (Standalone / No Image Mode) --- */
.hero-section.hero-section-no-image,
.hero-section-no-image {
    min-height: 480px;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-content-standalone {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-manifesto-text-large {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.2rem, 3.8vw, 3.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    letter-spacing: -0.03em !important;
    color: var(--text-primary) !important;
    text-align: center !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
}

.btn-gallery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
}

.btn-gallery-solid {
    background-color: var(--accent-contrast);
    color: var(--bg-main) !important;
    border: 1px solid var(--accent-contrast);
}

.btn-gallery-solid:hover {
    opacity: 0.85;
}

.btn-gallery-outline {
    background-color: transparent;
    color: var(--text-primary) !important;
    border: 1px solid var(--border);
}

.btn-gallery-outline:hover {
    border-color: var(--text-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    line-height: 0;
}

.hero-cutout-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}

.hero-cutout-img {
    max-height: 600px;
    width: auto;
    max-width: 100%;
    display: block;
    margin-bottom: -1px; /* Sits perfectly flush on the divider */
    vertical-align: bottom;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s ease;
}

.hero-cutout-img:hover {
    transform: scale(1.01);
}

/* --- Portfolio Minimalist Text Filter (No chunky buttons) --- */
.portfolio-section-clean {
    padding: 3.5rem 0 2.5rem;
}

.text-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-bottom: 2.5rem; /* Tagler ile Portfolyo arasındaki boşluk */
}

.text-filter-item {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.3rem 0.4rem;
    position: relative;
    transition: color 0.2s ease;
}

.text-filter-item:hover {
    color: var(--text-primary);
}

.text-filter-item.active {
    color: var(--text-primary);
    font-weight: 700;
}

.text-filter-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
}

.text-filter-sep {
    color: var(--border);
    font-size: 0.85rem;
    user-select: none;
}

/* --- Mobile Filter Dropdown (Minimalist Luxury Selector) --- */
.mobile-filter-container {
    display: none;
    margin-bottom: 2.5rem; /* Tagler ile Portfolyo arasındaki boşluk (Mobil) */
    width: 100%;
    justify-content: center;
    padding: 0 0.5rem;
}

.mobile-filter-select-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.mobile-filter-select {
    width: 100%;
    padding: 0.85rem 2.8rem 0.85rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-filter-select:focus {
    border-color: var(--text-primary);
}

.mobile-filter-select-wrapper .select-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Homepage Specific: Edge-to-Edge Full-Width Single-Row Strip (5px Gap, Equal Height, Responsive) --- */
.homepage-art-strip-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0; /* Boşluk portfolio-section-clean padding-bottom ile kusursuz eşitlendi */
    box-sizing: border-box;
    overflow: hidden;
}

.portfolio-grid[data-homepage-grid="true"] {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    gap: 5px; /* Aralarında tam 5px boşluk */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.portfolio-grid[data-homepage-grid="true"] .artwork-card {
    flex-grow: var(--ar, 1);
    flex-shrink: 1;
    flex-basis: 0;
    min-width: 0;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.portfolio-grid[data-homepage-grid="true"] .artwork-card:hover {
    opacity: 0.88;
    border-color: transparent;
}

.portfolio-grid[data-homepage-grid="true"] .artwork-media {
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-grid[data-homepage-grid="true"] .artwork-media img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Aspect-ratio container ile tam uyumlu, %100 doğal oran */
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-grid[data-homepage-grid="true"] .artwork-card:hover .artwork-media img {
    transform: scale(1.03);
}

.portfolio-grid[data-homepage-grid="true"] .artwork-overlay,
.portfolio-grid[data-homepage-grid="true"] .artwork-info {
    display: none !important;
}

/* --- Portfolio Gallery Grid (Full Page portfolio.php) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
}

.artwork-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.artwork-card:hover {
    border-color: var(--text-primary);
    transform: translateY(-4px);
}

.artwork-media {
    position: relative;
    aspect-ratio: 1/1;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artwork-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.artwork-card:hover .artwork-media img {
    transform: scale(1.04);
}

.artwork-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1.25rem;
}

.artwork-card:hover .artwork-overlay {
    opacity: 1;
}

.zoom-indicator {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
}

.artwork-info {
    padding: 1.4rem 1.6rem;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
}

.artwork-series {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.artwork-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.artwork-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

/* --- Editorial Blog Section --- */
.blog-section-clean {
    padding: 2.5rem 0 2.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.blog-card-editorial {
    border: 1px solid var(--border);
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

.blog-card-editorial:hover {
    border-color: var(--text-primary);
}

.blog-card-media {
    aspect-ratio: 16/10;
    background: #000000;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.blog-read-link {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-read-link:hover {
    gap: 0.7rem;
}

/* --- Article Detail (Single Article) --- */
.article-detail-container {
    width: 100%;
}

.article-header-editorial {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.article-title-editorial {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 1rem 0;
}

.article-body-editorial {
    font-size: 1.18rem;
    line-height: 1.85;
    color: var(--text-primary);
    max-width: 920px;
}

.article-body-editorial p {
    margin-bottom: 1.75rem;
}

.article-body-editorial h2, .article-body-editorial h3 {
    font-family: var(--font-heading);
    margin: 2.5rem 0 1rem;
}

/* --- About & Biography Page --- */
.about-page-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 5rem;
    align-items: flex-start;
    width: 100%;
}

.about-portrait-box {
    border: 1px solid var(--border);
    padding: 1.5rem;
    background: var(--bg-surface);
}

.about-portrait-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-editorial-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.about-text-content {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.about-text-content p {
    margin-bottom: 1.35rem;
}

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

/* --- Lightbox Modal (Fine Art Viewing) --- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.lightbox-close:hover {
    background: transparent;
    color: #ffffff;
    transform: scale(1.15);
}

.lightbox-media {
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 68vh;
    overflow: hidden;
}

.lightbox-media img {
    max-height: 68vh;
    width: auto;
    object-fit: contain;
}

.lightbox-caption {
    padding: 1.6rem 2.2rem;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.lightbox-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.lightbox-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: #a1a1aa;
}

/* --- Publications & Books Section --- */
.publications-grid-large {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pub-card-vertical {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: transform 0.25s ease;
}

.pub-card-vertical:hover {
    transform: translateY(-6px);
}

.pub-vertical-cover-wrap {
    width: 100%;
    margin-bottom: 1.5rem;
}

.pub-vertical-cover-wrap .pub-book-spine-effect {
    width: 100%;
    aspect-ratio: 2 / 3;
    position: relative;
    background: #18181b;
    border-radius: 3px 8px 8px 3px;
    box-shadow: 
        -4px 0 10px rgba(0, 0, 0, 0.4),
        6px 12px 28px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.pub-card-vertical:hover .pub-book-spine-effect {
    transform: rotateY(-5deg) scale(1.02);
    box-shadow: 
        -6px 0 14px rgba(0, 0, 0, 0.5),
        10px 18px 36px rgba(0, 0, 0, 0.45);
}

.pub-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pub-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    color: #ffffff;
    border-left: 5px solid #52525b;
}

.pub-placeholder-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    opacity: 0.9;
}

.pub-vertical-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.pub-vertical-year {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.pub-vertical-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}

.pub-card-vertical:hover .pub-vertical-title {
    color: var(--text-secondary);
}

.pub-vertical-authors {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.pub-vertical-publisher {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --- Publication Detail Page (About Style) --- */
.pub-detail-cover-box {
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #18181b;
    border-radius: 4px 10px 10px 4px;
    box-shadow: 
        -5px 0 12px rgba(0, 0, 0, 0.4),
        8px 16px 36px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    margin-bottom: 2rem;
}

.pub-detail-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pub-detail-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
    color: #ffffff;
    border-left: 6px solid #52525b;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.pub-detail-meta-box {
    border: 1px solid var(--border);
    padding: 1.75rem;
    background: var(--bg-surface);
}

.pub-detail-meta-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.pub-detail-meta-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pub-detail-meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.pub-detail-meta-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

/* --- Publication Modal Styling --- */
.pub-modal-content {
    max-width: 840px;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.pub-modal-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    padding: 3rem;
    align-items: flex-start;
}

.pub-modal-cover-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 4px 8px 8px 4px;
    box-shadow: 
        -4px 0 10px rgba(0, 0, 0, 0.5),
        8px 12px 30px rgba(0, 0, 0, 0.5);
    background: #18181b;
}

/* --- Dedicated Contact Page (2-Column Fine Art Layout) --- */
.contact-info-panel {
    border: 1px solid var(--border);
    padding: 2.2rem;
    background: var(--bg-surface);
}

.contact-form-panel {
    border: 1px solid var(--border);
    padding: 2.5rem;
    background: var(--bg-surface);
}

.contact-form-element {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 2px;
    transition: border-color 0.2s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

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

.contact-email-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 1.25rem;
}

.contact-email-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contact-email-link:hover {
    color: var(--text-secondary);
}

.contact-socials-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-social-btn {
    padding: 0.65rem 1.25rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.contact-social-btn:hover {
    background: var(--text-primary);
    color: var(--bg-main);
}

/* --- Mobile Menu Group & Subnav --- */
.mobile-nav-group {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    margin: 0.5rem 0;
}

.mobile-nav-heading {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.mobile-subnav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 0.75rem;
}

.mobile-subnav-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.mobile-subnav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    transition: color 0.15s ease;
}

.mobile-subnav-link:hover,
.mobile-subnav-link.active {
    color: var(--text-primary);
}

.mobile-subnav-divider {
    height: 1px;
    background: var(--border);
    margin: 0.4rem 0;
}

.mobile-subnav-highlight {
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border);
    padding: 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 2.2rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-copy {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
}

.footer-admin-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .homepage-art-strip-container {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-content {
        padding-bottom: 2rem;
        justify-content: center;
        text-align: center;
    }
    .hero-manifesto-text {
        font-size: 1.85rem;
        text-align: center;
        margin: 0 auto;
    }
    .hero-manifesto-text-large {
        font-size: 2.1rem;
        text-align: center;
        margin: 0 auto;
    }
    .hero-section-no-image {
        padding: 4rem 0 3.5rem;
    }
    .hero-cutout-img {
        max-height: 440px;
        margin: 0 auto -1px auto;
    }
    .about-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobilde Kategoriler: Taşan metinler yerine şık ve kompakt açılır seçici */
    .text-filter-bar {
        display: none !important;
    }

    .mobile-filter-container {
        display: flex !important;
    }

    /* Mobilde Ana Sayfa Portfolyo Alanı: Ferah 2 Sütunlu Galeri Izgarası */
    .homepage-art-strip-container {
        width: 100%;
        position: static;
        margin-left: 0;
        margin-right: 0;
        margin-top: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
        overflow: visible;
    }

    .portfolio-grid[data-homepage-grid="true"] {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .portfolio-grid[data-homepage-grid="true"] .artwork-card {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 2px;
        overflow: hidden;
        background-color: var(--bg-surface);
        border: 1px solid var(--border);
    }

    .portfolio-grid[data-homepage-grid="true"] .artwork-media {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
    }

    .portfolio-grid[data-homepage-grid="true"] .artwork-media img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
    }

    /* Portfolyo Sayfası Mobilde 2 Sütun */
    .portfolio-grid:not([data-homepage-grid="true"]) {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

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

    .lightbox-modal {
        padding: 0.75rem;
    }
    .lightbox-caption {
        padding: 1.2rem 1.4rem;
    }
    .lightbox-caption h3 {
        font-size: 1.25rem;
    }
    .lightbox-meta {
        font-size: 0.82rem;
        gap: 0.7rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid[data-homepage-grid="true"] {
        gap: 8px !important;
    }
    
    .portfolio-grid:not([data-homepage-grid="true"]) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
