/*
Theme Name: Ari Landing Full
Theme URI: https://www.satilikari.net
Author: Satılık Arı
Author URI: https://www.satilikari.net
Description: Türkiye geneli satılık arı teması - özel tasarım
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ari-landing-full
*/

/* ------------------------------
   Global Variables & Resets
------------------------------ */
:root {
  --yellow: #FFD800;
  --text: #151515;
  --muted: #555;
  --bg: #ffffff;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Klavye odak görünürlüğü */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.buy-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Hareketi azalt tercihine saygı */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------
   Top Notice Bar
------------------------------ */
.topbar {
  background: var(--yellow);
  text-align: center;
  font-weight: 700;
  letter-spacing: .5px;
}

.topbar .container {
  padding: 12px 20px;
}

/* ------------------------------
   Header / Navigation
------------------------------ */
.site-header {
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand img {
  height: 100px;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-weight: 500;
  padding: 8px 6px; /* dokunma alanı */
}

.call-now a {
  font-weight: 700;
}

/* ------------------------------
   Section Titles
------------------------------ */
h2.section-h {
  font-size: 22px;
  margin: 26px 0 14px 0;
}

.strip-title {
  background: var(--yellow);
  padding: 16px 0;
  margin: 32px 0;
  font-weight: 800;
  text-align: center;
  letter-spacing: .5px;
}

/* ------------------------------
   Cards Grid
------------------------------ */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.thumb {
  aspect-ratio: 16/10;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .title {
  font-weight: 600;
  padding: 10px 12px;
  background: #fff;
}

/* ------------------------------
   Hero Section
------------------------------ */
.hero {
  position: relative;
  overflow: clip; /* taşmayı güvenle kes */
  margin: 48px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}

.hero-figure {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.hero-copy small {
  display: inline-block;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.2;
  margin: 0 0 14px;
}

.hero-copy p {
  color: var(--muted);
  font-size: clamp(14px, 2.2vw, 18px);
}

/* Decorative Curves */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--yellow);
  z-index: -1;
  filter: saturate(105%);
}

.hero::before {
  width: 480px;
  height: 480px;
  left: -160px;
  bottom: -220px;
}

.hero::after {
  width: 540px;
  height: 540px;
  right: -220px;
  bottom: -260px;
}

/* ------------------------------
   FAQ Section
------------------------------ */
.faq {
  margin: 36px 0;
}

.faq .container {
  max-width: 900px;
}

.faq h2 {
  margin-bottom: 10px;
}

details {
  border-bottom: 1px solid #e9e9e9;
  padding: 14px 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 10px 0 2px;
  color: #333;
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  background: #111;
  color: #fff;
  margin-top: 36px;
}

footer .container {
  padding: 22px 20px;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: var(--yellow);
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .primary-nav ul {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }

  .brand,
  .call-now {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------
   Modal Styles
------------------------------ */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  text-align: left;
  max-height: 80vh;
  overflow-y: auto;
}

.modal.is-open,
.modal[open] {
  display: block;
}

.close {
  color: #333;
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: red;
}

/* ------------------------------
   Button Styles
------------------------------ */
.buy-btn {
  display: inline-block;
  padding: 10px 22px;
  background: #000;
  color: var(--yellow);
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all .2s ease;
}

.buy-btn:hover {
  background: #333;
  color: #fff;
}

/* --- 480px Altı Mobil Düzeltme --- */
@media (max-width: 480px) {
  /* Header hizalama ve padding */
  .site-header .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 10px;
  }

  .brand img {
    height: 70px;
    max-width: 90%;
  }

  .call-now {
    width: auto;
  }

  .primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  /* Hero tek sütun ve tipografi */
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-figure img {
    width: 100%;
    height: auto;
  }

  /* Dekoratif şekilleri kapat */
  .hero::before,
  .hero::after {
    display: none;
  }

  /* Grid kartlar tek sütun */
  .grid-5 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Duyuru ve footer */
  .topbar {
    font-size: 14px;
    padding: 8px 6px;
  }

  footer {
    font-size: 13px;
    padding: 18px 8px;
  }

  /* Yatay taşmaları kesin engelle */
  .container {
    overflow-x: hidden;
    padding: 0 10px;
  }

  body {
    overflow-x: hidden;
  }

  /* Sıkı başlık aralıkları */
  .strip-title { padding: 12px 0; margin: 24px 0; }
  h2.section-h { margin: 20px 0 10px; font-size: 20px; }
}