/* ============================================
   KAAN CALISKAN - PROFESSIONAL WEBSITE
   Premium Dark Theme with Gold Accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    --border: #334155;
    --border-light: #475569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

::selection {
    background: rgba(251, 191, 36, 0.3);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent);
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
    .mobile-toggle {
        display: none;
    }
}

/* ============================================
   SECTIONS & CONTAINERS
   ============================================ */

.section {
    min-height: 100vh;
    padding: 8rem 1.5rem 4rem;
}

.section-short {
    min-height: auto;
    padding: 6rem 1.5rem 4rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   PAGE TITLES
   ============================================ */

.page-title {
    margin-bottom: 4rem;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
}

@media (min-width: 768px) {
    .page-title h1 {
        font-size: 3rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.05;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border: 1px solid var(--accent);
    border-radius: 50%;
}

.hero-circle-1 {
    top: 25%;
    right: 25%;
    width: 384px;
    height: 384px;
}

.hero-circle-2 {
    top: 33%;
    right: 33%;
    width: 256px;
    height: 256px;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    color: var(--accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-title span {
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    animation: fadeInUp 0.8s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.3s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }
.stat-item:nth-child(4) { animation-delay: 0.5s; }

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.02);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-4px);
}

.card-header {
    margin-bottom: 1rem;
}

.card-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.3;
    transition: opacity 0.3s;
}

.card:hover .card-number {
    opacity: 1;
}

.card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 2px;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-sidebar {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .grid-sidebar {
        grid-template-columns: 2fr 1fr;
    }
}

/* ============================================
   SIDEBAR BOXES
   ============================================ */

.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
}

.sidebar-box-accent {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.sidebar-title {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-list li::before {
    content: '•';
    color: var(--accent);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.sidebar-link:hover {
    color: var(--accent);
}

.sidebar-icon {
    width: 2rem;
    height: 2rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
    border-left: 2px solid var(--border);
    padding-left: 1.5rem;
}

.timeline-item {
    padding-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-subtitle {
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.timeline-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* ============================================
   PUBLICATION ITEMS
   ============================================ */

.publication-item {
    border-left: 2px solid var(--border);
    padding-left: 1.5rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
    transition: border-color 0.3s;
}

.publication-item:hover {
    border-color: var(--accent);
}

.publication-title {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.publication-meta {
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.publication-abstract {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   BLOG POSTS
   ============================================ */

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: rgba(251, 191, 36, 0.5);
    transform: translateY(-4px);
}

.post-card-body {
    padding: 1.5rem;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.post-category {
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.post-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.post-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.post-card:hover .post-title {
    color: var(--accent);
}

.post-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.post-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
}

.post-link {
    font-size: 0.875rem;
    color: var(--accent);
}

/* ============================================
   SINGLE POST
   ============================================ */

.post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.375rem;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-primary);
}

.post-content code {
    background: var(--bg-secondary);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.875em;
}

.post-content pre {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 128px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
}

.contact-item:hover {
    border-color: rgba(251, 191, 36, 0.5);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info h3 {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-info a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.7;
}

.footer-title {
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-domain {
    font-size: 0.75rem;
    color: var(--border-light);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.pt-8 { padding-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.w-full { width: 100%; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }

.leading-relaxed { line-height: 1.7; }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.15em; }

.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
}
