/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', sans-serif;
  background: #0f1923;
  color: #d0d8e0;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #4fc3f7; text-decoration: none; transition: color 0.3s; }
a:hover { color: #81d4fa; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SCROLL PROGRESS BAR ===== */
#progressBar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, #1976d2, #4fc3f7, #1976d2);
  width: 0%; transition: width 0.1s linear;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 25, 35, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(79, 195, 247, 0.08);
  transition: all 0.4s ease;
}
nav.scrolled {
  padding: 10px 0;
  background: rgba(15, 25, 35, 0.96);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-logo-text strong { display: block; font-size: 0.95rem; font-weight: 700; color: #fff; }
.nav-logo-text span { font-size: 0.62rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.65); font-size: 0.82rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(25,118,210,0.12); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: #4fc3f7; border-radius: 2px; transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }

/* Hamburger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('kampus-bg.jpeg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  filter: brightness(0.3) saturate(0.7);
  transform: scale(1.1); transition: transform 0.3s;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,25,35,0.5) 0%, rgba(15,25,35,0.82) 70%, #0f1923 100%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 850px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(25,118,210,0.12); border: 1px solid rgba(79,195,247,0.2);
  padding: 8px 20px; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  color: #4fc3f7; margin-bottom: 28px; letter-spacing: 0.04em;
  animation: fadeInDown 0.8s ease;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4fc3f7; animation: pulse 2s infinite; }
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.2s both;
}
.hero h1 .gold { color: #4fc3f7; }
.hero-typed { display: inline-block; border-right: 2px solid #4fc3f7; animation: blink 0.8s step-end infinite; }
.hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 600px;
  margin: 0 auto 36px; line-height: 1.8; animation: fadeInUp 1s ease 0.4s both;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s ease 0.6s both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #1976d2, #0d47a1);
  color: #fff; font-weight: 700; font-size: 0.88rem;
  padding: 14px 32px; border-radius: 12px; border: none; cursor: pointer;
  transition: all 0.3s; text-decoration: none;
  box-shadow: 0 4px 20px rgba(25,118,210,0.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 8px 30px rgba(25,118,210,0.5); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; font-weight: 600; font-size: 0.88rem;
  padding: 14px 32px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  transition: all 0.3s; text-decoration: none;
}
.btn-outline:hover { border-color: #4fc3f7; color: #4fc3f7; background: rgba(79,195,247,0.06); transform: translateY(-2px); }

/* Hero Stats */
.hero-stats { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 52px; animation: fadeInUp 1s ease 0.8s both; }
.stat-pill {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 24px; border-radius: 16px; backdrop-filter: blur(10px);
  text-align: center; transition: all 0.3s;
}
.stat-pill:hover { border-color: rgba(79,195,247,0.3); transform: translateY(-3px); }
.stat-pill .stat-num { font-size: 1.6rem; font-weight: 800; color: #4fc3f7; display: block; line-height: 1; }
.stat-pill .stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.45); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== SECTION STYLES ===== */
section { padding: 100px 0; position: relative; }
.section-eye { font-size: 0.78rem; font-weight: 600; color: #4fc3f7; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.section-desc { font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 620px; line-height: 1.8; margin-bottom: 48px; }
.section-desc.center { margin-left: auto; margin-right: auto; text-align: center; }
.text-center { text-align: center; }

/* Alternating section bg */
section:nth-of-type(even) { background: rgba(255,255,255,0.015); }

/* ===== HAKKINDA ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin-bottom: 16px; color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.about-text strong { color: #4fc3f7; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.about-feat {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  padding: 16px; border-radius: 12px; transition: all 0.3s;
}
.about-feat:hover { border-color: rgba(79,195,247,0.2); transform: translateY(-2px); }
.about-feat-icon { font-size: 1.5rem; }
.about-feat-text { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.4; }
.about-feat-text strong { display: block; color: #fff; font-size: 0.88rem; }
.about-image-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(79,195,247,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.about-image-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,25,35,0.9));
  padding: 30px 24px 20px;
}
.about-image-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.about-image-overlay strong { color: #4fc3f7; }

/* ===== BÖLÜMLER ===== */
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dept-card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 36px; position: relative; overflow: hidden;
  transition: all 0.4s ease;
}
.dept-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1976d2, #4fc3f7); opacity: 0; transition: opacity 0.4s;
}
.dept-card:hover { border-color: rgba(79,195,247,0.2); transform: translateY(-4px); }
.dept-card:hover::before { opacity: 1; }
.dept-icon { font-size: 2.2rem; margin-bottom: 16px; }
.dept-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.dept-card p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 16px; }
.dept-tag {
  display: inline-block; background: rgba(25,118,210,0.12);
  color: #4fc3f7; font-size: 0.72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; margin-right: 6px; margin-bottom: 6px;
}
.dept-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 0.82rem; font-weight: 600;
  color: #4fc3f7; transition: all 0.3s;
}
.dept-link:hover { gap: 10px; color: #81d4fa; }

/* ===== AKADEMİK KADRO ===== */
.kadro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.kadro-card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px; text-align: center; transition: all 0.4s ease;
}
.kadro-card:hover { border-color: rgba(79,195,247,0.2); transform: translateY(-4px); }
.kadro-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  border: 2px solid rgba(79,195,247,0.2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #4fc3f7;
  background: linear-gradient(135deg, #1a2e44, #152338);
}
.kadro-avatar img { width: 100%; height: 100%; object-fit: cover; }
.kadro-card h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.kadro-card .kadro-title { font-size: 0.78rem; color: #4fc3f7; font-weight: 600; margin-bottom: 4px; }
.kadro-card .kadro-dept { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.kadro-card .kadro-link { display: inline-block; margin-top: 10px; font-size: 0.72rem; color: rgba(255,255,255,0.35); transition: color 0.3s; }
.kadro-card .kadro-link:hover { color: #4fc3f7; }

/* ===== AKADEMİK TAKVİM ===== */
.takvim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.takvim-col h3 { font-size: 1.2rem; color: #fff; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.takvim-item {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px;
  padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s;
}
.takvim-item:hover { border-color: rgba(79,195,247,0.12); background: rgba(255,255,255,0.04); }
.takvim-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #1976d2, #4fc3f7);
  margin-top: 5px; flex-shrink: 0; box-shadow: 0 0 10px rgba(79,195,247,0.3);
}
.takvim-item h4 { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.takvim-item p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ===== DUYURULAR ===== */
.announcements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.announce-card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden; transition: all 0.4s;
}
.announce-card:hover { border-color: rgba(79,195,247,0.2); transform: translateY(-3px); }
.announce-card img { width: 100%; height: 180px; object-fit: cover; }
.announce-body { padding: 20px; }
.announce-date { font-size: 0.72rem; color: #4fc3f7; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.announce-card h4 { font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.announce-card p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.announce-link { display: inline-block; margin-top: 12px; font-size: 0.78rem; font-weight: 600; color: #4fc3f7; }

/* ===== YURT & ULAŞIM ===== */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 36px; transition: all 0.4s;
}
.info-card:hover { border-color: rgba(79,195,247,0.15); transform: translateY(-3px); }
.info-card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.info-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.info-card p { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 16px; line-height: 1.7; }
.info-list li {
  padding: 8px 0; font-size: 0.85rem; color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 8px;
}
.info-list li::before { content: '→'; color: #4fc3f7; font-weight: 700; }

/* ===== YEMEK LİSTESİ ===== */
.yemek-card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 36px; margin-top: 24px; transition: all 0.4s;
}
.yemek-card:hover { border-color: rgba(79,195,247,0.15); }
.yemek-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.yemek-card .yemek-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 600; color: #4fc3f7; }

/* ===== SSS ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(79,195,247,0.12); }
.faq-item.active { border-color: rgba(79,195,247,0.25); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; font-size: 0.92rem; font-weight: 600;
  color: #fff; transition: all 0.3s; gap: 16px;
}
.faq-q:hover { color: #4fc3f7; }
.faq-arrow { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.3s; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #4fc3f7; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 24px; }
.faq-item.active .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.8; }

/* ===== İLETİŞİM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 14px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 12px; transition: all 0.3s;
}
.contact-item:hover { border-color: rgba(79,195,247,0.12); }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); height: 100%; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: brightness(0.8) contrast(1.1) saturate(0.8); }

/* ===== FOOTER ===== */
footer {
  padding: 48px 0 32px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center;
}
footer p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
footer a { color: rgba(255,255,255,0.45); margin: 0 8px; }
footer a:hover { color: #4fc3f7; }
.footer-links { margin-top: 12px; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 50% { border-color: transparent; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid, .dept-grid, .takvim-grid, .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .announcements-grid { grid-template-columns: 1fr 1fr; }
  .kadro-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    flex-direction: column; gap: 4px;
    background: rgba(15,25,35,0.98); backdrop-filter: blur(20px);
    padding: 80px 24px 40px; transition: right 0.4s ease;
    border-left: 1px solid rgba(79,195,247,0.08);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; padding: 14px 16px; width: 100%; }
  .burger { display: flex; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.9rem; }
  .hero-stats { gap: 8px; }
  .stat-pill { padding: 10px 16px; }
  .stat-pill .stat-num { font-size: 1.2rem; }
  .about-features { grid-template-columns: 1fr; }
  .announcements-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
