/* =============================================
   Auggie Smith Designs — Custom Styles
   Base rules match auggie-smith-photography/styles.css;
   shop, form and cart rules follow below.
   ============================================= */

/* ── Typography ─────────────────────────────── */

body {
  font-family: 'Georgia', 'Times New Roman', serif;
}

h1, h2, h3, h4 {
  font-weight: 200;
  letter-spacing: 0.05em;
}

/* ── Navbar ─────────────────────────────────── */

.navbar-brand {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
  transition: color 0.2s ease;
}

/* ── Hero Section ───────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #080808;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.8s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 2rem;
}

.hero-content h1,
.hero-content .hero-name {
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 100;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.hero-content .tagline {
  font-size: clamp(0.7rem, 1.5vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 2.5rem;
}

/* ── Buttons ─────────────────────────────────── */

.btn-photo {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none !important;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
  background: transparent;
  cursor: pointer;
}

.btn-photo:hover {
  background: #ffffff;
  color: #111111;
}

.btn-photo-muted {
  border-color: #555;
  color: #aaa;
}

.btn-photo-muted:hover {
  background: #555;
  color: #fff;
}

/* ── Section Labels ──────────────────────────── */

.section-title {
  text-align: center;
  padding: 4rem 0 0.5rem;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 200;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #e0e0e0;
  border: none;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.section-divider {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 0.5rem auto 0;
  width: 40px;
}

/* ── Featured Grid (Homepage) ────────────────── */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
}

.photo-item {
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.photo-item img:hover {
  transform: scale(1.04);
  opacity: 0.8;
}

.photo-item.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.photo-item.tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

/* ── Portfolio Gallery Grid ──────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 6px;
  padding: 0 6px 6px;
}

.gallery-item {
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.4s ease;
  cursor: zoom-in;
}

.gallery-item img:hover {
  transform: scale(1.04);
  opacity: 0.8;
}

/* ── Category Nav ────────────────────────────── */

.category-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem 1rem 0.5rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.45rem 1.4rem;
  border: 1px solid #3a3a3a;
  background: transparent;
  color: #888;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
  text-decoration: none !important;
}

.category-btn:hover {
  border-color: #e0e0e0;
  color: #e0e0e0;
}

/* ── About Page ──────────────────────────────── */

.about-container {
  max-width: 860px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
}

.about-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 3rem;
}

.about-container h2 {
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888;
  margin-top: 3rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 0.5rem;
}

.about-container p {
  color: #bbb;
  line-height: 1.9;
  font-size: 1.05rem;
}

.about-container ul {
  color: #bbb;
  line-height: 2;
  padding-left: 1.2rem;
}

/* ── Contact Page ────────────────────────────── */

.contact-container {
  max-width: 680px;
  margin: 4rem auto 6rem;
  padding: 0 2rem;
  text-align: center;
}

.contact-container p {
  color: #aaa;
  line-height: 1.9;
  font-size: 1.05rem;
}

.contact-details {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-line {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
}

.contact-line a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-line a:hover {
  color: #fff;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-social a {
  color: #555;
  font-size: 1.4rem;
  transition: color 0.2s ease;
}

.contact-social a:hover {
  color: #e0e0e0;
}

/* ── Footer ──────────────────────────────────── */

.nav-footer {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #444;
  padding: 1.5rem;
}

/* ── Utility ─────────────────────────────────── */

.text-center { text-align: center; }

.cta-block {
  text-align: center;
  padding: 3rem 0 4rem;
}

/* =============================================
   Designs additions
   ============================================= */

:root {
  --craft-accent: #c9a77c;   /* warm kraft-paper tone, used sparingly */
  --craft-line: #2a2a2a;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-photo-sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.65rem;
}

/* ── Product grid ───────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: #111;
  border: 1px solid #1c1c1c;
  display: flex;
  flex-direction: column;
}

.product-card > a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.product-card img:hover {
  transform: scale(1.04);
  opacity: 0.85;
}

.product-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.product-name {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0e0e0;
  margin: 0;
  font-weight: 300;
}

.product-price {
  color: var(--craft-accent);
  font-size: 0.9rem;
  white-space: nowrap;
}

.product-desc {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.product-body .add-to-cart {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.add-to-cart.added {
  border-color: var(--craft-accent);
  color: var(--craft-accent);
}

/* ── Bands and steps ────────────────────────── */

.band {
  background: #0d0d0d;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  margin-top: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.step-num {
  color: var(--craft-accent);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.step h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e0e0e0;
  margin: 0.6rem 0;
}

.step p {
  color: #888;
  line-height: 1.7;
  font-size: 0.95rem;
}

.crosslink {
  text-align: center;
  padding: 4rem 1rem 5rem;
}

.crosslink p {
  color: #777;
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ── Forms ──────────────────────────────────── */

.form-container {
  max-width: 760px;
  margin: 2rem auto 5rem;
  padding: 0 2rem;
}

.form-container .steps {
  padding: 0;
  margin-bottom: 3rem;
}

.lede {
  color: #aaa;
  line-height: 1.9;
  font-size: 1.05rem;
  text-align: center;
  margin: 2rem 0 3rem;
}

.craft-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
}

.craft-form input[type="text"],
.craft-form input[type="email"],
.craft-form input[type="number"],
.craft-form input[type="date"],
.craft-form input[type="url"],
.craft-form select,
.craft-form textarea {
  background: #111;
  border: 1px solid #333;
  color: #e0e0e0;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 0;
  color-scheme: dark;
}

.craft-form input:focus,
.craft-form select:focus,
.craft-form textarea:focus {
  outline: none;
  border-color: var(--craft-accent);
}

.craft-form .invalid {
  border-color: #b5524a !important;
}

.form-hint {
  color: #666;
  font-size: 0.8rem;
}

.form-check {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: #aaa;
}

.form-actions {
  text-align: center;
  margin-top: 1rem;
}

.form-status {
  text-align: center;
  color: var(--craft-accent);
  min-height: 1.5rem;
  letter-spacing: 0.05em;
}

.form-status.error { color: #d9776f; }

.hp {
  position: absolute;
  left: -9999px;
}

/* ── Cart ───────────────────────────────────── */

.cart {
  margin-top: 2.5rem;
}

.cart-empty {
  text-align: center;
  color: #777;
  padding: 2rem 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--craft-line);
}

.cart-row img {
  width: 96px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cart-name {
  color: #e0e0e0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.cart-unit {
  color: #777;
  font-size: 0.85rem;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid #333;
}

.qty button {
  background: transparent;
  border: none;
  color: #aaa;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.qty button:hover { color: #fff; }

.qty span {
  min-width: 1.6rem;
  text-align: center;
  color: #e0e0e0;
}

.cart-line-total {
  color: var(--craft-accent);
  min-width: 5rem;
  text-align: right;
}

.cart-summary {
  margin-top: 2rem;
  text-align: right;
}

.cart-total {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.cart-summary .btn-photo {
  margin-top: 1.2rem;
}

.cart-summary .form-status { text-align: right; }

.secure-note {
  color: #555;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Cart count badge on the navbar bag icon */
.cart-count {
  display: inline-block;
  min-width: 1.15rem;
  padding: 0 0.3rem;
  margin-left: 0.3rem;
  border-radius: 1rem;
  background: var(--craft-accent);
  color: #111;
  font-size: 0.65rem;
  line-height: 1.15rem;
  text-align: center;
  vertical-align: middle;
}

.cart-count:empty { display: none; }

/* ── Responsive ──────────────────────────────── */

@media (max-width: 768px) {
  .steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cart-row {
    grid-template-columns: 72px 1fr;
  }

  .cart-row img { width: 72px; }
}

