/* ============================================
   Thames Minimal Theme – Custom CSS
   ============================================ */

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

:root {
    --bg: #0d0d0d;
    --bg-2: #111111;
    --surface: #181818;
    --surface-2: #202020;
    --border: rgba(255, 255, 255, 0.08);
    --text: #b0b0b0;
    --heading: #ffffff;
    --accent: #e8ff00;        /* Thames signature neon-lime accent */
    --accent-rgb: 232, 255, 0;
    --accent-2: #c0ff00;
    --muted: #555555;
    --font-main: 'Jost', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul { list-style: none; }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px 100px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.hero-greeting {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-greeting::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-name {
    font-family: var(--font-main);
    font-size: clamp(64px, 9vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    color: var(--heading);
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.hero-name span {
    color: var(--accent);
    display: block;
}

.hero-title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 15px;
    color: var(--text);
    max-width: 480px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-number {
    font-family: var(--font-main);
    font-size: 220px;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
}

/* Large decorative background text */
.hero-bg-text {
    position: absolute;
    bottom: -40px;
    right: -40px;
    font-family: var(--font-main);
    font-size: clamp(100px, 16vw, 220px);
    font-weight: 900;
    color: rgba(255,255,255,0.025);
    letter-spacing: -8px;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

.scroll-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    transform: rotate(90deg);
    transform-origin: left center;
    white-space: nowrap;
}

@keyframes scrollAnim {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    transition: all 0.3s ease;
}

.btn-primary span, .btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    background: #7b2cbf; /* Canlı Mor */
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--heading);
    border: 1px solid var(--border);
    padding: 13px 36px;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============ SECTIONS ============ */
.section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 70px;
}

.section-num {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--heading);
    letter-spacing: -2px;
    line-height: 1;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

/* ============ ABOUT ============ */
.about-section {
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-heading {
    font-family: var(--font-main);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.about-content p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.9;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--border);
}

.info-row:last-of-type {
    border-bottom: 1px solid var(--border);
    margin-bottom: 36px;
}

.info-item {
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid var(--border);
}

.info-item:last-child {
    border-right: none;
    padding-left: 24px;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.info-value {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--heading);
}

.info-value.available {
    color: var(--accent);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 16px;
    transition: all var(--transition);
    cursor: default;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.05);
}

/* ============ CONTACT ============ */
.contact-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.contact-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-heading {
    font-family: var(--font-main);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.contact-sub {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-link-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition);
}

.contact-link-card:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    background: var(--surface-2);
    transform: translateX(4px);
}

.contact-link-card:hover::before {
    transform: scaleY(1);
}

.contact-link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
    transition: background var(--transition);
}

.contact-link-icon.linkedin {
    background: rgba(10, 102, 194, 0.15);
    color: #0a66c2;
}

.contact-link-icon.github {
    background: rgba(255, 255, 255, 0.06);
    color: #e0e0e0;
}

.contact-link-card:hover .contact-link-icon {
    background: rgba(var(--accent-rgb), 0.2);
}

.contact-link-card:hover .contact-link-icon.linkedin {
    background: rgba(10, 102, 194, 0.25);
}

.contact-link-card:hover .contact-link-icon.github {
    background: rgba(255, 255, 255, 0.12);
}

.contact-link-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.contact-link-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-link-value {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--heading);
}

.contact-link-arrow {
    font-size: 12px;
    color: var(--muted);
    transition: all var(--transition);
}

.contact-link-card:hover .contact-link-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--heading);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 20px 20px 8px;
    outline: none;
    transition: all var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 24px;
}

.form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--muted);
    pointer-events: none;
    transition: all var(--transition);
    background: transparent;
}

.form-textarea + .form-label {
    top: 22px;
    transform: translateY(0);
}

.form-input:focus,
.form-input:not(:placeholder-shown) {
    border-color: rgba(var(--accent-rgb), 0.5);
    background: var(--surface-2);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: 10px;
    transform: translateY(0);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
    top: 8px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

/* Decorative large text in contact section */
.contact-bg-text {
    position: absolute;
    bottom: -40px;
    right: -40px;
    font-family: var(--font-main);
    font-size: clamp(80px, 14vw, 200px);
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    letter-spacing: -6px;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

/* ============ FOOTER ============ */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 60px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition);
    padding: 2px 6px;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--accent);
}

.lang-sep {
    color: var(--border);
}

/* ============ FADE IN ON SCROLL ============ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ SCROLLBAR ============ */

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text > * {
    animation: fadeUp 0.7s ease both;
}
.hero-greeting { animation-delay: 0.1s; }
.hero-name { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.3s; }
.hero-desc { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .hero-inner {
        padding: 100px 30px 80px;
        flex-direction: column;
    }
    .hero-number { display: none; }
    .hero-bg-text, .contact-bg-text { 
        font-size: clamp(60px, 12vw, 90px);
        bottom: -20px;
        right: -20px;
        letter-spacing: -2px;
    }

    .section, .contact-inner { padding: 80px 30px; }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .info-row {
        grid-template-columns: 1fr 1fr;
    }

    .scroll-indicator { left: 30px; }
    .footer { padding: 24px 30px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 520px) {
    .hero-name { font-size: 56px; letter-spacing: -2px; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    
    .hero-bg-text, .contact-bg-text {
        font-size: 50px;
        bottom: -10px;
        right: -10px;
        letter-spacing: -1px;
    }
    
    .section, .contact-inner { padding: 60px 20px; }
    
    .info-row { grid-template-columns: 1fr; }
    .info-item { border-right: none !important; padding-left: 0 !important; }
}
