/*
Theme Name: Hamad Hassan Ahmad
Theme URI: https://hamadalsarraf.com
Author: Hamad Hassan Ahmad
Author URI: https://hamadalsarraf.com
Description: Personal portfolio theme for Hamad AlSarraf — writer, director, producer.
Version: 1.0
License: Private
Text Domain: hamadhassan
*/

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

body {
  background: #152028;
  color: #e8e4df;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #e8e4df;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,228,223,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #e8e4df; }

.hero {
  padding: 7rem 3rem 5rem;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C0002F;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C0002F;
  flex-shrink: 0;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: #e8e4df;
  margin-bottom: 0.3em;
  letter-spacing: -0.01em;
}

.hero-name span { color: rgba(232,228,223,0.28); }

.hero-bio {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(232,228,223,0.75);
  max-width: 480px;
  margin-top: 1.8rem;
}

.hero-social {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.hero-social a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,228,223,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-social a:hover { color: #e8e4df; }

.divider {
  height: 0.5px;
  background: rgba(255,255,255,0.06);
  margin: 0 3rem;
}

.films-section { padding: 5rem 3rem; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232,228,223,0.5);
  margin-bottom: 3rem;
}

.films-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.film-card {
  background: #172530;
  padding: 2.5rem;
  position: relative;
  cursor: pointer;
  transition: background 0.25s;
}

.film-card:hover { background: #1a2a33; }

.film-card::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C0002F;
  opacity: 0;
  transition: opacity 0.25s;
}

.film-card:hover::after { opacity: 1; }

.film-year {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(232,228,223,0.5);
  margin-bottom: 0.8rem;
}

.film-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: #e8e4df;
  margin-bottom: 0.8rem;
  letter-spacing: 0.02em;
}

.film-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(232,228,223,0.6);
  font-weight: 300;
}

.film-badge {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C0002F;
  border: 0.5px solid #C0002F;
  padding: 4px 10px;
  border-radius: 2px;
}

.about-section {
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}

.about-right {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(232,228,223,0.75);
}

.about-right p { margin-bottom: 1.2rem; }
.about-right p:last-child { margin-bottom: 0; }

.contact-section {
  padding: 5rem 3rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}

.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: #e8e4df;
  margin-bottom: 1.5rem;
}

.contact-btn {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,228,223,0.55);
  border: none;
  border-bottom: 0.5px solid rgba(232,228,223,0.15);
  padding-bottom: 3px;
  cursor: pointer;
  background: none;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  transition: color 0.2s, border-color 0.2s;
}

.contact-btn:hover {
  color: #e8e4df;
  border-bottom-color: rgba(232,228,223,0.4);
}

footer {
  padding: 2rem 3rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(232,228,223,0.5);
  text-transform: uppercase;
}

.footer-social { display: flex; gap: 2rem; }

.footer-social a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232,228,223,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover { color: #e8e4df; }

@media (max-width: 768px) {
  nav { padding: 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .divider { margin: 0 1.5rem; }
  .films-section, .about-section, .contact-section { padding: 3rem 1.5rem; }
  .films-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-section { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 1rem; align-items: flex-start; }
}
