/* =========================================================================
PROJECT: INISIYATIF AKADEMI
THEME: LIGHT/DARK MODE (ŞIK & UYUMLU RENK PALETİ - FİNAL)
========================================================================= */
/* 1. DEĞİŞKENLER (Varsayılan: Light Tema - Asil Kahverengi & Bej) */
:root {
/* Ana Kahverengi/Bordo - #400807 */
--color-primary: #400807;
--color-primary-light: #570213;
/* Vurgu Kırmızı - #990020 */
--color-accent: #990020;
/* Açık Bej Arka Plan - #DFD7D0 */
--bg-body: #DFD7D0;
--bg-surface: #ffffff;         /* Beyaz Kartlar */
--bg-surface-alt: #f3f0ec;     /* Alternatif Açık Zemin */
--bg-glass: rgba(255, 255, 255, 0.85); /* Navbar Arkası */
/* Metin Renkleri */
--text-main: #23140F;
--text-muted: #74685C;
--text-light: #828282;
--border-light: rgba(64, 8, 7, 0.1);
/* Tipografi, Şekiller, Gölgeler ve Geçişler */
--font-body: 'Inter', system-ui, -apple-system, sans-serif;
--font-heading: 'Playfair Display', serif;
--radius-md: 24px;
--radius-lg: 36px;
--radius-pill: 9999px;
--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
--shadow-md: 0 10px 15px -3px rgba(64, 8, 7, 0.08);
--shadow-lg: 0 20px 25px -5px rgba(64, 8, 7, 0.12);
--transition-norm: 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
/* 2. DARK MODE */
body.dark-mode {
--color-primary: #004E4E;
--color-primary-light: #006666;
--color-accent: #990020;
--bg-body: #1a1215;
--bg-surface: #2A2022;
--bg-surface-alt: #400807;
--bg-glass: rgba(26, 18, 21, 0.85);
--text-main: #FFFFFF;
--text-muted: #B0B0B0;
--text-light: #777777;
--border-light: rgba(0, 78, 78, 0.4);
--shadow-md: 0 10px 20px rgba(0, 0, 0, 0.5);
--shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
}
body.dark-mode .step-label {
box-shadow: 0 0 0 8px var(--bg-body);
background: var(--bg-surface);
}
/* ======================================================================
3. GENEL AYARLAR (RESET)
====================================================================== */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
font-size: 16px;
}
body {
font-family: var(--font-body);
background-color: var(--bg-body);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
transition: background-color 0.5s ease, color 0.5s ease;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
color: var(--text-main);
font-weight: 700;
line-height: 1.2;
margin-bottom: 1rem;
}
a {
text-decoration: none;
color: inherit;
transition: 0.2s ease;
}
ul, ol {
list-style: none;
}
img {
max-width: 100%;
display: block;
}
/* ======================================================================
4. YAPI (LAYOUT)
====================================================================== */
.section {
padding: clamp(4rem, 8vw, 8rem) 0;
position: relative;
}
.section-header {
text-align: center;
max-width: 800px;
margin: 0 auto 4rem auto;
padding: 0 1.5rem;
}
.section-header h2 {
font-size: clamp(2rem, 4vw, 3rem);
color: var(--color-primary);
margin-bottom: 1rem;
}
.section-header p {
font-size: 1.1rem;
color: var(--text-muted);
}
.section-theme-description, .section-about, .section-publications {
background: var(--bg-surface-alt);
margin: 0;
}
.section-theme-description h2, .section-about h2, .section-publications h2 {
color: var(--text-main);
}
/* ======================================================================
5. NAVBAR
====================================================================== */
.site-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
padding: 1rem 1.5rem;
transition: padding var(--transition-norm);
}
.navbar {
max-width: 1400px;
margin: 0 auto;
background: var(--bg-glass);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--border-light);
border-radius: var(--radius-pill);
padding: 0.75rem 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: var(--shadow-sm);
transition: background 0.5s ease, border-color 0.5s ease;
}
.logo-wrap {
display: flex;
align-items: center;
gap: 1rem;
}
.logo-img {
height: 40px;
width: auto;
}
.logo-text {
display: flex;
flex-direction: column;
}
.logo-title {
font-family: var(--font-heading);
font-weight: 700;
font-size: 1.2rem;
color: var(--color-primary);
line-height: 1;
}
.logo-subtitle {
font-size: 0.7rem;
color: var(--text-muted);
letter-spacing: 0.05em;
}
.nav-links {
display: flex;
gap: 2rem;
align-items: center;
}
.nav-links a {
font-weight: 500;
font-size: 0.95rem;
color: var(--text-main);
position: relative;
}
.nav-links a:not(.nav-cta)::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--color-primary);
transition: width var(--transition-norm);
}
.nav-links a:not(.nav-cta):hover::after {
width: 100%;
}
.nav-cta {
background: var(--color-primary);
color: #fff !important;
padding: 0.6rem 1.5rem;
border-radius: var(--radius-pill);
transition: transform 0.2s ease;
}
.nav-cta:hover {
background: var(--color-primary-light);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(183, 28, 28, 0.3);
}
.nav-toggle {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--color-primary);
}
/* ======================================================================
6. HERO SECTION
====================================================================== */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 8rem 1.5rem 4rem;
background: radial-gradient(circle at 50% 50%, var(--bg-surface) 0%, var(--bg-body) 100%);
overflow: hidden;
position: relative;
transition: background 0.5s ease;
}
.hero::before, .hero::after {
content: '';
position: absolute;
border-radius: 50%;
filter: blur(80px);
z-index: 0;
animation: float 10s infinite alternate ease-in-out;
}
.hero::before {
width: 400px;
height: 400px;
background: var(--color-primary);
opacity: 0.15;
top: -10%;
left: -10%;
}
.hero::after {
width: 500px;
height: 500px;
background: var(--color-accent);
opacity: 0.1;
bottom: -10%;
right: -10%;
animation-delay: -5s;
}
.hero-inner {
position: relative;
z-index: 1;
max-width: 900px;
}
.hero-eyebrow {
font-family: var(--font-body);
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 0.85rem;
color: var(--color-accent);
margin-bottom: 1.5rem;
font-weight: 600;
}
.hero-title {
font-size: clamp(3rem, 6vw, 5rem);
line-height: 1.1;
margin-bottom: 1.5rem;
letter-spacing: -0.03em;
}
.hero-title span {
color: transparent;
background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
-webkit-background-clip: text;
background-clip: text;
}
.hero-subtext {
font-size: clamp(1.1rem, 2vw, 1.35rem);
color: var(--text-muted);
max-width: 700px;
margin: 0 auto 2.5rem;
line-height: 1.7;
}
.hero-meta {
display: flex;
justify-content: center;
gap: 2rem;
font-weight: 600;
color: var(--color-primary);
margin-bottom: 3rem;
font-size: 0.95rem;
}
.hero-meta span {
position: relative;
}
.hero-meta span:not(:last-child)::after {
content: '•';
position: absolute;
right: -1.2rem;
color: var(--border-light);
}
.hero-buttons {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 1rem 2.5rem;
border-radius: var(--radius-pill);
font-weight: 600;
font-size: 1rem;
transition: all var(--transition-norm);
cursor: pointer;
}
.btn-primary {
background: var(--color-primary);
color: #fff;
box-shadow: var(--shadow-md);
}
.btn-primary:hover {
background: var(--color-primary-light);
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.btn-secondary {
background: var(--bg-surface);
color: var(--color-primary);
border: 2px solid var(--border-light);
}
.btn-secondary:hover {
background: var(--bg-surface-alt);
border-color: var(--color-primary);
transform: translateY(-2px);
}
/* ======================================================================
7. GRIDS & CARDS
====================================================================== */
.program-grid, .area-grid, .values-grid {
display: grid;
/* Genel gridler için varsayılan 280px */
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* YENİ: member-grid - Yatayda Yayılma ve 1-2-2-2-1 Düzenlemesi */
.member-grid {
    display: grid;
    /* Varsayılan 2 Sütunlu düzen (Desktop ve Tablet için) */
    grid-template-columns: 1fr 1fr;
    margin: 3rem auto 0;
    gap: 2rem; /* Kutular arası boşluk artırıldı */
    padding: 0 1.5rem;
    max-width: 1100px; /* Orantılı bir büyüklük için max genişlik kısıtlandı */
    align-items: stretch; /* KRİTİK: Tüm kartların YÜKSEKLİĞİNİ eşitler */
}
/* 1-2-2-2-1 DÜZENLEMESİ: Genel Başkanlar ve Tasarım Sorumlusunun tek satır ve ortalanması */
.member-grid .full-width-card {
    grid-column: 1 / -1; /* 2 sütunun tamamını kapla */
    /* SON GÜNCELLEME: Tekli kartın eni, ikili kartın eni olan 534px'e eşitlendi */
    max-width: 534px; 
    margin-left: auto;
    margin-right: auto;
}
/* values-grid - 4 Kartı Ortalama Ayarları */
.values-grid {
display: grid;
/* 4 kartı yan yana zorlamak ve ortalamak için */
grid-template-columns: repeat(4, 1fr);
max-width: 1200px;
margin: 5rem auto; /* Üstten boşluk için */
gap: 2rem;
padding: 0 1.5rem;
}
.program-card, .area-card, .value-card, .member-card {
background: var(--bg-surface);
border: 1px solid var(--border-light);
padding: 2.5rem;
border-radius: var(--radius-lg);
transition: all var(--transition-norm);
position: relative;
overflow: hidden;
/* Kartların yüksekliklerini esnetmek için (Program/Alan kartları için) */
display: flex; 
flex-direction: column; 
}
.program-card:hover, .area-card:hover, .value-card:hover, .member-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-lg);
border-color: var(--color-primary-light);
}
.program-card h3, .area-card h3, .value-card h3, .member-card h3 {
font-size: 1.5rem;
color: var(--color-primary);
margin-bottom: 1rem;
}
.program-card p, .area-card p, .value-card p, .member-card p {
color: var(--text-muted);
font-size: 1rem;
flex-grow: 1; /* İçeriği esneterek kart boyunu doldurur */
}
/* Area Card Özel Efekt */
.area-card {
display: flex; /* Flex'i koru */
padding: 2.5rem;
background: var(--color-primary);
color: white;
box-shadow: var(--shadow-md);
}
.area-card h3 {
color: white;
}
.area-card p {
color: rgba(255, 255, 255, 0.85);
}
.area-card .read-more {
display: block;
font-weight: 600;
font-size: 0.9rem;
color: white;
margin-top: 1rem;
}
.area-card:hover {
background: var(--color-primary-light);
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
.area-card::before {
display: none;
}
/* GÜNCEL: EKİP ÜYESİ KARTLARI (Büyütüldü, Yüksekliği 400px yapıldı) */
.member-card {
padding: 0;
text-align: center;
border: none;
overflow: hidden;
background: var(--bg-surface-alt);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}
.member-card img {
width: 100%;
height: 400px; /* Dikey olarak uzatıldı */
object-fit: cover;
object-position: top center;
background-color: var(--border-light);
}
.member-card-content {
padding: 2rem 1.5rem; /* İçerik boşluğu artırıldı */
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.member-card-content h4 {
font-family: var(--font-body);
font-weight: 600;
font-size: 1.15rem;
color: var(--color-primary);
margin-bottom: 0.25rem;
}
/* YENİ: İki İsim Arasına Çizgi Ayırıcı */
.name-separator-inline {
    display: inline-block;
    width: 2px;
    height: 1.2em; /* Yazı boyutuyla orantılı yükseklik */
    background-color: var(--color-accent); /* Vurgu kırmızısı (site ile uyumlu) */
    margin: 0 0.5rem;
    vertical-align: middle;
    border-radius: 1px;
}
.member-card-content p {
font-size: 0.9rem;
color: var(--text-muted);
}
.member-card:hover {
border-color: transparent;
transform: translateY(-5px);
}
/* Value Card Farklılık */
.value-card {
text-align: center;
background: var(--bg-surface-alt);
border: 1px solid var(--border-light);
border-top: 4px solid var(--color-primary);
padding: 2rem;
}
body.dark-mode .value-card {
border-top-color: var(--color-primary-light);
}
/* ======================================================================
8. AKADEMİK YOLCULUK (TIMELINE)
====================================================================== */
.section-journey {
background: var(--bg-surface-alt);
transition: background 0.5s ease;
}
.journey-timeline {
max-width: 800px;
margin: 0 auto;
padding: 0 1.5rem;
position: relative;
list-style: none;
}
/* Dikey Çizgi */
.journey-timeline::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 3rem;
width: 2px;
background: var(--border-light);
}
.journey-timeline li {
position: relative;
padding-left: 6rem;
margin-bottom: 4rem;
}
/* Sayı Baloncuğu */
.step-label {
position: absolute;
left: 1.5rem;
top: 0;
width: 3rem;
height: 3rem;
background: var(--bg-surface);
border: 2px solid var(--color-primary);
color: var(--color-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.2rem;
z-index: 2;
transition: all var(--transition-norm);
box-shadow: 0 0 0 8px var(--bg-surface-alt);
}
/* Dark Mode'da arka planı kesen kutunun rengi değişmeli */
body.dark-mode .step-label {
box-shadow: 0 0 0 8px var(--bg-surface-alt);
}
.journey-timeline li:hover .step-label {
background: var(--color-primary);
color: #fff;
transform: scale(1.1);
}
.journey-timeline h3 {
font-size: 1.75rem;
color: var(--color-primary);
margin-bottom: 0.5rem;
}
.journey-timeline p {
font-size: 1.1rem;
color: var(--text-muted);
}
/* AKADEMİK YOLCULUK TABLOSU */
.journey-table-container {
max-width: 900px;
margin: 5rem auto 0;
padding: 0 1.5rem;
text-align: center;
}
.academic-journey-table {
width: 100%;
border-collapse: collapse;
margin-top: 1.5rem;
background: var(--bg-surface);
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-md);
}
.academic-journey-table th, .academic-journey-table td {
padding: 1rem 1.5rem;
text-align: left;
border-bottom: 1px solid var(--border-light);
}
.academic-journey-table th {
background-color: var(--color-primary);
color: white;
font-weight: 600;
text-transform: uppercase;
font-size: 0.9rem;
}
.academic-journey-table tr:hover td {
background-color: var(--bg-surface-alt);
}
.academic-journey-table td:first-child {
font-weight: 500;
color: var(--text-main);
}
/* ALAN DETAY SAYFALARI */
.section-area-detail {
padding-top: 8rem;
min-height: 80vh;
}
.detail-content {
background: var(--bg-surface);
padding: 3rem;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
border-left: 5px solid var(--color-primary);
border-top: 1px solid var(--border-light);
border-right: 1px solid var(--border-light);
border-bottom: 1px solid var(--border-light);
max-width: 900px;
margin: 0 auto;
}
.detail-content h3 {
color: var(--color-primary);
font-size: 1.8rem;
}
.detail-content .subtext {
font-size: 1.15rem;
color: var(--text-main);
margin-bottom: 2rem;
}
.detail-content .btn-secondary {
margin-top: 2rem;
}
/* ======================================================================
9. BAŞVURU KUTUSU
====================================================================== */
.section-apply {
padding-bottom: 0;
}
.apply-box {
background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
border-radius: var(--radius-lg);
padding: 5rem 2rem;
text-align: center;
color: #fff;
max-width: 1200px;
margin: 0 auto;
box-shadow: var(--shadow-lg);
position: relative;
overflow: hidden;
}
/* Dekoratif Daire */
.apply-box::after {
content: '';
position: absolute;
top: -50%;
right: -10%;
width: 600px;
height: 600px;
border-radius: 50%;
border: 2px solid rgba(255,255,255,0.1);
}
.apply-box h2, .apply-box p {
color: #fff !important;
position: relative;
z-index: 2;
}
.apply-box h2 {
font-size: 3rem;
margin-bottom: 1.5rem;
}
.apply-box p {
max-width: 600px;
margin: 0 auto 2.5rem;
font-size: 1.2rem;
opacity: 0.9;
}
.btn-light {
background: #fff;
color: var(--color-primary);
padding: 1.2rem 3rem;
border-radius: var(--radius-pill);
font-weight: 700;
display: inline-block;
margin-bottom: 3rem;
transition: all var(--transition-norm);
position: relative;
z-index: 2;
}
.btn-light:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.apply-contact a {
color: rgba(255,255,255,0.8);
text-decoration: underline;
}
.apply-contact a:hover {
color: #fff;
}
/* ======================================================================
10. FOOTER
====================================================================== */
.site-footer {
text-align: center;
padding: 3rem 1rem;
color: var(--text-muted);
font-size: 0.9rem;
background: var(--bg-body);
transition: background 0.5s ease;
}
/* ======================================================================
11. ANİMASYONLAR (FADE IN)
====================================================================== */
[data-fade] {
opacity: 0;
transform: translateY(30px);
transition: opacity 1s ease, transform 1s ease;
}
[data-fade].visible {
opacity: 1;
transform: translateY(0);
}
@keyframes float {
0% { transform: translate(0, 0); }
100% { transform: translate(30px, -30px); }
}
/* ======================================================================
12. RESPONSIVE (MOBİL UYUMLULUK)
====================================================================== */
@media (max-width: 992px) {
.nav-links {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: var(--bg-surface);
flex-direction: column;
padding: 2rem;
box-shadow: var(--shadow-lg);
display: none;
border-radius: var(--radius-md);
border: 1px solid var(--border-light);
margin-top: 10px;
}
.nav-links.active {
display: flex;
}
.nav-toggle {
display: block;
}
.hero-title {
font-size: 3rem;
}
.hero-buttons {
flex-direction: column;
}
.btn {
width: 100%;
}
/* Tablo Responsive */
.academic-journey-table thead {
display: none;
}
.academic-journey-table tr {
display: block;
margin-bottom: 2rem;
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.academic-journey-table td {
display: block;
text-align: right !important;
padding: 0.75rem 1.5rem;
position: relative;
}
.academic-journey-table td::before {
content: attr(data-label);
position: absolute;
left: 1.5rem;
font-weight: 600;
color: var(--color-primary);
}
/* values-grid 992px altı tekrar auto-fit olur */
.values-grid {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
}
@media (max-width: 600px) {
.section-header h2 {
font-size: 2rem;
}
.journey-timeline::before {
left: 1rem;
}
.step-label {
left: -0.5rem;
width: 2.5rem;
height: 2.5rem;
font-size: 1rem;
}
.journey-timeline li {
padding-left: 3.5rem;
}
.apply-box {
padding: 3rem 1.5rem;
border-radius: var(--radius-md);
}
/* EKİP RESPONSIVE AYARLARI (Telefon: 1 Sütun) */
.member-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: none;
}
/* Tekli kartların (full-width) özel kuralını mobilde sıfırla */
.member-grid .full-width-card {
    grid-column: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
}
/* ======================================================================
13. ÖZEL: TEMA DEĞİŞTİRME BUTONU (FLOATING BUTTON)
====================================================================== */
.theme-toggle {
position: fixed;
bottom: 30px;
right: 30px;
width: 60px;
height: 60px;
border-radius: 50%;
background: var(--bg-surface);
border: 2px solid var(--border-light);
color: var(--color-primary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
box-shadow: 0 5px 20px rgba(0,0,0,0.15);
transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
overflow: hidden;
}
.theme-toggle:hover {
transform: scale(1.1) rotate(15deg);
box-shadow: 0 0 30px var(--color-primary-light);
border-color: var(--color-primary);
}
/* Tıklanınca dönme animasyonu için class */
.theme-toggle.spin {
transform: rotate(360deg) scale(0.9);
}
.theme-toggle svg {
position: absolute;
transition: transform 0.5s ease, opacity 0.5s ease;
}
/* Varsayılan (Light): Ay gizli, Güneş görünür */
.theme-toggle .icon-moon {
opacity: 0;
transform: translateY(20px) rotate(-90deg);
}
.theme-toggle .icon-sun {
opacity: 1;
transform: translateY(0) rotate(0);
}
/* Dark Mode: Güneş gizli, Ay görünür */
body.dark-mode .theme-toggle .icon-sun {
opacity: 0;
transform: translateY(-20px) rotate(90deg);
}
body.dark-mode .theme-toggle .icon-moon {
opacity: 1;
transform: translateY(0) rotate(0);
color: #fff;
}
body.dark-mode .theme-toggle {
background: var(--color-primary);
border-color: transparent;
box-shadow: 0 0 30px rgba(255, 92, 124, 0.6);
}