/* ============================================
   SHN Photographer — Clean CSS
   Fonts loaded via Google Fonts in HTML head
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #626262;
  background: #fff;
}

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

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

h2, h3 {
  font-family: 'Libre Baskerville', serif;
  color: #2a2a2a;
  line-height: 1.2;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #2a2a2a;
  color: #2a2a2a;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  background: transparent;
}

.btn:hover { background: #2a2a2a; color: #fff; }

.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: #2a2a2a; }

/* --- Site Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  transition: background 0.3s, box-shadow 0.3s;
}

body.scrolled .site-header {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo img { height: 40px; width: auto; }

/* --- Desktop Nav --- */
.nav-desktop { display: flex; align-items: center; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2a2a2a;
  transition: opacity 0.2s;
}

.nav-list > li > a:hover,
.nav-list > li.active > a { opacity: 0.5; }

/* Dropdown caret */
.has-submenu .caret {
  display: inline-block;
  margin-left: 3px;
  font-size: 10px;
  color: #2a2a2a;
  vertical-align: middle;
  cursor: pointer;
}

/* Dropdown */
.nav-submenu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  list-style: none;
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
  transition: opacity 0.15s 0.25s, visibility 0.15s 0.25s;
}

.has-submenu:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.15s 0s, visibility 0.15s 0s;
}

.nav-submenu li a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  color: #2a2a2a;
  white-space: nowrap;
  transition: background 0.15s;
}

.nav-submenu li a:hover { background: #f5f5f5; }

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2a2a2a;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Mobile Nav --- */
.nav-mobile {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 2000;
  padding: 80px 32px 32px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nav-mobile.open { transform: translateX(0); }

.nav-mobile .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.nav-mobile .nav-list > li { width: 100%; }

.nav-mobile .nav-list > li > a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
}

.nav-mobile .nav-submenu {
  opacity: 1;
  visibility: visible;
  position: static;
  box-shadow: none;
  padding: 0 0 4px 16px;
  margin-top: 0;
  transition: none;
}

.nav-mobile .nav-submenu li a {
  padding: 7px 0;
  font-size: 13px;
  color: #555;
}

.close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #2a2a2a;
  line-height: 1;
  padding: 4px 8px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
}
.nav-overlay.open { display: block; }

/* --- Hero / Page Banner --- */
.hero {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  padding-top: 64px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  color: #fff;
}

.hero-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 65px;
  line-height: 1.05;
  color: #2a2a2a;
  font-weight: 700;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #2a2a2a;
  margin-top: 12px;
  line-height: 1.7;
}

/* Short banner for inner pages (no text content) */
.page-banner {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: top center;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  pointer-events: none;
}

/* Banner with page title */
.page-banner-titled {
  position: relative;
  min-height: 350px;
  background-size: cover;
  background-position: top center;
  display: flex;
  align-items: flex-end;
}

.page-banner-titled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  pointer-events: none;
}

.page-banner-titled .banner-title {
  position: relative;
  z-index: 1;
  font-family: 'Libre Baskerville', serif;
  font-size: 52px;
  color: #fff;
  padding: 40px 0;
  font-weight: 700;
}

/* --- Content Sections --- */
.section { padding: 80px 0; }
.section-alt { background: #f9f9f9; }
.section-dark { background: #111; }

.section-heading {
  font-family: 'Libre Baskerville', serif;
  font-size: 42px;
  line-height: 1.25;
  color: #2a2a2a;
  margin-bottom: 24px;
}

.section-text {
  font-size: 16px;
  line-height: 1.75;
  color: #626262;
  margin-bottom: 20px;
}

.divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin: 24px 0;
}

/* --- Two Column --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.two-col.align-center { align-items: center; }

/* --- About Page Columns --- */
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
}

.about-images img { margin-bottom: 16px; }

.about-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 24px 0 8px;
  font-family: 'Roboto', sans-serif;
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #515151;
  margin-bottom: 16px;
}

/* --- Homepage Hero Section --- */
.home-hero {
  min-height: 535px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 64px;
  display: flex;
  align-items: flex-end;
}

.home-hero-content {
  padding: 80px 0 80px;
}

.home-hero-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 65px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.1;
  margin-bottom: 16px;
}

.home-hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #2a2a2a;
  line-height: 1.9;
}

/* --- Homepage About Section --- */
.home-about {
  padding: 80px 0;
  background: #fff;
}

.home-about .two-col { align-items: center; }

/* --- Hues in Harmony Section --- */
.hues-section {
  padding: 80px 0;
  background: #111;
  text-align: center;
  color: #fff;
}

.hues-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.hues-subtitle {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}

.hues-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0 auto 32px;
  max-width: 400px;
}

/* --- CTA / Get In Touch --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

/* --- Video Embed --- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
}

.video-wrap iframe,
.video-wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-item { margin-bottom: 56px; }

.video-caption {
  margin-top: 12px;
  font-size: 14px;
  color: #626262;
  line-height: 1.6;
}

.video-caption strong {
  display: block;
  font-size: 15px;
  color: #2a2a2a;
  margin-bottom: 2px;
}

/* --- Photo Gallery (CSS columns masonry) --- */
.photo-gallery {
  columns: 3;
  column-gap: 6px;
}

.photo-gallery figure {
  break-inside: avoid;
  margin-bottom: 6px;
}

.photo-gallery img {
  width: 100%;
  display: block;
  transition: opacity 0.2s;
}

.photo-gallery img:hover { opacity: 0.88; }

/* --- My Work Nav Buttons --- */
.work-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 80px 0;
}

/* --- Instagram Section --- */
.instagram-section {
  padding: 0 0 60px;
  text-align: center;
}

.instagram-section .instagram-link {
  font-weight: 700;
  font-size: 15px;
  color: #2a2a2a;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 24px;
  display: inline-block;
}

/* --- Contact Form --- */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-intro {
  font-size: 15px;
  color: #2a2a2a;
  line-height: 1.8;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 6px;
}

.form-required { color: #b00; margin-left: 2px; }

.required-note {
  font-size: 12px;
  font-style: italic;
  color: #888;
  margin-bottom: 20px;
  display: block;
}

.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #2a2a2a;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus { border-color: #2a2a2a; }

.form-textarea { resize: vertical; min-height: 110px; }

.form-status {
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
  border-radius: 2px;
  display: none;
}
.form-status.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-status.error   { background: #fdecea; color: #c62828; display: block; }

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 40px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a2a2a;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.social-links a:hover { opacity: 1; }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }

/* --- Footer --- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: #aaa;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 900px) {
  .about-cols { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .home-hero { min-height: 380px; background-attachment: scroll; }
  .home-hero-name { font-size: 42px; }
  .home-hero-subtitle { font-size: 16px; }
  .hero { background-attachment: scroll; }
  .hero-title { font-size: 40px; }
  .page-banner-titled .banner-title { font-size: 38px; }
  .section { padding: 60px 0; }
  .section-heading { font-size: 32px; }
  .hues-title { font-size: 36px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .photo-gallery { columns: 2; }
  .work-nav { flex-direction: column; align-items: center; gap: 16px; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .photo-gallery { columns: 1; }
  .home-hero-name { font-size: 34px; }
}
