/* ============================================================
   DUTCH TOUCH • GLOBAL STYLES
   Homepage + Nav + Menu + Hero + Tiles
   CLEAN REBUILD — HOMEPAGE SCOPED TO .dt-home
============================================================ */

/* -----------------------------
   COLOR SYSTEM + GLOBAL VARS
----------------------------- */
:root {
  --bg:#050505;
  --ink:#F7F3E9;
  --muted:#AAA7A0;
  --gold:#CDA45A;
  --orange:#E67A00;
  --cream:#F5EFE7;
  --line:#1A1A1A;

  --radius:18px;
  --container:1080px;

  --nav-bg: rgba(0,0,0,0);
  --nav-bg-solid: rgba(0,0,0,0.92);
}

/* -----------------------------
   RESET + BASE
----------------------------- */
* {
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html, body {
  height:100%;
}

body {
  background:var(--bg);
  color:var(--ink);
  font-family:Inter, system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
}

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

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

.no-scroll {
  overflow:hidden;
}

/* ============================================================
   NAV BAR — HOMEPAGE (.dt-home)
============================================================ */

body.dt-home .dt-nav {
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:72px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  padding:0 16px;
  background:var(--nav-bg);
  backdrop-filter:none;
  transition:background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
  z-index:1100;
}

body.dt-home .dt-nav.scrolled {
  background:var(--nav-bg-solid);
  backdrop-filter:blur(8px);
  box-shadow:0 3px 16px rgba(0,0,0,0.55);
}

body.dt-home .dt-nav-left {
  display:flex;
  align-items:center;
  gap:12px;
}

body.dt-home .dt-nav-hamburger {
  width:32px;
  height:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:none;
  border:none;
  cursor:pointer;
}

body.dt-home .dt-nav-hamburger span {
  height:3px;
  width:100%;
  background:var(--ink);
  border-radius:4px;
}

body.dt-home .dt-nav-logo img {
  height:28px;
}

body.dt-home .dt-nav-text {
  justify-self:center;
  font-family:Cinzel, serif;
  font-weight:700;
  font-size:28px;
  white-space:nowrap;
  color:var(--orange);
  display:none;
}

body.dt-home .dt-nav-text span {
  color:var(--gold);
  animation:touchPulse 3.8s ease-in-out infinite alternate;
}

@keyframes touchPulse {
  0%   { color:#CDA45A; text-shadow:0 0 0 rgba(255,200,120,0); }
  50%  { color:#FFE7A8; text-shadow:0 0 10px rgba(255,217,138,0.6); }
  100% { color:#CDA45A; text-shadow:0 0 0 rgba(255,200,120,0); }
}

body.dt-home .dt-nav-icons {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px;
}

body.dt-home .dt-nav-icons img {
  width:24px;
  height:24px;
  transition:transform .25s ease;
}

body.dt-home .dt-nav-icons img:hover {
  transform:translateY(-2px) scale(1.12);
}

@media (min-width:768px) {
  body.dt-home .dt-nav-text { display:block; }
  body.dt-home .dt-nav-hamburger { width:36px; height:26px; }
  body.dt-home .dt-nav-hamburger span { width:30px; }
  body.dt-home .dt-nav-logo img { height:36px; }
}

@media (max-width:767px) {
  body.dt-home .dt-nav-icons img { width:20px; height:20px; }
  body.dt-home .dt-nav-hamburger { width:30px; height:20px; }
}

/* ============================================================
   MENU OVERLAY
============================================================ */

.dt-menu-overlay {
  position:fixed;
  top:0;
  left:0;
  width:75%;
  max-width:320px;
  height:100%;
  background:#000;
  transform:translateX(-100%);
  opacity:0;
  pointer-events:none;
  transition:transform .45s cubic-bezier(0.25, 0.8, 0.25, 1), opacity .35s ease;
  z-index:3000;
}

.dt-menu-overlay.active {
  transform:translateX(0);
  opacity:1;
  pointer-events:auto;
}

.dt-menu-inner {
  padding:22px 20px;
}

.dt-menu-close {
  background:none;
  border:none;
  color:#fff;
  font-size:42px;
  margin-bottom:16px;
  cursor:pointer;
}

.dt-menu-logo {
  height:42px;
  margin-bottom:20px;
}

.dt-menu-links a {
  display:block;
  font-family:Cinzel, serif;
  font-size:30px;
  margin-bottom:18px;
  opacity:0;
  transform:translateX(-22px);
  transition:opacity .45s ease, transform .45s ease;
}

.dt-menu-links a.revealed {
  opacity:1;
  transform:translateX(0);
}

/* ============================================================
   HERO CROSSFADE
============================================================ */

body.dt-home .dt-hero {
  position:relative;
  height:90vh;
  max-height:820px;
  padding-top:72px;
  overflow:hidden;
}

body.dt-home .hero-slide {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1.1s ease;
}

body.dt-home .hero-slide.active {
  opacity:1;
}

body.dt-home .hero-gradient {
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2), transparent);
}

body.dt-home .hero-inner {
  position:absolute;
  left:20px;
  bottom:32px;
  z-index:3;
  max-width:480px;
}

body.dt-home .hero-eyebrow { color:var(--gold); margin-bottom:6px; }
body.dt-home .hero-title { font-family:Cinzel, serif; font-size:36px; }
body.dt-home .hero-sub { color:var(--muted); margin-bottom:14px; }

body.dt-home .btn-primary {
  background:var(--orange);
  color:#fff;
  padding:10px 24px;
  border-radius:999px;
  font-weight:600;
}

/* ============================================================
   TILE GRID — ZERO CROP • BLURRED BG • CLEAN FIT
============================================================ */

body.dt-home .dt-grid {
  max-width:var(--container);
  margin:40px auto;
  padding:0 18px;
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
}

/* ---- TILE WRAPPER ---- */
body.dt-home .dt-tile {
  position:relative;
  border-radius:18px;
  overflow:hidden;
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;

  /* Soft luxury glow */
  box-shadow:
    0 10px 28px rgba(0,0,0,0.35),
    0 1px 4px rgba(205,164,90,0.25),
    0 0 16px rgba(205,164,90,0.18);

  /* Fade-in base */
  opacity:0;
  transform:translateY(26px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow .45s ease;
}

/* ---- AUTO BLURRED BACKGROUND FILL ---- */
body.dt-home .dt-tile::before {
  content:"";
  position:absolute;
  inset:-12px; /* overfill to kill edge gaps */
  background-size:cover;
  background-position:center;
  filter:blur(14px) brightness(0.65);
  transform:scale(1.08);
  z-index:1;
}

/* Dynamic background: read the IMG inside the tile */
body.dt-home .dt-tile img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* ← KEY CHANGE */
  object-position: center;
}

/* Apply background-image automatically */
body.dt-home .dt-tile img[src] {
  pointer-events:none;
}

body.dt-home .dt-tile {
  --bg: attr(src url);
}

body.dt-home .dt-tile::before {
  background-image: inherit;
}

/* ---- VISIBLE TILE ---- */
body.dt-home .dt-tile.dt-tile-visible {
  opacity:1;
  transform:translateY(0);
}

/* ---- DESKTOP HOVER ---- */
@media (min-width:768px) {
  body.dt-home .dt-tile.dt-tile-visible:hover {
    transform:translateY(-6px);
    box-shadow:
      0 18px 40px rgba(0,0,0,0.55),
      0 0 0 1px rgba(205,164,90,0.45),
      0 0 42px rgba(205,164,90,0.35);
  }
}

/* ---- 2-COLUMN DESKTOP GRID ---- */
@media (min-width:900px) {
  body.dt-home .dt-grid {
    grid-template-columns:repeat(2, 1fr);
  }
}

/* ============================================================
   SIMPLE SECTION — FIND US
============================================================ */

body.dt-home .dt-section-simple {
  max-width:var(--container);
  margin:40px auto;
  padding:0 18px 40px;
}

body.dt-home .section-heading {
  font-family:Cinzel, serif;
  font-size:24px;
  margin-bottom:10px;
}

body.dt-home .section-copy {
  color:var(--muted);
  font-size:14px;
}
/* ============================================================
   FEATURED RETAIL LOCATIONS — HOMEPAGE
============================================================ */

body.dt-home .dt-featured-stores {
  max-width: var(--container);
  margin: 48px auto 32px;
  padding: 0 18px;
  text-align: center;
}

body.dt-home .dt-featured-stores .section-copy {
  max-width: 520px;
  margin: 0 auto 30px;
}

/* ---- SECTION ANCHOR ---- */

body.dt-home .dt-featured-stores .section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--gold);
  border-radius: 2px;
}

body.dt-home .store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

body.dt-home .store-card {
  background: #0b0b0b;
  border-radius: 18px;
  padding: 34px 18px;
  box-shadow:
    0 8px 22px rgba(0,0,0,0.4),
    0 0 0 1px rgba(205,164,90,0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}

body.dt-home .store-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 34px rgba(0,0,0,0.55),
    0 0 0 1px rgba(205,164,90,0.35);
}

body.dt-home .store-card img {
  height: 72px;
  margin: 0 auto 14px;
  object-fit: contain;
  transition: transform .3s ease, filter .3s ease;
}

body.dt-home .store-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.15);
}

body.dt-home .store-card span {
  display: block;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}

body.dt-home .store-card small {
  color: var(--muted);
  font-size: 13px;
}

/* ---- FLAGSHIP BRAND GLOW ---- */

body.dt-home .store-card {
  position: relative;
}

body.dt-home .store-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0.35;
}

/* Dutch Republic — Gold */
body.dt-home .store-card:nth-child(1)::after {
  box-shadow: inset 0 0 60px rgba(205,164,90,0.28);
}

/* Green Labs — Green */
body.dt-home .store-card:nth-child(2)::after {
  box-shadow: inset 0 0 60px rgba(30,160,120,0.28);
}

/* ============================================================
   FOOTER
============================================================ */

body.dt-home .dt-footer {
  background:#000;
  padding:40px 20px 50px;
  margin-top:60px;
  border-top:1px solid rgba(255,255,255,0.1);
  text-align:center;
}

body.dt-home .dt-footer-divider {
  height:6px;
  border-radius:3px;
  background:var(--orange);
  margin-bottom:40px;
}

body.dt-home .dt-footer-logo {
  height:48px;
  margin-bottom:26px;
}

body.dt-home .dt-footer-social {
  display:flex;
  justify-content:center;
  gap:22px;
  margin-bottom:30px;
}

body.dt-home .dt-footer-social img {
  width:26px;
  opacity:.85;
  transition:.25s ease;
}

body.dt-home .dt-footer-social img:hover {
  opacity:1;
  transform:scale(1.08);
}

body.dt-home .dt-footer-legal {
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:32px;
}

body.dt-home .dt-footer-legal a {
  font-size:14px;
  color:var(--muted);
  text-transform:uppercase;
}

body.dt-home .dt-footer-legal a:hover {
  color:var(--orange);
}

body.dt-home .dt-footer-copy {
  font-size:12px;
  color:var(--muted);
  opacity:.7;
}

/* ============================================================
   SPOTLIGHT DROP
============================================================ */

body.dt-apparel-page .dt-spotlight {
  margin-top:60px;
}

body.dt-apparel-page .spotlight-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:36px;
}

body.dt-apparel-page .spotlight-item {
  text-align:center;
}

body.dt-apparel-page .spotlight-media {
  aspect-ratio:4 / 5;
  border-radius:18px;
  background:#111 center / contain no-repeat;
  margin-bottom:14px;
}

body.dt-apparel-page .spotlight-item h3 {
  font-size:16px;
  margin-bottom:4px;
}

body.dt-apparel-page .spotlight-item p {
  font-weight:600;
  color:var(--gold);
}
