/* TVC Private Real Estate Trust — static site
   Colours and type copied from the live tvctrust.com (Revelance theme):
   accent green #179b69, body text #505050, Open Sans. */
:root {
  --accent: #179b69;
  --text: #505050;
  --dark: #222222;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

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

a { color: var(--accent); }

/* ---- Header: logo only, over the slider, no navigation ---- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  padding: 18px 0 60px;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo-link img {
  width: 200px;
  height: auto;
}

/* ---- Slider ---- */
.slider {
  position: relative;
  height: 100vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: #111;
}
.slides, .slide { position: absolute; inset: 0; }
.slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: var(--white);
}
.slide-content h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.slide-sub {
  margin: 0 0 34px;
  font-size: clamp(17px, 2.2vw, 25px);
  font-weight: 900;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.slide-button {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--white);
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.slide-button:hover,
.slide-button:focus {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.slider-arrow:hover, .slider-arrow:focus { background: var(--accent); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.slider-dots .dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slider-dots .dot.is-active { background: var(--accent); border-color: var(--accent); }

/* ---- Contact Information ---- */
.contact {
  background: #111 url("images/contact-bg.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.contact-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.contact h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
}
.contact h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 16px auto 36px;
  background: var(--accent);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 64px;
}
.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfeee2;
  margin-bottom: 6px;
}
.contact-list a {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover, .contact-list a:focus { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer {
  background: #f4f4f4;
  color: var(--text);
  text-align: center;
  padding: 40px 24px;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.site-footer p { margin: 0 0 12px; font-size: 15px; }
.site-footer .copyright { margin: 0; font-size: 14px; color: #777; }

@media (max-width: 640px) {
  .logo-link img { width: 150px; }
  .slider { min-height: 460px; }
  .slider-arrow { display: none; }
  .contact-list { flex-direction: column; gap: 28px; }
  .contact-list a { font-size: 18px; }
}
