/* ══════════════════════════════════════
   Huzur — Web Sitesi Stilleri
   Tema: Deep Teal & Soft Gold
   ══════════════════════════════════════ */

/* ── Değişkenler ── */
:root {
  --primary:        #1b6b4a;
  --primary-mid:    #2e8b6a;
  --primary-dark:   #0d4f35;
  --primary-pale:   rgba(27, 107, 74, 0.10);
  --gold:           #d4a843;
  --gold-dark:      #b8922e;
  --gold-pale:      rgba(212, 168, 67, 0.15);
  --text:           #1e2d28;
  --text-muted:     #5a6e64;
  --text-faint:     #9ab0a4;
  --surface:        rgba(255, 255, 255, 0.70);
  --surface-solid:  #ffffff;
  --glass-border:   rgba(255, 255, 255, 0.45);
  --shadow-sm:      0 4px 14px rgba(27, 107, 74, 0.10);
  --shadow-md:      0 12px 36px rgba(27, 107, 74, 0.14);
  --shadow-lg:      0 24px 60px rgba(27, 107, 74, 0.18);
  --radius-sm:      10px;
  --radius:         16px;
  --radius-lg:      24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #f5f1ea;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Arka Plan Doku ── */
.mesh-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(circle, rgba(27,107,74,.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* ── Arka Plan Orb'lar ── */
.orb {
  position: fixed; border-radius: 50%; z-index: -1; pointer-events: none;
  filter: blur(60px);
}
.orb-tl  { width:520px; height:520px; background: radial-gradient(circle, #2e8b6a16, transparent 70%); top:-180px; left:-220px; }
.orb-br  { width:620px; height:620px; background: radial-gradient(circle, #e8c96a0d, transparent 70%); bottom:-220px; right:-220px; }
.orb-mid { display: none; }

/* ── Container ── */
.container { width: min(1140px, calc(100% - 2.4rem)); margin: 0 auto; }

/* ── Glassmorphism ── */
.glass {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════
   NAVBAR
═══════════════════ */
.navbar {
  position: sticky; top: 10px; z-index: 100;
  border-radius: var(--radius);
  width: min(1140px, calc(100% - 2.4rem));
  margin: 10px auto 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.4rem;
  gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--primary-dark);
  font-family: Poppins, Inter, sans-serif;
  font-weight: 900; font-size: 1.1rem;
}
.brand-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(27,107,74,0.30);
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 0.2rem; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-weight: 600; font-size: 0.92rem;
  padding: 0.45rem 0.8rem; border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--primary-pale); color: var(--primary); }
.btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.88rem;
  padding: 0.55rem 1.1rem; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(27,107,74,0.28);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(27,107,74,0.35); }

/* ═══════════════════
   HERO
═══════════════════ */
.hero { padding: 5rem 0 3.5rem; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--primary); font-weight: 600; font-size: 0.9rem;
  padding: 0; background: none; border: none; letter-spacing: .2px;
}
.hero-badge::before {
  content: ''; display: inline-block; width: 32px; height: 2px;
  border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--gold), var(--primary));
}
.hero-title {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 1.12;
  margin: 1rem 0 1.1rem; color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 10%, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  max-width: 520px; color: var(--text-muted);
  line-height: 1.75; font-size: 1.025rem;
}
.hero-cta-row { display: flex; gap: 0.9rem; margin-top: 1.8rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border-radius: 12px; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(27,107,74,0.30);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(27,107,74,0.36); }
.btn-outline {
  display: inline-flex; align-items: center;
  border: 2px solid rgba(27,107,74,0.30); color: var(--primary-dark);
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  padding: 0.82rem 1.5rem; border-radius: 12px;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: var(--primary-pale); border-color: var(--primary); }

/* ── Phone Mock ── */
.hero-visual { position: relative; }
.phone-mock {
  width: 260px; border-radius: 32px;
  background: linear-gradient(165deg, #0d4f35 0%, #1b6b4a 55%, #2e8b6a 100%);
  padding: 4px; box-shadow: 0 32px 72px rgba(13,79,53,0.42), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative; z-index: 1;
}
.phone-screen {
  background: #0a3d28; border-radius: 28px;
  padding: 1.2rem; overflow: hidden;
}
.mock-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.mock-greeting { color: rgba(255,255,255,0.75); font-size: 0.78rem; }
.mock-city { color: var(--gold); font-weight: 700; font-size: 0.82rem; }
.mock-next {
  background: linear-gradient(135deg, rgba(212,168,67,0.18), rgba(212,168,67,0.07));
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 14px; padding: 0.85rem 1rem; margin-bottom: 1rem; text-align: center;
}
.mock-next-label { display: block; color: rgba(255,255,255,0.55); font-size: 0.72rem; margin-bottom: 0.2rem; }
.mock-next-name  { display: block; color: var(--gold); font-weight: 800; font-size: 1rem; }
.mock-next-time  { display: block; color: #fff; font-weight: 900; font-size: 1.9rem; letter-spacing: -1px; line-height: 1.1; }
.mock-progress-bar {
  height: 4px; background: rgba(255,255,255,0.12); border-radius: 99px;
  margin-top: 0.6rem; overflow: hidden;
}
.mock-progress-fill {
  height: 100%; width: 62%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), #f0c050);
}
.mock-times { display: grid; gap: 0.35rem; }
.mock-t {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.4rem 0.6rem; border-radius: 8px;
  color: rgba(255,255,255,0.65); font-size: 0.78rem;
}
.mock-t b { color: rgba(255,255,255,0.85); font-weight: 700; }
.mock-t.active-t {
  background: rgba(212,168,67,0.20); color: var(--gold);
  border: 1px solid rgba(212,168,67,0.30);
}
.mock-t.active-t b { color: var(--gold); }
.hero-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,0.22), transparent 65%);
  bottom: -80px; right: -80px; z-index: 0;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(-12px) rotate(0.6deg); }
  70%       { transform: translateY(-7px)  rotate(-0.4deg); }
}
.phone-mock { animation: float 5.5s ease-in-out infinite; }

/* ═══════════════════
   STATS BAR
═══════════════════ */
.stats-bar {
  margin: 2rem 0 0;
  background: var(--primary-dark);
  padding: 1.8rem 0;
  position: relative;
}
.stats-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,168,67,0.45) 50%, transparent 100%);
}
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat-item {
  text-align: center; padding: 0.5rem 2.8rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
}
.stat-num {
  font-family: Poppins, Inter, sans-serif;
  font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.72); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.18); flex-shrink: 0; }

/* ═══════════════════
   GENEL SECTION
═══════════════════ */
.section { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-pill {
  display: inline-block;
  background: color-mix(in srgb, var(--gold) 10%, white);
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  color: color-mix(in srgb, var(--primary-dark) 80%, var(--gold-dark));
  font-weight: 700; font-size: 0.78rem; letter-spacing: .6px; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 6px; margin-bottom: 0.85rem;
}
.section-head h2 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.2;
  margin-bottom: 0.7rem;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ═══════════════════
   FEATURES
═══════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.feat-card {
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  background: var(--surface-solid) !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  transition: transform .25s, box-shadow .25s;
  cursor: default; position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0; transition: opacity .3s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.10) !important; }
.feat-card:hover::before { opacity: 1; }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ic) 14%, white);
  border: 1px solid color-mix(in srgb, var(--ic) 22%, white);
  margin-bottom: 1rem;
}
.feat-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text); }
.feat-card p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin: 0; }

/* ═══════════════════
   ABOUT
═══════════════════ */
.about-section { background: #ede9e1; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: start;
}
.about-text .section-pill { margin-bottom: 0.85rem; }
.about-text h2 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.2;
  margin-bottom: 1.2rem;
}
.about-desc { color: var(--text-muted); line-height: 1.78; margin-bottom: 1.6rem; }
.about-list { list-style: none; display: grid; gap: 0.7rem; }
.about-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--text-muted); font-size: 0.95rem;
}
.about-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff; font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(27,107,74,0.28); margin-top: 1px;
}
.about-cards { display: grid; gap: 1rem; }
.about-card {
  border-radius: var(--radius); padding: 1.5rem;
  background: var(--surface-solid) !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.about-card-icon { font-size: 1.6rem; }
.about-card h4 { font-weight: 800; font-size: 0.95rem; color: var(--primary-dark); }
.about-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* ═══════════════════
   PRAYER TIMES
═══════════════════ */
.prayer-panel { border-radius: var(--radius-lg); padding: 2rem; background: var(--surface-solid) !important; border: 1px solid rgba(0,0,0,0.08) !important; box-shadow: 0 4px 28px rgba(0,0,0,0.07) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.filter-row {
  display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 0.9rem; align-items: end;
}
.field-wrap { display: grid; gap: 0.35rem; }
.field-label { font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); }
select {
  width: 100%; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0,0,0,0.13);
  padding: 0.76rem 2.4rem 0.76rem 0.9rem;
  background: var(--surface-solid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%235a6e64' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  color: var(--text); font-size: 0.92rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; cursor: pointer;
}
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,107,74,0.10);
}
select:disabled { opacity: 0.5; cursor: not-allowed; }
.status-line {
  min-height: 22px; margin: 1rem 0 0; font-size: 0.88rem;
  font-weight: 600; color: var(--text-muted);
}

.result-wrap {
  margin-top: 1.5rem; border-radius: var(--radius);
  background: #fafaf8;
  border: 1px solid rgba(0,0,0,0.07); padding: 1.4rem;
}
.hidden { display: none !important; }
.result-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem;
}
.result-location { display: flex; align-items: center; gap: 0.8rem; }
.result-loc-icon { font-size: 1.4rem; }
.result-location h3 { font-size: 1.05rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 0.15rem; }
.result-location p  { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.result-badge {
  background: var(--primary-pale); color: var(--primary-dark);
  border: 1px solid rgba(27,107,74,0.22);
  font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px;
}

.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.time-item {
  border-radius: 16px; padding: 0;
  background: var(--surface-solid);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  overflow: hidden; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.time-item::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--item-color, var(--gold));
  border-radius: 16px 16px 0 0;
}
.time-item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }
.time-item .t-header { display: flex; align-items: center; gap: 0.75rem; padding: 1.1rem 1rem 0.85rem; }
.time-item .t-icon {
  width: 40px; height: 40px; font-size: 1.1rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--item-color, var(--gold)) 12%, white);
  border: 1px solid color-mix(in srgb, var(--item-color, var(--gold)) 16%, transparent);
}
.time-item .t-info { flex: 1; display: flex; flex-direction: column; gap: 0.22rem; }
.time-item .t-label { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.time-item .t-badge {
  font-size: 0.54rem; font-weight: 800; padding: 0.14rem 0.42rem;
  border-radius: 4px; letter-spacing: 0.5px; white-space: nowrap;
  display: inline-block; width: fit-content;
}
.time-item .t-value {
  font-size: 1.55rem; font-weight: 900; flex-shrink: 0;
  letter-spacing: -0.5px; line-height: 1;
  color: var(--item-color, var(--text));
}
.time-item .t-desc {
  margin: 0; padding: 0.65rem 1rem 0.9rem;
  font-size: 0.72rem; line-height: 1.5; color: var(--text-muted);
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* ═══════════════════
   FOOTER
═══════════════════ */
.site-footer {
  background: linear-gradient(165deg, var(--primary-dark) 0%, #0a3d28 100%);
  padding: 3rem 0 2.5rem;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; }
.footer-brand-name {
  font-family: Poppins, Inter, sans-serif; font-weight: 900; font-size: 1.2rem;
  color: #fff;
}
.footer-tagline { color: rgba(255,255,255,0.60); font-size: 0.9rem; max-width: 480px; }
.footer-tech {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.82rem; font-weight: 600;
}
.footer-tech span { color: var(--gold); }
.footer-tech span:nth-child(even) { color: rgba(255,255,255,0.30); }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 0.82rem; }

/* ═══════════════════
   RESPONSIVE
═══════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: flex; justify-content: center; order: -1; }
  .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .times-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .times-grid { grid-template-columns: 1fr; }
  .time-item .t-badge { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .stats-inner { gap: 0; }
  .stat-item { padding: 0.5rem 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .filter-row { grid-template-columns: 1fr; }
  .times-grid { grid-template-columns: 1fr; }
  .phone-mock { width: 220px; }
  .time-item { padding: 0.85rem 0.8rem; }
  .time-item .t-value { font-size: 1.1rem; }
  .time-item .t-info { flex-wrap: wrap; gap: 0.3rem; }
  .time-item .t-desc { margin-left: 1.6rem; font-size: 0.7rem; }
  .result-meta { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}
