/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-gold: #BF9B30;
    --color-gold-hover: #D4AF37;
    --color-text: #f5f5f5;
    --color-text-muted: #a3a3a3;
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utilidades */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.btn:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    box-shadow: var(--shadow-gold);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-bg);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.8rem;
}

.text-gold {
    color: var(--color-gold);
}

/* Barra de navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
}


.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}



.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--color-gold);
    opacity: 1;
}

/* Sección Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.7), var(--color-bg)), url('https://images.unsplash.com/photo-1600596542815-2a4d9f6facb8?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; REMOVED FOR PARALLAX JS */
    padding-top: 100px;
    /* Offset for fixed nav */
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(45deg, #fff, var(--color-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typewriter Cursor */
.typewriter-text {
    border-right: 3px solid var(--color-gold);
    animation: blink-caret 0.75s step-end infinite;
    padding-right: 5px;
    /* Slight breathing room for cursor */
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--color-gold)
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Sección de Captura (Formulario) */
.capture-section {
    background-color: var(--color-surface);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gold);
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.appraisal-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-select,
textarea {
    padding: 15px;
    background: var(--color-bg);
    border: 1px solid #333;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
textarea:focus {

    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-submit {
    margin-top: 10px;
    width: 100%;
}

/* Cuadrícula de Propiedades */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    /* Glassmorphism Effect */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    transition: var(--transition);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    /* Slight rounded corners fit glass better */
}

.property-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    /* Golden glow on hover */
    background: rgba(30, 30, 30, 0.7);
}

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .card-image {
    transform: scale(1.1);
}

.video-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 10, 10, 0.7);
    color: var(--color-gold);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.card-content {
    padding: 25px;
}

.card-title {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sección Sobre Mí */
.about-section {
    padding: 100px 20px;
    background-color: var(--color-surface);
    /* Distinct background */
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.about-profile-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: #000;
    /* Dark background for logo contrast */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    border: 2px solid var(--color-gold);
    overflow: hidden;
}

.about-badge img {
    width: 90%;
    height: auto;
    object-fit: contain;
}

.about-content {
    text-align: left;
    max-width: 600px;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-content strong {
    color: var(--color-text);
}

/* Responsive for About */
@media (min-width: 900px) {
    .about-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .about-image-wrapper {
        margin-right: 50px;
    }
}

.authority-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* Pie de página */
.footer {
    background: var(--color-surface);
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    color: var(--color-text);
    font-size: 1.2rem;
    opacity: 0.6;
}

.social-link:hover {
    color: var(--color-gold);
    opacity: 1;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 20px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--color-gold);
        border-radius: 3px;
        transition: var(--transition);
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 70%;
        height: 100vh;
        background-color: #000;
        /* High contrast dark background */
        padding-top: 100px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        gap: 15px;
        /* Spacing between links */
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
        /* Slide in */
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        color: #fff;
        /* High contrast text */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover {
        background-color: rgba(212, 175, 55, 0.1);
        color: var(--color-gold);
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}