/* ============================================
   ALREKSTAD EIENDOM - Main Stylesheet
   ============================================ */

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

:root {
  --navy: #0A1628;
  --deep-blue: #1E3A5F;
  --accent-blue: #2563EB;
  --light-blue: #3B82F6;
}

body {
  font-family: 'Inter', system_ui, sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

.heading-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navigation */
.nav {
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.nav-active {
  color: #0A1628;
  position: relative;
}
.nav-active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2563EB;
}

.nav-link {
  color: #334155;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #0A1628;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 2px;
  color: #0A1628;
  font-size: 15px;
}

/* Section Headers */
.section-header {
  position: relative;
  display: inline-block;
}
.section-header:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, #2563EB, #3B82F6);
  border-radius: 3px;
}

/* ============================================
   HERO BACKGROUND - Building Photo Support
   ============================================ */

/* Default dark geometric background (fallback) */
.geometric-bg {
  background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 100%);
  position: relative;
  overflow: hidden;
}

/* When user adds a building photo, this class will be used instead */
.hero-building-bg {
  background: linear-gradient(rgba(10, 22, 40, 0.75), rgba(30, 58, 95, 0.65)), 
              url('../images/hero-building.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Optional subtle geometric overlay for PPT inspiration */
.hero-building-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg width=%2260%22 height=%2260%22 viewBox=%220 0 60 60%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg fill-rule=%22evenodd%22%3E%3Cpath fill=%22%232563EB%22 fill-opacity=%22004%22 d=%22M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-10V8h-2v16h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 6v-4H4v4H0v2h4v4h2V8h4V6H6z%22/%3E%3C/g%3E%3C/svg%27');
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* Cards & Components */
.property-card {
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ============================================
   PPT / PRESENTATION SLIDE STYLE (Site-wide)
   ============================================ */

/* Main slide-style cards with left accent */
.slide-card {
  border-left: 5px solid #2563EB;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Structured metadata / info bar (like slide footers) */
.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.meta-label {
  color: #64748b;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  margin-top: 2px;
}

/* Strong section labels (PPT style) */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 8px;
}

/* Accent bar under headings */
.heading-accent {
  position: relative;
  display: inline-block;
}

.heading-accent:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(to right, #2563EB, #3B82F6);
  border-radius: 2px;
}

/* Content blocks that feel like slide sections */
.slide-block {
  background: white;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #2563EB;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.slide-block:hover {
  border-color: #2563EB;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Two-column slide layout helper */
.slide-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .slide-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-box {
  transition: transform 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-4px);
}

.premium-shadow {
  box-shadow: 0 10px 15px -3px rgb(10 22 40 / 0.1), 0 4px 6px -4px rgb(10 22 40 / 0.1);
}

/* Contact Form */
.contact-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  transition: all 0.2s ease;
}
.contact-input:focus {
  border-color: #3B82F6;
  outline: none;
  background: rgba(255,255,255,0.08);
}
.contact-input::placeholder {
  color: rgba(147, 197, 253, 0.6);
}

/* Footer */
footer {
  background: #0A1628;
  color: #64748b;
}