/* Reem Tamar — Portfolio Site */
:root {
  --bg: #0f0f0f;
  --bg-card: #1a1a1a;
  --text: #e8e8e8;
  --text-muted: #999;
  --accent: #c9a84c;
  --accent-hover: #dbb960;
  --font-he: 'Heebo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-he);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.8;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.site-logo span { color: var(--accent); }

nav a {
  color: var(--text-muted);
  margin-right: 2rem;
  font-size: .95rem;
  transition: color .2s;
}

nav a:first-child { margin-right: 0; }
nav a:hover, nav a.active { color: var(--accent); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(160deg, #0f0f0f 0%, #1a1510 50%, #0f0f0f 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,.06) 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero h1 span { color: var(--accent); }

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero .cta {
  display: inline-block;
  background: var(--accent);
  color: #0f0f0f;
  padding: .8rem 2.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s;
}

.hero .cta:hover { background: var(--accent-hover); color: #0f0f0f; }

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p { margin-bottom: 1.2rem; color: var(--text-muted); }
.about-text p:first-child { color: var(--text); font-size: 1.1rem; }

.about-image {
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,.15);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .3s, border-color .3s;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,.3);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.gallery-item .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  opacity: 0;
  transition: opacity .3s;
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay h3 { font-size: 1rem; margin-bottom: .3rem; }
.gallery-item .overlay p { font-size: .85rem; color: var(--text-muted); }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin: 3rem 0;
  text-align: center;
}

.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: .9rem; color: var(--text-muted); margin-top: .3rem; }

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 1100px;
  border: 1px solid rgba(201,168,76,.1);
}

.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Inner pages */
.page-hero {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(160deg, #0f0f0f 0%, #1a1510 100%);
}

.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: .8rem; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.page-content p { margin-bottom: 1.5rem; color: var(--text-muted); line-height: 1.9; }
.page-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--text); }

/* Contact form look */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.06);
}

.contact-card h3 { color: var(--accent); margin-bottom: .5rem; font-size: 1.1rem; }
.contact-card p { color: var(--text-muted); font-size: .95rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .about-preview { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-info { grid-template-columns: 1fr; }
  nav { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
}
