@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
  --gold-light: #f0d060;
  --gold-mid: #c8922a;
  --gold-bright: #e8b84b;
  --gold-dark: #7a4a10;
  --gold-base: #c89030;
  --text-color: #c8b89a;
  --bg-dark: #0a0805;
  --accent: #ed8a09;
  --border-color: rgba(200, 146, 42, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(ellipse at center, transparent 40%, #000 100%),
    linear-gradient(160deg, #0a0805 0%, #1a1008 30%, #0d0d0a 55%, #050505 80%, #0a0603 100%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5,3,2,0.95) 0%, rgba(5,3,2,0.6) 100%);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(4px);
}

header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

nav {
  flex: 1;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 9.5rem;
  padding: 1.2rem 0;
  justify-content: center;
}

nav ul li a {
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-color);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;

}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: width 0.4s ease;
}

nav ul li a:hover {
  color: var(--gold-bright);
}

nav ul li a:hover::after {
  width: 100%;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 2rem 4rem;
  text-align: center;
}

/* ─── H1 BAŞLIK (Elden Ring gradient) ─── */
h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    #f0d060 0%,
    #c8922a 25%,
    #e8b84b 50%,
    #7a4a10 75%,
    #c89030 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

/* ─── SPAN ITEMS (sıralı metin) ─── */
.spans {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1.5rem 0 2rem;
}

.span-item {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

/* ─── FOTO & AÇIKLAMA ─── */
.foto-aciklama {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 700px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(26,16,8,0.8) 0%, rgba(10,8,5,0.9) 100%);
  position: relative;
}

.foto-aciklama::before,
.foto-aciklama::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold-mid);
  border-style: solid;
}

.foto-aciklama::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.foto-aciklama::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--gold-mid);
  object-fit: cover;
  filter: sepia(20%) contrast(1.1);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(200, 146, 42, 0.2);
}

p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.8;
  letter-spacing: 0.03em;
  text-align: left;
}

/* ─── SOCIAL LINKS ─── */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background: rgba(10,8,5,0.5);
  position: relative;
}

.social-links a:hover {
  border-color: var(--gold-mid);
  color: var(--gold-bright);
  background: rgba(200, 146, 42, 0.08);
  box-shadow: 0 0 18px rgba(200, 146, 42, 0.4), inset 0 0 12px rgba(200, 146, 42, 0.06);
}

.social-icon {
  font-size: 1.4rem;
  color: var(--text-color);
  opacity: 0.7;
  transition: color 0.3s ease, opacity 0.3s ease, filter 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover .social-icon {
  color: var(--gold-bright);
  opacity: 1;
  text-shadow: 0 0 14px rgba(200, 146, 42, 0.8);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0a0805;
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
}

/* ─── SEÇİM ─── */
::selection {
  background: rgba(200, 146, 42, 0.3);
  color: var(--gold-light);
}

.spans {
  position: relative;
  height: 2rem;
  
}

.span-item {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 25px;
}

/* ─── FOOTER ─── */
footer {
  margin-top: auto;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  background: linear-gradient(0deg, rgba(5,3,2,0.98) 0%, transparent 100%);
}

footer::before {
  content: '⸻ ✦ ⸻';
  display: block;
  color: var(--gold-mid);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  margin-bottom: 1.2rem;
}

footer p {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-color);
  opacity: 0.5;
  text-align: center;
}

/* ─── SAYFA GEÇİŞ OVERLAY ─── */
#page-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.65s ease;
}

/* ─── MÜZİK BUTONU ─── */
.music-toggle {
  position: fixed;
  top: 0.85rem;
  right: 1.8rem;
  z-index: 150;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.music-toggle:hover {
  border-color: var(--gold-mid);
  color: var(--gold-bright);
  opacity: 1;
  box-shadow: 0 0 12px rgba(200, 146, 42, 0.3);
}

.music-toggle.playing {
  color: var(--gold-bright);
  border-color: rgba(200, 146, 42, 0.4);
  opacity: 0.85;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 300;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-color);
  transition: all 0.35s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--gold-bright);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--gold-bright);
}

/* ─── RESPONSİVE — BÜYÜK TABLET (max 1100px) ─── */
@media (max-width: 1100px) {
  nav ul {
    gap: 4rem;
  }
}

/* ─── RESPONSİVE — TABLET (max 900px) ─── */
@media (max-width: 900px) {
  nav ul {
    gap: 2.2rem;
  }
  nav ul li a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
  .foto-aciklama {
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 100%;
  }
}

/* ─── RESPONSİVE — MOBİL (max 768px) ─── */
@media (max-width: 768px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
  }

  .music-toggle {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    order: -1;
  }

  .hamburger {
    display: flex;
  }

  /* Dropdown — navbar'ın hemen altından aşağı açılır */
  nav {
    flex: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
    background: linear-gradient(180deg, rgba(6,4,2,0.99) 0%, rgba(10,8,5,0.97) 100%);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
  }

  nav.nav-open {
    max-height: 380px;
    border-bottom-color: var(--border-color);
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 0 1rem;
    justify-content: flex-start;
    /* sıfırla — fullscreen'e geri dönmesin */
    position: static;
    background: none;
    backdrop-filter: none;
    transform: none;
    transition: none;
    inset: auto;
    z-index: auto;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    border-bottom: 1px solid rgba(200, 146, 42, 0.07);
    transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
    position: relative;
  }

  nav ul li:last-child a {
    border-bottom: none;
  }

  nav ul li a:hover {
    color: var(--gold-bright);
    background: rgba(200, 146, 42, 0.05);
    padding-left: 2.8rem;
  }

  nav ul li a::before {
    content: '◈';
    font-size: 0.45rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.25s ease;
    position: absolute;
    left: 1.4rem;
  }

  nav ul li a:hover::before {
    opacity: 0.7;
  }

  nav ul li a::after {
    display: none;
  }

  .container {
    padding: 100px 1.5rem 3rem;
  }

  .foto-aciklama {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .foto-aciklama p {
    text-align: center;
  }

  .span-item {
    font-size: 18px;
  }
}

/* ─── RESPONSİVE — KÜÇÜK MOBİL (max 480px) ─── */
@media (max-width: 480px) {
  .container {
    padding: 90px 1rem 2rem;
  }

  .foto-aciklama {
    padding: 1.2rem;
    margin: 2rem auto;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
  }

  .social-links {
    gap: 0.8rem;
    flex-wrap: wrap;
  }

  .social-links a {
    padding: 0.5rem 1rem;
  }

  .span-item {
    font-size: 15px;
  }

  footer p {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  footer::before {
    letter-spacing: 0.15em;
    font-size: 0.75rem;
  }
}

/* ─── 4K / BÜYÜK EKRAN (min 1921px) ─── */
@media (min-width: 1921px) {
  html {
    font-size: 0.833vw;
  }

  header {
    max-width: min(1800px, 85vw);
  }

  .container {
    max-width: min(1400px, 75vw);
  }

  .foto-aciklama {
    max-width: min(1100px, 60vw);
  }
}