@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-gold: #D4AF37;
    --accent-gold: #FFD700;
    --dark-black: #000000;
    --light-black: #1a1a1a;
    --dark-gray: #2a2a2a;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s;
    font-size: 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
    border-radius: 10px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1200') center/cover;
    opacity: 0.2;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 300;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    animation: float 20s infinite;
}

.shape1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation-delay: 5s;
}

.shape3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -50px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.btn-gold {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    color: #000;
    padding: 18px 50px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.6);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.service-card {
    background: white;
    border-radius: 25px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #000000, var(--primary-gold));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-color: var(--primary-gold);
}

.service-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #000000, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--dark-black);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-weight: 400;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-img {
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-gold);
    border-radius: 30px;
    z-index: -1;
    transition: all 0.5s ease;
}

.about-img:hover {
    transform: translate(10px, 10px);
}

.about-img:hover::before {
    top: -10px;
    left: -10px;
}

.about h2 {
    margin-bottom: 30px;
}

.about .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
    font-weight: 400;
}

.about p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
}

.check-item:hover {
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(212,175,55,0.1));
    transform: translateX(10px);
}

.check-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary-gold);
}

.check-item h5 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-black);
}

/* Properties Section */
.properties {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.property-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-bottom: 30px;
    border: 2px solid transparent;
}

.property-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0,0,0,0.2);
    border-color: var(--primary-gold);
}

.property-img-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.property-card:hover .property-img {
    transform: scale(1.15) rotate(2deg);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(212, 175, 55, 0.7));
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.overlay-btn {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 30px;
    border: 2px solid var(--primary-gold);
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.overlay-btn:hover {
    background: var(--primary-gold);
    color: #000;
}

.property-body {
    padding: 30px;
}

.property-price {
    background: linear-gradient(135deg, #000000, var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.property-body h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-black);
}

.property-body p {
    color: #666;
    margin-bottom: 10px;
}

.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.contact-info:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: var(--primary-gold);
}

.contact-info i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    color: var(--accent-gold);
}

.contact-info:hover i {
    transform: scale(1.1) rotate(5deg);
    background: rgba(212, 175, 55, 0.3);
}

.contact-info h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.form-control {
    border-radius: 15px;
    padding: 15px 25px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: rgba(255,255,255,0.95);
    transition: all 0.3s;
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    background: white;
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 180px;
    resize: none;
}

#contactForm {
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.social-links {
    margin-bottom: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #000;
    font-size: 1.3rem;
    margin: 0 10px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-10px) rotate(360deg);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
    border-color: var(--primary-gold);
}

footer p {
    margin: 0;
    opacity: 0.8;
    font-weight: 300;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--dark-black);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #000000, var(--primary-gold));
    margin: 25px auto 0;
    border-radius: 10px;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #000000, var(--primary-gold));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Animaciones adicionales */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-gold:active {
    animation: pulse 0.3s ease;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 3px solid white;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    text-decoration: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .property-img-container {
        height: 220px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
