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

.content {
  position: relative;
  z-index: 10; /* Make sure it's above the blobs */
}

body {
    font-family: "deuterium-variable", sans-serif;  
font-variation-settings: "wght" 560;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100%;
    z-index: 1;
    position: relative;
}

/* Animated gradient background */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, #f5c7d8, white, #ffb3c1);
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Subtle grain overlay */
.gradient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://grainy-gradients.vercel.app/noise.png');
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Keyframes to animate the gradient */
@keyframes gradientMove {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.25);
  padding: 0.75em 0.25em;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1000;
  max-width: max-content;
}
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

nav ul li a {
  color: #000;
  font-variation-settings: "wght" 560;
  padding: 0.5em 1em;
  border-radius: 999px;
  transition: background 0.3s ease, font-variation-settings 0.3s ease;
}

nav ul li a:hover {
  background: rgba(240, 163, 199, 0.4); /* same pink as your gradient */
  color: #000;
  font-variation-settings: "wght" 700;
}


.section {
    min-height: 100vh;
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: none;
}

.hero {
    position: relative;
    z-index: 1;
  }
  
  .hero::before {
    z-index: 0;
  }
  
  .work {
    position: relative;
    z-index: 10;
  }

.work {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }  

/* Grid container */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 3rem; /* ⬅️ 3rem vertical, 1.5rem horizontal */
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.work-card {
  aspect-ratio: 1 / 1; /* square cards */
  max-width: 320px;     /* reduce size */
  width: 100%;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  box-shadow: 8px 8px 0 #a39e9e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  
  .work-card:hover {
    transform: scale(1.02);
    box-shadow: 15px 15px 0 #ffb3c1;
  }
  
  .work-card .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
  }
  
  .work-card:hover .overlay {
    opacity: 1;
  }
  
  .work-card h3 {
    color: #fff;
    font-size: 1.5em;
    z-index: 2;
  }
  
.work-card:hover::before {
    opacity: 1;
}

form {
    display: flex;
    flex-direction: column;
    width: 300px;
    gap: 1em;
}

input, textarea {
    padding: 10px;
    border: 2px solid #000;
    border-radius: 10px;
    font-size: 1em;
}

button {
    padding: 10px;
    border: 2px solid #000;
    background-color: #af4261;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
}

button:hover {
    background-color: #722040;
}

nav ul li a {
  font-family: "deuterium-variable", sans-serif;
  font-variation-settings: "wght" 300;
  transition: background 0.3s ease-in-out, font-variation-settings 0.3s ease-in-out, transform 0.3s ease-in-out;
  text-decoration: none;
  font-weight: normal;
  color: #000;
  border-radius: 999px;
  padding: 0.5em 1em;
}

nav ul li a:hover {
  font-variation-settings: "wght" 500;
  color: #af4261;
  transform: scale(1.05); /* subtle pop effect */
  background: rgba(240, 163, 199, 0.4); /* pink hover */
}

.greeting-wrapper {
  display: inline-block;
  position: relative;
  height: 1.2em; /* Adjust if your font is larger */
  width: 4.5em;  /* Enough space for the words */
  overflow: hidden;
  vertical-align: bottom;
}

.greeting {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 1.2em;
  transition: transform 0.4s ease;
  font-weight: bold;
}

.kiaora {
  transform: translateY(0%);
  top: 0;
}

.hello {
  transform: translateY(100%);
  top: 0;
}

.greeting-wrapper:hover .kiaora {
  transform: translateY(-100%);
}

.greeting-wrapper:hover .hello {
  transform: translateY(0%);
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1rem;
  min-height: 50vh;
}

.contact-message {
  /* remove opacity and transform temporarily */
  font-size: 1.5rem;
  text-align: center;
  color: black;
}

.contact-link {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(135deg, #ff6aa6, #ffa07a);
  padding: 0.4em 0.8em;
  border-radius: 999px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
