/*
Theme Name: Hitquai Photography
Theme URI: https://example.com
Author: Sastaa.pk Studio
Description: A one-page photography portfolio theme with a hero banner, street fashion, editorial, retail, and about sections. Every photo is editable from Appearance > Customize.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hitquai-photography
*/

:root {
  --color-red: #6e1e1e;
  --color-olive: #8b8a5e;
  --color-dark: #1a1a1a;
  --color-cream: #faf8f5;
  --color-muted: #6b6b6b;
  --font-heading: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-cream);
  line-height: 1.6;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header / nav */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 24px 0;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .site-title {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
}
.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0; padding: 0;
}
.site-header nav a {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  height: 92vh;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 8vw, 84px);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
}
.hero-scroll {
  margin-top: 24px;
  font-size: 22px;
  opacity: .85;
}

/* Section headings */
.section {
  padding: 90px 0;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: 42px;
  margin: 0 0 40px;
  text-align: right;
  font-style: italic;
}
.section-heading.align-left { text-align: left; }

/* Gallery grids */
.gallery-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.gallery-row.cols-2 { grid-template-columns: 1fr 1fr; }
.gallery-row.cols-2.uneven { grid-template-columns: 1fr 1.3fr; }
.gallery-row.full { grid-template-columns: 1fr; }

.gallery-item { position: relative; overflow: hidden; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  margin-top: 10px;
}
.gallery-caption .title { font-weight: 500; font-size: 15px; }
.gallery-caption .sub { color: var(--color-muted); font-size: 13px; }

/* Who we are */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.about h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-style: italic;
  margin: 0 0 20px;
}
.about p { color: var(--color-muted); max-width: 460px; }

/* Footer CTA */
.site-footer {
  background: var(--color-olive);
  color: #fff;
  padding: 90px 0 50px;
  text-align: center;
}
.site-footer .footer-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 40px;
}
.site-footer .footer-cta { font-size: 13px; letter-spacing: 1px; margin-bottom: 24px; }
.site-footer .footer-cta a { text-decoration: underline; }
.social-icons {
  display: flex; justify-content: center; gap: 20px;
  list-style: none; padding: 0; margin: 0;
}
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  font-size: 14px;
}

@media (max-width: 780px) {
  .about { grid-template-columns: 1fr; }
  .gallery-row.cols-2, .gallery-row.cols-2.uneven { grid-template-columns: 1fr; }
  .site-header nav { display: none; }
  .section-heading { text-align: left; font-size: 32px; }
}
