/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Mono", "Courier New", monospace;
  line-height: 1.7;
  color: #3d3d3d;
  background: linear-gradient(135deg, #fdf8f5 0%, #f5f0eb 50%, #f8f4f1 100%);
  min-height: 100vh;
}

/* Layout container */
section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Hero section */
.hero {
  padding-top: 6rem;
  /* padding-bottom: 6rem; */
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

/* Hero photo styles */
.hero-photo {
  flex-shrink: 0;
}

.profile-image {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Hero text styles */
.hero-text {
  flex: 1;
}

.hero-greeting {
  font-size: 1.3rem;
  color: #6b6b6b;
  margin-bottom: 0.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: #6b6b6b;
  max-width: 490px;
  margin-top: 1.5rem;
  line-height: 1.8;
}

/* Wavy name animation */
.wavy-name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 4rem;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: wrap;
}

.wavy-name span {
  display: inline-block;
  animation: wave 2.5s ease-in-out infinite;
  animation-delay: calc(0.1s * var(--i));
}

.wavy-name span.space {
  width: 0.5em;
  animation: none;
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(-3deg);
  }
  75% {
    transform: translateY(4px) rotate(2deg);
  }
}

/* Decorative shapes */
.shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* Cloud shape */
.shape-cloud {
  width: 70px;
  height: auto;
  /* background: #fce7f3; */
  /* border-radius: 28px; */
  position: absolute;
}

/* Star/asterisk shape */
.shape-star {
  width: 40px;
  height: 40px;
  background: #c4b5fd;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

/* GIF shape */
.shape-gif {
  width: 60px;
  height: auto;
}

/* Asterisk shapes */
.shape-asterisk {
  width: 24px;
  height: 24px;
}

/* Shape positions */
.shape-1 {
  top: 15%;
  right: 8%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  top: 60%;
  right: 5%;
  animation: float 5s ease-in-out infinite 0.5s;
}

.shape-3 {
  bottom: 10%;
  left: 5%;
  animation: float 7s ease-in-out infinite 1s;
}

.shape-4 {
  top: 8%;
  left: 60%;
  animation: float 6s ease-in-out infinite 0.3s;
}

.shape-5 {
  top: 25%;
  left: 35%;
  animation: float 4s ease-in-out infinite 0.7s;
}

.shape-6 {
  bottom: 20%;
  right: 25%;
  animation: float 5s ease-in-out infinite 1.2s;
}

.shape-7 {
  top: 70%;
  left: 0%;
  animation: float 4.5s ease-in-out infinite 0.8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Section headings */
h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

/* About section */
.about {
  padding-bottom: 2rem;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.about-content {
  flex: 1;
  max-width: 550px;
  text-align: justify;
}

.about-content p {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.inline-link {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 2px solid #f472b6;
  transition: border-color 0.2s ease;
}

.inline-link:hover {
  border-color: #1a1a1a;
}

.about-photo {
  flex-shrink: 0;
}

.about-image {
  width: 280px;
  height: auto;
  border-radius: 200px 200px 0 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Projects section */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-image-wrapper {
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Project mockup image */
.project-mockup {
  max-width: 100%;
  max-height: 200px;
  height: auto;
  object-fit: contain;
}

/* Project content */
.project-content {
  padding-top: 1.25rem;
}

.project-content h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.project-content p {
  color: #6b6b6b;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.tech-stack {
  font-weight: 700;
  color: #4a4a4a !important;
  font-size: 0.85rem !important;
  margin-bottom: 1rem !important;
}

.project-links {
  display: flex;
  gap: 1.25rem;
}

.project-link {
  display: inline-block;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.project-link:hover {
  opacity: 0.6;
}

/* Education section */
.education {
  padding-bottom: 8rem;
}

.education-item {
  padding: 1.5rem 0;
}

.education-item h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.education-item p {
  color: #6b6b6b;
  font-size: 0.95rem;
}

/* Contact section */
.contact {
  background: #f0ebe5;
  padding: 6rem 2rem;
  max-width: 100%;
  margin: 0;
}

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.contact-curve {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
}

.curved-text-svg {
  width: 100%;
  height: 100%;
}

.curved-text-svg text {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.6rem;
  fill: #1a1a1a;
  letter-spacing: 0.05em;
}

.contact-info {
  flex: 1;
}

.contact-tagline {
  font-size: 1.1rem;
  color: #6b6b6b;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.7;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9a9a9a;
  font-weight: 600;
}

.contact-value {
  font-size: 1rem;
  color: #1a1a1a;
}

/* Recipes page */
.recipes-hero {
  padding-top: 6rem;
  padding-bottom: 3rem;
  text-align: center;
}

.recipes-hero h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.recipes-hero p {
  font-size: 1.1rem;
  color: #6b6b6b;
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-block;
  color: #6b6b6b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #1a1a1a;
}

.recipes-grid-section {
  padding-bottom: 6rem;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.recipe-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.recipe-card .recipe-link {
  margin-top: auto;
  align-self: center;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.recipe-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.recipe-card h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.recipe-description {
  color: #6b6b6b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.recipe-meta {
  color: #9a9a9a;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.recipe-link {
  display: inline-block;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 2px solid #f472b6;
  transition: border-color 0.2s ease;
}

.recipe-link:hover {
  border-color: #1a1a1a;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-content {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .profile-image {
    width: 250px;
    height: 300px;
  }

  .wavy-name {
    font-size: 2.8rem;
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    max-width: 100%;
  }

  .about-image {
    width: 220px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-image-wrapper {
    padding: 1.25rem;
  }

  /* Adjust shape positions for mobile */
  .shape-1 {
    top: 5%;
    right: 5%;
    width: 50px;
    height: auto;
  }

  .shape-2 {
    top: auto;
    bottom: 5%;
    right: 10%;
    width: 25px;
    height: 25px;
  }

  .shape-3 {
    bottom: 15%;
    left: 3%;
  }

  .shape-4 {
    top: 3%;
    left: 5%;
    width: 40px;
    height: auto;
  }

  .shape-5,
  .shape-6,
  .shape-7 {
    display: none;
  }

  .recipes-hero h1 {
    font-size: 2.2rem;
  }

  .recipes-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .contact-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .contact-curve {
    width: 220px;
    height: 220px;
  }

  .curved-text-svg text {
    font-size: 1.2rem;
  }

  .contact-link {
    align-items: center;
  }
}
