/* ============================================
   PORTFOLIO — style.css
   ============================================ */

/* ── Reset & Base ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #f8f4ee;
  color: #4a3f3f;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f8f4ee; }
::-webkit-scrollbar-thumb { background: #d4a0a0; border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(248, 244, 238, 0.85);
  border-bottom: 1px solid rgba(180, 150, 150, 0.15);
}

/* ============================================
   COMPONENTS
   ============================================ */

/* ── Ornamental divider ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 12px 0;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b07a8a55, transparent);
}

/* ── Ornamental divider2 ── */
.ornament2 {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: left;
  margin: 12px 0;
}
.ornament2::before,
.ornament2::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b07a8a55, transparent);
}

/* ── Moon phases row ── */
.moon-row {
  display: flex;
  gap: 8px;
  align-items: center;
  opacity: 0.5;
  font-size: 14px;
  letter-spacing: 4px;
}

/* ── Section label ── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b07a8a;
}

/* ── Stars ── */
.stars {
  color: #c4a060;
  letter-spacing: 2px;
}

/* ── Arrow decoration ── */
.arrow-deco {
  font-size: 22px;
  color: #b07a8a;
  opacity: 0.7;
}

/* ── Eye icon ── */
.eye-icon {
  font-size: 28px;
  opacity: 0.4;
  display: block;
  text-align: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: #b07a8a;
  color: #fff;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: #9a6478;
  transform: scale(1.03);
}

.btn-outline {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #b07a8a;
  color: #b07a8a;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: #b07a8a;
  color: #fff;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-bg {
  background: linear-gradient(160deg, #e8d8e8 0%, #d6e8f0 40%, #e8e0d0 70%, #f5f0e8 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 170, 185, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================
   FEATURED BAR
   ============================================ */
.featured-bar {
  background: linear-gradient(90deg, #c8d8e0, #d6e8f0);
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.project-card {
  transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(150, 100, 110, 0.18);
}

/* ============================================
   SKILL PILLS
   ============================================ */
.skill-pill {
  transition: transform 0.25s, background 0.25s;
}
.skill-pill:hover {
  transform: scale(1.06);
  background: #e8c4c4;
}

/* ============================================
   OVAL IMAGE FRAME
   ============================================ */
.oval-frame {
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

/* ============================================
   FORM INPUTS
   ============================================ */
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #d4a0a0;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #4a3f3f;
  outline: none;
  transition: border 0.3s;
}
.form-input:focus {
  border-color: #b07a8a;
  background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
