/**
 * Rent+ Landing — Bootstrap version
 * Custom styles for index-bootstrap.html
 */

/* Colors from /public/index.html */
:root {
  --primary: #00BA63;
  --primary-hover: #059669;
  --background-light: #ffffff;
  --background-dark: #0f172a;
  --jet: #0d0d0d;
  --cloud: #f6faf8;
  --white: #ffffff;
  --slate: #475569;
  --slate-dark: #334155;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cloud);
  color: var(--jet);
  line-height: 1.6;
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  position: relative;
  margin: 0;
  min-height: 100vh;
  box-shadow: inset 0 0 150px rgba(0, 186, 99, 0.05);
}

/* Logo — fixed at top of viewport, minimal whitespace */
.landing-logo {
  position: fixed;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1030;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.landing-logo a {
  margin: 0;
  padding: 0;
  display: block;
}

.landing-logo .logo-img {
  height: 14.44rem;
  width: auto;
  display: block;
  margin: 0;
  padding: 0;
}

@media (max-width: 576px) {
  .landing-logo .logo-img {
    height: 10.08rem;
  }
}

/* Main content — padding for fixed logo, background shadow */
.landing-content {
  min-height: 100vh;
  padding-top: 14.2rem;
  padding-bottom: 0.25rem;
}

.landing-content .container {
  background: var(--background-light);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 0 80px rgba(0, 186, 99, 0.08), 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (max-width: 576px) {
  .landing-content {
    padding-top: 9.9rem;
  }
}

/* Hero 3D canvas — background shadow */
.hero-three {
  width: 100%;
  max-width: 560px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cloud);
  box-shadow: 0 25px 50px -12px rgba(0, 186, 99, 0.08);
}

.hero-three canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tagline — tight to logo */
.landing-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  color: var(--slate-dark);
  max-width: 800px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .landing-tagline {
    font-size: 1.6rem;
  }
}

/* CTA buttons — primary color from index.html, 20% smaller, no button shadow */
.btn-rent-dark {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 2rem;
  border-radius: 0.8rem;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-rent-dark:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: scale(1.05);
}

.btn-rent-outline {
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 2rem;
  border-radius: 0.8rem;
  border: 2px solid var(--primary);
  transition: background 0.2s, color 0.2s;
}

.btn-rent-outline:hover {
  background: rgba(0, 186, 99, 0.05);
  color: var(--primary);
}

/* Contact link */
.landing-contact a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.0625rem;
  transition: color 0.2s;
}

.landing-contact a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Footer */
.landing-footer {
  font-size: 0.8125rem;
  color: var(--slate);
}

.landing-footer a {
  color: var(--slate);
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
  color: var(--jet);
}
