/* ════════════════════════════════════════
   ENIFENI DESIGNS — portfolio.css
   Portfolio Page Styles
════════════════════════════════════════ */
 
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Montserrat:wght@300;400;500&display=swap');
 
/* ── RESET & ROOT ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
:root {
  --cream:        #f5f0ea;
  --warm-white:   #faf8f5;
  --dark:         #1a1714;
  --mid:          #5c5148;
  --accent:       #8b6347;
  --gold:         #c9a96e;
  --gold-light:   #e2c99a;
  --border:       rgba(139, 99, 71, 0.18);
  --nav-h:        72px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Montserrat', sans-serif;
}
 
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
 
body {
  background: var(--warm-white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  overflow-x: hidden;
}
 
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
::selection { background: var(--gold); color: var(--dark); }
 
/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 70px);
  background: rgba(26, 23, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  z-index: 1000;
}
 
.logo {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 400;
  text-decoration: none;
}
 
nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
 
nav a {
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
 
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}
 
nav a:hover, nav a.active { color: var(--gold); }
nav a:hover::after, nav a.active::after { width: 100%; }
 
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
 
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  transition: all 0.35s;
}
 
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(26, 23, 20, 0.98);
  padding: 36px clamp(20px, 5vw, 60px) 40px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}
 
.nav-overlay a {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s;
}
 
.nav-overlay a:last-child { border-bottom: none; }
.nav-overlay a:hover { color: var(--gold); }
 
/* ════════════════════════════════════════
   PAGE HEADER
════════════════════════════════════════ */
.page-header {
  margin-top: var(--nav-h);
  padding: clamp(60px, 10vw, 110px) clamp(24px, 6vw, 90px) clamp(40px, 6vw, 70px);
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
 
.page-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: clamp(200px, 35vw, 420px);
  height: clamp(200px, 35vw, 420px);
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.1);
  pointer-events: none;
}
 
.page-header::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 60px;
  width: clamp(150px, 25vw, 300px);
  height: clamp(150px, 25vw, 300px);
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.06);
  pointer-events: none;
}
 
.page-header-label {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 400;
}
 
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.5px;
}
 
.page-header h1 em {
  font-style: italic;
  color: var(--gold-light);
}
 
.page-header p {
  margin-top: 20px;
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255, 255, 255, 0.52);
  max-width: 480px;
  line-height: 1.85;
}
 
/* ════════════════════════════════════════
   PORTFOLIO MASONRY GRID
════════════════════════════════════════ */
.portfolio-section {
  padding: clamp(50px, 8vw, 90px) clamp(20px, 4vw, 60px);
}
 
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 60px;
  gap: clamp(8px, 1.2vw, 14px);
}
 
/* Item sizing */
.port-item { position: relative; overflow: hidden; }
 
.port-item:nth-child(1) { grid-column: 1 / 8;  grid-row: 1 / 9;  }
.port-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 5;  }
.port-item:nth-child(3) { grid-column: 8 / 13; grid-row: 5 / 9;  }
.port-item:nth-child(4) { grid-column: 1 / 5;  grid-row: 9 / 15; }
.port-item:nth-child(5) { grid-column: 5 / 13; grid-row: 9 / 15; }
 
.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
 
.port-item:hover img {
  transform: scale(1.06);
}
 
.port-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, 0);
  display: flex;
  align-items: flex-end;
  padding: clamp(16px, 2.5vw, 28px);
  transition: background 0.45s;
}
 
.port-item:hover .port-overlay {
  background: rgba(26, 23, 20, 0.55);
}
 
.port-label {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 26px);
  color: #fff;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.4s ease;
}
 
.port-item:hover .port-label {
  opacity: 1;
  transform: translateY(0);
}
 
/* ════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════ */
.portfolio-cta {
  text-align: center;
  padding: clamp(70px, 11vw, 120px) clamp(24px, 6vw, 90px);
  background: var(--cream);
  border-top: 1px solid var(--border);
}
 
.portfolio-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 16px;
}
 
.portfolio-cta h2 em { font-style: italic; color: var(--accent); }
 
.portfolio-cta p {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--mid);
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.85;
}
 
/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: clamp(11px, 1.8vw, 15px) clamp(26px, 3.5vw, 44px);
  font-family: var(--font-body);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.35s ease;
}
 
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
 
.btn-gold:hover {
  background: #b8904a;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 169, 110, 0.35);
}
 
/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--dark);
  padding: clamp(55px, 9vw, 100px) clamp(24px, 6vw, 90px) clamp(28px, 4vw, 44px);
}
 
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 90px);
  padding-bottom: clamp(32px, 5vw, 55px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
 
.footer-logo {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 400;
  display: block;
  margin-bottom: 18px;
}
 
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.85;
  max-width: 290px;
}
 
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 20px;
}
 
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
 
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  text-decoration: none;
  transition: color 0.3s;
}
 
.footer-col a:hover { color: var(--gold); }
 
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
 
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
}
 
/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
════════════════════════════════════════ */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }
 
  .port-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .port-item { height: clamp(200px, 40vw, 360px); }
 
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
 
  .footer-brand { grid-column: span 2; }
}
 
/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
════════════════════════════════════════ */
@media (max-width: 600px) {
  nav { display: none; }
  .hamburger { display: flex; }
 
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
 
  .port-item { height: clamp(220px, 60vw, 340px); }
 
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
 
/* ════════════════════════════════════════
   RESPONSIVE — TINY / APPLE WATCH (≤ 200px)
════════════════════════════════════════ */
@media (max-width: 200px) {
  :root { --nav-h: 50px; }
  header { padding: 0 10px; }
  .logo { font-size: 11px; letter-spacing: 1px; }
  .page-header { padding: 40px 12px 28px; }
  .page-header h1 { font-size: 22px; }
  .portfolio-section { padding: 28px 10px; }
  .port-item { height: 160px; }
  .portfolio-cta { padding: 40px 12px; }
  .btn { padding: 10px 18px; font-size: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
 