/* ============================================================
   OBSCURA — Premium Camera Website
   styles.css
   ============================================================ */

/* ── Reset & Variables ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:     #c8a96e;
  --bg:       #0a0a0a;
  --surface:  #0f0f0f;
  --surface2: #111111;
  --border:   #1e1e1e;
  --text:     #f0ece4;
  --muted:    #888888;
  --dim:      #444444;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 0.5px solid var(--border);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text);
}

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

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 12px;
  color: var(--gold);
  border: 0.5px solid var(--gold);
  padding: 9px 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
}

.hero-left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 0.5px solid var(--border);
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--gold);
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 380px;
  margin-bottom: 44px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
  border: none;
  background: none;
  font-family: 'DM Sans', sans-serif;
}

.btn-ghost:hover {
  color: var(--text);
}

.play-icon {
  width: 36px;
  height: 36px;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75);
}

.hero-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
}

.hero-badge {
  display: inline-block;
  background: rgba(10, 10, 10, 0.8);
  border: 0.5px solid var(--border);
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--gold);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 22s linear infinite;
}

.ticker-inner span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  margin: 0 40px;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid var(--border);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 0.5px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section {
  padding: 80px 60px;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--text);
  margin-bottom: 48px;
  line-height: 1.2;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.product-card {
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card:hover {
  background: #141414;
}

.product-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.6s ease;
}

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

.product-info {
  padding: 28px;
}

.product-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}

.product-price {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.product-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.product-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.product-link::after {
  content: '→';
}

.product-card:hover .product-link {
  gap: 14px;
}

/* ============================================================
   EDITORIAL BAND
   ============================================================ */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.band-img {
  position: relative;
  overflow: hidden;
}

.band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.65);
}

.band-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface2);
}

.band-quote {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--text);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 32px;
}

.band-quote em {
  color: var(--gold);
}

.band-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 14px;
}

.band-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 4px;
  cursor: pointer;
  width: fit-content;
  transition: gap 0.2s;
}

.band-cta:hover {
  gap: 16px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  background: var(--surface2);
  padding: 80px 60px;
  border-top: 0.5px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}

.feature {
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
}

.feature:hover {
  background: #131313;
}

.feature-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.6s ease;
}

.feature:hover .feature-img img {
  transform: scale(1.04);
}

.feature-body {
  padding: 28px 32px;
}

.feature-num {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--border);
  margin-bottom: 14px;
  line-height: 1;
}

.feature-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.test-section {
  padding: 80px 60px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}

.test-card {
  background: var(--surface);
  padding: 36px 32px;
}

.test-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.test-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}

.test-divider {
  width: 32px;
  height: 0.5px;
  background: var(--border);
  margin-bottom: 16px;
}

.test-author {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.test-role {
  font-size: 11px;
  color: var(--dim);
  opacity: 0.6;
  margin-top: 3px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.nl-section {
  background: var(--surface2);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.nl-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 8px;
}

.nl-sub {
  font-size: 13px;
  color: var(--muted);
}

.nl-form {
  display: flex;
}

.nl-input {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-right: none;
  color: var(--text);
  padding: 14px 24px;
  font-size: 13px;
  width: 280px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}

.nl-input::placeholder {
  color: var(--dim);
}

.nl-input:focus {
  border-color: var(--gold);
}

.nl-btn {
  background: var(--gold);
  color: var(--bg);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
}

.nl-btn:hover {
  opacity: 0.85;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 48px 60px;
  border-top: 0.5px solid var(--border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--dim);
  max-width: 200px;
  line-height: 1.7;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 140px);
  gap: 40px;
}

.footer-col-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 10px;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid var(--border);
  padding-top: 24px;
}

.footer-copy {
  font-size: 12px;
  color: var(--dim);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials span {
  font-size: 12px;
  color: var(--dim);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer-socials span:hover {
  color: var(--gold);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE RESPONSIVE — max 768px
   ============================================================ */
@media (max-width: 768px) {

  /* NAV */
  nav {
    padding: 14px 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    font-size: 11px;
    padding: 7px 14px;
  }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-left {
    padding: 40px 24px;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .hero-h1 {
    font-size: 36px;
  }
  .hero-right {
    height: 280px;
  }
  .hero-overlay {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  /* STATS */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }

  /* SECTION */
  .section {
    padding: 48px 24px;
  }
  .section-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  /* PRODUCTS */
  .products {
    grid-template-columns: 1fr;
  }

  /* BAND */
  .band {
    grid-template-columns: 1fr;
  }
  .band-img {
    height: 240px;
  }
  .band-content {
    padding: 40px 24px;
  }
  .band-quote {
    font-size: 22px;
  }

  /* FEATURES */
  .features-section {
    padding: 48px 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* TESTIMONIALS */
  .test-section {
    padding: 48px 24px;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }

  /* NEWSLETTER */
  .nl-section {
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    align-items: flex-start;
  }
  .nl-input {
    width: 100%;
  }
  .nl-form {
    width: 100%;
  }

  /* FOOTER */
  footer {
    padding: 40px 24px;
  }
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* Extra small phones */
@media (max-width: 400px) {
  .hero-h1 {
    font-size: 30px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}
