:root {
    --bg1: #b91c1c;
    --bg2: #000000;
    --card: #7f1d1d;
    --muted: #e6e6e6;
    --glass: rgba(255, 255, 255, 0.06);
    --accent: #25D366;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html,
body {
    height: 100%;
    margin: 0
}

body {
    background: linear-gradient(180deg, var(--bg1), var(--bg2));
    color: #fff;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit
}

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

.nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 40;
    background: rgba(65, 62, 62, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px
}

.nav .brand {
    display: flex;
    align-items: center;   /* Dikey hizalama */
    gap: 8px;    
    font-weight: 700;
    letter-spacing: 1px
}

.nav .links a {
    margin-left: 18px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.95
}

header.hero {
    padding: 100px 20px 60px;
    text-align: center
}

header.hero h1 {
    font-size: 36px;
    margin: 0 0 8px
}

@media(min-width:768px) {
    header.hero h1 {
        font-size: 56px
    }
}

header.hero p {
    opacity: 0.9;
    margin: 0
}

section {
    padding: 36px 20px
}

h2 {
    font-size: 28px;
    margin: 0 0 18px
}

.grid {
    display: grid;
    gap: 20px
}

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

@media(min-width:768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr)
    }
}

.card {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.25));
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.card h3 {
    margin: 0 0 8px
}

.muted {
    color: #d1d5db
}

.small {
    font-size: 13px
}

/* Akademik Fotoğraf Bölümü */
.academic-section {
    margin-bottom: 36px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35));
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.academic-section h2 {
    text-align: center;
    margin-bottom: 24px;
}

.academic-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.academic-item {
    position: relative;
    padding: 0;
    border: 0;
    background: var(--glass);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.academic-item:hover {
    transform: scale(1.05);
}

.academic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.gallery-item-new {
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-item-new:hover {
    transform: scale(1.05);
}

.gallery {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px
}

.gallery button {
    position: relative;
    padding: 0;
    border: 0;
    background: var(--glass);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1/1
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center
}

.contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: inherit;
    font-weight: 600;
    cursor: pointer
}

.btn.small {
    padding: 6px 8px;
    font-size: 13px
}

.copy-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer
}

footer {
    padding: 18px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 18px
}

/* lightbox */
.lb {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .18s
}

.lb.open {
    visibility: visible;
    opacity: 1
}

.lb .panel {
    max-width: 1100px;
    width: 100%;
    max-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.lb img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px
}

.lb .close,
.lb .navbtn {
    position: fixed;
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    color: #fff;
    padding: 10px;
    border-radius: 999px;
    cursor: pointer
}

.lb .close {
    top: 24px;
    right: 24px
}

.lb .navbtn.left {
    left: 20px;
    top: 50%;
    transform: translateY(-50%)
}

.lb .navbtn.right {
    right: 20px;
    top: 50%;
    transform: translateY(-50%)
}

.caption {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85)
}

code {
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 6px;
    border-radius: 6px;
    color: #fff
}

.kicker {
    opacity: 0.9;
    font-weight: 600
}