:root {
  --primary: #000000;
  --secondary: #e31c3d;
  --accent: #c41734;
  --light: #f7f7f7;
  --dark: #222222;
  --text: #333333;
  --gray: #717171;
  --border: #dddddd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  color: var(--text);
  line-height: 1.6;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 10px;
}

.logo span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
  font-size: 1rem;
}

nav ul li a:hover {
  color: var(--secondary);
}

.cta-button {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--accent);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.search-box {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.search-box button {
  width: 100%;
  padding: 1rem;
  background-color: var(--secondary);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-box button:hover {
  background-color: var(--accent);
}

/* Properties Section */
.section-title {
  margin: 4rem 0 2rem;
}

.section-title h2 {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.property-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.property-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--secondary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.property-details {
  padding: 1.5rem;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.property-address {
  color: var(--gray);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.property-address i {
  margin-right: 0.5rem;
}

.property-features {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.9rem;
}

.feature {
  display: flex;
  align-items: center;
}

.feature i {
  margin-right: 0.5rem;
}

/* YouTube Section */
.youtube-section {
  background-color: var(--light);
  padding: 4rem 0;
}

.youtube-container {
  text-align: center;
}

.youtube-channels {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.youtube-channel-link {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.youtube-channel-link:hover {
  background-color: var(--accent);
}

.youtube-channel-link i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.youtube-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* About Section */
.about {
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services {
  padding: 4rem 0;
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.service-card p {
  color: var(--gray);
}

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

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.contact-details {
  margin-top: 2rem;
}

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

.contact-icon {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: var(--secondary);
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 0.8rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* B2B Promotion Section */
.b2b-promo {
  padding: 4rem 0;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  border-top: 1px solid #ffe0e0;
  border-bottom: 1px solid #ffe0e0;
}

.b2b-promo-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(227, 28, 61, 0.1);
  border: 2px solid #ffebee;
  display: flex;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.promo-content {
  flex: 1;
  padding: 3rem;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #e31c3d 0%, #c41734 100%);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.promo-content h2 {
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 1rem;
  font-weight: 700;
}

.promo-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.promo-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.promo-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: #333;
}

.promo-feature i {
  color: #e31c3d;
  font-size: 1.2rem;
}

.promo-price {
  background: #f8f8f8;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid #eee;
}

.price {
  font-size: 2.8rem;
  font-weight: 700;
  color: #e31c3d;
  display: block;
  margin-bottom: 0.5rem;
}

.price span {
  font-size: 1.4rem;
  color: #666;
  font-weight: 500;
}

.price-note {
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.promo-buttons {
  display: flex;
  gap: 1rem;
}

.promo-btn {
  background: linear-gradient(135deg, #e31c3d 0%, #c41734 100%);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.secondary-btn {
  background: white;
  color: #e31c3d;
  border: 2px solid #e31c3d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.secondary-btn:hover {
  background: #fff5f5;
}

.promo-image {
  flex: 0 0 300px;
  background: linear-gradient(135deg, #ffebee 0%, #ffe0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.image-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.image-wrapper i.fa-network-wired {
  font-size: 6rem;
  color: #e31c3d;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite;
}

.floating-icons i {
  position: absolute;
  font-size: 1.8rem;
  color: #ff6b8b;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.floating-icons i:nth-child(1) {
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
  top: 20px;
  right: 20px;
  animation-delay: 2s;
}

.floating-icons i:nth-child(3) {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Responsive for promo section */
@media (max-width: 768px) {
  .b2b-promo-card {
    flex-direction: column;
  }

  .promo-content {
    padding: 2rem;
  }

  .promo-image {
    flex: none;
    height: 250px;
  }

  .promo-features {
    flex-direction: column;
    gap: 1rem;
  }

  .promo-buttons {
    flex-direction: column;
  }

  .promo-content h2 {
    font-size: 1.8rem;
  }

  .price {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .b2b-promo {
    padding: 2rem 0;
  }

  .promo-content {
    padding: 1.5rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 1rem 0;
  }

  nav {
    margin: 1rem 0;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .youtube-videos {
    grid-template-columns: 1fr;
  }

  .youtube-channels {
    flex-direction: column;
    align-items: center;
  }
}
