/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    background: #000;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f5a623;
    font-weight: 500;
}

/* ÍCONOS GENERALES */
.icon {
    width: 18px;
    height: 18px;
}

/* ÍCONO TELÉFONO */
.phone .icon {
    fill: #f5a623;
}

/* ÍCONO BOTÓN */
.btn-primary .icon {
    fill: #fff;
}

.btn-contact {
    background: #f5a623;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #d9911c;
}

/* HERO */
.hero {
    height: 100vh;
    background: url(../assets/img/hero.jpg) center/cover  no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 800px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    color: #f5a623;
    font-weight: 800;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    color: #ddd;
}

/* BOTÓN PRINCIPAL */
.btn-primary {
    display: inline-flex;
    font-size: 20px;
    align-items: center;
    gap: 10px;
    background: #f5a623;
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #d9911c;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .header-right span {
        display: none;
    }
}

.hero-line {
    width: 80px;
    height: 4px;
    background: #f5a623;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

/* ABOUT SECTION */
.about {
    background: #0b0b0b;
    color: #fff;
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT */
.about-left h2 {
    font-size: px;
    margin-bottom: 20px;
    font-size: 35px;
}

.about-left p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 20px;
}

/* LINE */
.about-line {
    width: 80px;
    height: 4px;
    background: #f5a623;
    margin-bottom: 20px;
}

/* STATS */
.stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: #111;
    padding: 25px;
    border-radius: 12px;
    flex: 1;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.stat-card h3 {
    font-size: 32px;
    margin: 10px 0;
}

.stat-card span {
    color: #aaa;
}

/* RIGHT */
.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FEATURE CARDS */
.feature-card {
    display: flex;
    gap: 20px;
    background: #111;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.feature-card h4 {
    margin-bottom: 8px;
    font-size: 20px;
}

.feature-card p {
    color: #aaa;
    font-size: 18px;
}

/* ICON BOX */
.icon-box.left{
    background: rgba(245, 166, 35, 0.1);
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box svg {
    width: 22px;
    height: 22px;
    fill: #f5a623;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.section-line {
    width: 80px;
    height: 4px;
    background: #f5a623;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

/* GALLERY */
.gallery {
    background: #000;
    color: #fff;
    padding: 100px 0;
}

/* HEADER */
.gallery .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery .section-header h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.gallery .section-header p {
    color: #aaa;
    font-size: 18px;
}

/* GRID */
.gallery {
  padding: 60px 40px;
  background: #000;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 10px;
}

.gallery-item:nth-child(1) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 0.5s;
}

.gallery-item {
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: "Ver propiedad";
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ITEM GRANDE */
.gallery-item.large {
    grid-row: span 2;
}

/* HOVER FUTURO */
.gallery-item:hover {
    transform: scale(1.02);
    transition: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item.large {
        grid-row: auto;
        height: 300px;
    }
    .gallery-item {
        height: 200px;
    }
}

/* CTA */
.cta {
    background: #000;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
}

/* TÍTULO */
.cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* TEXTO */
.cta p {
    color: #aaa;
    font-size: 20px;
    margin-bottom: 40px;
}

/* BOTÓN */
.cta .btn-primary {
    font-size: 18px;
    padding: 18px 30px;
    border-radius: 12px;
}

/* ICONO BOTÓN */
.cta .btn-primary .icon {
    fill: #fff;
    width: 20px;
    height: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta h2 {
        font-size: 32px;
    }
    .cta p {
        font-size: 16px;
    }
}

/* FOOTER */
.footer {
    background: #0b0b0b;
    color: #fff;
    padding: 60px 0 20px;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* COLUMNAS */
.footer-col h4 {
    margin-bottom: 15px;
}

.footer-logo {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer-col p {
    color: #aaa;
}

/* ITEMS */
.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
}

.footer-item .icon {
    fill: #f5a623;
    width: 18px;
    height: 18px;
}

/* LINKS */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #aaa;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #f5a623;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding-top: 15px;
    color: #777;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.properties {
  background: #0b0b0b;
  padding: 80px 40px;
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 32px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: #f5a623;
  margin: 10px auto 0;
}

/* CARD PROPIEDAD */
.property-card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}

.property-card:hover {
  transform: translateY(-8px);
}

/* IMAGEN */
.property-image {
  position: relative;
}

.property-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* BADGE */
.property-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f5a623;
  color: #000;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: bold;
}

/* INFO */
.property-info {
  padding: 15px;
}

.property-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

/* UBICACIÓN */
.property-location {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 10px;
}

/* FEATURES */
.property-features {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #ccc;
  margin-bottom: 10px;
}

/* PRECIO */
.property-price {
  font-weight: bold;
  font-size: 18px;
  color: #f5a623;
}

/* INFO */
.property-info {
  padding: 15px;
}

.property-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.property-location {
  color: #777;
  font-size: 13px;
  margin-bottom: 10px;
}

/* FEATURES */
.property-features {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}

.property-features span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* PRECIO */
.property-price {
  font-weight: bold;
  font-size: 18px;
}

/* IMAGEN */
.property-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* INFO */
.property-info {
  padding: 15px;
}

.property-info h3 {
  margin-bottom: 10px;
}

/* UBICACIÓN */
.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777;
  font-size: 14px;
  margin-bottom: 10px;
}

.property-location .icon {
  width: 16px;
  height: 16px;
  fill: #f5a623;
}

/* PRECIO */
.property-price {
  font-weight: bold;
  color: #f5a623;
  font-size: 18px;
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: black;
  color: white;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
}

.fav-btn.active {
  color: red;
}

/* NAV */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #0a0a0a;
    position: relative;
    z-index: 1000;
}

/* DESKTOP */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #f5a623;
}

/* HAMBURGUESA */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    transition: 0.3s;
    z-index: 999;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    margin: 15px 0;
    font-size: 18px;
}

.mobile-menu.active {
    right: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .header-right {
        display: none;
    }
}

/* ANIMACIÓN */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.search-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.search-box input,
.search-box select {
    flex: 1 1 180px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: white;
}

.search-box button {
    flex: 0 0 auto;
    padding: 12px 30px;
    background: linear-gradient(135deg, #f5a623, #ff7b00);
    color: black;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.3);
}