/* Bu kod orijinal HTML dosyanızdaki tüm <style> etiketinin dışa aktarılmış ve gereksiz kısımlardan arındırılmış halidir. */

:root{
  --accent:#ffd24d; 
  --muted:#a9c0d1; 
  --footer-gray:#bfc6cc;
  --nav-bg: rgba(0,0,0,0.5); 
  --transition:560ms cubic-bezier(.2,.9,.2,1);
  --dark-bg:#09090c; 
  --sidebar-width: 280px;
}

*{box-sizing:border-box}
html{height:100%;} 
body{
  margin:0;
  font-family:'Inter', system-ui, Segoe UI, Roboto, Arial;
  background:var(--dark-bg);
  color:#fff;
  /* Arka plan sadece bu dosya için değil, her HTML dosyasında tanımlanmalıdır */
  background-image: url('arkaplan.jpg'); 
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: background-image 700ms ease, background-position 700ms ease, margin-left var(--transition);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
body.sidebar-open {
    margin-left: var(--sidebar-width);
}

#menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
}
#menu-toggle:hover {
    background: var(--accent);
    color: var(--dark-bg);
    border-color: var(--accent);
}

#sidebar {
    height: 100%;
    width: 0; 
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: #111; 
    overflow-x: hidden;
    padding-top: 60px;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
}
#sidebar.open {
    width: var(--sidebar-width);
}
#sidebar a {
    padding: 15px 15px 15px 32px;
    text-decoration: none;
    font-size: 18px;
    color: var(--muted);
    display: block;
    transition: 300ms;
}
#sidebar a:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
}
#sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
#sidebar h3 { /* Bu kural artık kullanılmayabilir ama tutarlılık için bıraktım */
    color: var(--accent);
    padding: 0 15px 0 32px;
    margin-bottom: 5px;
    font-size: 20px;
}
#sidebar hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 32px;
}
#sidebar ul { /* Orijinal HTML'de yoktu, ama sidebar linklerini daha iyi organize etmek için gerekebilir */
    list-style: none;
    padding: 0;
    margin: 0;
}
#sidebar li {
    padding: 0;
}


.back-to-home-btn{
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 200ms ease;
    text-decoration: none; /* Link olarak da kullanılabilir */
}
.back-to-home-btn:hover{
    background: var(--accent);
    color: var(--dark-bg);
    border-color: var(--accent);
    transform: translateY(-2px);
}


.action-button{
  background: var(--accent);
  color: var(--dark-bg);
  padding:14px 24px;
  font-weight: 800;
  border:none;
  border-radius:12px;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(255, 210, 77, 0.4);
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none; 
  display: inline-block;
}
.action-button:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 210, 77, 0.6);
}


.wrap{ max-width:1100px; margin:40px auto; padding:18px; width:100%; flex:1; }

#home-content {
    /* Eski JS'e gerek kalmayacak, varsayılan olarak gösterilecek */
    display: block; 
    opacity: 1;
    transform: none;
    transition: none;
    text-align: center;
}
#home-content.show { /* Bu kural artık JS'te kullanılmayacak ama eski kodu bozmaması için tutuldu */
    display: block;
    opacity: 1;
    transform: none;
}

.hero{ 
  padding:120px 18px 40px; 
  text-align:center; 
  opacity:1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
  
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px; 
  max-width: 650px; 
  margin: 0 auto; 
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}
.hero.hidden{
  opacity:0;
  transform: translateY(-20px);
  pointer-events: none;
  height: 0;
  padding: 0;
  margin-bottom: -40px; 
}
.hero h1{
  margin:0;
  font-size:72px; /* Orijinal HTML'de H1 yoktu, H1'i logodan kaldırdık */
  color: var(--accent);
  letter-spacing:1px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
  line-height:1;
}
.hero .subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 16px 0 30px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

#discoveryList{
  display: none; /* Başlangıçta gizli */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
  padding: 60px 0; 
  text-align: center;
}
#discoveryList.show {
  display: block;
  opacity: 1;
  transform: none;
}
.discovery-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 40px auto;
}
/* Discovery Card kuralları, artık link yerine menü kullanılacağı için kaldırıldı, ama stil bozulmasın diye tutuyorum */
.discovery-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 300ms ease;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  text-decoration: none; 
}
.discovery-card:hover {
  background: var(--accent);
  color: var(--dark-bg);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(255, 210, 77, 0.5);
  border-color: var(--accent);
}
.discovery-card span {
    transition: color 300ms ease;
}


/* SECTİON VE İÇERİK kuralları (SADECE KATEGORİ HTML DOSYALARI İÇİN GEÇERLİ OLACAK) */
.section{
  /* Bu kurallar artık sadece /teleskoplar/index.html gibi dosyalarda kullanılacak */
  display:block; 
  opacity:1; 
  transform:none;
  margin:28px 0;
  padding:24px; 
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.section.show{ display:block; opacity:1; transform:none; } /* JS'ten kaldırıldı */
/* Diğer .section kuralları (h2, p, img, card-grid) aynen kalmalı ve her kategori dosyasında kullanılmalı */
/* ... (diğer section ve card-grid kuralları) ... */
.section h2{ 
  color: var(--accent); 
  font-size:40px; 
  margin:8px 0 6px; 
  text-align:center; 
  text-shadow: 0 6px 18px rgba(255, 210, 77, 0.4); 
  border-bottom: 2px solid rgba(255, 210, 77, 0.2);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.section .lead{ color: var(--muted); text-align:center; margin-bottom:20px; font-size:16px; font-style:italic; }

.section h3{ 
  color:#fff; 
  margin-top:24px; 
  text-shadow:0 3px 10px rgba(0,0,0,0.55); 
  margin-bottom: 10px; 
}

.section p:first-of-type, 
.section h3 + p { 
  margin-top: 0; 
}

.section p, .section li{
  color: #f6fbff;
  line-height:1.7; 
  text-align:justify;
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
  margin-bottom:14px;
  font-size: 16px;
}
.section ul{ margin-left:18px; }
.section img {
  width:100%;
  max-height:480px; 
  object-fit:cover;
  display:block;
  border-radius:12px; 
  margin:20px 0; 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}
.card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 200ms ease;
}
.card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.card h4 {
  color: var(--accent);
  margin-top: 0;
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 210, 77, 0.2);
  padding-bottom: 5px;
}
.card p {
  font-size: 14px;
  margin-bottom: 0;
}
/* SON SECTION VE İÇERİK kuralları */


#feedback-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.1); 
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: all 200ms ease;
    display: none; 
    align-items: center;
    justify-content: center;
}
#feedback-fab.show {
    display: flex; 
}
#feedback-fab:hover {
    transform: scale(1.08) rotate(-4deg);
    background: var(--accent); 
    color: var(--dark-bg);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(255, 210, 77, 0.8);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(5px);
}
.modal-content {
    background: var(--dark-bg);
    margin: 10% auto; 
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 550px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    animation: modalFadeIn 300ms ease-out;
}
.modal-close {
    color: var(--muted);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    transition: color 200ms ease;
}
.modal-close:hover,
.modal-close:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}
.modal-content h3 {
    text-align: center;
    color: var(--accent);
    margin-top: 0;
    font-size: 28px;
    border-bottom: 2px solid rgba(255, 210, 77, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
#google-form-embed {
    width: 100%;
    height: 650px; 
    border: none;
    border-radius: 8px;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}


@media(max-width:880px){
  .wrap{ margin: 20px auto 40px; } 
  .hero{padding: 60px 18px 30px;}
  .hero h1{font-size:42px}
  .hero .subtitle{font-size: 16px;}
  .section h2{font-size: 32px;}
  .discovery-card-grid {
      grid-template-columns: 1fr;
  }
  .discovery-card {
      min-height: 80px;
  }
  #feedback-fab {
      width: 50px;
      height: 50px;
      font-size: 20px;
      bottom: 15px;
      right: 15px;
  }
  .modal-content {
      margin: 15% 15px;
      padding: 20px;
  }
  #google-form-embed {
      height: 550px; 
  }
  
  #sidebar.open {
      width: 100%; 
  }
  body.sidebar-open {
      margin-left: 0; 
  }
}

@media(min-width: 881px) {
    body.sidebar-open {
        margin-left: var(--sidebar-width);
    }
}


footer{
  margin-top:24px;
  padding:20px 10px;
  text-align:center;
  color: var(--footer-gray);
  font-weight:700;
  font-size:15px;
  background: rgba(0, 0, 0, 0.6);
}
footer strong{ color: var(--footer-gray); font-weight:800; }


.fade-in{ opacity:0; transform: translateY(6px); animation:fadeUp 700ms ease forwards; }
@keyframes fadeUp{ to{ opacity:1; transform:none } }
