/* ===========================
   style.css — Modern stil dosyası
   - CSS değişkenleri (tema renkleri)
   - Sticky navbar
   - Responsive grid & erişilebilirlik
   =========================== */

/* --- Temel değişkenler (kolay tema yönetimi) --- */
:root{
  --yellow: #FFD700; /* parlak sarı */
  --red: #E53935;    /* kırmızı */
  --bg: linear-gradient(180deg,var(--yellow),var(--red)); /* body için sarı-kırmızı */
  --surface: #fff;
  --muted: #5b5b5b;
  --radius: 12px;
  --max-width: 1200px;
  --gap: 20px;
  --glass: rgba(255,255,255,0.12);
  --shadow: 0 8px 30px rgba(0,0,0,0.12);
  --accent-text: #111;
  --focus: 3px solid rgba(0,0,0,0.12);
}

/* --- Reset ve temel stil --- */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color:var(--accent-text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* --- Site wrapper için merkezleme --- */
.site-main{
  width:100%;
  max-width:var(--max-width);
  margin: 110px auto 40px; /* navbar sticky olduğu için üst boşluk verildi */
  padding: 0 20px;
}

/* ===========================
   NAVBAR
   - Sol: logo + başlık
   - Sağ: linkler
   - Sticky
   - Mobilde menu toggle "="
   =========================== */
.site-header{
  position: sticky; /* sayfa kaydığında üstte sabit kalır */
  top: 0;
  z-index: 999;
  backdrop-filter: blur(6px);
  background: linear-gradient(90deg, rgba(255,215,0,0.95) 0%, rgba(229,57,53,0.95) 100%);
    border-radius:10%;
  box-shadow: var(--shadow);
}

.nav-inner{
  max-width:var(--max-width);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  gap:16px;
}
#h4{
color: yellow;
  margin:0;
  font-size:28px;
  font-weight:600
}
.brand{display:flex;align-items:center;gap:12px}
.logo{
  width:56px;height:56px;border-radius:10px;background:linear-gradient(90deg, rgba(255,215,0,0.95) 0%, rgba(229,57,53,0.95) 100%);display:inline-flex;align-items:center;justify-content:center;font-weight:800;color:#222;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
}
.brand-text .title{display:block;font-weight:700}
.brand-text .subtitle{display:block;font-size:12px;color:var(--accent-text);opacity:0.85}

/* ana navigasyon - geniş ekranda göster */
.main-nav{display:block}
.nav-list{list-style:none;margin:0;padding:0;display:flex;gap:12px;align-items:center}
.nav-list a{
  display:inline-block;padding:8px 12px;border-radius:8px;color:var(--accent-text);text-decoration:none;font-weight:600;
}
.nav-list a:hover, .nav-list a:focus{background:rgba(255,255,255,0.12);outline:none}

/* mobil menu butonu (eşittir işareti) */
.menu-toggle{
  display:none; /* desktop gizli olacak, mobilde görünecek */
  background:transparent;border:2px solid rgba(0,0,0,0.08);padding:8px 12px;border-radius:8px;font-size:20px;font-weight:800;cursor:pointer;
}
.menu-icon{font-size:20px;line-height:1;}

/* mobil açılır menü */
.mobile-menu{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.02));
  border-top:1px solid rgba(0,0,0,0.06);
  padding:12px 20px;
}
.mobile-menu ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.mobile-menu a{color:var(--accent-text);text-decoration:none;padding:8px;border-radius:8px}
.mobile-menu a:hover{background:rgba(255,255,255,0.04)}

/* ===========================
   HERO
   =========================== */
.hero{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:28px;
  align-items:center;
  padding:28px;
  
  background:rgba(255,255,255,0.12);
  border-radius:10%;
  box-shadow:var(--shadow);
}
.hero-inner h1{margin:0;font-size:36px}
.hero .lead{color:var(--muted);margin-top:8px}

/* hero görsel placeholder */
.hero-visual{display:flex;align-items:center;justify-content:center}
.circle-visual{width:300px;height:300px;border-radius:40%;background:rgba(255,255,255,0.08);display:inline-grid;place-items:center;font-size:56px}

/* buton stilleri */
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:600;font-size:12px;cursor:pointer;border:none}
.btn.primary{background:red;color:yellow }
.btn.ghost{background:red;color:yellow }



/* ===========================
   Kartlar / Kart grid
   =========================== */
.section{margin-top:28px;padding:18px 0}
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr); /* desktop: 3 kolon */
  gap:18px;
}
.card{
  background:var(--surface);
  border-radius:10px;
  padding:18px;
  background-color: red;
  color: yellow;
  border-radius:20%;
  box-shadow:0 8px 24px rgba(0,0,0,0.06);
}

/* responsive ayarlar */
@media (max-width: 1000px){
  .hero{grid-template-columns:1fr; padding:18px}
  .cards{grid-template-columns: repeat(2, 1fr)}
  .site-main{margin-top:120px}
}

/* mobil görünüm: navbar sağ linkler gizlenecek, menu button görünecek */
@media (max-width: 760px){
  .main-nav{display:none}           /* sağdaki normal nav gizle */
  .menu-toggle{display:inline-block}/* mobil menü butonu göster */
  .site-main{margin-top:90px}
  .cards{grid-template-columns:1fr}
}

/* footer */
.site-footer{padding:18px 0;text-align:center;background-color: red; color:yellow}
/* ===========================
   Çiçek Videosu Stili
   =========================== */
.video-wrapper {
  display: flex;
  flex-direction: column;      /* ALT ALTA yerleştir */
  justify-content: center;
  align-items: center;         /* yatay ortalama */
  margin: 60px auto;
}

.video-wrapper video {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 40%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: 4px solid rgba(255,255,255,0.6);
}

/* ===========================
   Video Başlat Butonu Stili
   =========================== */
.video-btn {
  margin-top: 20px;              /* videonun altına boşluk */
  background-color: #e53935;     /* kırmızı */
  color: #FFD700;                /* sarı yazı */
  font-weight: 700;
  font-size: 18px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.video-btn:hover {
  background-color: #c62828;
  transform: scale(1.05);
}
