/* Amanda Abou Abdallah — portfolio site */

:root {
  --bg: #14110d;
  --bg-elevated: #1e1912;
  --text: #f7f2ea;
  --text-muted: #b3ac9f;
  --accent: #e2a94f;
  --accent-soft: rgba(226, 169, 79, 0.16);
  --border: rgba(247, 242, 234, 0.1);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0 0 0.5em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  position: relative;
  padding: 6px 12px;
  border-radius: 999px;
  margin: -6px -12px;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links li { padding: 16px 24px; border-top: 1px solid var(--border); }
}

/* Hero */
.hero {
  padding: 140px 0 90px;
  text-align: center;
}

.hero-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 0.3em;
}

.hero p.lede {
  max-width: 640px;
  margin: 0 auto 2em;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #1c1710;
  box-shadow: 0 4px 18px rgba(226, 169, 79, 0.25);
}

.btn-primary:hover {
  background: #eab568;
  box-shadow: 0 6px 22px rgba(226, 169, 79, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sections */
section.section { padding: 90px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head h2 { font-size: 2rem; }

.section-head p {
  color: var(--text-muted);
  max-width: 480px;
}

.section-link {
  color: var(--accent);
  font-size: 0.95rem;
  white-space: nowrap;
}

.section-link:hover { text-decoration: underline; }

/* Grid + cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-elevated);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--accent-soft);
}

.card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #000;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card-media img { transform: scale(1.06); }

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover .play-badge { opacity: 1; }

.play-badge svg { width: 48px; height: 48px; }

.card-body {
  padding: 16px 18px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-tag {
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Work page filters */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--sans);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.filter-btn.active {
  background: var(--accent);
  color: #1c1710;
  border-color: var(--accent);
}

.work-category { margin-bottom: 70px; }

.work-category h3 {
  font-size: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 6px;
}

.work-category .cat-desc {
  color: var(--text-muted);
  margin: 0 0 28px 17px;
  max-width: 600px;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0 60px;
}

.about-grid img {
  border-radius: 16px;
  width: 100%;
}

.about-grid h1 { font-size: 2.6rem; }

.about-grid p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.2em; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; padding-top: 130px; }
}

/* Contact page */
.contact-hero { padding: 150px 0 40px; text-align: center; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding-bottom: 70px;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-soft);
}

.contact-card .icon { font-size: 1.8rem; margin-bottom: 14px; }

.contact-card h3 { font-size: 1.2rem; margin-bottom: 6px; }

.contact-card a.email {
  color: var(--accent);
  font-size: 1.05rem;
  word-break: break-word;
}

.social-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-bottom: 100px;
}

.social-row a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-row a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--accent); }

/* Awards */
.awards-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.awards-list li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.awards-list li:last-child { border-bottom: 1px solid var(--border); }

.award-year {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  width: 40px;
}

.award-name { color: var(--text); }

/* Media / press */
.media-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.media-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.media-card .media-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  overflow: hidden;
}

.media-card .media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card .media-thumb.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  padding: 16px;
}

.media-body {
  padding: 22px 24px 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.media-source {
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-date { color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

.media-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.media-excerpt { color: var(--text-muted); font-size: 0.95rem; max-width: 620px; }

.media-link { color: var(--accent); font-size: 0.9rem; margin-top: 4px; }
.media-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .media-card { grid-template-columns: 1fr; }
  .media-body { padding: 0 20px 20px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}
