/* Logo and favicon styles */
.logo-img {
  height: 40px;
  width: auto;
  border-radius: 5px;
}

/* Mobile responsive navigation */
.nav.show {
  display: flex !important;
  flex-direction: column;
  width: 80%;
  margin-left: auto;
  margin-right: 0;
  background: rgba(26, 26, 46, 0.98);
  position: absolute;
  top: 100%;
  right: 0;
  padding: 1rem 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.nav.show .nav-link {
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav.show .dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: rgba(0,0,0,0.3);
  box-shadow: none;
  margin-top: 0;
}

/* Document section specific styles */
.documents {
  padding: 80px 0;
  background: #f8f9fa;
}

.documents .container {
  max-width: 1000px;
}

.documents h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.section-description {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.document-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.document-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.document-info h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.document-info p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.document-details {
  margin: 1rem 0;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.9rem;
}

.detail-item i {
  color: #667eea;
  width: 16px;
}

.document-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #888;
}

.documents-contact {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
}

.documents-contact h3 {
  color: #333;
  margin-bottom: 1rem;
}

.documents-contact p {
  color: #666;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Detail modal responsive */
@media (max-width: 768px) {
  .detail-modal-content {
    width: 98%;
    max-height: 95vh;
  }

  .detail-hero {
    height: 200px;
  }

  .detail-hero-overlay h2 {
    font-size: 20px;
  }

  .detail-body {
    padding: 20px;
  }

  .detail-gallery {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

  .detail-gallery img {
    height: 80px;
  }

  .detail-specs {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    flex-direction: column;
  }
}

/* Mobile responsive design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: row;
    padding: 1rem;
    position: relative;
  }

  .logo {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .logo-img {
    height: 35px;
  }

  .nav {
    display: none;
    margin-left: auto;
    flex-direction: column;
    width: 100%;
    background: rgba(255,255,255,0.95);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .nav.show {
    display: flex;
  }

  .nav-link {
    color: #333 !important;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eee;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: flex !important;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero {
    margin-top: 80px;
  }

  .hero-carousel {
    height: 400px;
  }

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

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    padding: 0.8rem 1rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .documents-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .document-card {
    padding: 1.5rem;
  }

  .document-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    flex-direction: column;
  }

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

  .maps-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .modal-content.large-modal {
    width: 98%;
    height: 90vh;
  }

  .modal-body {
    flex-direction: column;
    height: auto;
  }

  .modal-gallery {
    width: 100%;
    height: 250px;
  }

  .modal-details {
    width: 100%;
    padding: 1rem;
  }
}

/* ==================== FEATURED CARD RESPONSIVE ==================== */
@media (max-width: 768px) {
  .featured-card::before {
    top: -10px;
    left: 15px;
    padding: 3px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .property-card,
  .review-card,
  .blog-card,
  .document-card {
    margin-bottom: 1.5rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .document-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .detail-item {
    font-size: 0.8rem;
  }
}

