/*
Theme Name: Empire REA Landing Final
Theme URI: https://empirereg.com
Author: Empire Real Estate Group
Description: Final version with overlays and loader animation.
Version: 1.3
*/

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

.hero-redirects {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}

.hero-redirects a {
  position: relative;
  flex: 1 1 50%;
  height: 100vh;
  overflow: hidden;
}

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

.hero-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: white;
  text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.hero-redirects a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: 1;
  transition: background 0.3s ease;
}

.hero-redirects a:hover::before {
  background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(0,0,0,0.7));
}

.landing-intro {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  background: #eee;
}

/* Loader Animation */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
