/* ============================================================
   İzmir Çerkes Kültür Derneği — Stil Dosyası
   Renk paleti: logo'dan alınmış yeşil / altın / lacivert / kırmızı
   ============================================================ */

:root {
  --green: #1b6b4a;
  --green-dark: #0f4a32;
  --gold: #d4a017;
  --gold-light: #f0c75e;
  --navy: #1d2d50;
  --red: #c0392b;
  --cream: #faf7f0;
  --ink: #22252a;
  --muted: #6b7280;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(29, 45, 80, 0.12);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(212, 160, 23, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(212, 160, 23, 0.45); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }

.btn-outline {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.8rem; }

.brand-logo {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}
.site-header.scrolled .brand-logo { width: 44px; height: 44px; }

.brand-text { display: flex; flex-direction: column; }
.brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--white);
  transition: var(--transition);
}
.brand-text small {
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gold-light);
}
.site-header.scrolled .brand-text strong { color: var(--navy); }

.main-nav { display: flex; gap: 0.4rem; }

.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  transition: var(--transition);
}
.nav-link:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); }
.nav-link.active { background: var(--gold); color: var(--navy); }

.site-header.scrolled .nav-link { color: var(--ink); }
.site-header.scrolled .nav-link:hover { background: rgba(27, 107, 74, 0.1); }
.site-header.scrolled .nav-link.active { background: var(--green); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(ellipse at 20% 20%, rgba(212, 160, 23, 0.25), transparent 55%),
    linear-gradient(160deg, var(--green-dark) 0%, var(--green) 45%, var(--navy) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 74, 50, 0.88), rgba(29, 45, 80, 0.9)),
    url("assets/izmir-logo.jpg") center / min(640px, 95vw) no-repeat;
  opacity: 0.34;
}

.hero-bg {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background:
    linear-gradient(180deg, transparent, rgba(10, 17, 31, 0.42)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0 1px, transparent 1px 18px);
  mask-image: linear-gradient(transparent, #000 36%);
}

.hero-inner { position: relative; z-index: 2; padding: 7rem 0 5rem; }

.hero-kicker {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-logo {
  width: 168px; height: 168px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.6rem;
  border: 6px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-panel {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 3.2rem auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-panel div {
  padding: 1rem;
  background: rgba(7, 14, 26, 0.26);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--white);
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
}

.scroll-down {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- Genel Bölüm ---------- */
.section { padding: 6rem 0; }

.section-tint { background: linear-gradient(180deg, #f3eee2, var(--cream)); }

.section-news { background: var(--white); }

.section-dark {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212, 160, 23, 0.12), transparent 50%),
    linear-gradient(160deg, var(--navy), #16223d);
  color: var(--white);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }

.section-tag {
  display: inline-block;
  padding: 0.3rem 1.1rem;
  border-radius: 50px;
  background: rgba(27, 107, 74, 0.1);
  color: var(--green);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-dark .section-tag {
  background: rgba(212, 160, 23, 0.15);
  color: var(--gold-light);
}

.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; }

.section-desc { color: var(--muted); margin-top: 0.8rem; }
.section-dark .section-desc { color: rgba(255, 255, 255, 0.7); }

/* ---------- Hakkımızda ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text p { margin-bottom: 1.1rem; color: #3d434c; }
.about-text strong { color: var(--green-dark); }

.about-list { list-style: none; margin-top: 0.5rem; }
.about-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.9rem;
  font-weight: 600;
  color: var(--navy);
}
.about-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
  text-align: center;
  border-top: 5px solid var(--green);
}
.about-card img {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.6rem;
  border: 5px solid var(--cream);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-stats {
  display: flex;
  justify-content: space-around;
  gap: 0.6rem;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--green);
}
.stat-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

/* ---------- Tarihçe / Zaman Çizelgesi ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }

.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 19px;
  width: 3px;
  background: linear-gradient(var(--gold), rgba(212, 160, 23, 0.15));
}

.timeline-item { position: relative; padding: 0 0 2.6rem 70px; }

.timeline-dot {
  position: absolute;
  left: 8px; top: 6px;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--gold);
  border: 5px solid var(--navy);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.25);
}

.timeline-year {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.timeline-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.timeline-content p { color: rgba(255, 255, 255, 0.75); font-size: 0.97rem; }

/* ---------- Faaliyet Kartları ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--gold);
  box-shadow: 0 18px 40px rgba(29, 45, 80, 0.16);
}

.card-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--gold-light);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; color: var(--navy); }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Galeri ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.gallery-art {
  height: 210px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.gallery-art::after {
  content: "Instagram'da görüntüle →";
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: var(--transition);
}
.gallery-item:hover .gallery-art::after { transform: translateY(0); }
.gallery-item:hover .gallery-art { transform: scale(1.02); }

.art-1 { background: linear-gradient(135deg, #1d2d50, #3a5a9c); }
.art-2 { background: linear-gradient(135deg, #1b6b4a, #2ea36f); }
.art-3 { background: linear-gradient(135deg, #8a5a13, #d4a017); }
.art-4 { background: linear-gradient(135deg, #6b1f2a, #c0392b); }
.art-5 { background: linear-gradient(135deg, #0f4a32, #1b6b4a); }
.art-6 { background: linear-gradient(135deg, #2c3e6b, #4a6bb5); }

.gallery-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- Duyurular ---------- */
.news-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.5rem;
  align-items: stretch;
}

.news-feature,
.news-list article {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-feature {
  min-height: 100%;
  padding: 2.2rem;
  color: var(--white);
  background:
    linear-gradient(rgba(15, 74, 50, 0.88), rgba(29, 45, 80, 0.92)),
    url("assets/izmir-logo.jpg") center / 68% no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.news-feature span,
.news-list time {
  font-weight: 800;
  color: var(--gold-light);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.news-feature h3 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  margin: 0.55rem 0 0.8rem;
}

.news-feature p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 1.2rem;
}

.news-feature a {
  width: fit-content;
  color: var(--navy);
  background: var(--gold-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-list article {
  background: var(--cream);
  border-left: 5px solid var(--green);
  padding: 1.35rem 1.45rem;
}

.news-list h3 {
  color: var(--navy);
  margin: 0.1rem 0 0.35rem;
  font-size: 1.1rem;
}

.news-list p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Sosyal Medya ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.social-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.social-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  border-color: var(--gold);
}

.social-icon { width: 40px; height: 40px; color: var(--gold-light); margin-bottom: 0.5rem; }
.social-card strong { font-size: 1.05rem; }
.social-card span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); word-break: break-all; }

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.4rem;
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(27, 107, 74, 0.1);
  border-radius: var(--radius);
}
.contact-item h4 { color: var(--green-dark); margin-bottom: 0.15rem; }
.contact-item p { color: var(--muted); font-size: 0.95rem; }
.contact-item a { color: var(--green); font-weight: 700; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.3rem;
  border-top: 5px solid var(--gold);
}

.form-row { margin-bottom: 1.15rem; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e3e0d6;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  transition: var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 107, 74, 0.12);
}

.form-note { margin-top: 0.9rem; font-weight: 600; font-size: 0.9rem; text-align: center; }
.form-note.ok { color: var(--green); }
.form-note.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, #101b33, var(--navy));
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
  align-items: start;
}

.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}
.footer-brand strong {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.1rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 0.3rem; color: rgba(255, 255, 255, 0.6); }

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  width: fit-content;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }

.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 800;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-4px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Yukarı Çık ---------- */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--navy); }

/* ---------- Animasyon ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Duyarlılık ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .news-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 82vw);
    height: 100vh;
    flex-direction: column;
    background: var(--navy);
    padding: 5.5rem 1.6rem 2rem;
    gap: 0.6rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    transition: right 0.35s ease;
    z-index: 99;
  }
  .main-nav.open { right: 0; }
  .nav-link { color: var(--white) !important; font-size: 1.05rem; padding: 0.7rem 1rem; }
  .nav-link.active { background: var(--gold); color: var(--navy) !important; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--gold); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--gold); }
  .site-header.scrolled .nav-toggle.open span { background: var(--gold); }

  body.nav-locked { overflow: hidden; }

  .section { padding: 4rem 0; }
  .cards, .gallery-grid, .social-grid { grid-template-columns: 1fr; }
  .hero-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-logo { width: 150px; height: 150px; }
  .timeline-item { padding-left: 58px; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-text small { font-size: 0.64rem; }
  .contact-form { padding: 1.35rem; }
  .about-stats { flex-direction: column; }
}
