html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0b0f2f;
  color: white;
  line-height: 1.6;
}

.navbar {
  display: flex;
  justify-content: space-between; /* logo sol - hamburger sağ */
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 99;
}

.logo {
  color: #65a0ff;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.menu {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .menu a {
    padding: 0.5rem 0;
    font-size: 1rem;
  }
}

.contact a{
  text-decoration: none;
  color: #cccccc;
}

a:after {
  content: "";
  position: absolute;
  background-color: #65a0ff;
  height: 3px;
  width: 0%;
  left: 0;
  bottom: -10px;
  transition: 0.3s;
}

a:hover:after {
  width: 100%;
}

section {
  padding: 3rem 1.5rem;
  text-align: center;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #65a0ff;
}

p {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1rem;
  color: #cccccc;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .logo {
    margin-bottom: 0;
  }

  .menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative; /* ⭐ bu eklendi */
    padding-right: 20px;
    cursor: pointer;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }
}

.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.base {
  background: linear-gradient(to bottom, #121a4d, #0b0f2f);
  opacity: 1;
}

.overlay {
  background: linear-gradient(to bottom, #0b0f2f, #000000);
  opacity: 0; /* başlangıçta görünmez */
}

.stars-container {
  position: absolute;
  align-self: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* etkileşimi engellemek için */
  z-index: 1;
}


.star {
  position: absolute;
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease;
}

.star:hover {
  transform: scale(1.2);
}

.star.deco {
  width: 30px;
  height: 30px;
  opacity: 0.4;
  pointer-events: none;
}

/* Yeni sarıcı div (her yıldız için) */
.star-wrapper {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Yıldızın altındaki yazı */
.star-label {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.18);
  font-family: 'Poppins', sans-serif;
  pointer-events: none; /* yazıya tıklanamaz olsun */
}

/* Mini yıldızlar */
.mini-star {
  position: absolute;
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0;
  z-index: 3;
  animation: popStar 0.6s ease-out forwards;
}

@keyframes popStar {
  0% {
    transform: scale(0.5) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1) translate(var(--x), var(--y));
    opacity: 0;
  }
}

#home {
  position: relative; /* çok önemli! */
  min-height: 100vh;
}

.WelcomeText {
  margin-top: 170px;
}

.shooting-star {
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow:
    10px 0 10px 2px white,
    20px 0 15px 3px white,
    30px 0 20px 4px white;
  transform: translateY(-50%) translateX(0);
  opacity: 0;
  pointer-events: none;
  animation: shooting 0.6s ease forwards;
}

@keyframes shooting {
  0% {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) translateX(40px);
  }
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
  z-index: 15;
  color: white;
}

.menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

@media (max-width: 1008px) {
  .hamburger {
    display: block;
  }

  .menu {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    width: 200px;
    padding: 1rem;
    border-radius: 16px 0 0 16px;
    z-index: 10;
  }

  .menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu a {
    padding: 0.5rem 0;
    font-size: 1rem;
    text-align: right;
  }
}

.background-img {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/muntal logo.png") center center / contain no-repeat;
  opacity: 0.2;
  z-index: -1;
  transition:
    opacity 0.6s ease,
    filter 0.6s ease;
}

.info-section {
  padding: 4rem 2rem;
  background-color: transparent;
  color: white;
}

.about-container {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1500px;
  margin: auto;
  flex-wrap: wrap; /* mobil uyum için */
}

.about-image img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.about-text {
  max-width: 500px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}



.about-card:hover {
  transform: scale(1.02);
}

.about-card img {
  width: 140px;
  max-height: 100%;
  object-fit: fill;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

@media (min-width: 400px) {
  .about-card img {
    width: 250px;
    max-height: 100%;
    object-fit: fill;
    border-radius: 8px;
    margin-bottom: 0.8rem;
  }
}

.about-card p {
  font-size: 0.95rem;
  color: #dddddd;
  line-height: 1.5;
}

.poll-button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  margin-top: 1rem;
  background-color: #65a0ff;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.poll-button:hover {
  background-color: #4b8de0;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
  padding: 2rem 1rem;
}

.application-box {
  width: 300px;
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 0 10px #4cafef99;
  border: 1.5px solid #4cafef;
  background-color: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.application-box:hover {
  transform: scale(1.03);
}

.application-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.application-box span {
  position: absolute;
  bottom: 95px;
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: bold;
  transform: translate(-50%, -100%);
}

.committee-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1rem;
}

.committee-card {
  width: 100%;
  display: flex;
  justify-content: center;
}

.committee-card.left {
  justify-content: flex-start;
}

.committee-card.right {
  justify-content: flex-end;
}

.committee-content {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  color: white;
}

@media (max-width: 768px) {
  .committee-card {
    justify-content: center !important;
  }
}

.committee-content img {
  width: 50%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

  /* Sayaç containerı */
#countdown-container {
    text-align: center;
    position: absolute;
    top: 78px; /* navbar yüksekliği kadar aşağıdan başla */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.28);
    z-index: 9;
    padding: 15px 0;
  }

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }

.countdown-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 174, 255, 0.4);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }

@media (min-width: 1200px) {
  .countdown-item{
    width: 75px;
    height: 75px;
  }
}

.countdown-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 174, 255, 0.7);
  }

.countdown-item .number {
    font-size: 20px;
    font-weight: bold;
  }

.countdown-item .label {
    font-size: 10px;
    margin-top: 5px;
    color: #ccc;
  }

.apply-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #0056b3;
}

