@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=DM+Sans:wght@400;500&family=DM+Mono:wght@300;400&family=Old+Standard+TT&display=swap');

@font-face {
  font-family: 'Billa Mount';
  src: url('fonts/BillaMount-Regular.woff2') format('woff2'),
       url('fonts/BillaMount-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f0eee9;
  --text: #1a1714;
  --text-muted: #8a8580;
  --nav-bg: rgba(240, 238, 233, 0.9);
  --overlay: rgba(0, 0, 0, 0.35);
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-logo: 'Billa Mount', 'Cormorant Garamond', serif;
  --font-heading: 'Old Standard TT', serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: var(--nav-bg);
  backdrop-filter: blur(6px);
}

.site-header.has-shadow {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a,
.main-nav button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--text);
}

.main-nav a.is-active,
.main-nav a[aria-current="page"] {
  color: var(--text-muted);
}

.header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-icons button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.lang-toggle {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid currentColor !important;
  border-radius: 3px;
  padding: 3px 7px;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.lang-toggle:hover {
  opacity: 1;
}

/* ---------- Mobile nav ---------- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

.mobile-nav-toggle .icon-close {
  display: none;
}

.mobile-nav-toggle.is-open .icon-menu {
  display: none;
}

.mobile-nav-toggle.is-open .icon-close {
  display: block;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.mobile-nav-overlay.is-open {
  transform: translateY(0);
}

.mobile-nav-overlay a {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
}

@media (max-width: 800px) {
  .mobile-nav-toggle { display: block; }
}

/* ---------- Hero (designer spotlight) sections ---------- */
.spotlight {
  position: relative;
  height: 88vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.spotlight-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.spotlight-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 45%, rgba(0,0,0,0) 70%);
}

.spotlight-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 64px;
}

.spotlight-title {
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 300;
  font-size: 84px;
  line-height: 1;
  margin-bottom: 24px;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.6);
}

/* ---------- Product marquee ---------- */
.marquee {
  overflow: hidden;
  width: 100%;
  padding: 24px 0;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 48s linear infinite;
}

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

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

.product-card {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  aspect-ratio: 736 / 1000;
  overflow: hidden;
}

.product-card .placeholder-img {
  position: absolute;
  inset: 0;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 40%);
}

.product-info {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
}

.product-info .name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.product-info .price {
  font-family: var(--font-sans);
  font-size: 11.4px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

/* ---------- Placeholder image fill (stand-in for real photography) ---------- */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 12px;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-1 { background: linear-gradient(160deg, #7d8792, #b9bdc2); }
.ph-2 { background: linear-gradient(160deg, #e7c9b3, #cfa98f); }
.ph-3 { background: linear-gradient(160deg, #7a1620, #b23a3a); }
.ph-neutral { background: linear-gradient(160deg, #d8d4cc, #bdb7ac); }
.ph-olive {
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(0,0,0,0.5) 100%),
    linear-gradient(160deg, #a89a3c, #8D8028);
}
.ph-maroon {
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(0,0,0,0.5) 100%),
    linear-gradient(160deg, #a2838b, #64313E);
}

/* ---------- About page ---------- */
.about-card {
  max-width: 720px;
  margin: 100px auto 120px;
  padding: 64px 56px;
  background: var(--bg);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 4px 14px rgba(0,0,0,0.06);
  text-align: center;
}

.about-mark {
  font-family: var(--font-logo);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 28px;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto 28px;
}

.about-copy {
  max-width: 560px;
  margin: 0 auto;
}

.about-copy p {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 32px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .about-card { margin: 40px 20px 60px; padding: 48px 24px; }
}

/* ---------- Designers page (coming soon placeholder) ---------- */
.coming-soon {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.coming-soon-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 300;
  font-size: 84px;
  color: #fff;
  text-align: center;
}

@media (max-width: 800px) {
  .coming-soon-title { font-size: 44px; }
}

/* ---------- Generic page hero (template pages) ---------- */
.page-hero {
  padding: 140px 40px 60px;
}

.page-hero h1 {
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 300;
  font-size: 72px;
  line-height: 1.3;
  margin-bottom: 50px;
}

.page-hero p {
  margin-top: 0;
  max-width: 480px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Events hero (title + flip invitation card) ---------- */
.events-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 150px 60px 110px;
  min-height: 85vh;
  background-image: url('images/events-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.events-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.events-hero > * {
  position: relative;
  z-index: 1;
}

.events-hero .page-hero {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.events-hero .page-hero p {
  margin-left: 0;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.75);
}

.events-card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.events-card-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.card-next {
  margin-top: 18px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  padding: 6px;
}

.card-next:hover {
  opacity: 1;
  transform: translateX(3px);
}

.flip-card {
  width: 560px;
  max-width: 48vw;
  aspect-ratio: 2931 / 2564;
  perspective: 1600px;
  flex-shrink: 0;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22), 0 4px 14px rgba(0,0,0,0.12);
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flip-card-back {
  transform: rotateY(180deg);
}

@media (max-width: 800px) {
  .events-hero { flex-direction: column; padding: 120px 24px 60px; gap: 40px; text-align: center; }
  .events-hero .page-hero { text-align: center; }
  .events-hero .page-hero p { margin-left: 0; margin-top: 16px; }
  .flip-card { width: 320px; max-width: 85vw; }
}

/* ---------- Shop category grid ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  height: calc(100vh - 73px);
}

.shop-tile {
  position: relative;
  overflow: hidden;
  display: block;
}

.shop-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.35);
  transition: transform 0.7s ease;
}

.shop-tile:hover img {
  transform: scale(1.45);
}

.shop-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

.shop-tile-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 300;
  font-size: 44px;
  text-align: center;
}

@media (max-width: 800px) {
  .shop-grid { height: auto; grid-template-columns: 1fr; }
  .shop-tile { aspect-ratio: 1 / 1; }
}

/* ---------- Rentals ---------- */
.rentals-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 20px 40px 120px;
  align-items: start;
}

.rentals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rental-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.rental-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
}

.rental-card .coming-soon-tag {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.rental-card .product-info {
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.rentals-form {
  position: sticky;
  top: 100px;
  border: 1px solid #d9d4c9;
  padding: 36px 32px;
}

.rentals-form h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rentals-form .form-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.rentals-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.rentals-form .field {
  margin-bottom: 22px;
}

.rentals-form input,
.rentals-form select,
.rentals-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #c9c4ba;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  outline: none;
}

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

.rentals-form button {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  background: var(--text);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.rentals-form button:hover {
  opacity: 0.85;
}

@media (max-width: 900px) {
  .rentals-layout { grid-template-columns: 1fr; padding: 20px 20px 80px; }
  .rentals-form { position: static; }
}

.placeholder-note {
  margin: 0 40px 120px;
  padding: 40px;
  border: 1px dashed #c9c4ba;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  max-width: 640px;
}

@media (max-width: 800px) {
  .site-header { padding: 16px 20px; }
  .main-nav { display: none; }
  .spotlight-title { font-size: 30px; }
  .page-hero h1 { font-size: 44px; }
  .page-hero { padding: 110px 20px 40px; }
}
