/* Temel tasarım sistemi — İstanbul Üniversitesi-Cerrahpaşa Geliştirme Vakfı */
@import url('./fonts.css');
:root {
  --primary: #102d42;
  --primary-dark: #0b2334;
  --secondary: #c69e55;
  --gold-light: #e8c88b;
  --text: #203748;
  --muted: #61717b;
  --background: #ffffff;
  --surface: #f3f5f5;
  --line: #dce2e5;
  --font-body: 'Manrope', Arial, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --container: 1320px;
  --gutter: clamp(20px, 4.3vw, 80px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:disabled { cursor: default; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 600; }
ul { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--secondary); color: var(--primary-dark); }
:focus-visible { outline: 3px solid #986b23; outline-offset: 5px; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 20px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-title { font-family: var(--font-display); font-size: clamp(36px, 4vw, 57px); line-height: 1.13; font-weight: 400; letter-spacing: -.025em; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid var(--primary); background: var(--primary); color: white; padding: 13px 24px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--secondary); border-color: var(--secondary); color: var(--primary-dark); }
.button--gold { background: var(--gold-light); color: var(--primary-dark); border-color: var(--gold-light); }
.button--outline { color: var(--primary); background: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
/* Üst bilgi ve navigasyon */
.utility-bar { background: var(--primary-dark); color: #e5ebef; font-size: 13px; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 35px; gap: 16px; }
.utility-links { display: flex; align-items: center; gap: 30px; }
.utility-links a { display: inline-flex; align-items: center; gap: 8px; }
.utility-links .icon { width: 15px; height: 15px; }
.utility-bar a:hover { color: var(--gold-light); }
.site-header { position: sticky; top: 0; z-index: 80; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 105px; display: flex; align-items: center; gap: 30px; }
.brand { flex-shrink: 0; }
.brand img { width: 400px; height: 86px; object-fit: contain; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; padding: 0; display: flex; align-items: center; gap: 25px; }
.nav-item { position: relative; }
.nav-trigger { display: flex; align-items: center; gap: 2px; }
.nav-expand { display: grid; place-items: center; background: transparent; border: 0; padding: 8px 0 8px 4px; min-height: 42px; }
.nav-expand .icon { width: 13px; height: 13px; transition: transform .2s; }
.nav-expand[aria-expanded='true'] .icon { transform: rotate(180deg); }
.nav-label { min-height: 52px; display: flex; align-items: center; gap: 6px; border: 0; padding: 4px 0; background: transparent; font-size: 14px; font-weight: 700; white-space: nowrap; }
.nav-label .icon { width: 13px; height: 13px; transition: transform .2s; }
.nav-label[aria-expanded='true'] > .icon { transform: rotate(180deg); }
.nav-item::after { content: ''; position: absolute; height: 2px; left: 0; right: 0; bottom: 1px; background: var(--secondary); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-item:hover::after, .nav-item:focus-within::after, .nav-item.is-current::after { transform: scaleX(1); }
.dropdown { position: absolute; top: calc(100% + 18px); left: -24px; width: 320px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--secondary); box-shadow: 0 15px 35px #102d421a; padding: 14px; max-height: calc(100dvh - 170px); overflow-y: auto; }
.dropdown-list { list-style: none; padding: 0; }
.dropdown-list a { display: block; padding: 9px 12px; line-height: 1.5; font-size: 14px; }
.dropdown-list a:hover, .dropdown-list a[aria-current='page'] { background: var(--surface); color: #885e21; }
.dropdown-group { display: block; font-size: 13px; font-weight: 800; padding: 14px 12px 4px; color: var(--muted); }
.dropdown-list .dropdown-list { border-left: 1px solid var(--line); margin: 5px 0 8px 12px; }
.header-donate { padding: 10px 17px; min-height: 44px; font-size: 13px; gap: 13px; white-space: nowrap; }
.header-donate .icon { width: 18px; height: 18px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: white; align-items: center; justify-content: center; }
/* Hero — Vakfımızın Amacı mevcut konumunda korunur. */
.hero { position: relative; color: white; background: var(--primary-dark); overflow: hidden; }
.hero-layout { position: relative; min-height: 650px; display: grid; grid-template-columns: 1.04fr 1fr; }
.hero-copy { position: relative; z-index: 2; padding-block: 64px 90px; padding-right: 56px; align-self: center; }
.hero .eyebrow { color: var(--gold-light); margin-bottom: 20px; font-size: 12px; max-width: 430px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(64px, 6.5vw, 104px); line-height: .99; letter-spacing: -.035em; }
.hero h1 em { font-weight: 400; color: var(--gold-light); }
.hero-purpose { padding-left: 20px; border-left: 1px solid var(--secondary); margin: 32px 0; max-width: 555px; }
.hero-purpose h2 { font-size: 13px; letter-spacing: .13em; font-weight: 700; margin-bottom: 10px; }
.hero-purpose p { font-size: 15px; line-height: 1.85; color: #d0dce3; }
.hero-visual { position: absolute; width: calc(50% + var(--gutter)); right: calc(-1 * var(--gutter)); inset-block: 0; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--primary-dark) 0%, #0b233400 40%), linear-gradient(0deg,#0b233457, transparent 60%); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual .hero-image { animation: settle 1s ease-out both; }
.hero-caption { display: none; }
.hero-controls { position: absolute; z-index: 4; bottom: 28px; left: 0; display: flex; align-items: center; gap: 17px; }
.hero-progress { width: 66px; height: 2px; background: #ffffff30; }
.hero-progress span { display: block; width: 50%; height: 100%; background: var(--gold-light); transition: transform .3s; }
.hero[data-slide='1'] .hero-progress span { transform: translateX(100%); }
.hero-controls .slide-count { font-size: 12px; letter-spacing: .05em; color: #d4dfe5; }
.hero-arrow { width: 37px; height: 37px; display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #ffffff40; color: white; }
.hero-arrow:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero-copy--news h2 { font-family: var(--font-display); font-size: clamp(36px, 3.65vw, 56px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.hero-copy--news .hero-purpose p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Başkan mesajı */
.president { padding-block: 100px; }
.president-layout { display: grid; grid-template-columns: 330px 1fr; gap: clamp(50px, 7vw, 115px); align-items: center; }
.president-photo { position: relative; width: 285px; padding: 0 0 20px 20px; }
.president-photo::before { content: ''; position: absolute; inset: 25px 20px 0 0; border: 1px solid var(--secondary); }
.president-photo img { position: relative; width: 265px; height: 330px; object-fit: cover; object-position: center 20%; background: var(--surface); }
.president-copy .eyebrow { color: #886329; margin-bottom: 19px; }
.president-copy blockquote { margin: 24px 0; padding: 0; font-size: clamp(17px,1.6vw,20px); line-height: 1.85; color: var(--muted); }
.president-signature { border-top: 1px solid var(--line); padding-top: 22px; }
.president-signature strong { display: block; font-size: 17px; font-weight: 800; }
.president-signature span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
/* Hızlı erişim — kaynak sırasıyla üç kart */
.quick-section { background: var(--surface); padding-block: 65px; }
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.quick-card { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 42px; border-left: 1px solid #d4dcdf; }
.quick-card:first-child { border: 0; padding-left: 0; }
.quick-card:last-child { padding-right: 0; }
.quick-icon { width: 54px; height: 54px; object-fit: contain; margin-bottom: 24px; }
.quick-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 29px; margin-bottom: 14px; line-height: 1.2; }
.quick-card p { color: var(--muted); font-size: 15px; margin-bottom: 25px; }
.quick-card .text-link { margin-top: auto; font-size: 12px; letter-spacing: .1em; }
/* Haberler */
.news-section { padding-block: 95px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 42px; }
.section-heading .eyebrow { color: #886329; margin-bottom: 15px; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.news-card { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 27px; min-width: 0; }
.news-card-image { overflow: hidden; aspect-ratio: 1.55; background: var(--surface); margin-bottom: 23px; position: relative; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card-image img { transform: scale(1.035); }
.news-card .image-link { display: block; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12px; line-height: 1.6; margin-bottom: 14px; color: var(--muted); }
.news-category { color: #77551d; font-weight: 700; }
.news-card h3 { font-size: 20px; line-height: 1.5; font-weight: 800; letter-spacing: -.02em; }
.news-card h3 a:hover { color: #8b6124; }
.news-card p { margin-top: 15px; font-size: 14px; line-height: 1.8; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.all-news-link { text-align: center; margin-top: 43px; }
.all-news-link .button { font-size: 12px; letter-spacing: .08em; padding-inline: 32px; }
/* Kaynaktaki fakülte logoları */
.faculties { padding: 38px 0; border-top: 1px solid var(--line); }
.faculty-grid { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 28px; align-items: center; }
.faculty-grid a { display: flex; justify-content: center; }
.faculty-grid img { width: 75px; height: 75px; object-fit: contain; opacity: .72; filter: saturate(.55); transition: filter .25s, opacity .25s; }
.faculty-grid a:hover img { filter: none; opacity: 1; }
/* Footer */
.site-footer { background: var(--primary-dark); color: #c2d0d9; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.3fr .8fr; gap: 80px; padding-bottom: 48px; }
.footer-brand img { width: 474px; height: 104px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-title { color: white; font-size: 16px; font-weight: 700; margin-bottom: 22px; }
.footer-contact { font-size: 14px; }
.footer-contact address { font-style: normal; margin-bottom: 14px; line-height: 1.9; }
.footer-contact a { display: block; margin: 5px 0; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid #ffffff1c; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.footer-social { display: inline-flex; align-items: center; gap: 9px; }
.whatsapp { position: fixed; z-index: 70; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); width: 57px; height: 57px; display: grid; place-items: center; color: white; background: #14874b; border: 3px solid white; border-radius: 50%; box-shadow: 0 5px 22px #0b23342b; transition: transform .2s, background .2s; }
.whatsapp:hover { background: #096b38; transform: translateY(-3px); }
.whatsapp .icon { width: 27px; height: 27px; stroke-width: 1.8; }
.reveal.is-visible { animation: reveal .65s ease both; }
@keyframes reveal { from { transform: translateY(14px); opacity: .55; } to { transform: translateY(0); opacity: 1; } }
@keyframes settle { from { transform: scale(1.025); opacity: .7; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
