:root {
  --primary: #62accc;
  --dark: #323e47;
  --light: #f9f9f9;
  --accent: #a88867;
  --muted: #cacdcd;
  --logo-green: #90b54a;
  --font-main: 'Montserrat', Arial, sans-serif;
}

/* Global Styles */
body {
  margin: 0;
  color: var(--dark);
  background-color: var(--light);
  font-family: var(--font-main);
  font-size: 16px;
}

section {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}

/* HEADER */
header {
  width: 100%;
  background: transparent;
  box-shadow: 0 2px 8px rgba(32, 32, 32, 0.04);
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

/* FOOTER */
footer {
  width: 100%;
  background: transparent;
  box-shadow: 0 2px 8px rgba(32, 32, 32, 0.04);
  padding: 20px;
  text-align: center;
}

h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 700;
  margin: 0 0 15px;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: var(--muted);
  color: var(--dark);
  opacity: 0.25;
  font-size: 1.5em;
}

#navbar {
  background: transparent;
  box-shadow: none;
  position: static;
  top: 0;
  z-index: 10;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 12px;
  width: 100%;
}

.navbar-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 68px;
  width: 100%;
  box-sizing: border-box;
}

.navbar-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-spacer {
  flex: 1 1 auto;
}

.navbar-right {
  padding-right: 16px;
}

.navbar-logo img {
  height: 35px;
  max-width: 180px;
  object-fit: contain;
  user-select: none;
}

.explore-developments-link {
  text-decoration: none;
  color: black;
  font-weight: 600;
  padding: 8px 16px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.explore-developments-link:hover {
  background: var(--primary);
  color: white;
}

#hero {
  position: relative;
  height: 60vh;
  display: flex;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #fff;
  background: transparent;
  font-family: var(--font-main);
  font-weight: 700;
  user-select: none;
  padding-left: 5%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 580px;
  color: #fff;
  padding: 0 20px;
  text-shadow: 0 4px 24px rgba(50, 62, 71, 0.18);
  margin: 0 auto 0 0;
}

.hero-bg {
  background: url('images/estate.webp') center center / cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content h1 {
  font-size: 2.6em;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(50, 62, 71, 0.18);
}

.hero-subtitle {
  font-size: 1.16em;
  font-weight: 500;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 16px rgba(50, 62, 71, 0.12);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

#search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

#search-form:focus-within {
  box-shadow: 0 4px 20px rgba(98,172,204,0.5);
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  padding: 13px 20px;
  font-size: 1.13em;
  border-radius: 50px 0 0 50px;
  color: var(--dark);
  background: transparent;
  font-weight: 500;
  font-family: var(--font-main);
  transition: background-color 0.2s ease;
}

.search-input::placeholder {
  color: #999;
  font-weight: 400;
}

.search-input:focus {
  background-color: #f0f7fb;
}

.search-btn {
  border: none;
  outline: none;
  background: none;
  padding: 0 18px 0 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--primary);
  transition: color 0.2s ease;
}

.search-btn:hover,
.search-btn:focus {
  color: #4597b8;
  outline: none;
}

.search-btn svg {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#explore-rentals {
  background: #fff;
  padding: 35px 0;
  text-align: center;
}

#explore-rentals h2 {
  font-size: 2em;
  color: var(--dark);
  margin-bottom: 28px;
  font-weight: 700;
}

.rental-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1180px;
  margin: 0 auto 38px;
}

.rental-card {
  background: var(--light);
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: box-shadow 0.16s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 340px;
}

.rental-card:hover {
  box-shadow: 0 4px 18px rgba(98,172,204,0.11);
}

.rental-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

.rental-info {
  padding: 22px 16px 16px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rental-info h3 {
  font-size: 1.22em;
  margin-bottom: 7px;
  color: var(--dark);
  font-weight: 700;
}

.rental-info p {
  color: #677682;
  font-size: 0.98em;
  margin-bottom: 10px;
  line-height: 1.4;
}

.rental-details {
  color: var(--primary);
  font-size: 0.97em;
  font-weight: 500;
}

.view-more-btn {
  margin-top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 34px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(98,172,204,0.08);
  letter-spacing: 0.01em;
}

.view-more-btn:hover, .view-more-btn:focus {
  background: #4597b8;
  outline: none;
}

#renting-simple {
  background: #f9f9f9;
  text-align: center;
  padding: 46px 0 60px;
  border-bottom: 1px solid #eee;
}

#renting-simple h2 {
  font-size: 2em;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.renting-text {
  color: #697681;
  font-size: 1.06em;
  margin-bottom: 38px;
}

.renting-simple-box {
  max-width: 950px;
  margin: 0 auto;
  padding: 26px 32px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(50,62,71,0.08);
  gap: 32px;
  text-align: left;
}

.renting-info {
  flex: 1.4;
}

.renting-info h3 {
  color: var(--dark);
  font-size: 1.26em;
  margin-bottom: 13px;
  font-weight: 700;
}

.renting-info p {
  color: #677682;
  font-size: 1.01em;
  margin-bottom: 16px;
}

.renting-cta {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  font-size: 1em;
  margin-top: 0;
  transition: color 0.16s;
}

.renting-cta:hover,
.renting-cta:focus {
  color: #4597b8;
  outline: none;
}

.renting-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.renting-img {
  width: 300px;
  height: 165px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(98,172,204,0.04);
}

.details-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.details-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.details-header h2 {
  font-size: 2em;
  color: var(--dark);
}

.details-location {
  font-size: 1em;
  color: #677682;
  font-weight: 500;
}

.details-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.details-description {
  font-size: 1.05em;
  line-height: 1.6;
  color: #444;
}

.details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.98em;
  color: #555;
}

.details-meta-item {
  flex: 1 1 150px;
  background: var(--light);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.details-price {
  font-size: 1.4em;
  color: var(--primary);
  font-weight: 700;
  margin-top: 10px;
}

.details-contact-btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(98,172,204,0.2);
}

.details-contact-btn:hover {
  background: #4597b8;
}

#footer {
  background: #f8f8f8;
  padding: 20px 0;
  font-family: var(--font-main);
  font-size: 12px;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
}

#about-us {
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #fafafa 0%, #e8ecef 100%);
  font-family: var(--font-main);
  min-height: 100vh;
  position: relative;
  overflow: visible;
}

.about-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.about-header {
  margin-bottom: 60px;
}

.about-header h2 {
  font-size: 4em;
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-header p {
  font-size: 1.4em;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.about-info {
  text-align: left;
}

.about-info h3 {
  font-size: 2em;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.about-info p {
  font-size: 1.2em;
  color: #4a4a4a;
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 300;
}

.about-cta {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-cta:hover {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

#contact-us {
  padding: 140px 20px;
  background: linear-gradient(135deg, #fafafa 0%, #e8ecef 100%);
  font-family: var(--font-main);
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 100px;
}

.contact-header h2 {
  font-size: 4em;
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-header p {
  font-size: 1.4em;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form h3 {
  font-size: 2em;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1em;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  font-family: var(--font-main);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #f8fafc;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
  outline: none;
}

.contact-form textarea {
  grid-column: span 2;
  min-height: 200px;
  resize: vertical;
}

.contact-form button {
  grid-column: span 2;
  background: linear-gradient(90deg, var(--primary) 0%, #3b82f6 100%);
  color: white;
  border: none;
  padding: 18px;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.contact-form button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.contact-form button:hover::after {
  width: 250px;
  height: 250px;
}

.contact-info h3 {
  font-size: 2em;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

.contact-info p {
  font-size: 1.2em;
  color: #4a4a4a;
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 300;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .rental-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .renting-simple-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
    padding: 18px 7px;
  }

  .renting-img-wrap {
    justify-content: center;
  }

  .renting-img {
    width: 97vw;
    max-width: 380px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  #about-us {
    padding: 60px 20px;
  }

  .about-header h2 {
    font-size: 2.5em;
  }

  .about-header p {
    font-size: 1.2em;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-info,
  .contact-form,
  .contact-info древесный уголь {
    text-align: center;
  }

  .contact-header h2 {
    font-size: 2.8em;
  }

  .contact-form h3,
  .contact-info h3 {
    font-size: 1.8em;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1em;
  }

  .contact-form button {
    font-size: 1.1em;
  }

 
  #hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;          /* Vertically center the content */
    justify-content: flex-start;  /* Push it to the left */
    padding-left: 8%;             /* Adjust horizontal position */
    padding-right: 5%;
    color: #fff;
    background: transparent;
    font-family: var(--font-main);
    font-weight: 700;
    user-select: none;
  }
  
  
    .hero-content {
      max-width: 90%;
      padding: 0;
      margin: 0;
      font-size: 0.85em; /* Make the entire content smaller */
    }
  
    .hero-content h1 {
      font-size: 1.4em; /* Smaller heading */
    }
  
    .hero-subtitle {
      font-size: 0.95em; /* Smaller subtitle */
    }

    footer {
      text-align: center;
      padding: 30px 15px;
      font-size: 0.9em;
    }
  
    footer .footer-links {
      flex-direction: column;
      gap: 10px;
    }
  
}

@media (max-width: 700px) {
  body {
    font-size: 8px; /* Smaller base font size */
  }

  .navbar-container {
    padding: 0 10px;
    height: 50px;
  }

  .navbar-container a,
  .navbar-container span {
    font-size: 0.8em; /* Shrink nav text */
  }

  #hero {
    height: 260px;
    padding-left: 15px;
    justify-content: flex-start;
  }

  .hero-content {
    max-width: 90%;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .hero-bg {
    background-position: left center;
  }

  .hero-content h1 {
    font-size: 1.2em; /* Much smaller heading */
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.85em;
  }

  #explore-rentals h2 {
    font-size: 1em;
    margin-bottom: 16px;
  }

  .rental-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100vw;
  }

  .rental-card {
    min-height: 200px;
  }

  .rental-card p {
    font-size: 0.85em;
  }

  .view-more-btn {
    padding: 8px 14px;
    font-size: 0.85em;
  }

  .rental-img {
    height: 480px;
  }

  h1, h2, h3, h4 {
    line-height: 1.2;
    word-break: break-word;
    font-weight: 600;
  }
  footer {
    font-size: 0.8em;
    padding: 20px 10px;
  }

  footer .footer-links {
    flex-direction: column;
    align-items: center;
  }

  footer .footer-links a {
    margin: 4px 0;
  }
}



@media (max-width: 500px) {
  .hero-content h1 {
    font-size: 1.5em; /* Further reduce for very small screens */
  }

  .hero-subtitle {
    font-size: 0.9em;
  }

  #hero {
    height: 280px; /* Adjust height for very small screens */
  }
  footer {
    font-size: 0.75em;
  }

  footer .footer-links {
    flex-direction: column;
    text-align: center;
  }
}