/*
Theme Name: Lisa UX Portfolio
Author: Lisa
Description: A clean, modern, responsive portfolio theme for UX designers.
Version: 1.0
Text Domain: lisa-ux-portfolio
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap');

/* =============================================
   VARIABLES
============================================= */
:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --text: #1C1C1C;
  --text-muted: #767676;
  --accent: #1C1C1C;
  --border: #E5E3DE;
  --tag-bg: #EDECE9;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 14px;
  --max: 1120px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* =============================================
   RESET
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* =============================================
   NAVIGATION
============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,247,244,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.site-nav { display: flex; gap: 36px; list-style: none; }
.site-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--text); }

/* =============================================
   HERO
============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 120px 32px 80px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-content { max-width: 600px; }
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  z-index: -1;
}
.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--text-muted);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--text-muted);
}
.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--text);
  color: #fff;
}
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--text); color: var(--text); }

/* =============================================
   SECTIONS
============================================= */
section { padding: 100px 32px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.section-link {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.section-link:hover { color: var(--text); border-color: var(--text); }

/* =============================================
   PROJECT GRID
============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.project-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-info { padding: 24px; }
.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 100px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.project-arrow {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.project-card:hover .project-arrow { gap: 10px; color: var(--text); }

/* =============================================
   ABOUT SECTION
============================================= */
.about-section { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: var(--tag-bg);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section-title { margin-bottom: 24px; }
.about-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

/* =============================================
   CONTACT SECTION
============================================= */
.contact-section {
  text-align: center;
  background: var(--text);
  color: #fff;
}
.contact-section .section-title { color: #fff; margin-bottom: 16px; }
.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.contact-section .btn-primary {
  background: #fff;
  color: var(--text);
}
.contact-section .btn-primary:hover { background: #eee; }
.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}
.contact-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.contact-links a:hover { color: #fff; }

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 32px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   SINGLE PROJECT PAGE
============================================= */
.single-hero {
  padding: 140px 32px 60px;
  max-width: var(--max);
  margin: 0 auto;
}
.single-hero .tag { margin-bottom: 20px; display: inline-block; }
.single-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
}
.single-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.meta-item label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.meta-item span { font-size: 15px; }
.single-cover {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--tag-bg);
  margin-bottom: 80px;
  overflow: hidden;
}
.single-cover img { width: 100%; height: 100%; object-fit: cover; }
.single-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 100px;
}
.single-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin: 48px 0 16px;
}
.single-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.single-content img {
  border-radius: var(--radius);
  margin: 32px 0;
  width: 100%;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { aspect-ratio: 3/2; }
}
@media (max-width: 640px) {
  section { padding: 70px 20px; }
  .nav-inner { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 20px; }
  .single-hero { padding: 100px 20px 40px; }
  .single-content { padding: 0 20px 80px; }
  .single-meta { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
