/* ============================================================
   PROKRIS VILLA — Dedicated Standalone Luxury Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0a0c0e;
  --bg-surface: #121519;
  --bg-surface-elevated: rgba(22, 27, 34, 0.85);
  --bg-glass: rgba(18, 22, 28, 0.65);
  --border-gold: rgba(212, 177, 105, 0.3);
  --border-gold-glow: rgba(212, 177, 105, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-gold: #d4b169;
  --text-gold-bright: #ebd29d;

  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba5a;

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 12px;
  --radius-md: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   TYPOGRAPHY & UTILITIES
   ============================================================ */

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.gold-text {
  color: var(--text-gold);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #ebd29d 0%, #d4b169 50%, #9e7f3b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--text-gold);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-gold-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--text-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-header-owner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(212, 177, 105, 0.15), rgba(212, 177, 105, 0.05));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--text-gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-header-owner:hover {
  background: var(--text-gold);
  color: #000;
  border-color: var(--text-gold);
  box-shadow: 0 0 15px rgba(212, 177, 105, 0.4);
}

/* ============================================================
   FLOATING DIRECT OWNER CONTACT BAR (STICKY)
   ============================================================ */

.floating-owner-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 18, 24, 0.92);
  backdrop-filter: blur(16px);
  padding: 10px 16px;
  border-radius: 40px;
  border: 1px solid var(--border-gold-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.owner-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-gold);
  text-transform: uppercase;
  padding-left: 4px;
}

.btn-floating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

.btn-email {
  background: rgba(212, 177, 105, 0.2);
  border: 1px solid var(--border-gold);
  color: var(--text-gold-bright);
}

.btn-email:hover {
  background: var(--text-gold);
  color: #000;
}

@media (max-width: 640px) {
  .floating-owner-bar {
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: space-between;
    border-radius: 16px;
  }
  .owner-bar-label {
    display: none;
  }
  .btn-floating {
    flex: 1;
  }
  .nav-menu {
    display: none; /* simple responsive fallback */
  }
}

/* ============================================================
   HERO SECTION (CINEMATIC VIDEO)
   ============================================================ */

.hero-video-section {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
}

.hero-bg-video, .hero-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.85;
}

/* AUTOMATIC HERO SLIDESHOW */
.hero-slideshow-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-slide-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}

.hero-slide-img.active {
  opacity: 0.88;
  transform: translate(-50%, -50%) scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.6) 0%, rgba(10, 12, 14, 0.25) 50%, rgba(10, 12, 14, 0.9) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  padding: 0 20px;
  margin-top: 40px;
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 4px rgba(0,0,0,0.55);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 300;
  color: #e5e7eb;
  margin-bottom: 36px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.85), 0 2px 4px rgba(0,0,0,0.55);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #d4b169 0%, #b8954d 100%);
  color: #0d0f12;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  box-shadow: 0 4px 20px rgba(212, 177, 105, 0.35);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ebd29d 0%, #d4b169 100%);
  box-shadow: 0 6px 25px rgba(212, 177, 105, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(18, 22, 28, 0.65);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(212, 177, 105, 0.2);
  border-color: var(--text-gold-bright);
}

/* ============================================================
   SPECS BAR (GLASSMORPHIC GRID)
   ============================================================ */

.specs-bar-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.spec-item {
  text-align: center;
  padding: 12px;
  border-right: 1px solid var(--border-subtle);
}

.spec-item:last-child {
  border-right: none;
}

.spec-val {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-gold-bright);
  display: block;
}

.spec-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   CARDS & SECTIONS
   ============================================================ */

.section-title-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 42px);
  color: #ffffff;
}

.glass-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .spec-item {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .spec-item:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-subtle);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 14, 0.9) 100%);
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 500;
}

/* ============================================================
   DIRECT OWNER CONTACT BANNER & FORMS
   ============================================================ */

.owner-contact-banner {
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.95), rgba(14, 18, 24, 0.95));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.owner-contact-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-gold), transparent);
}

.contact-options-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 12, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--text-gold);
  box-shadow: 0 0 10px rgba(212, 177, 105, 0.25);
}

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

.site-footer {
  background: #060708;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
