/*
Theme Name: Rimsha Portfolio v2
Author: Rimsha Shakil
Description: Personal brand portfolio theme — banner, about videos, accomplishments, education, certification, and two tab-based project sections (Brand Projects, Projects & Skills), each linking to an editable landing page with multiple links. All images, videos, text and links are editable from Appearance > Customize and the post editor.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rimsha-portfolio-v2
*/

:root {
  --gold: #c69a55;
  --dark: #0e0f10;
  --card: #17191c;
  --text: #f1f1ee;
  --muted: #b8b6ae;
  --line: #2a2c2f;
  --font-heading: 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Inter', Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,15,16,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.site-header .brand { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav ul {
  display: flex; gap: 22px; list-style: none; margin: 0; padding: 0;
}
.site-header nav a { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.site-header nav a:hover { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border: 1px solid var(--gold);
  border-radius: 999px; font-size: 13px; letter-spacing: .04em;
}
.btn-primary { background: var(--gold); color: #111; font-weight: 700; }
.btn-outline { color: var(--gold); }

/* Hero */
.hero { min-height: 78vh; display: grid; align-items: end; background-size: cover; background-position: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.88), rgba(10,10,10,.38)); }
.hero-inner { position: relative; padding: 90px 0 60px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(44px, 7vw, 86px); line-height: 1; margin: .12em 0; }
.hero .accent { color: var(--gold); font-style: italic; }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 24px; }

/* Sections */
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section h2 { font-family: var(--font-heading); font-size: clamp(30px, 4vw, 52px); margin: 0 0 24px; }
.section h2 .accent { color: var(--gold); font-style: italic; }

/* About + videos */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; margin-bottom: 40px; }
.about-grid p { color: var(--muted); max-width: 480px; }
.video-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.video-wrap { position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.video-wrap.landscape { aspect-ratio: 16/9; }
.video-wrap.reel { aspect-ratio: 9/16; max-width: 320px; }
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; display: block; }
.video-label { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.6); color: var(--gold); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { border: 1px solid var(--gold); border-radius: 12px; padding: 24px; text-align: center; background: var(--card); }
.stat .num { font-size: 34px; font-weight: 800; color: var(--gold); }
.stat .label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }
.stat .desc { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Education */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edu-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--card); }
.edu-card h3 { font-family: var(--font-heading); margin: 0 0 6px; font-size: 22px; }
.edu-card .school { color: var(--gold); font-size: 14px; }
.edu-card .meta { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* Certification */
.cert-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.cert-grid img { border-radius: 12px; border: 1px solid var(--line); }

/* Project tab cards */
.tab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tab-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tab-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); transition: border-color .2s; }
.tab-card:hover { border-color: var(--gold); }
.tab-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.tab-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tab-card .thumb-empty { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; border-bottom: 1px dashed var(--line); }
.tab-card .body { padding: 16px; }
.tab-card .body h4 { margin: 0; font-size: 16px; }
.tab-card .body span { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* Landing page (single project) */
.landing-hero { padding: 60px 0 30px; }
.landing-hero .back { color: var(--gold); font-size: 13px; }
.landing-hero h1 { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 56px); margin: 16px 0; }
.landing-cover { border-radius: 16px; overflow: hidden; margin-bottom: 40px; border: 1px solid var(--line); }
.link-list { display: flex; flex-direction: column; gap: 12px; }
.link-item {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
  background: var(--card);
}
.link-item:hover { border-color: var(--gold); }
.link-item .arrow { color: var(--gold); }

/* Connect */
.connect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.connect-item .label { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.connect-item .value { margin-top: 4px; }

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

@media (max-width: 900px) {
  .about-grid, .video-grid, .edu-grid, .cert-grid, .connect-grid { grid-template-columns: 1fr; }
  .stats, .tab-grid, .tab-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .site-header nav { display: none; }
}
