
:root {
  --dark: #230811;
  --burgundy: #4B0F1E;
  --wine: #6D1D32;
  --rose: #45111e;
  --cherry: #5e1c2c;
  --pink: #561827;
  --soft-pink: #E07A94;
  --light-pink: #F7D6DC;
  --white: #FFF2F4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--pink);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--light-pink);
  outline-offset: 4px;
}

/* ==============================
   MAIN WEBSITE
============================== */

.website {
  min-height: 100vh;
}

/* ==============================
   GLASS NAVBAR
============================== */

.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 5%;
  transition: top .3s;
}

.header.scrolled {
  top: 9px;
}

.navbar {
  max-width: 1350px;
  min-height: 75px;
  margin: auto;
  padding: 12px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background: rgba(109, 29, 50, .35);

  border: 1px solid rgba(247, 214, 220, .28);
  border-radius: 25px;

  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);

  box-shadow:
    0 12px 45px rgba(19, 2, 8, .4),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: "Playfair Display", serif;
  font-size: 27px;
  font-weight: 600;
  white-space: nowrap;
}

.logo img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  font-size: 13px;
  color: var(--light-pink);
  transition: .3s;
}

.nav-links a:hover {
  color: white;
  text-shadow: 0 0 15px var(--soft-pink);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--soft-pink);
  transition: width .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-contact {
  padding: 12px 20px;
  border-radius: 30px;

  background: rgba(224, 122, 148, .15);
  border: 1px solid rgba(224, 122, 148, .5);

  font-size: 13px;
  white-space: nowrap;
  transition: .3s;
}

.nav-contact:hover {
  background: var(--cherry);
  box-shadow: 0 0 25px rgba(156, 33, 62, 0.4);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 27px;
}

/* ==============================
   HERO BACKGROUND
============================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 100svh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 150px 7% 100px;

  background:
    radial-gradient(
      ellipse at 75% 45%,
      rgba(142, 43, 68, .34),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      #230811 0%,
      #4B0F1E 55%,
      #2C0915 100%
    );
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .15;
  pointer-events: none;

  background-image:
    radial-gradient(
      #F7D6DC .7px,
      transparent .7px
    );

  background-size: 32px 32px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;

  animation:
    floatGlow 8s ease-in-out infinite alternate;
}

.glow-one {
  width: 350px;
  height: 350px;
  top: 15%;
  right: 8%;
  background: rgba(178, 60, 89, .35);
}

.glow-two {
  width: 280px;
  height: 280px;
  bottom: 5%;
  left: 0;
  background: rgba(204, 86, 113, .22);
  animation-delay: -3s;
}

@keyframes floatGlow {
  to {
    transform: translate(50px, -35px) scale(1.2);
  }
}

/* ==============================
   CHERRY RAIN
============================== */

.hero-cherry-rain {
  position: absolute;
  inset: 0;
  z-index: 15;

  overflow: hidden;
  pointer-events: none;

  transition: opacity .85s ease;
}

.hero-cherry-rain.finished {
  opacity: 0;
}

.falling-cherry {
  position: absolute;
  top: -130px;
  left: 0;

  width: var(--size, 40px);
  height: auto;

  opacity: 0;
  pointer-events: none;

  filter:
    drop-shadow(0 7px 12px rgba(20, 2, 8, .55))
    drop-shadow(0 0 9px rgba(204, 86, 113, .22));

  animation:
    cherryFall
    var(--duration, 4s)
    var(--delay, 0s)
    linear both;

  will-change: transform;
}

@keyframes cherryFall {
  0% {
    transform:
      translate3d(0, -110px, 0)
      rotate(-25deg);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    transform:
      translate3d(
        var(--drift, 0px),
        var(--fall-distance, 100vh),
        0
      )
      rotate(var(--rotation, 360deg));

    opacity: 0;
  }
}

/* Hide text and doll during cherry rain */
body.loading .hero .reveal {
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(45px) !important;
}

body:not(.loading) .hero .reveal.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==============================
   HERO CONTENT
============================== */

.hero-container {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1350px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 7%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 25px;

  color: var(--soft-pink);
  font-size: 10px;
  letter-spacing: 3px;
}

.line {
  width: 35px;
  height: 1px;
  background: var(--soft-pink);
}

.hello {
  margin-bottom: 12px;

  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(26px, 3vw, 42px);
  color: var(--light-pink);
}

.hero h1 {
  margin-bottom: 24px;

  font-family: "Playfair Display", serif;
  font-size: clamp(50px, 5.5vw, 88px);
  font-weight: 500;

  line-height: 1.13;
  letter-spacing: -2px;
}

.hero h1 span {
  display: block;
  color: var(--soft-pink);
  font-style: italic;

  text-shadow:
    0 0 35px rgba(224, 122, 148, .25);
}

.hero-role {
  margin-bottom: 22px;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 500;
}

.hero-role span {
  color: var(--soft-pink);
}

.description {
  max-width: 470px;

  color: #E9BCC7;
  font-size: 15px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
}

.primary-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 52px;
  padding: 15px 25px;

  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;

  transition:
    transform .35s,
    background .35s,
    box-shadow .35s;
}

.primary-btn {
  color: white;

  background:
    linear-gradient(
      120deg,
      var(--cherry),
      var(--pink)
    );

  box-shadow:
    0 10px 35px rgba(178, 60, 89, .25);
}

.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 45px rgba(204, 86, 113, .5);
}

.outline-btn {
  border: 1px solid rgba(247, 214, 220, .4);
  background: rgba(255, 255, 255, .03);
}

.outline-btn:hover {
  background: rgba(247, 214, 220, .13);
  transform: translateY(-5px);
}

.little-note {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 35px;
  font-size: 11px;
  color: #D8A5B3;
}

.note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: var(--soft-pink);
  box-shadow: 0 0 15px var(--soft-pink);

  animation: pulse 2s infinite;
}

@keyframes pulse {
  50% {
    opacity: .3;
  }
}

/* ==============================
   DOLL IMAGE
============================== */

.hero-image {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin: auto;

  perspective: 1100px;
}

.image-halo {
  position: absolute;
  inset: 10%;

  background: var(--pink);
  filter: blur(80px);
  opacity: .28;

  animation:
    haloPulse 4s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  to {
    opacity: .55;
    transform: scale(1.1);
  }
}

.doll-card {
  position: relative;
  overflow: hidden;

  aspect-ratio: 3 / 4;
  border-radius: 30px;

  background: var(--wine);
  border: 1px solid rgba(247, 214, 220, .4);

  box-shadow:
    0 30px 90px rgba(16, 2, 6, .6),
    0 0 45px rgba(204, 86, 113, .19),
    inset 0 1px 0 rgba(255, 255, 255, .3);

  transform-style: preserve-3d;
  transition: transform .2s ease-out;
  will-change: transform;
}

.doll-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.doll-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      transparent 60%,
      rgba(23, 3, 9, .75) 100%
    );

  pointer-events: none;
}

.image-shine {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      115deg,
      transparent 20%,
      rgba(255, 255, 255, .15) 45%,
      transparent 65%
    );

  transform: translateX(-130%);
  animation: shineMove 6s ease-in-out infinite;
}

@keyframes shineMove {
  0%, 55% {
    transform: translateX(-130%);
  }

  85%, 100% {
    transform: translateX(130%);
  }
}

.image-label {
  position: absolute;
  z-index: 4;

  bottom: 25px;
  left: 25px;
  right: 25px;

  display: flex;
  justify-content: space-between;
  gap: 10px;

  color: white;
  font-size: 9px;
  letter-spacing: 2px;
}

.floating-text {
  position: absolute;
  z-index: 5;

  padding: 13px 18px;
  border-radius: 25px;

  font-size: 10px;
  letter-spacing: 2px;

  background: rgba(109, 29, 50, .6);
  border: 1px solid rgba(247, 214, 220, .35);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 8px 30px rgba(16, 2, 6, .4);

  animation: floatLabel 4s ease-in-out infinite;
}

.floating-one {
  top: 12%;
  right: -25px;
}

.floating-two {
  bottom: 16%;
  left: -35px;
  animation-delay: -2s;
}

@keyframes floatLabel {
  50% {
    transform: translateY(-13px);
  }
}

.scroll-text {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);

  color: var(--light-pink);
  font-size: 10px;
  letter-spacing: 3px;
  white-space: nowrap;
  opacity: .8;
}

.hero-signature {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;

  color: var(--light-pink);
  font-size: 10px;
  letter-spacing: 1.2px;
  white-space: nowrap;
  opacity: .72;
}

.hero-signature span {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-style: italic;
  color: var(--soft-pink);
}

/* ==============================
   SHARED SECTIONS
============================== */

.section {
  position: relative;
  padding: 110px 8%;
}

.section-heading {
  max-width: 1200px;
  margin: 0 auto 55px;
}

.section-index {
  color: var(--soft-pink);
  font-size: 11px;
  letter-spacing: 3px;
}

.section-heading h2,
.contact-box h2 {
  margin-top: 15px;

  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 500;
}

.section-heading em,
.contact-box em {
  color: var(--soft-pink);
  font-weight: 400;
}

.section-subtitle {
  margin-top: 18px;
  color: #DDA9B9;
  line-height: 1.7;
}

/* ==============================
   ABOUT
============================== */

.about {
  background: #310B19;
}

.about-content {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-content h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.5;
}

.about-content p {
  margin-bottom: 17px;

  color: #E5B6C3;
  font-size: 15px;
  line-height: 2;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 6px;

  color: var(--light-pink);
  border-bottom: 1px solid var(--soft-pink);
  font-size: 13px;
}
/* BEYOND THE CODE — ABOUT */

.beyond-code {
  max-width: 1200px;
  margin: 85px auto 0;
}

.beyond-heading {
  margin-bottom: 30px;
}

.beyond-heading .section-index {
  display: block;
  margin-bottom: 12px;
  color: #e9a9c5;
  font-size: 11px;
  letter-spacing: 2px;
}

.beyond-heading h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff1f6;
}

.beyond-heading h3 em {
  color: #f2a6c6;
}

.beyond-heading > p {
  max-width: 570px;
  color: #c9aebd;
  line-height: 1.8;
  font-size: 14px;
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.beyond-item {
  position: relative;
  min-width: 0;
  min-height: 235px;
  padding: 28px 22px;
  overflow: hidden;

  border: 1px solid rgba(245, 175, 206, 0.15);
  border-radius: 20px;

  background: linear-gradient(
    145deg,
    rgba(111, 53, 85, 0.36),
    rgba(53, 25, 48, 0.65)
  );

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.beyond-item:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 175, 206, 0.48);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.beyond-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 49px;
  height: 49px;
  margin-bottom: 25px;

  border-radius: 14px;
  background: rgba(246, 170, 202, 0.12);

  color: #f7b9d3;
  font-size: 25px;
}

.beyond-item h4 {
  color: #fff0f6;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.beyond-item p {
  color: #d2b8c6;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .beyond-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 550px) {
  .beyond-code {
    margin-top: 55px;
  }

  .beyond-grid {
    grid-template-columns: 1fr;
  }

  .beyond-item {
    min-height: auto;
  }
}
/* ==============================
   SKILLS
============================== */

.skills {
  background: var(--burgundy);
}

.skills-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.skill-card {
  min-height: 255px;
  padding: 38px 30px;

  display: flex;
  flex-direction: column;

  border-radius: 25px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(247, 214, 220, .16);

  backdrop-filter: blur(15px);

  transition:
    transform .4s,
    background .4s,
    border-color .4s,
    box-shadow .4s;
}

.skill-card:hover {
  transform: translateY(-10px);

  background: rgba(204, 86, 113, .12);
  border-color: rgba(224, 122, 148, .5);

  box-shadow:
    0 20px 50px rgba(26, 3, 11, .3);
}

.skill-symbol {
  font-family: "Playfair Display", serif;
  font-size: 35px;
  color: var(--soft-pink);
}

.skill-card h3 {
  margin: 22px 0 12px;
  font-size: 19px;
}

.skill-card p {
  color: #E4B6C3;
  font-size: 13px;
  line-height: 1.8;
}

.skill-foot {
  margin-top: auto;
  padding-top: 20px;

  color: var(--soft-pink);
  font-size: 9px;
  letter-spacing: 2px;
}

/* ==============================
   PROJECTS
============================== */

.projects {
  background: #310B19;
}

.projects-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
}

.project-card {
  min-width: 0;
}

.project-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  height: 310px;
  padding: 25px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, .15);

  transition:
    transform .5s,
    box-shadow .5s;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -1;

  background:
    linear-gradient(
      120deg,
      transparent 40%,
      rgba(255, 255, 255, .09) 50%,
      transparent 60%
    );

  transform: translateX(-65%) rotate(12deg);
  transition: transform .85s;
}

.project-card:hover .project-preview::before {
  transform: translateX(65%) rotate(12deg);
}

.project-card:hover .project-preview {
  transform: translateY(-7px);

  box-shadow:
    0 25px 50px rgba(19, 2, 8, .44);
}

.project-number {
  font-size: 11px;
  letter-spacing: 2px;
}

.project-preview h3 {
  position: relative;

  font-family: "Playfair Display", serif;
  font-size: clamp(35px, 4vw, 58px);
  font-weight: 500;
}

.preview-decoration {
  position: absolute;
  right: 20px;
  top: 45px;

  font-family: "Playfair Display", serif;
  font-size: 190px;
  line-height: 1;

  opacity: .11;
  pointer-events: none;
}

.preview-one {
  background: linear-gradient(135deg, #2d0516, #0b043a);
}

.preview-two {
  background: linear-gradient(135deg, #514783, #201B4C);
}

.preview-three {
  background: linear-gradient(135deg, #963C4B, #3A0B15);
}

.preview-four {
  background: linear-gradient(135deg, #285A9c, #101b40);
}


/* ===== CHERRY NOIR DESIGN SYSTEM ===== */

:root {
    --dark: #4B0F1E;
    --wine: #6D1D32;
    --berry: #8E2B44;
    --cherry: #B23C59;
    --rose: #CC5671;
    --pink: #E07A94;
    --blush: #F7D6DC;

    --text: #FFF0F2;
    --muted: #E6BFC8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--dark);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* ===== DEEP BURGUNDY BACKGROUND ===== */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 15% 15%,
            rgba(204, 86, 113, .18),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 70%,
            rgba(142, 43, 68, .24),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            #4B0F1E 0%,
            #310915 55%,
            #6D1D32 100%
        );
}

/* ===== GLASS NAVBAR ===== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    padding: 22px 5%;
    transition: padding .35s ease;
}

.navbar {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    width: 100%;
    max-width: 1380px;
    min-height: 82px;
    margin: 0 auto;
    padding: 14px 30px;

    /* Glassmorphism */
    background: rgba(247, 214, 220, .075);

    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);

    border: 1px solid rgba(255, 225, 234, .26);
    border-radius: 24px;

    box-shadow:
        0 18px 60px rgba(20, 0, 8, .25),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -1px 0 rgba(255,255,255,.04);

    animation: navbarReveal 1s ease both;
}

/* Glass shine */

.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;

    background: linear-gradient(
        125deg,
        rgba(255,255,255,.15) 0%,
        rgba(255,255,255,.025) 35%,
        transparent 65%
    );
}

/* Light traveling along bottom edge */

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,230,240,.9),
        transparent
    );

    box-shadow: 0 0 18px rgba(255,180,205,.7);
    animation: glassPulse 4s ease-in-out infinite;
}

@keyframes navbarReveal {
    from {
        opacity: 0;
        transform: translateY(-30px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes glassPulse {
    0%, 100% {
        opacity: .25;
    }

    50% {
        opacity: 1;
    }
}

/* ===== ASEELFA LOGO ===== */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;

    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.8px;

    color: #FFF0F2;

    text-shadow: 0 0 25px rgba(255,210,225,.2);
    transition: text-shadow .3s ease;
}

.logo:hover {
    text-shadow: 0 0 22px rgba(255,210,225,.8);
}

.logo-cherry {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(224,122,148,.4));

    animation: cherryFloat 3.5s ease-in-out infinite;
}

@keyframes cherryFloat {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-5px) rotate(8deg);
    }
}

/* ===== NAV LINKS ===== */

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.5vw, 38px);
}

.nav-link {
    position: relative;
    padding: 10px 0;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;

    color: rgba(255,235,240,.7);

    transition:
        color .3s ease,
        transform .3s ease,
        text-shadow .3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;

    width: 0;
    height: 2px;
    border-radius: 10px;

    background: var(--pink);
    box-shadow: 0 0 14px var(--pink);

    transform: translateX(-50%);
    transition: width .35s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    transform: translateY(-2px);

    text-shadow: 0 0 15px rgba(224,122,148,.6);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== CONTACT BUTTON ===== */

.contact-btn,
.mobile-contact {
    position: relative;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px 23px;
    border-radius: 100px;

    background: linear-gradient(
        120deg,
        #B23C59,
        #E07A94,
        #B23C59
    );

    background-size: 200% 200%;

    color: white;
    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(178,60,89,.28);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    animation: gradientFlow 5s ease infinite;
}

.contact-btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        100deg,
        transparent 25%,
        rgba(255,255,255,.4) 50%,
        transparent 75%
    );

    transform: translateX(-150%);
    transition: transform .7s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 35px rgba(204,86,113,.5),
        0 0 20px rgba(224,122,148,.3);
}

.contact-btn:hover::before {
    transform: translateX(150%);
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ===== MOBILE MENU BUTTON ===== */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;

    border: 1px solid rgba(255,225,234,.22);
    border-radius: 13px;

    background: rgba(255,255,255,.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;

    background: var(--blush);
    border-radius: 5px;

    transition: transform .3s ease, opacity .3s ease;
}

.mobile-contact {
    display: none;
}

/* ===== HERO SPACE ===== */

.hero-placeholder {
    min-height: 100svh;
    position: relative;
}

/* ===== TABLET ===== */

@media (max-width: 1000px) {
    .site-header {
        padding: 16px 3%;
    }

    .navbar {
        padding: 12px 20px;
        gap: 14px;
    }

    .logo {
        font-size: 25px;
    }

    .logo-cherry {
        width: 26px;
        height: 26px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 12px;
    }

    .contact-btn {
        padding: 12px 17px;
    }
}

/* ===== PHONE ===== */

@media (max-width: 760px) {
    .site-header {
        padding: 14px;
    }

    .navbar {
        min-height: 70px;
        padding: 12px 17px;
        border-radius: 20px;
    }

    .logo {
        font-size: 27px;
    }

    .contact-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        padding: 16px;
        border-radius: 20px;

        background: rgba(75,15,30,.94);

        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);

        border: 1px solid rgba(255,225,234,.22);

        box-shadow: 0 20px 45px rgba(0,0,0,.35);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);

        transition:
            opacity .3s ease,
            transform .3s ease,
            visibility .3s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        padding: 13px 15px;
        font-size: 14px;
        border-radius: 10px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255,255,255,.08);
        transform: none;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-contact {
        display: flex;
        margin-top: 10px;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ===== SMALL PHONES ===== */

@media (max-width: 380px) {
    .site-header {
        padding: 10px;
    }

    .navbar {
        padding: 10px 13px;
    }

    .logo {
        font-size: 23px;
    }

    .logo-cherry {
        width: 23px;
        height: 23px;
    }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
.preview-five {
  background: linear-gradient(135deg, #A84772, #3B1535);
}

.preview-six {
  background: linear-gradient(135deg, #314D7C, #131A3E);
}

.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 22px 5px;
}

.project-info h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.project-info p {
  color: #DDA9B9;
  font-size: 12px;
  line-height: 1.6;
}

.project-info a {
  width: 43px;
  height: 43px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  border: 1px solid rgba(224, 122, 148, .5);
  border-radius: 50%;

  transition: background .3s, transform .3s;
}

.project-info a:hover {
  background: var(--cherry);
  transform: rotate(45deg);
}

.project-status {
  padding: 8px 10px;
  border-radius: 20px;

  border: 1px solid rgba(224, 122, 148, .3);

  color: var(--soft-pink);
  font-size: 10px;
  white-space: nowrap;
}

/* ==============================
   CONTACT
============================== */

.contact {
  background: var(--burgundy);
}

.contact-box {
  position: relative;
  overflow: hidden;

  max-width: 1100px;
  margin: auto;
  padding: 80px 30px;

  text-align: center;
  border-radius: 35px;

  border: 1px solid rgba(247, 214, 220, .22);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(204, 86, 113, .26),
      transparent 65%
    ),
    rgba(255, 255, 255, .03);

  backdrop-filter: blur(20px);
}

.contact-box h2 {
  max-width: 750px;
  margin: 20px auto;
}

.contact-box em {
  display: block;
}

.contact-box p {
  margin-bottom: 35px;
  color: #E4B6C3;
}

/* ==============================
   FOOTER
============================== */

.footer {
  padding: 30px 8%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, .08);

  color: #DDA9B9;
  font-size: 12px;
}

.footer-logo {
  color: white;
  font-size: 23px;
}

.footer-logo img {
  width: 22px;
  height: 22px;
}

/* ==============================
   SCROLL REVEAL
============================== */

.reveal {
  opacity: 0;
  transform: translateY(45px);

  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2, .8, .2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   TABLET
============================== */

@media (max-width: 1000px) {

  .nav-links {
    gap: 15px;
  }

  .hero-container {
    gap: 4%;
  }

  .hero h1 {
    font-size: clamp(45px, 6vw, 70px);
  }

  .floating-one {
    right: -8px;
  }

  .floating-two {
    left: -8px;
  }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 760px) {

  .header {
    top: 12px;
    padding: 0 4%;
  }

  .navbar {
    min-height: 65px;
    padding: 12px 18px;
    border-radius: 20px;
  }

  .logo {
    font-size: 23px;
  }

  .logo img {
    width: 23px;
    height: 23px;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .nav-contact {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    left: 4%;
    right: 4%;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;

    padding: 25px;
    border-radius: 22px;

    background: rgba(75, 15, 30, .95);
    border: 1px solid rgba(247, 214, 220, .25);

    backdrop-filter: blur(25px);

    box-shadow:
      0 20px 45px rgba(0, 0, 0, .25);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 15px;
  }

  .hero {
    min-height: 100svh;
    padding: 130px 7% 110px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .hero-text {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(47px, 11vw, 75px);
  }

  .description {
    margin: auto;
  }

  .hero-buttons,
  .little-note {
    justify-content: center;
  }

  .hero-image {
    max-width: 380px;
    width: 88%;
  }

  .floating-text {
    font-size: 8px;
    padding: 10px 12px;
  }

  .section {
    padding: 85px 7%;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-preview {
    height: 270px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .scroll-text {
    bottom: 43px;
  }

  .hero-signature {
    bottom: 14px;
    font-size: 9px;
    letter-spacing: .5px;
  }
}

@media (max-width: 380px) {

  .hero h1 {
    font-size: 43px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .primary-btn,
  .hero-buttons .outline-btn {
    width: 100%;
  }

  .image-label {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .floating-text {
    letter-spacing: 1px;
  }

  .project-info {
    align-items: flex-start;
  }

  .project-status {
    font-size: 8px;
  }
}

/* ==============================
   REDUCED MOTION
============================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
  }

  .hero-glow,
  .image-halo,
  .image-shine,
  .floating-text,
  .note-dot {
    animation: none;
  }

  .falling-cherry {
    display: none;
  }
}

/* LUNE CARD */

.lune-preview {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.lune-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}

.lune-preview:hover img {
  transform: scale(1.05);
}

.lune-view {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: #230811CC;
  color: white;
  border: 1px solid #F7D6DC66;
  border-radius: 30px;
  padding: 10px 16px;
  font-size: 11px;
}
.preview-two {
    position: relative;
}


/* TAIF PROJECT PREVIEW */

.taif-preview {
  position: relative;
  min-height: 330px;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 25% 25%,
      rgba(69, 8, 31, 0.3),
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(206, 204, 221, 0.35),
      transparent 55%
    ),
    linear-gradient(135deg, #3e0c20, #1b040d 55%, #07024d);
}

.taif-preview .project-number {
  position: relative;
  z-index: 3;
  color: #fff;
  letter-spacing: 2px;
  font-size: 11px;
}

.taif-preview-art {
  position: absolute;
  inset: 48px 12px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.taif-preview-screen {
  position: relative;
  width: min(34%, 145px);
  aspect-ratio: 402 / 874;
  overflow: hidden;
  border-radius: 18px;
  background: #f9f2f4;
  border: 4px solid rgba(255,255,255,0.75);
  box-shadow:
    0 18px 36px rgba(15, 7, 31, 0.35),
    0 0 25px rgba(255, 190, 230, 0.12);
  transition: transform 0.5s ease;
}

.taif-preview-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.taif-preview-child {
  transform: rotate(-9deg) translateY(10px);
  z-index: 2;
}

.taif-preview-parent {
  transform: rotate(9deg) translateY(-4px);
  z-index: 1;
}

.taif-preview:hover .taif-preview-child {
  transform: rotate(-4deg) translateY(0);
}

.taif-preview:hover .taif-preview-parent {
  transform: rotate(4deg) translateY(0);
}

.taif-preview-labels {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffe6f1;
}

.taif-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
}

@media (max-width: 600px) {
  .taif-preview {
    min-height: 290px;
  }

  .taif-preview-art {
    gap: 12px;
  }

  .taif-preview-screen {
    width: min(35%, 125px);
    border-radius: 14px;
    border-width: 3px;
  }

  .taif-preview-labels {
    gap: 20px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .taif-preview-screen {
    transition: none;
  }
}

/* Nasem AlKheer project cover */

.preview-one {
  position: relative;
  overflow: hidden;
}

.naseem-cover {
  position: absolute;
  height: 88%;
  width: auto;
  max-width: 75%;
  object-fit: contain;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.preview-one:hover .naseem-cover {
  transform: translate(-50%, -50%) rotate(-2deg) scale(1.05);
}

.naseem-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}
.preview-six {
  position: relative;
}

.vera-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
}
/* Vera - Full Card Image */

.preview-six {
    position: relative;
    overflow: hidden;
}

.preview-six .vera-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    filter: none;
    border-radius: inherit;
    z-index: 1;
}

.preview-six .preview-decoration {
    display: none;
}

.preview-six > h3 {
    display: none;
}

.preview-six .project-number {
    position: absolute;
    top: 24px;
    left: 28px;
    z-index: 3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.preview-six .vera-card-link {
    position: absolute;
    inset: 0;
    z-index: 4;
}

/* TIC TAC TOE PORTFOLIO CARD */

.xo-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 350px;
  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(204, 86, 113, 0.22),
      transparent 45%
    ),
    linear-gradient(145deg, #32101f, #170911 80%) !important;
  border: 1px solid rgba(247, 214, 220, 0.25);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.xo-preview:hover {
  box-shadow: 0 20px 55px rgba(224, 122, 148, 0.25);
}

.xo-art {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.xo-letter {
  font-family: Georgia, serif;
  font-size: clamp(115px, 15vw, 205px);
  font-weight: 900;
  line-height: 1;
  user-select: none;
  transition: transform 0.5s ease;
}

.xo-x {
  color: #e07a94;
  transform: rotate(-14deg) translateY(-15px);
  text-shadow:
    4px 5px 0 #8e2b44,
    9px 11px 0 #4b0f1e,
    0 0 35px rgba(224, 122, 148, 0.35);
}

.xo-o {
  color: #f7d6dc;
  transform: rotate(13deg) translateY(16px);
  text-shadow:
    4px 5px 0 #b23c59,
    9px 11px 0 #6d1d32,
    0 0 35px rgba(247, 214, 220, 0.25);
}

.xo-preview:hover .xo-x {
  transform: rotate(-7deg) translateY(-25px) scale(1.05);
}

.xo-preview:hover .xo-o {
  transform: rotate(6deg) translateY(7px) scale(1.05);
}

.xo-sparkle {
  position: absolute;
  color: #f7d6dc;
  font-size: 28px;
  opacity: 0.75;
  animation: xoTwinkle 3s ease-in-out infinite;
}

.xo-sparkle-one {
  top: 23%;
  right: 18%;
}

.xo-sparkle-two {
  bottom: 30%;
  left: 15%;
  animation-delay: 1.3s;
}

.xo-preview-title {
  position: absolute;
  bottom: 22px;
  left: 28px;
  z-index: 2;
  color: #fff0f3;
  font-family: Georgia, serif;
  font-size: 36px;
  margin: 0;
  pointer-events: none;
}

.xo-preview .project-number {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 2;
  color: #f7d6dc;
}

.xo-card-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  cursor: pointer;
}

@keyframes xoTwinkle {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@media (max-width: 600px) {
  .xo-preview {
    min-height: 280px;
  }

  .xo-letter {
    font-size: 125px;
  }

  .xo-preview-title {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xo-sparkle {
    animation: none;
  }
}
/* JADWALI PROJECT CARD */

.jadwali-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 30%, #6b9be755, transparent 48%),
    linear-gradient(135deg, #285a9c, #101b40);
}

.jadwali-preview::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid #ffffff19;
  border-radius: 50%;
  top: -120px;
  right: -90px;
  pointer-events: none;
}

.jadwali-preview > h3 {
  position: relative;
  z-index: 2;
}

.jadwali-art {
  position: absolute;
  inset: 42px 12px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.jadwali-laptop {
  width: min(76%, 310px);
  transform: rotate(-7deg);
  filter: drop-shadow(0 20px 20px #020a2670);
  transition: transform .45s ease;
}

.jadwali-card:hover .jadwali-laptop {
  transform: rotate(-3deg) translateY(-8px);
}

.jadwali-screen {
  padding: 9px;
  background: #eaf2ff;
  border: 7px solid #101b35;
  border-radius: 12px 12px 5px 5px;
  aspect-ratio: 1.5;
}

.jadwali-screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.jadwali-mini-logo {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 800;
  color: #224a85;
}

.jadwali-mini-dots {
  color: #88a8d7;
  font-size: 7px;
  letter-spacing: 2px;
}

.jadwali-schedule {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.jadwali-day {
  background: #d5e4fa;
  border-radius: 3px;
  padding: 5px 0;
  text-align: center;
  color: #375887;
  font-size: 7px;
  font-weight: 700;
}

.jadwali-class {
  background: #6b9fe8;
  border-radius: 4px;
  padding: 10px 2px;
  text-align: center;
  color: #102d58;
  font-size: 9px;
  font-weight: 800;
}

.jadwali-class.light {
  background: #b7d3f8;
}

.jadwali-keyboard {
  height: 11px;
  background: linear-gradient(#dce9fc, #92b3e2);
  border-radius: 0 0 4px 4px;
  margin: 0 -12px;
}

.jadwali-laptop-base {
  height: 5px;
  width: 55%;
  background: #668ec6;
  margin: auto;
  border-radius: 0 0 12px 12px;
}

.jadwali-float {
  position: absolute;
  color: #c5e0ff;
  text-shadow: 0 6px 15px #00000035;
  animation: jadwaliFloat 4s ease-in-out infinite;
}

.jadwali-pencil {
  top: 12%;
  right: 12%;
  font-size: 43px;
  transform: rotate(-25deg);
}

.jadwali-book {
  bottom: 16%;
  left: 5%;
  font-size: 42px;
}

.jadwali-star {
  top: 15%;
  left: 13%;
  font-size: 24px;
  color: #f3d48e;
}

.jadwali-note {
  bottom: 10%;
  right: 7%;
  font-size: 24px;
  font-weight: 800;
  color: #f3d48e;
}

.jadwali-calendar {
  top: 40%;
  right: 2%;
  font-size: 30px;
}

.jadwali-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

@keyframes jadwaliFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@media (prefers-reduced-motion: reduce) {
  .jadwali-float {
    animation: none;
  }
}