/* ============================================
   Şirvan'ın Yeri — Ana Stil Dosyası
   Tema: OLED siyah (#060606) + yeşil accent (#8CB832)
   ============================================ */

:root {
  --bg: #060606;
  --bg-soft: #0d0d0d;
  --accent: #8CB832;
  --accent-dark: #6e9226;
  --accent-glow: rgba(140, 184, 50, 0.35);
  --text: #f2f2f0;
  --text-muted: #9a9a94;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Grain overlay ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.02rem;
}

/* Shimmer text */
.shimmer-text {
  background: linear-gradient(110deg, var(--text) 35%, var(--accent) 50%, var(--text) 65%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 250% 0; }
  100% { background-position: -250% 0; }
}

.accent { color: var(--accent); }

/* ---------- Layout helpers ---------- */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}
section { padding: 90px 0; position: relative; }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
}
.nav-brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-glow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #0a0a0a !important;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* Hamburger */
#hamburger-btn {
  display: none;
  background: none;
  border: none;
  width: 42px; height: 42px;
  position: relative;
  z-index: 1101;
}
#hamburger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 6px auto;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
#hamburger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger-btn.open span:nth-child(2) { opacity: 0; }
#hamburger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 6, 0.96);
  backdrop-filter: blur(20px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#mobile-menu.open { opacity: 1; pointer-events: auto; }
#mobile-menu a {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s;
}
#mobile-menu a:hover, #mobile-menu a.active { color: var(--accent); }
#mobile-menu-close {
  position: absolute;
  top: 22px; right: 26px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
  will-change: transform;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover {
  box-shadow: 0 10px 40px var(--accent-glow);
}
.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
#hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) saturate(1.1);
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.14); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,6,0.55) 0%, rgba(6,6,6,0.25) 45%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  filter: blur(70px);
  right: -180px;
  bottom: -180px;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Marquee ---------- */
#marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg-soft);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 30s linear infinite;
}
#marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.marquee-item i { color: var(--accent); font-size: 0.8rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards / glass ---------- */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s;
}
.glass-card:hover { border-color: rgba(140, 184, 50, 0.4); }

/* Spotlight card (mouse takipli ışık) */
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(140,184,50,0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.spotlight-card:hover::before { opacity: 1; }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(140, 184, 50, 0.12);
  border: 1px solid rgba(140, 184, 50, 0.25);
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.glass-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.glass-card p { color: var(--text-muted); font-size: 0.96rem; }

/* Grid helpers */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ---------- Tilt card (3D) ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

/* ---------- Gallery collage ---------- */
#gallery-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.collage-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.collage-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s;
  filter: saturate(0.95);
}
.collage-item:hover img { transform: scale(1.07); filter: saturate(1.15); }
.collage-item .collage-label {
  position: absolute;
  left: 14px; bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6,6,6,0.65);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
}
.collage-item.span-2c { grid-column: span 2; }
.collage-item.span-2r { grid-row: span 2; }

/* ---------- Stats ---------- */
#stats-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-value {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}
.stat-label { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Newsletter ---------- */
#newsletter-section .glass-card { padding: 56px 48px; text-align: center; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 30px auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.4);
  color: var(--text);
  font-size: 0.96rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s;
}
.newsletter-form input:focus { border-color: var(--accent); }

/* ---------- Category / product cards ---------- */
.category-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.category-card .cat-img {
  height: 230px;
  overflow: hidden;
}
.category-card .cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover .cat-img img { transform: scale(1.08); }
.category-card .cat-body { padding: 26px 26px 30px; }
.cat-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Bento kolaj */
#bento-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

/* ---------- Page hero (alt sayfalar) ---------- */
.page-hero {
  padding: 180px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-glow { top: -260px; left: -180px; right: auto; bottom: auto; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 640px; font-size: 1.08rem; }

/* ---------- İmage frame with glow ---------- */
.glow-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.glow-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-glow), transparent 40%, transparent 60%, var(--accent-glow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glow-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  filter: grayscale(0.9) invert(0.92) contrast(0.9);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(140,184,50,0.4); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
}
.faq-question i { color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .card-icon { margin-bottom: 0; width: 48px; height: 48px; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--text-muted); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--accent); }

.form-feedback {
  display: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 500;
}
.form-feedback.success {
  display: block;
  background: rgba(140,184,50,0.12);
  border: 1px solid rgba(140,184,50,0.4);
  color: var(--accent);
}
.form-feedback.error {
  display: block;
  background: rgba(220,80,80,0.12);
  border: 1px solid rgba(220,80,80,0.4);
  color: #e08080;
}

/* ---------- Footer ---------- */
#site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 50px;
}
.footer-brand img { width: 62px; height: 62px; border-radius: 50%; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 280px; }
#site-footer h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 18px;
}
#site-footer li { margin-bottom: 10px; }
#site-footer li a, #site-footer li span {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: color 0.25s;
}
#site-footer li a:hover { color: var(--accent); }
#site-footer li i { color: var(--accent); width: 20px; margin-right: 8px; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* SplitText harf animasyonu */
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(4deg);
  animation: charIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes charIn {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #gallery-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  #bento-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .container { width: 90%; }
  .nav-links { display: none; }
  #hamburger-btn { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  #newsletter-section .glass-card { padding: 40px 24px; }
  .collage-item.span-2c { grid-column: span 2; }

  /* Hero mobil */
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* İstatistikler */
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .stat-item { padding: 24px 16px; }

  /* Galeri */
  #gallery-collage { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  #bento-collage { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .collage-item.span-2c,
  .collage-item.span-2r { grid-column: span 1; grid-row: span 1; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  /* Section başlıkları */
  .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .section-sub { font-size: 0.92rem; }

  /* Form */
  .contact-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
  .btn { padding: 13px 24px; font-size: 0.9rem; }
  .section-title { font-size: 1.4rem; }
  #newsletter-section .glass-card { padding: 28px 16px; }
}
