:root {
    --primary: #00A896;
    --primary-dark: #008080;
    --secondary: #006666;
    --bg-light: #20B2AA; /* Zurückgenommenes Türkis (Light Sea Green) */
    --text-dark: #ffffff;
    --text-light: #E0F7FA;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Main Header */
.main-header {
    background-color: #ffffff;
    width: 100%;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
}

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

.header-logo {
    max-height: 100px;
    width: auto;
    display: block;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    background: rgba(0, 168, 150, 0.1);
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(0, 168, 150, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 168, 150, 0.2);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 130px);
    min-height: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    gap: 30px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../titel_elpueblo.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1); /* for parallax */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--text-light);
    max-width: 800px;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.hero-supertitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ff1493; /* Pink */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
}

.hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 300;
    opacity: 0.9;
    color: var(--text-light);
}

.hero-subtext:last-of-type {
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary);
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(194, 149, 110, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Fincas Section */
.fincas-section {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.header-line {
    height: 3px;
    width: 80px;
    background-color: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.finca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.finca-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    background: rgba(0, 168, 150, 0.5);
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.finca-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.finca-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.finca-card:hover .finca-image {
    transform: scale(1.05);
}

.finca-content {
    padding: 30px;
}

.finca-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.finca-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.finca-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.finca-card:hover .finca-btn {
    background: var(--text-light);
    color: var(--secondary);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-details {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
    opacity: 0.9;
}

.footer-details a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}

.footer-details a:hover {
    color: var(--accent);
}

.footer-links {
    margin-top: 10px;
    font-size: 0.85rem;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .header-logo {
        max-height: 80px;
    }
    .hero {
        height: auto;
        padding: 60px 20px;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-content { padding: 30px 20px; }
    .section-header h2 { font-size: 2.2rem; }
    .finca-grid { grid-template-columns: 1fr; }
}
