/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Offsets anchor jumps so the sticky header doesn't cover section tops */
  scroll-padding-top: 72px; 
}

body {
  padding-bottom: 72px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #261826;
  overflow-x: hidden;

  /* Custom cursor image (replace 'cursor.png' with your file path) */
  cursor: url('img/cursor.svg') 0 0, auto;
}


/* Standard text cursor for form inputs */
input,
textarea {
  cursor: text;
}

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

/* =========================================
   2. PLACEHOLDER BOXES (Replace with <img>)
   ========================================= */
.placeholder-box {
  background-color: #181818;
  color: #ffffff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
  letter-spacing: 0.04em;
  border-radius: 2px;
  overflow: hidden;
}

.placeholder-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   3. STICKY TOP NAVIGATION BAR
   ========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #261826;
  border-bottom: 1px solid rgba(229, 212, 231, 0.15);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: #e5d4e7;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
}

.logo-placeholder {
  background-color: transparent;
  padding: 8px 18px;
  border-radius: 6px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  background: none;
  border: none;
  color: #e5d4e7;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  cursor: url('cursor-pointer.png') 0 0, pointer;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
}

/* CSS-Only Dropdown Menu */
.dropdown {
  position: relative;
}

.caret {
  font-size: 0.75rem;
  margin-left: 4px;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 210px;
  background-color: #3c243b;
  border: 1px solid rgba(229, 212, 231, 0.2);
  border-radius: 10px;
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Reveals on hover or keyboard/tap focus */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #e5d4e7;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background-color: #e5d4e7;
  color: #3c243b;
}

/* =========================================
   4. LAYOUT CONTAINERS & SPACING
   ========================================= */
.landing-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.hero-box {
  aspect-ratio: 1920 / 1330;
  max-height: 85vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* =========================================
   5. ABOUT SECTION
   ========================================= */
.about-section {
  background-color: #2e1d2d;
  color: #f3eaf4;
}

.about-intro {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto 48px auto;
}

.about-photo {
  flex: 0 0 340px;
}

.about-bio {
  flex: 1;
  text-align: left;
}

.about-bio h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #e5d4e7;
  margin-bottom: 20px;
}

.about-bio p {
  font-size: 1.05rem;
  font-weight: 300;
  color: #e5d4e7;
  line-height: 1.7;
}

.subtle-divider {
  border: 0;
  border-top: 2px dashed rgba(229, 212, 231, 0.2);
  max-width: 960px;
  margin: 0 auto 48px auto;
}

/* Four Sub-Titles with Icon Bullet Points */
.about-details {
  max-width: 820px;
  margin: 0 auto 72px auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.icon-bullet {
  flex: 0 0 48px;
  padding-top: 4px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 0.65rem;
}

.detail-content {
  flex: 1;
  text-align: left;
}

.detail-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e5d4e7;
  margin-bottom: 6px;
}

.detail-content p {
  font-size: 1rem;
  font-weight: 300;
  color: #dcd0dd;
}

.sub-image-wrapper {
  margin-top: 18px;
  max-width: 480px;
}

.no-bullets {
  list-style-type: none; /* Removes the bullets */
  padding: 0;            /* Removes default left indentation */
  margin: 0;             /* Removes default top/bottom spacing */
}


/* =========================================
   6. CONTACT FORM (Exact mgform.png Match)
   ========================================= */
.contact-card {
  background-color: #3c243b;
  border-radius: 28px;
  padding: 36px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.contact-card-left {
  flex: 0 0 38%;
  padding-left: 12px;
  color: #e5d4e7;
}

.contact-card-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.contact-card-left p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.95;
}

.contact-card-right {
  flex: 1;
  background-color: #e5d4e7;
  color: #3c243b;
  border-radius: 22px;
  padding: 32px 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 1.05rem;
  font-weight: 400;
  color: #3c243b;
  margin-bottom: 4px;
}

/* Underline Inputs for Email and Project */
.form-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #3c243b;
  padding: 8px 4px;
  font-family: inherit;
  font-size: 1rem;
  color: #3c243b;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  border-bottom-width: 2.5px;
}

/* Rounded Outline Box for Message */
.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1.5px solid #3c243b;
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: #3c243b;
  resize: vertical;
  outline: none;
}

.form-group textarea:focus {
  border-width: 2px;
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

.btn-reach-out {
  background-color: #3c243b;
  color: #e5d4e7;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: 10px;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-reach-out:hover {
  background-color: #4f304e;
  transform: translateY(-2px);
}

/* =========================================
   7. TRANSITION BANNER & ARROW
   ========================================= */
.work-transition {
  background-color: #e5d4e7;
  padding: 28px 20px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-bottom: 4px dashed #36387a;
}

.pill-badge {
  display: inline-block;
  background-color: #3c243b;
  color: #e5d4e7;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 36px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease;
}

.pill-badge:hover {
  transform: translateY(2px);
}

.down-arrow {
  color: #3c243b;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

/* =========================================
   8. PORTFOLIO WORK SECTIONS & DASHED DIVIDERS
   ========================================= */
.work-section {
  padding: 72px 0 88px;
}

/* Section 1: Sunburn */
.theme-sunburn {
  background-color: rgb(51 51 153);
  border-bottom: 4px dashed #e8e1d5;
}

/* Section 2: Sugar and Spice */
.theme-sugar {
  background-color: #e8e1d5;
  border-bottom: 4px dashed #4c2c72;
}

/* Section 3: Moodz */
.theme-moodz {
  background-color: #4c2c72;
  border-bottom: 4px dashed #f4e6d8;
}

/* Section 4: Tranquil Tea */
.theme-tea {
  background-color: #f4e6d8;
  border-bottom: 4px dashed #e5d4e7;
}

/* Centered Section Title Placeholders */
.title-placeholder {
  width: 100%;
  max-width: 625px;
  margin: 0 auto 48px auto;
  display: flex;
  justify-content: center;
}

.title-placeholder.small-title {
  max-width: 380px;
}

.title-placeholder.medium-title {
  max-width: 440px;
}

/* Prevents a replaced <img> from stretching or sitting off-center */
.title-placeholder img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Stacked 1200px Graphic Galleries */
.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gallery-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* =========================================
   9. FOOTER (Fixed to bottom, matches 72px navbar height)
   ========================================= */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background-color: #e5d4e7;
  padding: 8px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(60, 36, 59, 0.15);
}

.footer-top-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-top-link:hover {
  transform: translateY(-2px);
}

.footer-box {
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 460 / 140;
  font-size: 0.85rem;
}

/* Constrains any <img> inside the footer strictly to the 72px footer height */
.site-footer img {
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* =========================================
   10. MOBILE & TABLET RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
  .about-intro {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .about-photo {
    flex: none;
    width: 100%;
    max-width: 340px;
  }

  .about-bio {
    text-align: left;
  }

  .contact-card {
    flex-direction: column;
    padding: 28px 20px;
    gap: 28px;
  }

  .contact-card-left {
    flex: none;
    width: 100%;
    padding-left: 4px;
  }

  .contact-card-right {
    width: 100%;
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 16px;
  }

  .nav-menu {
    gap: 18px;
  }

  .section {
    padding: 56px 0;
  }

  .detail-item {
    gap: 16px;
  }

  .icon-bullet {
    flex: 0 0 38px;
  }

  .icon-box {
    width: 38px;
    height: 38px;
  }

  .gallery-stack {
    gap: 18px;
  }

  .gallery-row-2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .form-status {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #3c243b;
}
}