/* styles.css - Cup and Camera (elegant, dark, full-page hero) */

/* Typography + color tokens (Option A: Headings = Playfair Display, Body = Inter) */
:root{
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, Arial, sans-serif;

  --bg: #0b0f14;
  --surface: #141923;
  --text: #e7e0d9;       /* warm on dark */
  --muted: #c6c6c6;
  --accent: #FF851B;      /* brand accent */
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Global reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
html, body, #root { margin: 0; padding: 0; }

/* Base */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header / branding (minimal) */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 6px;
  background: linear-gradient(135deg, #FF851B 0%, #6f4e37 100%);
  box-shadow: var(--shadow);
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  margin-left: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
nav a:hover { background: rgba(255,255,255,0.08); }

/* Hero (full-page, with background image overlay) */
.hero {
  height: 100vh;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 0 28px;
  position: relative;
  overflow: hidden;
}
.hero-copy { padding: 2rem; }
.tagline {
  color: #d8d8d8;
  font-size: 1.05rem;
  margin-top: 6px;
}
.hero-visual {
  height: 260px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Replace with your hero image path; keep center/cover for best result */
  background: url('assets/images/portfolio/hero.jpg') center/cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* If no image, fallback gradient (optional) */
@supports not (background: url('assets/images/portfolio/hero.jpg') center/cover no-repeat) {
  .hero::before {
    background: linear-gradient(135deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.65) 100%), #0b0f14;
  }
}

/* Content hierarchy (elegant headings) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: #e9e0d9;
  margin: 0.2em 0;
  letter-spacing: .2px;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }

/* Body text remains readable on dark with warm tint */
p, li { font-size: 1rem; color: var(--text); }

/* Portfolio grid (square) */
#portfolio { padding: 20px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.grid figure {
  margin: 0;
  position: relative;
  width: 100%; aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: zoom-in;
}
.grid img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.grid figure:hover img { transform: scale(1.03); }

/* Lightbox (minimal) */
.lightbox {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.85);
  z-index: 999;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; }
.lightbox .close {
  position: absolute; top: 16px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(0,0,0,.6); color: #fff;
  font-size: 22px; line-height: 38px; text-align: center; cursor: pointer;
}

/* About / Bio (minimal) */
section#about { padding: 40px 20px; max-width: 900px; margin: auto; }

/* Contact / minimal form */
section#contact { padding: 40px 20px; background: #0f1115; }
form { display: grid; gap: 12px; max-width: 600px; margin: auto; }
input, textarea {
  padding: 12px; border: 1px solid #333; border-radius: 6px;
  background: #1a1a1a; color: #eaeaea;
  font-family: inherit; font-size: 1rem;
}
button { padding: 12px 16px; border: none; border-radius: 6px;
  background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.25);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.04);
}

/* Footer */
footer { text-align: center; padding: 20px; font-size: .9rem; color: #bbb; }

/* Responsive tweaks */
@media (max-width: 900px){
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; padding: 28px 16px; }
  .hero-visual { height: 210px; }
}1~/* styles.css - Cup and Camera (elegant, dark, full-page hero) */

/* Typography + color tokens (Option A: Headings = Playfair Display, Body = Inter) */
:root{
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, Arial, sans-serif;

  --bg: #0b0f14;
  --surface: #141923;
  --text: #e7e0d9;       /* warm on dark */
  --muted: #c6c6c6;
  --accent: #FF851B;      /* brand accent */
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Global reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
html, body, #root { margin: 0; padding: 0; }

/* Base */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header / branding (minimal) */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 6px;
  background: linear-gradient(135deg, #FF851B 0%, #6f4e37 100%);
  box-shadow: var(--shadow);
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  margin-left: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
nav a:hover { background: rgba(255,255,255,0.08); }

/* Hero (full-page, with background image overlay) */
.hero {
  height: 100vh;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 0 28px;
  position: relative;
  overflow: hidden;
}
.hero-copy { padding: 2rem; }
.tagline {
  color: #d8d8d8;
  font-size: 1.05rem;
  margin-top: 6px;
}
.hero-visual {
  height: 260px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Replace with your hero image path; keep center/cover for best result */
  background: url('assets/images/portfolio/hero.jpg') center/cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* If no image, fallback gradient (optional) */
@supports not (background: url('assets/images/portfolio/hero.jpg') center/cover no-repeat) {
  .hero::before {
    background: linear-gradient(135deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.65) 100%), #0b0f14;
  }
}

/* Content hierarchy (elegant headings) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: #e9e0d9;
  margin: 0.2em 0;
  letter-spacing: .2px;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }

/* Body text remains readable on dark with warm tint */
p, li { font-size: 1rem; color: var(--text); }

/* Portfolio grid (square) */
#portfolio { padding: 20px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.grid figure {
  margin: 0;
  position: relative;
  width: 100%; aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: zoom-in;
}
.grid img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.grid figure:hover img { transform: scale(1.03); }

/* Lightbox (minimal) */
.lightbox {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.85);
  z-index: 999;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; }
.lightbox .close {
  position: absolute; top: 16px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(0,0,0,.6); color: #fff;
  font-size: 22px; line-height: 38px; text-align: center; cursor: pointer;
}

/* About / Bio (minimal) */
section#about { padding: 40px 20px; max-width: 900px; margin: auto; }

/* Contact / minimal form */
section#contact { padding: 40px 20px; background: #0f1115; }
form { display: grid; gap: 12px; max-width: 600px; margin: auto; }
input, textarea {
  padding: 12px; border: 1px solid #333; border-radius: 6px;
  background: #1a1a1a; color: #eaeaea;
  font-family: inherit; font-size: 1rem;
}
button { padding: 12px 16px; border: none; border-radius: 6px;
  background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }

/* Footer */
footer { text-align: center; padding: 20px; font-size: .9rem; color: #bbb; }

/* Responsive tweaks */
@media (max-width: 900px){
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; padding: 28px 16px; }
  .hero-visual { height: 210px; }
}
