/* ============================================================
   DISHITA BARMAN — PORTFOLIO STYLESHEET
   Pure CSS — no frameworks, no build tools needed
   Converted from React/Tailwind project
============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #002012;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── PORTFOLIO ROOT ──────────────────────────────────────── */
.pf-root {
  font-family: 'Kode Mono', monospace;
  background-color: #002012;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.5;
  width: 100%;
  min-height: 100vh;
}

/* ============================================================
   STICKY NAVBAR
============================================================ */
.pf-nav {
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: #002012;
  width: 100%;
  transition: box-shadow 0.3s;
}

.pf-nav.scrolled {
  box-shadow: 0 2px 18px rgba(0,0,0,0.5);
}

.pf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}

/* Logo */
.pf-logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #fff3a6;
  letter-spacing: 0.05em;
  cursor: pointer;
  user-select: none;
  margin-top: 12px;
}

/* Desktop pill nav */
.pf-nav-pill {
  background-color: #fff9d2;
  border-radius: 40px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
}

.pf-nav-pill a {
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.3vw, 1.05rem);
  color: #000000;
  padding: 7px 16px;
  border-radius: 40px;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
  cursor: pointer;
}

.pf-nav-pill a.active,
.pf-nav-pill a:hover {
  background-color: #ff8737;
  color: #fff9d2;
}

/* Hamburger button */
.pf-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1010;
}

.pf-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff9d2;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.pf-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pf-hamburger.open span:nth-child(2) { opacity: 0; }
.pf-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.pf-mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fff9d2;
  border-top: 2px solid rgba(255,135,55,0.4);
}

.pf-mobile-menu.open {
  display: flex;
}

.pf-mobile-menu a {
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  color: #000000;
  padding: 14px 6%;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.pf-mobile-menu a:hover,
.pf-mobile-menu a.active {
  background-color: #ff8737;
  color: #fff9d2;
}

/* ============================================================
   HORIZONTAL DIVIDER BAR
============================================================ */
.pf-bar {
  width: 100%;
  height: 70px;
  background-color: #fff9d2;
  flex-shrink: 0;
}

/* ============================================================
   HERO SECTION
============================================================ */
.pf-hero {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(clamp(40px, 8vw, 90px) + 60px) 5% clamp(50px, 8vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 6vw, 80px);
  flex-wrap: wrap;
  min-height: 80vh;
}

/* Polaroid photo frame */
.pf-polaroid-wrap {
  flex: 0 0 auto;
  width: clamp(220px, 32vw, 460px);
}

.pf-polaroid-card {
  background-color: #f9f1da;
  border-radius: 15px;
  padding: clamp(12px, 2vw, 20px) clamp(12px, 2vw, 20px) clamp(40px, 6vw, 70px);
  transform: skewX(-0.06deg);
  box-shadow: 6px 10px 28px rgba(0,0,0,0.35);
}

.pf-polaroid-card img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.22);
}

/* Hero text block */
.pf-hero-text {
  flex: 1;
  min-width: 260px;
  max-width: 680px;
}

.pf-hero-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: #fff3a6;
  line-height: 1.0;
  letter-spacing: 0.08em;
  margin-bottom: clamp(20px, 3vw, 36px);
  font-weight: 400;
}

.pf-hero-bio {
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 1.15rem);
  color: #ffffff;
  line-height: 1.75;
}

/* ============================================================
   PROJECTS SECTION
============================================================ */
.pf-projects-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5% clamp(15px, 2.5vw, 30px);
}

.pf-projects-heading {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(2.8rem, 6vw, 6rem);
  color: #fff3a6;
  line-height: 1.15;
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 5vw, 70px);
  font-weight: 400;
}

/* Project row layout */
.pf-project-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: clamp(60px, 9vw, 120px);
  flex-wrap: wrap;
}

.pf-project-row.flip {
  flex-direction: row-reverse;
}

.pf-project-info {
  flex: 1;
  min-width: 260px;
  padding-top: 8px;
}

.pf-project-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3.75rem);
  color: #fff3a6;
  line-height: 1.15;
  margin-bottom: clamp(14px, 2vw, 26px);
}

.pf-project-desc {
  font-family: 'Kode Mono', monospace;
  font-weight: 400;
  font-size: clamp(0.78rem, 1.4vw, 1.05rem);
  color: #ffffff;
  line-height: 1.75;
  margin-bottom: clamp(16px, 2vw, 26px);
}

/* Learn More button */
.pf-learn-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
  border-bottom: 1px dashed #fff3a6;
}

.pf-learn-btn:hover { opacity: 0.7; }

.pf-arrow-icon {
  display: inline-flex;
  align-items: center;
  transform: rotate(-55deg);
  flex-shrink: 0;
}

/* Project image container */
.pf-project-img {
  flex: 0 0 auto;
  width: clamp(200px, 33vw, 440px);
}

.pf-project-img img {
  width: 100%;
  height: clamp(250px, 40vw, 600px);
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 8px 6px 18px rgba(0,0,0,0.35);
}

/* Gold variant (Hotel Management) */
.pf-project-img.gold {
  background-color: #d3b375;
  border: 3px solid rgba(255,255,255,0.49);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: clamp(280px, 40vw, 594px);
}

.pf-project-img.gold img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.pf-booking-label {
  position: absolute;
  bottom: clamp(12px, 3vw, 24px);
  left: 0;
  right: 0;
  font-family: 'Limelight', cursive;
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: rgba(255,250,221,0.98);
  text-align: center;
  pointer-events: none;
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.pf-about-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 100px) 5%;
  display: flex;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  flex-wrap: wrap;
}

.pf-about-photo {
  flex: 0 0 auto;
  width: clamp(180px, 28vw, 380px);
}

.pf-about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 6px 8px 20px rgba(0,0,0,0.3);
}

.pf-about-text {
  flex: 1;
  min-width: 260px;
}

.pf-about-heading {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  color: #fff3a6;
  margin-bottom: clamp(16px, 2.5vw, 30px);
  line-height: 1.1;
  font-weight: 400;
}

.pf-about-bio {
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  color: #ffffff;
  line-height: 1.75;
  margin-bottom: clamp(20px, 3vw, 36px);
}

/* Skills tags */
.pf-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pf-skill-tag {
  border: 1px solid #fff3a6;
  color: #fff3a6;
  font-family: 'Kode Mono', monospace;
  font-size: clamp(0.7rem, 1.1vw, 0.85rem);
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255,243,166,0.08);
}

/* ============================================================
   CONTACT / THANK YOU SECTION
============================================================ */
.pf-contact {
  padding-bottom: clamp(30px, 5vw, 60px);
  padding-top: clamp(30px, 5vw, 60px); /* ← adds green space above card */
  background-color: #002012;
}

.pf-ty-card {
  background-color: #fff9d2;
  border-radius: 50px;
  padding: clamp(40px, 6vw, 80px) clamp(30px, 5vw, 80px);
  display: flex;
  gap: clamp(30px, 6vw, 80px);
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1400px;
  margin: clamp(16px, 3vw, 40px) auto;
  position: relative;
}

@media (min-width: 820px) {
  .pf-ty-card {
    align-items: center;
  }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .pf-ty-card {
    margin: 2vw; /* ← adjust this value as needed */
  }
}


.pf-ty-left {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.pf-ty-heading {
  font-family: 'Koulen', sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: #16003f;
  line-height: 0.92;
  /* margin-bottom: clamp(30px, 4vw, 56px); */
  margin-bottom: clamp(15px, 2vw, 28px);
  font-weight: 400;
}
@media (min-width: 820px) {
  .pf-ty-heading {
    margin-left: 90px; /* ← change this value to shift more or less */
  }
}

/* Yellow decorative circle */
.pf-ty-circle {
  position: absolute;
  top: clamp(-10px, -1vw, -20px);
  left: clamp(-10px, -1vw, -20px);
  width: clamp(50px, 7vw, 88px);
  height: clamp(50px, 7vw, 88px);
  background-color: rgba(255, 203, 32, 0.7);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 820px) {
  .pf-ty-circle {
    margin-left: 80px; /* ← change this value to shift more or less */
  }
}

.pf-ty-heading-wrap {
  position: relative;
  z-index: 1;
}

/* Social links list */
/* .pf-social-list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 18px);
  max-width: 100%;
  padding: 0 clamp(10px, 3vw, 24px);
}

.pf-social-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(10px, 3vw, 24px);
}

@media (min-width: 820px) {
  .pf-social-item {
    margin-left: 60px;
  }
}

.pf-social-icon {
  width: clamp(36px, 4vw, 52px);
  height: clamp(36px, 4vw, 52px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-social-icon svg {
  width: 100%;
  height: 100%;
}

.pf-social-url {
  font-family: 'Fraunces', serif; */
  /* font-size: clamp(0.72rem, 1.2vw, 0.95rem); */
  /* font-size: clamp(0.864rem, 1.44vw, 1.14rem);
  color: #000000;
  word-break: break-all;
  transition: opacity 0.2s;
  text-align: left;
}

.pf-social-url:hover {
  opacity: 0.65;
  text-decoration: underline;
} */

.pf-social-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 820px) {
  .pf-social-list {
    margin-left: 80px; /* ← change this value to shift more or less */
  }
}

.pf-social-item {
  display: flex;
}

.pf-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Kode Mono', monospace;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 700;
  color: #000000;
  background: rgba(0, 0, 0, 0.07);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  padding: 10px 20px;
  border-radius: 40px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.pf-social-btn:hover {
  background: #ff8737;
  border-color: #ff8737;
  color: #ffffff;
}

.pf-social-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: stroke 0.2s;
}

/* Right side of contact card */
.pf-ty-right {
  flex: 0 0 auto;
  width: clamp(160px, 26vw, 440px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media (min-width: 820px) {
  .pf-ty-right {
    margin-right: 80px; /* ← change this value to shift more or less */
  }
}
.pf-ty-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 8px 6px 18px rgba(0,0,0,0.25);
  image-rendering: auto;
}

.pf-ty-signature {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  color: #000000;
  margin-top: 20px;
  font-weight: 400;
}

/* ============================================================
   FOOTER
============================================================ */
.pf-footer {
  width: 100%;
  height: 70px;
  background-color: #fff9d2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-footer p {
  font-family: 'Kode Mono', monospace;
  font-size: 0.8rem;
  color: #000000;
  text-align: center;
  padding: 0 16px;
}

/* ============================================================
   PROJECT MODAL
============================================================ */
.pf-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.72);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pf-modal-overlay.open {
  display: flex;
}

.pf-modal-box {
  background-color: #001c10;
  border: 1px solid rgba(255,243,166,0.25);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 48px);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: pfModalIn 0.22s ease;
}

@keyframes pfModalIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.pf-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff3a6;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.2s;
  z-index: 10;
}

.pf-modal-close:hover { opacity: 0.7; }

.pf-modal-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.pf-modal-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.3rem);
  color: #fff3a6;
  margin-bottom: 16px;
  padding-right: 36px;
  line-height: 1.2;
  font-weight: 400;
}

.pf-modal-desc {
  font-family: 'Kode Mono', monospace;
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  color: #ffffff;
  line-height: 1.75;
  margin-bottom: 20px;
}

.pf-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pf-modal-tag {
  border: 1px solid #fff3a6;
  color: #fff3a6;
  font-family: 'Kode Mono', monospace;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,243,166,0.08);
}

.pf-modal-live-btn,
.pf-modal-cta {
  display: inline-block;
  background-color: #ff8737;
  color: #ffffff;
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 40px;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
}

.pf-modal-live-btn:hover,
.pf-modal-cta:hover {
  background-color: #d96a20;
  opacity: 1;
}

.pf-modal-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* ============================================================
   SCROLL TO TOP BUTTON
============================================================ */
.pf-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background-color: #ff8737;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}

.pf-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.pf-modal-section-heading {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #fff3a6;
  font-weight: 400;
  margin-bottom: 8px;
  margin-top: 20px;
}

.pf-modal-section-heading:first-child {
  margin-top: 0;
}

.pf-modal-section-body {
  font-family: 'Kode Mono', monospace;
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  color: #ffffff;
  line-height: 1.75;
  margin-bottom: 8px;
}


/* ============================================================
   RESPONSIVE — TABLET (max 768px)
============================================================ */
@media (max-width: 768px) {
  .pf-hamburger  { display: flex; }
  .pf-nav-pill   { display: none; }

  .pf-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
    padding-top: 80px;
  }

  .pf-polaroid-wrap {
    width: clamp(180px, 65vw, 300px);
    margin: 0 auto;
  }

  .pf-project-row,
  .pf-project-row.flip {
    flex-direction: column;
    align-items: center;
  }

  .pf-project-img {
    width: 100%;
    max-width: 420px;
  }

  .pf-project-img.gold {
    width: 100%;
    max-width: 420px;
    height: clamp(240px, 55vw, 360px);
  }

  .pf-about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pf-about-photo {
    width: clamp(150px, 55vw, 280px);
    margin: 0 auto;
  }

  .pf-skills { justify-content: center; }

  .pf-ty-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 24px;
  }
  

  .pf-ty-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pf-ty-circle { display: none; }

  .pf-social-item { justify-content: center; }

  .pf-ty-right {
    align-items: center;
    width: clamp(140px, 55vw, 260px);
  }

  .pf-ty-signature { text-align: center; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .pf-ty-card {
    margin: 3vw;
  }
}

/* ── MOBILE (max 480px) ─────────────────────────────────── */
@media (max-width: 767px) {
  .pf-ty-card {
    margin: 14px; /* ← covers all mobile including 520px */
    padding: 30px 18px;
  }
  .pf-projects-inner {
    padding: 0 4% clamp(40px, 8vw, 80px);
  }
}

/* ── TOAST NOTIFICATION ───────────────────────────────── */
#pf-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #ff8737;
  color: #ffffff;
  font-family: 'Kode Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 40px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}

#pf-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
