/* ---------- GLOBAL ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "Crimson Text", serif;
  background: #09070a;
  color: #e4ded2;
}

/* Page background: wine + velvet + subtle gold dust */
.page-wrapper {
    min-height: 100vh;

    /* Layer 1 — Your luxury vine pattern */
    background-image:
        url("assets/pattern.png"),
        radial-gradient(circle at 25% 20%, rgba(106, 22, 37, 0.22) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(176, 149, 101, 0.16) 0%, transparent 25%),
        linear-gradient(180deg, #0e0e0f 0%, #050506 100%);

    background-size:
        420px,   /* pattern scale */
        auto,
        auto,
        auto;

    background-repeat:
        repeat,
        no-repeat,
        no-repeat,
        no-repeat;

    background-attachment:
        fixed,
        scroll,
        scroll,
        scroll;

    background-blend-mode:
        soft-light,
        normal,
        normal,
        normal;

    padding: 40px 24px 60px;
}

.max-width {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- TYPOGRAPHY ---------- */

h1, h2, h3, h4 {
    all: unset;
    display: block;

    font-family: "Cinzel", serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.10em !important;

    /* Imperial Violet main color */
    color: #3C1F57 !important;

    /* Ultra-thin gold outline (now forced) */
    -webkit-text-stroke: 0.35px rgba(198,175,120,0.45) !important;
    text-stroke: 0.35px rgba(198,175,120,0.45) !important;

    /* Shadow forced */
    text-shadow: 0px 0px 4px rgba(0,0,0,0.55) !important;

    /* Ensure NO gradient or clipping interferes */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

h1 { font-size: 2.8rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.4rem !important; }

p {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #d8d0c5;
}

/* “gold” class = highlight, kept warm/soft */
.gold {
  color: #f1e4cc;
}

/* ---------- NAVBAR ---------- */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-logo span {
  font-family: "Cinzel", serif;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: #f1e4cc;
  text-transform: uppercase;
}

.nav-links a {
  margin-left: 22px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #e4ded2;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #4a0e18, #b09565);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid rgba(176, 149, 101, 0.8); /* antique gold border */
  background: #0e0e0f; /* charcoal black */
  color: #f1e4cc;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;

  transition: all 0.3s ease;
  box-shadow:
    0 0 12px rgba(0, 0, 0, 0.7);
}

.btn:hover {
  background: #0e0e0f; 
  box-shadow:
    0 0 18px rgba(106, 22, 37, 0.7), /* velvet red glow */
    0 0 26px rgba(0, 0, 0, 0.9);
  border-color: rgba(176, 149, 101, 1);
  transform: translateY(-1px);
}

/* ---------- INTRO PAGE ---------- */

.intro-body {
  background: #080509;
  overflow: hidden;
}

.intro-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle at center, #1c060d 0%, #050306 70%);
}

/* Subtle gold swirl texture (safe, does not change layout) */
.intro-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1; /* behind glow, behind crest */

    background-image: url("assets/pattern.png");
    background-size: 380px;     /* adjust smaller/larger pattern */
    background-repeat: repeat;  /* repeats the pattern */

    opacity: 0.18;              /* controls how strong the gold is */
    mix-blend-mode: lighten;    /* makes ONLY gold visible */
}

/* Center fade mask to make crest stand out */
.intro-container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1; /* ABOVE pattern, BELOW crest */
    pointer-events: none;

    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.50) 0%,   /* Darker at center */
        rgba(0, 0, 0, 0.20) 40%,  /* Soft fade */
        rgba(0, 0, 0, 0.05) 70%,  /* Almost invisible */
        rgba(0, 0, 0, 0.00) 100%  /* No fade at edges */
    );

    mix-blend-mode: multiply; /* Smooth luxurious blending */
}

/* wine-red glow behind crest */
.red-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 14, 24, 0.85), rgba(14, 14, 15, 0));
  filter: blur(40px);
  z-index: -1;
}

.crest {
  position: ;
  z-index: 5;
  width: 260px;
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 10px rgba(176, 149, 101, 0.35)); /* tiny antique gold aura */
  cursor: pointer;
  transition: filter 0.4s ease;
}

/* Crest hover: subtle brightening + stronger wine aura */
.crest:hover {
  filter:
    brightness(1.08)
    drop-shadow(0 0 22px rgba(74, 14, 24, 0.95))
    drop-shadow(0 0 12px rgba(176, 149, 101, 0.45));
}

/* wine-red shimmer */
.shimmer {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    60deg,
    rgba(74, 14, 24, 0) 0%,
    rgba(176, 149, 101, 0.28) 40%,
    rgba(74, 14, 24, 0) 100%
  );
  transform: rotate(25deg);
  animation: shimmerMove 4s ease-in-out infinite;
}

@keyframes shimmerMove {
  0% { transform: translateX(-150%) translateY(-150%) rotate(25deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(25deg); }
  100% { transform: translateX(150%) translateY(150%) rotate(25deg); }
}

.enter-text {
  margin-top: 26px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f1e4cc;
  font-size: 0.82rem;
  cursor: pointer;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.enter-text:hover {
  text-shadow:
    0 0 12px rgba(74, 14, 24, 0.7),
    0 0 18px rgba(0, 0, 0, 0.9);
}

.fade-out {
  opacity: 0;
  transition: opacity 0.9s ease;
}

/* ---------- HERO SECTION (MAIN PAGE) ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-left h1 {
  margin-bottom: 18px;
}

.hero-tagline {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #e7dfd3;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.hero-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a89f90;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 320px;
  max-width: 100%;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(176, 149, 101, 0.35);
  background:
    radial-gradient(circle at top, #2a0a13, #080509 70%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.95),
    0 0 26px rgba(74, 14, 24, 0.75);
}

.hero-card img {
  width: 100%;
  border-radius: 18px;
}

/* ---------- SECTIONS ---------- */

.section {
  margin: 60px 0;
}

.section-header {
  margin-bottom: 26px;
}

.section-header p {
  max-width: 600px;
  margin-top: 10px;
}

/* ---------- THREE HOUSES SECTION ---------- */

.houses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.house-card {
  padding: 22px 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(176, 149, 101, 0.28);
  background:
    radial-gradient(circle at top, #240710, #070408 70%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.9);
}

.house-card h3 {
  margin-bottom: 10px;
}

.house-card p {
  font-size: 0.98rem;
}

.house-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aa9f8e;
  margin-bottom: 14px;
}

.house-status {
  position: absolute;
  top: 13px;
  right: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Active House = lit with wine-red aura + subtle gold */
.house-card.active {
  box-shadow:
    0 0 28px rgba(74, 14, 24, 0.9),
    0 0 24px rgba(0, 0, 0, 0.85);
  border-color: rgba(176, 149, 101, 0.55);
}

.house-card.active .house-status {
  color: #f1e4cc;
}

.house-card.coming-soon {
  opacity: 0.46;
  border-style: dashed;
}

.house-card.coming-soon .house-status {
  color: #7f7665;
}

/* ---------- PRODUCT GRID ON CARDS PAGE ---------- */

.card-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.card-showcase-main img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(176, 149, 101, 0.5);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.98),
    0 0 22px rgba(74, 14, 24, 0.8);
}

.card-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.card-grid img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(176, 149, 101, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(176, 149, 101, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f1e4cc;
  margin-bottom: 10px;
  background: radial-gradient(circle at top, rgba(106, 22, 37, 0.6), rgba(8, 4, 6, 0.8));
}

/* ---------- LEGACY / JOIN PAGE ---------- */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 40px;
  margin-top: 30px;
}

.form-group {
  margin-bottom: 16px;
}

label {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aa9f8e;
}

input, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #3a3036;
  background: #120910;
  color: #e4ded2;
  font-family: inherit;
  font-size: 0.95rem;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- FOOTER ---------- */

.footer {
  margin-top: 60px;
  padding-top: 18px;
  border-top: 1px solid #2a2328;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7d6d;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .hero,
  .card-showcase,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-right {
    order: -1;
  }

  .navbar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .nav-links a {
    margin-left: 0;
    margin-right: 18px;
  }
}

/* Force logo transparency */
.intro-logo img,
.logo img,
.nav-logo img {
    background: transparent !important;
    mix-blend-mode: normal !important;
}

.intro-logo,
.logo,
.nav-logo {
    background: transparent !important;
}

.price-block {
  margin-top: 12px;
  font-size: 15px;
  opacity: 0.9;
}

.price-label {
  font-style: italic;
  opacity: 0.75;
}

.price-gold {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  color: #caa85a;
  letter-spacing: 1px;
}

.price-muted {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.6;
}

.acquisition-copy {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.75;
}

.request-email {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
}

/* CREST SHIMMER WRAPPER */
.crest-shimmer {
  position: relative;
  display: inline-block;
}

a, button {
  transition: all 0.35s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.gold {
  color: #c8a24a;
  transition: color 0.4s ease;
}

.gold:hover {
  color: #e0c36f;
}

h1, h2, h3 {
  letter-spacing: 0.04em;
}

.section {
  margin-bottom: 120px;
}

/* =========================
   MOBILE-ONLY ENHANCEMENTS
   Desktop remains untouched
   ========================= */

.mobile-hint {
  display: none;
}

/* All mobile behavior lives here */
@media (max-width: 768px) {

  /* Subtle entrance fade */
  body {
    animation: mobileFade 1.2s ease-out;
  }

  @keyframes mobileFade {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Crest emphasis (no hover needed) */
  .crest {
    transform: scale(1.15);
    animation: subtlePulse 8s infinite;
  }

  @keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
  }

  /* Mobile guidance text */
  .mobile-hint {
    display: block;
    margin-top: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    opacity: 0.45;
    text-align: center;
  }

  /* Slightly tighter spacing for mobile */
  section {
    padding: 60px 20px;
  }

  /* Typography tuning for small screens */
  body {
    font-weight: 400;
  }

  h1, h2 {
    letter-spacing: 0.05em;
  }
}