/* Genel Stil */
.planetary-section {
    background-image: url("../images/planetaryum2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100vw;
    min-height: 1080px;
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr 2fr 1fr; /* Üst, orta, alt alanları tanımladık */
    color: white;
    text-align: center;
    position: relative;
  }
  
  .planetary-content {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr; /* Her içerik bloğu için bir satır */
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 100%; /* İçerik bölümünün tüm yüksekliği kaplamasını sağladık */
  }
  
  /* Üst Başlık */
  .top-header {
      grid-row: 1;
      align-self: start;
      text-align: center;
      max-width: 600px;
      position: absolute;
      top: 7%;
  }
  
  .top-header h2 {
    font-family: "VistolSans-Black", sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #ffffff;
    line-height: 1.4;
    margin: 0 auto;
  }
  
  .top-header h2 span {
    font-family: "VistolSans-Medium", sans-serif;
    font-weight: 400;
  }
  
  /* Video Butonu - Ortada */
  .video-container {
    grid-row: 2; /* İkinci satıra yerleştir */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .video-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  
  .dotted-border {
    width: 95px;
    height: 95px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .dotted-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px dotted #9e9e9e;
    border-radius: 50%;
    animation: rotate 8s linear infinite;
  }
  
  .dotted-border:hover {
    transform: scale(1.1);
  }
  
  .inner-circle2 {
    width: 55px;
    height: 55px;
    background-color: #c3d940;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
  }
  
  .video-button i {
    font-size: 1.5rem;
    color: #6e9933;
  }
  
  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* Alt İçerik */
  .bottom-content {
      grid-row: 3;
      align-self: end;
      width: 100%;
      max-width: 600px;
      text-align: center;
      bottom: -65%;
      position: relative;
  }
  
  .bottom-content h3 {
    font-family: "VistolSans-Light", sans-serif;
    font-size: 27px;
    color: #ffffff;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-bottom: -0.5rem;
  }
  
  .bottom-content h1 {
    font-family: "VistolSans-Black", sans-serif;
    font-size: 65px;
    color: #fff;
    margin: 1rem auto;
    line-height: 1;
  }
  
  .description1 {
    font-family: "VistolSans-Regular", sans-serif;
    font-size: 15px;
    color: #ffffff;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 600px;
  }
  
  .discover-button {
    font-family: "VistolSans-ExtraBold", sans-serif;
    font-size: 14px;
    background-color: #c3d940;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 3px 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
  }
  
  .discover-button:hover {
    background-color: #7a599a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
  }
  
  /* Responsive Düzenlemeler */
  @media (max-width: 768px) {
    .top-header h2 {
      font-size: 20px;
      max-width: 90%;
      line-height: 1.3;
    }
  
    .dotted-border {
      width: 70px;
      height: 70px;
    }
  
    .inner-circle {
      width: 40px;
      height: 40px;
    }
  
    .video-button i {
      font-size: 1.2rem;
    }
  
    .bottom-content h3 {
      font-size: 18px;
      margin-bottom: 0.5rem;
    }
  
    .bottom-content h1 {
      font-size: 40px;
    }
  
    .description1 {
      font-size: 13px;
      max-width: 90%;
    }
  
    .discover-button {
      font-size: 12px;
      padding: 5px 20px;
    }
  }
  /* Modal Arka Planı */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Yarı saydam arka plan */
    /* display: flex; */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Modal İçerik */
.modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    background-color: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 40px; /* Kapatma butonuyla iframe arasında boşluk */
}

/* Videoyu İçeren iFrame */
.modal-content iframe {
    width: 100%;
    height: 60vh; /* Yüksekliği ekran boyutuna göre ayarla */
    border-radius: 10px;
}
/* Modern Kapatma Butonu */
.close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background-color: rgba(51, 51, 51, 0.8); /* Hafif şeffaf koyu arka plan */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center; /* Dikeyde ortalama */
    justify-content: center; /* Yatayda ortalama */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Hafif gölge */
}

/* Kapatma Butonu İkonu */
.close i {
    color: #ffffff;
    font-size: 14px; /* İkon boyutu */
}

/* Hover ve Aktif Durum */
.close:hover {
    background-color: rgba(255, 77, 77, 0.9); /* Kapatmaya odaklandığında kırmızımsı arka plan */
    transform: scale(1.1); /* Hafif büyütme efekti */
    box-shadow: 0 6px 16px rgba(255, 77, 77, 0.4); /* Daha güçlü gölge efekti */
}

/* Focus Durumu (klavye ile erişim için) */
.close:focus {
    outline: none; /* Focus outline'ını kaldır */
    background-color: rgba(255, 77, 77, 1);
    box-shadow: 0 6px 16px rgba(255, 77, 77, 0.5); /* Ekstra gölge efekti */
    transform: scale(1.1);
}


/* Responsive Ayarlamalar */
@media (max-width: 600px) {
    .modal-content {
        max-width: 90%;
        padding: 15px;
    }
    .modal-content iframe {
        height: 50vh; /* Küçük ekranlarda daha düşük yükseklik */
    }
    .close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
