/* RESET & ROOT */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream:        #f5f0eb;
  --warm-white:   #faf8f5;
  --sand:         #e8dfd5;
  --tan:          #c4b09a;
  --pink:         #d97298;
  --pink-dark:    #c44569;
  --pink-light:   #f5a6b8;
  --pink-pale:    #fce4ec;
  --dark:         #583455;
  --accent:       #d97298;
  --accent-light: #f5a6b8;
  --green:        #5a7a5e;
  --green-light:  #a3c4a8;
}  

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: rgba(245, 240, 235, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 114, 152, 0.15);
  transition: padding .3s;
}

nav .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pink-dark);
  letter-spacing: .02em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
}

nav ul li a {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color .3s;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width .35s ease;
}

nav ul li a:hover {
  color: var(--accent);
}

nav ul li a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 3rem;
  position: relative;
} 

/* decorative blob */
.hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 60% 40% 55% 45% / 55% 40% 60% 45%;
  background:
    radial-gradient(ellipse at 35% 40%, var(--accent-light) 0%, transparent 65%),
    radial-gradient(ellipse at 70% 65%, var(--pink-pale) 0%, transparent 55%);
  opacity: .35;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: blobMorph 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes blobMorph {
  0%   { border-radius: 60% 40% 55% 45% / 55% 40% 60% 45%; }
  100% { border-radius: 45% 55% 40% 60% / 40% 60% 45% 55%; }
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Circular profile photo - larger and above text */
.hero-photo-container {
  width: 360px;
  height: 360px;
  max-width: calc(100% - 4rem);
  margin: 0 auto 0.4rem;
  position: relative;
  opacity: 0;
  animation: fadeUp .7s .1s forwards;
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 45%;
  image-rendering: auto;
  box-shadow: 0 18px 60px rgba(217, 114, 152, 0.28);
  transition: transform .4s ease, box-shadow .4s ease;
} 

.hero-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 56px rgba(217, 114, 152, 0.35);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--dark);
  opacity: 0;
  animation: fadeUp .8s .35s forwards; 
  min-height: 1.2em;
  text-align: center;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

/* Typing animation */
.cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--accent);
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-sub {
  margin-top: 1.4rem;
  font-size: 1rem;
  color: var(--pink-dark);
  font-weight: 300;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp .8s .55s forwards;
}

.hero-links {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .7s forwards;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--dark);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--pink-dark);
  box-shadow: 0 6px 24px rgba(217, 114, 152, 0.3);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--pink-light);
  color: var(--pink-dark);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn svg {
  width: 15px;
  height: 15px;
}

/* KEYFRAMES */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* SECTION TITLES */
.section-label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: .6rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--dark);
}

/* PROJECTS */
#projects {
  padding: 7rem 2rem;
  background: var(--warm-white);
}

.projects-inner {
  max-width: 960px;
  margin: 0 auto;
}

.projects-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--sand);
  box-shadow: 0 4px 30px rgba(217, 114, 152, 0.08);
  transition: transform .3s, box-shadow .3s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(217, 114, 152, 0.25);
}

/* alternate layout */
.project-card.reverse {
  direction: rtl;
}

.project-card.reverse > * {
  direction: ltr;
}

.project-visual {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-visual.pray360 {
  background: linear-gradient(135deg, #1a3a2a 0%, #2d5a4a 100%);
}

.project-visual.shelter {
  background: linear-gradient(135deg, #1e2d4d 0%, #3a5580 100%);
}

.pv-icon {
  font-size: 4.5rem;
  opacity: .9;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .2));
}

/* grid lines decoration */
.project-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px),
    repeating-linear-gradient(90deg,  transparent, transparent 39px, rgba(255,255,255,.04) 39px, rgba(255,255,255,.04) 40px);
}

.badge-winner {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(217, 114, 152, 0.92);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.project-info {
  padding: 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info .section-label {
  margin-bottom: .3rem;
}

.project-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--dark);
}

.project-info p {
  font-size: .85rem;
  color: var(--pink-dark);
  line-height: 1.7;
  margin-top: .7rem;
  font-weight: 300;
} 

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.tag {
  font-size: .7rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--pink-pale);
  border: 1px solid var(--pink-light);
  color: var(--pink-dark);
  letter-spacing: .04em;
}

.project-links {
  margin-top: 1.4rem;
  display: flex;
  gap: .8rem;
}

.project-links a {
  font-size: .78rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color .2s;
}

.project-links a:hover {
  color: var(--dark);
}

.project-links a svg {
  width: 13px;
  height: 13px;
}

/* SKILLS SECTION - REDESIGNED */
#skills {
  padding: 7rem 2rem;
  background: var(--warm-white);
  position: relative;
}

.skills-inner {
  max-width: 900px;
  margin: 0 auto;
}

.skills-header {
  text-align: center;
  margin-bottom: 5rem;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.skill-block {
  border-left: 2px solid var(--sand);
  padding-left: 2.5rem;
  position: relative;
}

.skill-block::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .3s ease;
}

.skill-block:hover::before {
  transform: scale(1.4);
}

.skill-block-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.skill-pill {
  font-size: .85rem;
  padding: .6rem 1.3rem;
  background: white;
  border: 1px solid var(--sand);
  color: var(--dark);
  border-radius: 6px;
  font-weight: 400;
  letter-spacing: .01em;
  transition: all .2s ease;
  cursor: default;
}

.skill-pill:hover {
  background: var(--pink-pale);
  border-color: var(--accent);
  color: var(--pink-dark);
  transform: translateY(-2px);
}

/* CONTACT */
#contact {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: var(--warm-white);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sand);
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-inner .section-label {
  margin-bottom: .4rem;
}

.contact-inner .section-title {
  margin-bottom: .8rem;
}

.contact-inner p {
  font-size: .9rem;
  color: var(--pink-dark);
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  font-size: .72rem;
  color: var(--tan);
  letter-spacing: .08em;
  background: var(--warm-white);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 720px) {
  nav {
    padding: 1rem 1.4rem;
  }

  nav ul {
    gap: 1.2rem;
  }

  .hero-photo-container {
    width: 260px;
    height: 260px;
  }

  .project-card,
  .project-card.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .project-visual {
    min-height: 200px;
  }

  .skill-block {
    padding-left: 1.8rem;
  }

  .skill-block-label {
    font-size: 1.3rem;
  }
}