:root {
  /* Color Palette - Updated from logo.svg */
  --primary: #ed1c24; /* Logo Red */
  --primary-light: #ff4d4d;
  --primary-dark: #b30000;
  --accent: #111111; /* Sleek Black */
  --accent-hover: #333333;
  --bg-light: #fdfdfd;
  --bg-white: #ffffff;
  --text-main: #111111;
  --text-muted: #555555;
  --glass: rgba(255, 255, 255, 0.9);

  /* Spacing */
  --container: 1200px;
  --section-padding: 100px 0;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 70px;
  background: var(--bg-white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

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

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-ilan-ver {
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  padding: 8px 20px !important;
  border-radius: 4px;
}

.nav-ilan-ver:hover {
  background: var(--primary);
  color: var(--bg-white) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: zoomOut 10s forwards;
}

@keyframes zoomOut {
  to {
    transform: scale(1);
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 126, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
}

.highlight {
  color: var(--accent);
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
}

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

/* Stats Section */
.stats {
  background: var(--bg-white);
  padding: 60px 0;
  position: relative;
  z-index: 10;
  margin-top: -50px;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

/* About Section */
.about {
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
}

.text-center.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.about p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
}

.features-list i {
  color: var(--accent);
  width: 20px;
}

.about-image .image-wrapper {
  position: relative;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
}

.badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--primary);
  color: var(--bg-white);
  padding: 30px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Properties Section */
.properties {
  background: #f0f2f5;
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.1);
}

.card-image {
  position: relative;
  height: 250px;
}

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

.tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg-white);
}

.tag-sale {
  background: #e91e63;
}
.tag-rent {
  background: #2196f3;
}
.tag-invest {
  background: #4caf50;
}

.card-body {
  padding: 25px;
}

.card-body h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.location {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-features {
  display: flex;
  gap: 20px;
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-bottom: 25px;
}

.card-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

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

/* Services Section */
.services {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  text-align: center;
  padding: 40px;
  border-radius: 12px;
  background: var(--bg-light);
  transition: var(--transition);
}

.service-card:hover {
  background: var(--primary);
  color: var(--bg-white);
}

.service-icon {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-card p {
  font-size: 15px;
  opacity: 0.8;
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.contact-info {
  background: var(--primary);
  color: var(--bg-white);
  padding: 60px;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.contact-info p {
  opacity: 0.7;
  margin-bottom: 40px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.info-item i {
  color: var(--accent);
  width: 24px;
}

.info-item span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

.info-item p {
  margin-bottom: 0;
  opacity: 1;
  font-weight: 600;
  font-size: 18px;
}

.contact-form {
  padding: 60px;
}

.form-group {
  margin-bottom: 20px;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.btn-block {
  width: 100%;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.5;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  opacity: 0.6;
}

.social-links a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 48px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .properties-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    font-size: 22px;
  }
  .nav-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
    z-index: 1000;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .properties-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .section-title {
    font-size: 32px;
  }
  .badge {
    position: static;
    margin-top: 20px;
    display: inline-block;
  }
}
