/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5530;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2c5530;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 2rem;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-current {
    padding: 0.5rem 1rem;
    background: #2c5530;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 60px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.lang-current:hover {
    background: #1e3a21;
}

.lang-current::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-dropdown.active .lang-current::after {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    min-width: 80px;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.lang-dropdown.active .lang-options {
    display: flex;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-align: left;
}

.lang-btn:hover {
    background: #f5f5f5;
    color: #2c5530;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    border: 2px dashed #2c5530;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    text-align: center;
    margin-bottom: 1rem;
}

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

/* Localización Section */
.localizacion {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
}

.localizacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.localizacion-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.localizacion-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.location-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.location-item span:last-child {
    color: #666;
    font-weight: 500;
}

.localizacion-map {
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    padding-bottom: 1.5rem;
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #2c5530;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.map-link:hover {
    background: #1e3a21;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #666;
    text-align: center;
}

.map-placeholder p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2c5530;
}

.map-placeholder ol {
    text-align: left;
    color: #666;
    font-size: 0.9rem;
}

.map-placeholder ol li {
    margin-bottom: 0.5rem;
}

/* Parcelas Section */
.parcelas {
    padding: 80px 0;
    background: #fafafa;
}

.parcelas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.parcela-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.parcela-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.parcela-image {
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    border-bottom: 2px solid #2c5530;
}

.parcela-info {
    padding: 1.5rem;
}

.parcela-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 1rem;
}

.parcela-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.parcela-specs span {
    background: rgba(44, 85, 48, 0.1);
    color: #2c5530;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.parcela-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.parcela-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.parcela-features span {
    color: #2c5530;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Entorno Section */
.entorno {
    padding: 80px 0;
    background: white;
}

.entorno-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.entorno-text {
    animation: fadeInLeft 1s ease-out;
}

.entorno-features {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: #2c5530;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
}

.entorno-image {
    animation: fadeInRight 1s ease-out;
}

.entorno-image .image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    border: 2px dashed #2c5530;
}

/* Montanejos Section */
.montanejos {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
}

.montanejos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.montanejos-image .image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #b8e6cc, #a3d9b8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5530;
    font-size: 1.2rem;
    font-weight: 600;
}

.montanejos-text {
    position: relative;
}

.montanejos-highlights {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight h3 {
    color: #2c5530;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight p {
    color: #666;
    line-height: 1.6;
}


/* Contact Section */
.contacto {
    padding: 80px 0;
    background: white;
}

.contact-form-only {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.typeform-embed {
    background: #fafafa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 500px;
}

.form-placeholder {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.form-placeholder p {
    margin-bottom: 1rem;
}

.form-placeholder ol {
    text-align: left;
    margin: 1rem 0;
}

.form-placeholder code {
    background: #f0f0f0;
    padding: 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

/* Footer */
.footer {
    background: #2c5530;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c5530;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.mobile-menu-button:hover {
    color: #1e3a21;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        display: none;
        flex-direction: column;
        z-index: 1000;
        width: 100%;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        display: block;
        font-size: 1.1rem;
    }
    
    .nav-menu a:hover {
        background: rgba(44, 85, 48, 0.1);
    }
    
    .language-selector {
        margin-left: 1rem;
        margin-top: 0;
    }
    
    .lang-options {
        right: 0;
        left: auto;
        min-width: 100px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .entorno-content,
    .montanejos-content,
    .localizacion-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .montanejos-image {
        order: -1;
    }
    
    
    .parcelas-grid {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .parcelas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .parcela-card {
        margin: 0 10px;
    }
}