/* 
  Vinland Acreage Inc. - ULTRA MODERN PREMIUM SYSTEM
  Theme: Cinematic Luxury (Glass, Purple, Gold)
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Colors - MATTE LUXURY */
  --color-brand-purple: #2E2A35;
  /* Matte Aubergine/Charcoal */
  --color-brand-accent: #783a82;
  /* Original purple as refined accent */
  --color-brand-gold: #C5A059;
  --color-white: #ffffff;
  --color-glass: rgba(255, 255, 255, 0.7);
  /* Frosted Glass */
  --color-glass-border: rgba(255, 255, 255, 0.4);

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Manrope', sans-serif;

  /* Spacing */
  --space-unit: 8px;
  --space-md: 32px;
  --space-xl: 80px;
  --space-xxl: 120px;
}

/* --- Resets & Base --- */
body {
  font-family: var(--font-sans);
  color: var(--color-brand-purple);
  background-color: #f4f4f4;
  /* Matte light grey */
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-brand-purple);
}

h1 {
  font-size: 5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 3.5rem;
}

h3 {
  font-size: 2.5rem;
}

h4 {
  font-size: 1.5rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }
}

a {
  text-decoration: none;
  transition: 0.3s;
}

/* --- Glass Navigation --- */
.navbar-glass {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.0);
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

/* Force White Logo on Video - No longer needed with correct SVG */
.navbar-glass:not(.scrolled) .navbar-brand img {
  opacity: 1 !important;
}

.navbar-glass.scrolled {
  background: rgba(46, 42, 53, 0.95);
  /* Matte Dark Background */
  padding: 1rem 0;
}

.navbar-glass .nav-link-premium {
  color: white !important;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin: 0 15px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-glass .dropdown-item {
  color: var(--color-brand-purple) !important;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.navbar-glass .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-brand-accent) !important;
}

.navbar-glass.scrolled .nav-link-premium {
  color: rgba(255, 255, 255, 0.8) !important;
  text-shadow: none;
}

.navbar-glass .nav-link-premium:hover {
  opacity: 1;
  color: var(--color-brand-gold) !important;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(46, 42, 53, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* --- Hero Section (Cinematic) --- */
.hero-cinematic {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.hero-overlay-gradient {
  background: linear-gradient(180deg, rgba(46, 42, 53, 0.4) 0%, rgba(46, 42, 53, 0.1) 50%, rgba(46, 42, 53, 0.8) 100%);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content-layer {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1000px;
  padding: 0 20px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  /* Boost text visibility */
}

.hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  /* Responsive huge text */
  text-transform: uppercase;
  letter-spacing: clamp(4px, 1vw, 10px);
  margin-bottom: 2rem;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  display: block;
}

/* --- Buttons --- */
.btn-ultra {
  padding: 1.2rem 3rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  /* Fully curved pill/capsule */
  font-size: 0.8rem;
  transition: all 0.4s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-align: center;
}

.btn-ultra:hover {
  background: var(--color-brand-gold);
  border-color: var(--color-brand-gold);
  color: white;
}

.btn-ultra.dark {
  background: var(--color-brand-purple);
  border-color: var(--color-brand-purple);
}

.btn-ultra.dark:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
}

/* --- Sections --- */
.section-ultra {
  padding: var(--space-xxl) 0;
}

/* Asymmetric Layout */
.feature-block {
  position: relative;
  margin-bottom: var(--space-xl);
}

.feature-img-box {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 400px;
}

.feature-img-box img {
  width: 100%;
  transition: transform 0.7s ease;
}

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

.video-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Glass Elements (Global) --- */
.feature-content-box,
.stat-item,
.glass-card {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  /* Significant Curve */
  overflow: hidden;
}

.feature-content-box {
  padding: 4rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .offset-content {
    margin-left: -50px;
    margin-top: 50px;
  }
}

/* Stats Grid */
.stats-grid {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: transparent;
}

.stat-item {
  background: rgba(255, 255, 255, 0.4) !important;
  padding: 2rem;
  text-align: center;
  flex: 1;
  border-radius: 20px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-brand-purple);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

/* Form */
.form-ultra input,
.form-ultra textarea {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  padding: 1.2rem;
  color: var(--color-brand-purple);
}

.form-ultra input::placeholder {
  color: rgba(46, 42, 53, 0.6);
}

.form-ultra input:focus,
.form-ultra textarea:focus {
  box-shadow: none;
  border-bottom-color: var(--color-brand-purple);
}

/* Footer */
.footer-ultra {
  background: var(--color-brand-purple);
  color: white;
  padding: var(--space-xl) 0;
}

/* --- Sold Lot Styling --- */
.faded-card {
  opacity: 0.7;
  pointer-events: none;
  /* Optional: prevent clicking details if desired */
}

.sold-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: rgba(46, 42, 53, 0.9);
  color: #fff;
  padding: 1rem 3rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  border: 2px solid var(--color-brand-gold);
  z-index: 10;
  white-space: nowrap;
}

/* --- Carousel Controls Fix --- */
.carousel-control-prev,
.carousel-control-next {
  z-index: 10 !important;
}

/* --- Cinematic Pan (Ken Burns Effect) --- */
.cinematic-pan {
  animation: panZoom 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes panZoom {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.15) translate(-2%, -1%);
  }
}

/* --- Video Loading State --- */
.video-wrapper {
  position: relative;
  background-color: #2E2A35;
  /* Brand Purple background while loading */
  width: 100%;
  height: 100%;
  height: 100%;
  overflow: hidden;
}

.video-wrapper.video-wrapper-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.video-wrapper video {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.video-wrapper video.loaded {
  opacity: 1;
}

.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 2px solid rgba(197, 160, 89, 0.3);
  /* Faded Gold */
  border-radius: 50%;
  border-top-color: var(--color-brand-gold);
  animation: video-spin 1s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.video-loader.hidden {
  opacity: 0;
}

@keyframes video-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}