/* =========================================================
   Prof. Dr. Ahmet Cahid Haksever — Kişisel Web Sitesi
   Tema: Akademik / İslami Sanat İlhamlı
   ========================================================= */

:root {
  --green-dark:   #1a4d2e;
  --green-mid:    #2d6a4f;
  --green-light:  #40916c;
  --gold:         #c8a84b;
  --gold-light:   #e6c97a;
  --cream:        #faf7f0;
  --cream-dark:   #f0ead8;
  --text-dark:    #1e1e1e;
  --text-mid:     #3d3d3d;
  --text-light:   #6b6b6b;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.15);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    24px;
  --transition:   .3s ease;
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-title span { color: var(--gold); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
}

/* ── Decorative Divider ───────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.5rem 0;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.divider::after { background: linear-gradient(to left, transparent, var(--gold)); }

.divider-icon {
  width: 28px;
  height: 28px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* ── Islamic Pattern Decoration ──────────────────────── */
.pattern-bg {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30Z' fill='none' stroke='%23c8a84b' stroke-width='1'/%3E%3Cpath d='M30 10 L50 30 L30 50 L10 30Z' fill='none' stroke='%23c8a84b' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='8' fill='none' stroke='%23c8a84b' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Navbar ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

#navbar.scrolled {
  background: rgba(26, 77, 46, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  padding: .6rem 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-brand-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
}

.nav-brand-text { color: var(--white); }
.nav-brand-name { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; line-height: 1.2; }
.nav-brand-title { font-size: .7rem; opacity: .8; letter-spacing: .05em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  padding: .5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Hero Section ────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #1a5c3a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-ornament {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
}
.hero-ornament-1 {
  width: 600px; height: 600px;
  border: 1px solid var(--gold);
  top: -150px; right: -150px;
}
.hero-ornament-2 {
  width: 400px; height: 400px;
  border: 1px solid var(--gold);
  top: -50px; right: -50px;
}
.hero-ornament-3 {
  width: 800px; height: 800px;
  border: 1px solid var(--gold);
  bottom: -300px; left: -200px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200, 168, 75, .15);
  border: 1px solid rgba(200, 168, 75, .4);
  color: var(--gold-light);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .75rem;
}

.hero-name span,
.hero-name-accent { color: var(--gold); }

.hero-title {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-university {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 2rem;
}

.hero-university-icon {
  width: 20px; height: 20px;
  fill: var(--gold);
}

.hero-university span {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  margin-top: .2rem;
  letter-spacing: .03em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--green-dark);
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(200,168,75,.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,168,75,.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  padding: .8rem 2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.4);
  font-weight: 500;
  font-size: .95rem;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; }

/* Hero Avatar */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}

.hero-avatar-ring-outer {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(200,168,75,.2);
  border-radius: 50%;
  animation: rotateRing 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.hero-avatar-ring-inner {
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(200,168,75,.35);
  border-radius: 50%;
  animation: rotateRing 12s linear infinite reverse;
  z-index: 1;
  pointer-events: none;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-mid), #0d3320);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.hero-avatar-initials {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .9;
  user-select: none;
}

.hero-avatar-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: .65rem;
  font-weight: 700;
  padding: .3rem .6rem;
  border-radius: 50px;
  letter-spacing: .05em;
}

/* ── Section Wrapper ──────────────────────────────────── */
section { padding: 5rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── About Section ────────────────────────────────────── */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-text p:last-child { margin-bottom: 0; }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}

.highlight-item:hover {
  background: var(--cream-dark);
  transform: translateX(4px);
}

.highlight-icon {
  width: 40px; height: 40px;
  background: var(--green-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg { width: 20px; height: 20px; fill: var(--gold); }

.highlight-label { font-size: .8rem; color: var(--text-light); }
.highlight-value { font-size: .95rem; font-weight: 600; color: var(--text-dark); }

/* About Info Cards */
.about-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(200,168,75,.2);
  transition: var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,168,75,.4);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.info-card-icon {
  width: 44px; height: 44px;
  background: var(--green-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-icon svg { width: 22px; height: 22px; fill: var(--gold); }

.info-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--green-dark);
}

.info-card-body { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }
.info-card-body strong { color: var(--text-dark); }

/* ── Timeline / Career ────────────────────────────────── */
#career {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--green-light), var(--gold));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s, transform .5s;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -3rem;
  top: .3rem;
  width: 26px; height: 26px;
  background: var(--green-dark);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-inner {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,168,75,.15);
  transition: var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,168,75,.35);
}

.timeline-period {
  display: inline-block;
  background: var(--green-dark);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .75rem;
  border-radius: 50px;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}

.timeline-role {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: .25rem;
}

.timeline-place {
  font-size: .9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.timeline-place-icon { width: 14px; height: 14px; fill: var(--gold); }

.timeline-desc {
  margin-top: .75rem;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Expertise Section ────────────────────────────────── */
#expertise {
  background: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.expertise-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(200,168,75,.15);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}

.expertise-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,168,75,.3);
  transform: translateY(-4px);
}

.expertise-card:hover::before { transform: scaleY(1); }

.expertise-icon {
  width: 56px; height: 56px;
  background: var(--green-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.expertise-icon svg { width: 28px; height: 28px; fill: var(--gold); }

.expertise-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: .5rem;
}

.expertise-desc { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

/* ── Publications ─────────────────────────────────────── */
#publications {
  background: var(--cream);
}

.pub-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 2.5rem;
  background: var(--cream-dark);
  padding: .4rem;
  border-radius: 50px;
  width: fit-content;
}

.pub-tab {
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  border: none;
  font-family: var(--font-sans);
}

.pub-tab.active {
  background: var(--green-dark);
  color: var(--white);
}

.pub-tab:hover:not(.active) {
  background: rgba(26,77,46,.1);
  color: var(--green-dark);
}

.pub-list { display: none; }
.pub-list.active { display: flex; flex-direction: column; gap: 1rem; }

.pub-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  border: 1px solid rgba(200,168,75,.15);
  transition: var(--transition);
  align-items: flex-start;
}

.pub-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,168,75,.3);
}

.pub-num {
  min-width: 36px; height: 36px;
  background: var(--green-dark);
  color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pub-content { flex: 1; }

.pub-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: .35rem;
  line-height: 1.4;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  font-size: .8rem;
  color: var(--text-light);
}

.pub-meta-item {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.pub-meta-item svg { width: 13px; height: 13px; fill: var(--gold); }

.pub-badge {
  display: inline-block;
  background: rgba(200,168,75,.15);
  color: var(--gold);
  border: 1px solid rgba(200,168,75,.3);
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 50px;
  letter-spacing: .04em;
  margin-left: auto;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ── Projects ─────────────────────────────────────────── */
#projects {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(200,168,75,.15);
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200,168,75,.35);
  transform: translateY(-4px);
}

.project-year {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--green-dark);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.project-desc { font-size: .85rem; color: var(--text-light); line-height: 1.6; }

/* ── Courses ──────────────────────────────────────────── */
#courses {
  background: linear-gradient(135deg, var(--green-dark), #0d3320);
  position: relative;
  overflow: hidden;
}

#courses .section-label { color: var(--gold-light); }
#courses .section-title { color: var(--white); }
#courses .section-desc { color: rgba(255,255,255,.7); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.course-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(200,168,75,.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.course-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(200,168,75,.45);
  transform: translateY(-4px);
}

.course-level {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.course-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.course-semester {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* ── Contact ──────────────────────────────────────────── */
#contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,168,75,.15);
  transition: var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(200,168,75,.35);
}

.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--green-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 22px; height: 22px; fill: var(--gold); }

.contact-item-label { font-size: .8rem; color: var(--text-light); margin-bottom: .15rem; }
.contact-item-value { font-size: .95rem; font-weight: 500; color: var(--text-dark); }
.contact-item-value a { transition: color var(--transition); }
.contact-item-value a:hover { color: var(--green-mid); }

.contact-links { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.contact-link-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.5rem;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 500;
  transition: var(--transition);
}

.contact-link-btn:hover {
  background: var(--green-mid);
  transform: translateX(4px);
}

.contact-link-btn svg { width: 20px; height: 20px; fill: var(--gold); flex-shrink: 0; }
.contact-link-btn-arrow { margin-left: auto; opacity: .6; }
.contact-link-btn-arrow svg { fill: var(--white) !important; width: 16px; height: 16px; }

/* Quote Block */
.quote-block {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.quote-ornament {
  position: absolute;
  top: -20px; right: -20px;
  font-family: var(--font-serif);
  font-size: 12rem;
  color: rgba(200,168,75,.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.quote-source {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.quote-source-line {
  width: 32px; height: 2px;
  background: var(--gold);
}

.quote-source-name {
  font-size: .85rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: #0d1f16;
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.5rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.footer-brand-desc {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}

.footer-social { display: flex; gap: .75rem; }

.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover { background: var(--gold); border-color: var(--gold); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,.7); }
.social-link:hover svg { fill: var(--green-dark); }

.footer-col-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ── Back to Top ──────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--green-dark);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--gold); transform: translateY(-3px); }
#back-to-top svg { width: 20px; height: 20px; fill: var(--gold); }
#back-to-top:hover svg { fill: var(--green-dark); }

/* ── Scroll Animations ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ── Mobile Navigation ────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
    z-index: 999;
  }

  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 1000; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; padding-top: 6rem; }
  .hero-visual { order: -1; }
  .hero-avatar-wrap { width: 200px; height: 200px; }
  .hero-avatar-img { object-position: center 12%; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-university { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }

  .pub-tabs { flex-wrap: wrap; border-radius: var(--radius-md); }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.25rem; }
  .hero-stat-num { font-size: 1.4rem; }
  .pub-item { flex-direction: column; }
  .pub-badge { align-self: flex-start; margin-left: 0; }
}
