* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Georgia', serif;
  color: #111;
  background-color: #d4f449;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #2c317a 60%, #4e54c8 100%);
  box-shadow: 0 4px 16px rgba(44,49,122,0.12);
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Arial', sans-serif;
}
.nav-links a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: url('../img/hero.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-content {
  max-width: 800px;
  color: #111;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn {
  padding: 12px 24px;
  background-color: #2c317a;
  color: #fff;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn:hover {
  background-color: #1b2150;
}

/* About Section */
.about-section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.about-section h2, .about-section h3 {
  color: #2c317a;
  margin-bottom: 16px;
}
.about-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-features ul {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.6;
}
.about-features ul li {
  font-weight: bold;
}
.about-title-main {
  margin: 120px auto 32px auto;
  text-align: center;
  background: linear-gradient(90deg, #2c317a 60%, #4e54c8 100%);
  border-radius: 16px;
  padding: 24px 0 18px 0;
  box-shadow: 0 4px 16px rgba(44,49,122,0.12);
  max-width: 500px;
}
.about-title-main h1 {
  color: #fff;
  font-size: 2.8rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 1px 2px 8px rgba(44,49,122,0.18);
}
.about-location {
  margin-top: 40px;
}

/* Schools Section */
.about-schools {
  margin: 40px auto;
  max-width: 800px;
  background: #2c317a;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(44,49,122,0.08);
  color: #fff;
}
.school-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 18px;
}
.school-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  text-align: center;
}
.school-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 8px;
}
.lamar-main {
  width: 100%;
  margin-bottom: 16px;
}
.lamar-logo {
  width: 130px;
  height: 130px;
  margin-bottom: 10px;
}
.school-name {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}
.school-note {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
}

/* Gallery */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Cambiado de 4 a 3 */
  gap: 32px 24px;
  justify-items: center;
  padding: 32px 0;
}
.gallery-item {
  background-color: #2c317a;
  border-radius: 12px;
  padding: 16px 12px;
  max-width: 340px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(44,49,122,0.12);
  width: 100%;
}
.gallery-item img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #2c317a;
  display: block;
  margin: 0 auto;
}
/* Para mostrar la niña completa */
.gallery-item img[src="img/girl-field.png"],
.gallery-item img[src="img/girl-field2.PNG"] {
  object-fit: contain;
}
.gallery-title {
  width: 100%;
  background-color: #2c317a;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  padding: 8px 0 6px 0;
  border-radius: 8px 8px 0 0;
  letter-spacing: 1px;
}
.gallery-caption {
  margin-top: 12px;
  font-size: 1.2rem;
  text-align: center;
  font-family: 'Georgia', serif;
  color: #fff;
  font-weight: bold;
  background-color: #2c317a;
  padding: 8px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
}
@media (max-width: 1100px) {
  .gallery-images {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .gallery-images {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gallery-images {
    grid-template-columns: 1fr;
  }
}

/* Lotes */
.lots-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
  background-color: #f4f4f4;
}
.lot-card,
.lot-general {
  box-shadow:
    0 8px 24px rgba(44,49,122,0.18),
    0 2px 8px rgba(60,40,20,0.10),
    0 0 0 8px #e0e6f9 inset;
  border-radius: 18px;
  border: 4px solid #d4f449;
  background: linear-gradient(135deg, #fff 80%, #e0e6f9 100%);
  transition: box-shadow 0.2s, transform 0.2s;
}
.lot-card:hover,
.lot-general:hover {
  box-shadow:
    0 16px 40px rgba(44,49,122,0.28),
    0 4px 16px rgba(60,40,20,0.18),
    0 0 0 12px #d4f449 inset;
  transform: scale(1.03) translateY(-6px);
  border-color: #ff9800;
}
.lot-general {
  grid-column: span 2;
  grid-row: span 2;
}
.lot-general .lot-media img {
  height: 440px !important;
  width: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .lot-general {
    grid-column: span 1;
    grid-row: span 1;
  }
  .lot-general .lot-media img {
    height: 300px !important;
  }
}

/* Modal Zoom */
#modalImg {
  cursor: zoom-in;
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #fff;
  z-index: 1000;
}
#modalImg.zoomed {
  cursor: zoom-out;
  width: auto;
  height: 90vh;
  max-width: none;
  max-height: none;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(44,49,122,0.18);
  background: #fff;
  z-index: 1000;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background-color: #f5f5f5;
  color: #666;
  margin-top: 40px;
}

/* Contact Section */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin: 32px 0;
}
.contact-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(44,49,122,0.10);
  padding: 28px 24px 20px 24px;
  min-width: 260px;
  max-width: 320px;
  flex: 1 1 260px;
  text-align: center;
  border: 2px solid #e0e6f9;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-card:hover {
  box-shadow: 0 8px 32px rgba(44,49,122,0.18);
  border-color: #d4f449;
}
.contact-card h3 {
  margin-bottom: 8px;
  color: #2c317a;
  font-size: 1.3rem;
}
.contact-card p {
  margin: 6px 0;
  font-size: 1rem;
}
.contact-card a {
  color: #2c317a;
  text-decoration: underline;
  word-break: break-all;
}
.financing-info {
  background: #f7f7ff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(44,49,122,0.08);
  padding: 24px 18px;
  margin-bottom: 32px;
}

/* Agrega esto a tu CSS */
#zoom-controls {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(44,49,122,0.10);
  display: flex;
  gap: 12px;
}

