/* =============================================
   BeliHomeStay — Home Page Stylesheet (Redesigned)
   home.css
   ============================================= */

/* ─── HERO — Full-width image ─── */

.hero-fullwidth {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Fallback gradient shown when no image is loaded */
  background-color: var(--dark);
  background-image: linear-gradient(135deg, var(--dark) 0%, #2c4a5a 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 43, 54, 0.45) 0%,
    rgba(28, 43, 54, 0.35) 50%,
    rgba(28, 43, 54, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -3px;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.hero-heading .highlight {
  color: var(--green);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats bar pinned to bottom of hero */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 2rem;
}

.hero-stat {
  text-align: center;
  padding: 0 3.5rem;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ─── FEATURED LISTINGS ─── */

.featured-section {
  background: var(--sand);
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.see-all-link {
  text-decoration: none;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}

.see-all-link:hover { gap: 0.65rem; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

/* Taller images on homepage cards */
.featured-section .property-card-image {
  height: 280px;
}

.featured-section .property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── PHOTO COLLAGE ─── */

.collage-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 600px;
  background: var(--white);
}

.collage-left {
  padding: 6rem 4rem 6rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  overflow: hidden;
}

.collage-cell {
  background-size: cover;
  background-position: center;
  background-color: var(--sand-dark);
  transition: transform 0.5s ease;
  overflow: hidden;
  min-height: 200px;
}

.collage-cell:hover { transform: scale(1.04); }

.collage-tall { grid-row: span 2; }

.collage-placeholder {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.6;
}

.collage-accent {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.7;
}

/* ─── AIRBNB LISTING ─── */

.airbnb-listing-section {
  background: var(--sand);
}

.airbnb-listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  max-width: 820px;
  margin: 0 auto;
}

.airbnb-card-header {
  background: linear-gradient(135deg, #FF5A5F 0%, #e04e53 100%);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.airbnb-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.airbnb-card-tag-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.airbnb-card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.airbnb-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.airbnb-stat {
  padding: 1.8rem 1.4rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.airbnb-stat:last-child { border-right: none; }

.airbnb-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.airbnb-stat:nth-child(2) .airbnb-stat-num { color: var(--teal); }
.airbnb-stat:nth-child(3) .airbnb-stat-num { color: var(--dark); }

.airbnb-stat-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

.airbnb-card-footer-row {
  padding: 1.8rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.airbnb-note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── CTA FULL-WIDTH STRIP ─── */

.cta-split-section {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cta-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28, 43, 54, 0.88) 0%,
    rgba(28, 43, 54, 0.55) 60%,
    rgba(28, 43, 54, 0.2) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

/* ─── CONTACT ─── */

.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.6;
}

.contact-item a:hover { color: var(--green); }

.contact-form {
  background: var(--sand);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1.6rem;
}

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

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.4rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

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

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

/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
  .collage-section      { grid-template-columns: 1fr; }
  .collage-left         { padding: 4rem 2rem; }
  .collage-grid         { min-height: 400px; }
  .featured-grid        { grid-template-columns: 1fr 1fr; }
  .contact-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .airbnb-stats-row     { grid-template-columns: repeat(2, 1fr); }
  .airbnb-stat:nth-child(2) { border-right: none; }
}

@media (max-width: 640px) {
  .hero-heading         { letter-spacing: -1.5px; }
  .hero-stat            { padding: 0 1.5rem; }
  .featured-grid        { grid-template-columns: 1fr; }
  .collage-grid         { min-height: 300px; }
  .airbnb-stats-row     { grid-template-columns: 1fr 1fr; }
  .airbnb-card-footer-row { flex-direction: column; align-items: flex-start; }
  .cta-split-section    { height: auto; padding: 5rem 0; }
  .form-row             { grid-template-columns: 1fr; }
}
