/* PC Abodes - Long Term Rental Landing Page */
/* Branding matched to pcabodes.com Lodgify site */

:root {
  --primary: #5acbd3;
  --primary-dark: #48a2a9;
  --primary-light: #bdeaed;
  --secondary: #4f986e;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-white: #ffffff;
  --bg-light: #f7fafa;
  --footer-bg: #333333;
  --footer-secondary: #474747;
}

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

body {
  font-family: 'Questrial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  height: 70px;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 50px;
  width: auto;
}

nav a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  margin-top: 70px;
  height: 480px;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%),
              url('images/hero.jpg') center/cover no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0 0 1.4em 1.4em;
}

.hero-overlay {
  padding: 2rem;
}

.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.03em;
}

.hero .tagline-sub {
  font-family: 'Questrial', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero { height: 360px; }
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1rem; }
}

/* Intro */
.intro {
  padding: 4rem 0 3rem;
  text-align: center;
}

.intro h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.intro p {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--text-medium);
  font-size: 1.05rem;
}

.highlights {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.highlight-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.highlight-value {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

/* Units */
.units {
  padding: 3rem 0 4rem;
  background: var(--bg-light);
}

.units h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.unit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.unit-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.unit-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.unit-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.unit-info {
  padding: 1.5rem;
}

.unit-info h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.unit-price {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.unit-price span {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
}

.unit-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.unit-features li {
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.unit-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-weight: bold;
}

/* Unit Gallery */
.unit-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.unit-gallery img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.unit-gallery img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .unit-gallery { grid-template-columns: repeat(4, 1fr); }
  .unit-gallery img { height: 60px; }
}

/* Amenities Photos */
.amenities-photos {
  padding: 4rem 0;
}

.amenities-photos h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.amenities-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.amenities-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.amenities-gallery img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .amenities-gallery { grid-template-columns: repeat(2, 1fr); }
  .amenities-gallery img { height: 140px; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 2.5rem;
  padding: 0.5rem 1rem;
  transition: opacity 0.2s;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-close {
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--primary);
  color: #000;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 3.58em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

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

/* Details */
.details {
  padding: 4rem 0;
}

.details h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.detail-item {
  text-align: center;
  padding: 1.5rem;
}

.detail-item h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.detail-item p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.terms {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
}

.terms h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.terms ul {
  list-style: none;
}

.terms ul li {
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-medium);
}

.terms ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--primary-dark);
}

/* Location */
.location {
  padding: 4rem 0;
  background: var(--bg-light);
  text-align: center;
}

.location h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.location > .container > p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.location-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.location-highlights span {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary-dark);
  background: var(--bg-white);
  padding: 0.4rem 1rem;
  border-radius: 2em;
}

/* Contact */
.contact {
  padding: 4rem 0;
}

.contact h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact > .container > p {
  text-align: center;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-medium);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Questrial', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form .btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}
