/* styles.css - Estilos para Silkaya Inmobiliaria */

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 100px;
    width: auto;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-info .phone {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0 0.5rem;
}

.social-links {
    text-align: center;
    margin-top: 0.25rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 0.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Navbar */
.navbar {
    background: var(--primary-color);
    padding: 0 5%;
}

.nav-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu li a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: background 0.3s;
}

.nav-menu li a:hover {
    background: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)), 
                url('../img/hero-bg.jpg') center/cover;
    padding: 4rem 5%;
    text-align: center;
    color: var(--white);
}

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

.search-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.search-form select {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 200px;
    cursor: pointer;
}

.btn-search {
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #c73e52;
}

/* Properties Grid */
.featured-properties {
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-properties h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 380px;
    margin: 0 auto;
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--white);
    z-index: 1;
}

.property-badge.venta {
    background: #27ae60;
}

.property-badge.renta {
    background: #3498db;
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-info {
    padding: 1.5rem;
}

.property-price {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.btn-view {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-view:hover {
    background: var(--accent-color);
}

.no-properties {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* About Preview */
.about-preview {
    background: #f8f8f8;
    color: #333;
    padding: 4rem 5%;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-content h2 {
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.about-content p {
    margin-bottom: 2rem;
    color: #555;
}

.btn-about {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-about:hover {
    background: #c73e52;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Page Headers */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 5%;
    text-align: center;
}

/* Filters Bar */
.filters-bar {
    background: var(--white);
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filters-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.filters-form select,
.filters-form input {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.btn-filter {
    padding: 0.6rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Property Detail */
.property-detail {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-back {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.btn-back:hover {
    text-decoration: underline;
}

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

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.property-detail-info {
    position: relative;
}

.property-detail-info h1 {
    margin-top: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.property-features-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.property-description {
    margin: 1.5rem 0;
}

.property-description h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.property-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-contact,
.btn-whatsapp {
    flex: 1;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn-contact {
    background: var(--accent-color);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-contact:hover,
.btn-whatsapp:hover {
    opacity: 0.9;
}

/* Contact Page */
.contact-page {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.contact-info-box,
.contact-form-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info-box h2,
.contact-form-box h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #c73e52;
}

/* About Page */
.about-page {
    padding: 2rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.about-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-logo img {
    max-width: 200px;
    display: block;
    margin: 0 auto 2rem;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text h3 {
    color: var(--accent-color);
    margin: 1.5rem 0 0.5rem;
}

.about-text ul {
    list-style: none;
    margin-top: 1rem;
}

.about-text ul li {
    padding: 0.3rem 0;
}

.about-contact {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.btn-contact-us {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-contact-us:hover {
    background: #c73e52;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Promo Page */
.promo-page {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-page h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.promo-page .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.promo-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.promo-form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.promo-form-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.promo-contact {
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.promo-contact a {
    color: var(--white);
}

/* Location Page */
.location-page {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.location-page h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location-page .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.5office-card,
.servicesrem;
}

.-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.office-card h2,
.services-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.office-card h2 i {
    color: var(--accent-color);
}

.address {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.address i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.contact-details a {
    color: var(--text-color);
    text-decoration: none;
}

.schedule {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.schedule h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.schedule h3 i {
    color: var(--accent-color);
}

.services-card ul {
    list-style: none;
}

.services-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.services-card ul li:last-child {
    border-bottom: none;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.location-cta {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
}

.location-cta .btn-contact {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem 3%;
    }
    
    .logo img {
        height: 60px;
    }
    
    .contact-info {
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .contact-info h3 {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-info .phone {
        font-size: 0.75rem;
        display: inline-block;
        margin: 0 0.3rem;
    }
    
    .contact-info .phone a {
        font-size: 0.7rem;
    }
    
    .social-links {
        display: block;
        margin-top: 0.2rem;
    }
    
    .social-links a {
        font-size: 1rem;
        margin-left: 0.3rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form select,
    .btn-search {
        width: 100%;
    }
    
    .property-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .main-image img {
        height: 250px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .property-actions {
        flex-direction: column;
    }
}

/* Owner Section */
.owner-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.owner-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.owner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.owner-content > p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.services-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin-bottom: 2rem;
    scroll-behavior: smooth;
}

.services-carousel::-webkit-scrollbar {
    height: 8px;
}

.services-carousel::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.services-carousel::-webkit-scrollbar-thumb {
    background: #e94560;
    border-radius: 4px;
}

.service-item {
    min-width: 180px;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.service-item i {
    font-size: 2rem;
    color: #e94560;
    margin-bottom: 0.5rem;
}

.service-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.btn-owner {
    display: inline-block;
    background: #e94560;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
}

.btn-owner:hover {
    background: #c73e52;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .owner-content h2 {
        font-size: 1.8rem;
    }
    
    .services-carousel {
        justify-content: flex-start;
    }
    
    .service-item {
        min-width: 150px;
    }
}

/* Thumbnail Images */
.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumbnail-images .thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.thumbnail-images .thumbnail:hover {
    opacity: 1;
}


/* Honeypot - hidden from users */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

