@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overscroll-behavior: none;
  background-color: #0b1c2d;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: url("../img/hero.png") center / cover no-repeat;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  width: 100%;
  padding: 4rem 2rem;
}

.subtitle {
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.logo {
  width: 140px;
  margin: 0 auto 3rem;
  display: block;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-bottom: 3rem;
}

.time-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.time {
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 600;
  line-height: 1;
}

.label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #1F2E3E;
}

.description {
  max-width: 760px;
  margin: 2.5rem auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1F2E3E;
}

form {
  margin-top: 2rem;
}

input[type="email"] {
  padding: 1rem 1.2rem;
  width: 420px;
  max-width: 100%;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  margin-right: 0.5rem;
}

button {
  padding: 1rem 2rem;
  border-radius: 999px;
  background: #bfe9f8;
  color: #000000;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.about__social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem; /* pushes it lower */
  gap: 1.25rem;
}

.about__social-icon {
  font-size: 2rem; /* bigger icons */
  color: rgba(255,255,255,0.85);
  transition: transform 0.25s ease, color 0.25s ease;
}

.about__social-icon:hover {
  transform: translateY(-4px);
  color: #b3e0f2;
}


.projects {
  margin-top: 3.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
}


.projects h2 {
  font-size: 0.85rem;
  margin: 2.5rem auto 2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.project-card {
  position: relative;
  padding: 2.5rem;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Background image */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(0.75);
  transform: scale(1.1);
  z-index: -2;
}

/* Frosted glass layer */
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}



/* RESUME BUTTON */
.resume-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: #ffffff;
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.resume-btn:hover {
  background-color: #b3e0f2;
}


@media (max-width: 600px) {
  .countdown {
    gap: 2rem;
  }

  input[type="email"] {
    width: 100%;
    margin-bottom: 1rem;
  }

  button {
    width: 100%;
  }
}
