:root {
  --bg-deep: #160304;
  --bg-dark: #210607;
  --bg-card: #2a0b0e;
  --bg-card-soft: #351014;
  --border: rgba(255, 255, 255, 0.1);
  --accent-red: #ff2a4b;
  --accent-red-dark: #d91f3d;
  --accent-gold: #e5c158;
  --text-light: #ffffff;
  --text-muted: #e4c1c4;
  --font-serif: "Cinzel", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", Arial, sans-serif;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  --radius-lg: 20px;
  --radius-md: 14px;
  --content-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--bg-deep), #3b0a0d 46%, var(--bg-deep));
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.section-shell {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 68px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 3, 4, 0.86);
  backdrop-filter: blur(15px);
}

/* Remove container constraints */
.logo-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  max-height: 80px !important; /* Matches full navbar height */
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Crop empty whitespace and scale line-art */
.logo-box img {
  height: 140% !important; /* Zoom past transparent margins */
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  
  /* Shifts logo into view while keeping tight fit */
  transform: scale(1.35) !important; 
  
  /* Bright gold color shift for high visibility on dark navbar */
  filter: brightness(0) saturate(100%) invert(80%) sepia(35%) saturate(550%) hue-rotate(345deg) brightness(72%) contrast(100%) drop-shadow(0 0 2px rgba(229, 193, 88, 0.25)) !important;
}

/* Ensure mobile header fits cropped scale */
@media (max-width: 480px) {
  .logo-box {
    max-height: 60px !important;
  }
  
  .logo-box img {
    transform: scale(1.25) !important;
  }
}

.nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

 .brand-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-primary {
  color: #f7f1ec;
}

.brand-accent {
  color: #c7a45a;
}

.brand-sub {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 1;
  text-transform: uppercase;
}

.kebab-btn {
  display: flex;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  justify-self: end;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.kebab-btn:hover,
.kebab-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.kebab-btn span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-light);
}

/* Compact dropdown for mobile and desktop */
.menu-drawer {
  position: fixed;
  top: 76px;
  right: 12px;
  z-index: 1100;

  width: min(260px, calc(100vw - 24px));
  height: auto;
  max-height: calc(100dvh - 90px);
  overflow-y: auto;

  padding: 16px 18px;
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;

  background: var(--bg-card);
  box-shadow: var(--shadow-dark);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.menu-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.menu-drawer {
  top: 68px;
  padding: 14px 16px;
}

.menu-drawer .drawer-header {
  padding: 0;
  margin: 0 0 10px;
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.menu-drawer ul {
  list-style: none;
}

.menu-drawer li {
  margin: 0;
}

.menu-drawer a {
  display: block;
  padding: 9px 4px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.menu-drawer a:hover,
.menu-drawer a:focus-visible {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.menu-drawer ul {
  list-style: none;
}

.menu-drawer li + li {
  margin-top: 5px;
}

.menu-drawer a {
  display: block;
  padding: 11px 4px;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-drawer a:hover,
.menu-drawer a:focus-visible {
  color: var(--accent-gold);
  transform: translateX(4px);
}

/* HERO SECTION - Reduced mobile padding only */
.hero-section {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: auto;
  padding: 36px 16px 30px; /* Reduced top/bottom padding on mobile */
  border-bottom: 0;
  background-image: url("../images/works.jpg");
  background-position: center;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 3, 4, 0.45), rgba(22, 3, 4, 0.92)),
    radial-gradient(circle at center, rgba(92, 14, 21, 0.25), rgba(22, 3, 4, 0.75));
}

.hero-content {
  width: min(100%, 780px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-tag,
.eyebrow,
.card-kicker {
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 12px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 7.5vw, 56px);
  line-height: 1.15;
  text-wrap: balance;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  width: min(100%, 650px);
  margin: 0 auto 20px;
  color: #f0d9db;
  font-size: 13.5px;
  line-height: 1.5;
}

.btn-primary,
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--accent-red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 20px rgba(255, 42, 75, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 13.5px;
}

.btn-sm {
  min-height: 34px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
}

.btn-primary:hover,
.btn-sm:hover,
.btn-primary:focus-visible,
.btn-sm:focus-visible {
  background: var(--accent-red-dark);
  box-shadow: 0 10px 28px rgba(255, 42, 75, 0.4);
  transform: translateY(-2px);
}

.section {
  padding: 58px 18px;
}

.bg-alt {
  background: rgba(0, 0, 0, 0.2);
}

.overflow-hidden {
  overflow: hidden;
}

.section-title {
  width: min(100%, 700px);
  margin: 0 auto 30px;
  text-align: center;
}

.section-title .eyebrow {
  display: block;
  margin-bottom: 7px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(25px, 7vw, 38px);
  line-height: 1.2;
  text-wrap: balance;
}

.section-title p {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12px;
}

.trending-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 5px 2px 18px;
  scroll-padding-left: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(229, 193, 88, 0.45) transparent;
  scrollbar-width: thin;
}

.trending-card {
  position: relative;
  flex: 0 0 min(78vw, 280px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.card-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.trending-card:hover .card-media {
  transform: scale(1.04);
}

.card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  min-height: 48%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 7px;
  padding: 20px 17px 17px;
  background: linear-gradient(to top, rgba(17, 2, 3, 0.98) 5%, rgba(17, 2, 3, 0.7) 55%, transparent);
}

.card-overlay h3 {
  font-size: 16px;
  line-height: 1.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 8px 8px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-light);
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(229, 193, 88, 0.5);
  transform: translateY(-3px);
}

.service-card.active {
  border-color: var(--accent-gold);
  background: var(--bg-card-soft);
  box-shadow: 0 0 0 1px rgba(229, 193, 88, 0.25), 0 10px 25px rgba(0, 0, 0, 0.32);
}

.service-card.active::after {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--bg-deep);
  content: "✓";
  font-size: 12px;
  font-weight: 800;
}

.service-card .thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 9px;
  border-radius: 10px;
  background: var(--bg-dark);
}

.service-card .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .thumb img {
  transform: scale(1.05);
}

.service-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.gallery-grid {
  display: block;
  columns: 2;
  column-gap: 12px;
}

.gallery-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  break-inside: avoid;
  margin: 0 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.38s ease, filter 0.38s ease;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 11px 10px;
  background: linear-gradient(to top, rgba(18, 2, 3, 0.92), transparent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: brightness(0.86);
  transform: scale(1.025);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 58px 16px 20px;
  background: rgba(4, 0, 0, 0.94);
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 15px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-content {
  display: flex;
  width: min(100%, 1050px);
  max-height: calc(100dvh - 82px);
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(100dvh - 130px);
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-content figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 15px;
  animation: marquee 30s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.review-card {
  width: min(78vw, 300px);
  flex: 0 0 auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stars {
  margin-bottom: 8px;
  color: var(--accent-gold);
  font-size: 14px;
  letter-spacing: 2px;
}

.review-card p {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 12px;
}

.reviewer {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7.5px)); }
}

.connect-container {
  display: grid;
  gap: 20px;
}

.event-form,
.shop-details {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
  min-height: 45px;
  padding: 10px 12px;
}

.form-group textarea {
  min-height: 110px;
  padding: 11px 12px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(229, 193, 88, 0.12);
}

.full-width {
  width: 100%;
}

.shop-details {
  color: var(--text-muted);
  font-size: 13px;
}

.shop-details h3 {
  margin: 5px 0 17px;
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 22px;
}

.shop-details address {
  font-style: normal;
}

.shop-details p + p {
  margin-top: 15px;
}

.shop-details strong {
  color: var(--text-light);
}

.shop-details a {
  color: var(--text-muted);
  text-decoration-color: rgba(229, 193, 88, 0.5);
  text-underline-offset: 3px;
}

.footer {
  padding: 24px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10px;
  text-align: center;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Small phones */
@media (max-width: 374px) {
  .section {
    padding-inline: 14px;
  }

  .services-grid,
  .gallery-grid {
    gap: 9px;
    column-gap: 9px;
  }

  .gallery-item {
    margin-bottom: 9px;
  }

  .service-name {
    font-size: 11px;
  }
}

/* Large phones and small tablets */
@media (min-width: 520px) {
  .section {
    padding: 66px 24px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .gallery-grid {
    column-gap: 15px;
  }

  .gallery-item {
    margin-bottom: 15px;
  }

  .gallery-caption {
    padding: 44px 14px 13px;
    font-size: 11px;
  }
}

/* Tablets and desktop */
@media (min-width: 768px) {
  .navbar {
    min-height: 74px;
    padding-inline: 28px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .hero-section {
    min-height: min(78vh, 780px);
    padding: 95px 30px;
    background-attachment: fixed;
  }

  .hero-content h1 {
    margin: 15px 0 18px;
    font-size: clamp(48px, 6vw, 68px);
  }

  .hero-content p {
    margin: 0 auto 28px;
    font-size: 16px;
    line-height: 1.6;
  }

  .btn-primary {
    min-height: 44px;
    padding: 10px 26px;
  }

  .section {
    padding: 82px 30px;
  }

  .section-title {
    margin-bottom: 42px;
  }

  .section-title p {
    font-size: 14px;
  }

  .trending-carousel {
    gap: 20px;
  }

  .trending-card {
    flex-basis: 300px;
  }

  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .service-card {
    padding: 10px 10px 14px;
  }

  .service-name {
    font-size: 13px;
  }

  .gallery-grid {
    columns: 3;
    column-gap: 18px;
  }

  .gallery-item {
    margin-bottom: 18px;
  }

  .gallery-caption {
    padding: 55px 16px 15px;
    font-size: 12px;
  }

  .connect-container {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    align-items: stretch;
    gap: 24px;
  }

  .event-form,
  .shop-details {
    padding: 28px;
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .menu-drawer {
    top: 74px;
    right: max(20px, calc((100vw - 1180px) / 2));
    width: 250px;
  }
}

/* Wide desktop */
@media (min-width: 1100px) {
  .navbar {
    padding-inline: max(32px, calc((100vw - 1180px) / 2));
  }

  .services-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .gallery-grid {
    columns: 4;
    column-gap: 20px;
  }

  .gallery-item {
    margin-bottom: 20px;
  }
}

/* Touch devices should always see gallery labels */
@media (hover: none) {
  .gallery-caption {
    opacity: 1;
    transform: none;
  }
}