:root { --bg: #ffffff; --bg-soft: #f7f6f2; --text: #17150f; --muted: rgba(23, 21, 15, 0.45); --line: #e9e6df; --card: #ffffff; --accent: #9a8b6a; --accent-soft: rgba(154, 139, 106, 0.12); --danger: #b3402f; --shadow: 0 18px 45px rgba(23, 21, 15, 0.06); } [data-theme="dark"] { --bg: #101014; --bg-soft: #17171c; --text: #f2efe8; --muted: rgba(242, 239, 232, 0.42); --line: #292a31; --card: #17171c; --accent: #c9b586; --accent-strong: rgba(201, 181, 134, 0.14); --danger-strong: rgba(179, 64, 47, 0.2); --shadow: 0 18px 45px rgba(0, 0, 0, 0.5); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--bg); color: var(--text); font-family: "Montserrat", sans-serif; font-weight: 300; line-height: 1.65; transition: background 0.35s ease, color 0.35s ease; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px 40px; } /* ---------------- Üst bar ---------------- */ .topbar { display: flex; align-items: center; gap: 22px; max-width: 1080px; margin: 0 auto; padding: 22px 24px 10px; } .brand { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.45rem; letter-spacing: 0.04em; color: var(--text); } .brand:hover { text-decoration: none; } .brand::after { content: " ·"; color: var(--accent); } .nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; } .nav a { color: var(--text); opacity: 0.75; } .nav a:hover { opacity: 1; text-decoration: none; } .inline-form { display: inline; } .link-btn { background: none; border: none; padding: 0; font: inherit; color: var(--text); opacity: 0.75; letter-spacing: inherit; text-transform: inherit; cursor: pointer; } .link-btn:hover { opacity: 1; } /* Tema anahtarı — en sol üst köşe */ .theme-toggle { position: relative; width: 52px; height: 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); cursor: pointer; flex: none; display: inline-flex; align-items: center; padding: 0 5px; font-size: 12px; color: var(--muted); transition: background 0.3s ease; } .tt-sun, .tt-moon { position: relative; z-index: 1; line-height: 1; } .tt-moon { margin-left: auto; } .tt-knob { position: absolute; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); transition: left 0.25s ease; } [data-theme="dark"] .tt-knob { left: 27px; } [data-theme="dark"] .tt-sun { opacity: 0.35; } /* ---------------- Kahraman ---------------- */ .hero { text-align: center; padding: 90px 0 60px; } .hero-title { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: clamp(2.8rem, 8vw, 5rem); letter-spacing: 0.015em; line-height: 1.05; margin: 0; } .hero-sub { margin-top: 18px; font-size: 0.62rem; letter-spacing: 0.42em; text-transform: uppercase; opacity: 0.4; } /* ---------------- Bölümler ---------------- */ .section { margin-top: 64px; } .section-title { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.9rem; margin: 0 0 28px; } /* ---------------- Çalışan pencereleri ---------------- */ .emp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .emp-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); } .slider { position: relative; overflow: hidden; } .slides { position: relative; width: 100%; aspect-ratio: 16 / 10; } .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; } .slides img.active { opacity: 1; } .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border: none; border-radius: 50%; background: rgba(15, 15, 15, 0.35); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity 0.25s ease, background 0.25s ease; } .slider:hover .slider-btn { opacity: 1; } .slider-btn:hover { background: rgba(15, 15, 15, 0.6); } .slider-btn.prev { left: 10px; } .slider-btn.next { right: 10px; } .dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; z-index: 2; } .dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; } .dots span.active { background: #fff; transform: scale(1.35); } .emp-col { min-width: 0; } .emp-name { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 2.1rem; padding: 0 0 16px; margin: 0; text-align: center; letter-spacing: 0.02em; } /* ---------------- Projeler ---------------- */ .proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; } .proj-card { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); } .proj-title { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.6rem; margin: 0 0 8px; } .proj-tags { margin: 0 0 10px; } .tag { display: inline-block; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--accent-strong); color: var(--accent); margin: 0 5px 5px 0; } .proj-desc { margin: 0 0 12px; color: var(--text); opacity: 0.8; } .proj-date { margin: 0; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); } .proj-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; } .empty-note { color: var(--muted); } /* ---------------- Butonlar / Formlar ---------------- */ .btn { display: inline-block; border: 1px solid transparent; border-radius: 10px; padding: 12px 20px; font-family: "Montserrat", sans-serif; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; cursor: pointer; transition: filter 0.2s ease, background 0.2s ease; } .btn:hover { text-decoration: none; filter: brightness(1.06); } .btn-primary { background: var(--accent); color: #fff; } .btn-ghost { background: transparent; border-color: var(--line); color: var(--text); } .btn-danger { background: var(--danger-strong, var(--accent-strong)); border-color: transparent; color: var(--text); } .btn-block { width: 100%; } .form-card { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 34px 32px; max-width: 460px; width: 100%; } .form-card-wide { max-width: 640px; } .form-title { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.8rem; margin: 0 0 18px; } .form-card label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; } .form-card input, .form-card textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--text); font-family: inherit; font-size: 0.95rem; font-weight: 300; } .form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); background: var(--bg); } textarea { resize: vertical; } .form-note { font-size: 0.82rem; color: var(--muted); margin: 18px 0 0; } .form-note-center { text-align: center; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: start; padding-top: 60px; } .auth-single { display: flex; justify-content: center; padding-top: 60px; } .auth-single .form-card { max-width: 460px; } .request-panel { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 34px 32px; box-shadow: var(--shadow); } .request-panel-text { font-size: 0.92rem; margin: 0 0 20px; } /* ---------------- Flash ---------------- */ .flash-wrap { max-width: 1080px; margin: 14px auto 0; padding: 0 24px; } .flash { border-radius: 10px; padding: 12px 16px; font-size: 0.84rem; margin-bottom: 8px; } .flash-success { background: var(--accent-strong); color: var(--text); } .flash-error { background: var(--danger-strong, rgba(179, 64, 47, 0.15)); color: var(--text); } .flash-info { background: var(--bg-soft); color: var(--text); } /* ---------------- Admin listeler ---------------- */ .admin-list { display: flex; flex-direction: column; gap: 12px; } .admin-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--card); } .admin-row-main { display: flex; flex-direction: column; gap: 2px; } .admin-row-meta { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; } .admin-row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .admin-row-actions .btn { padding: 9px 16px; } /* Gelen kutusu (e-posta görünümü) */ .inbox { display: flex; flex-direction: column; gap: 14px; } .mail { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 20px 22px; box-shadow: var(--shadow); } .mail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; } .mail-subject { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.45rem; } .mail-time { font-size: 0.72rem; color: var(--muted); white-space: nowrap; } .mail-from { font-size: 0.82rem; color: var(--muted); margin-top: 4px; } .mail-body { margin-top: 14px; padding: 16px; border-radius: 10px; background: var(--bg-soft); white-space: pre-wrap; word-break: break-word; } .mail-actions { margin-top: 14px; display: flex; gap: 8px; } footer { max-width: 1080px; margin: 60px auto 0; padding: 0 24px 40px; text-align: center; } .footer p { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); } @media (max-width: 620px) { .topbar { flex-wrap: wrap; gap: 12px; } .nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 16px; } .field-grid { grid-template-columns: 1fr; } .hero { padding-top: 56px; } }