/* 
   Finca Sylvatica Website Styles
   A clean, modern design for a permaculture property in Costa Rica
*/

/* Base Styles and Variables */
:root {
    --primary-color: #2e7d32; /* Forest green */
    --secondary-color: #81c784; /* Light green */
    --accent-color: #ff8f00; /* Amber/gold */
    --dark-color: #1b5e20; /* Dark green */
    --light-color: #f1f8e9; /* Very light green */
    --text-color: #333333;
    --light-text: #ffffff;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--light-text);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Header Styles */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1536152470836-b943b246224c') no-repeat center center/cover;
    color: var(--light-text);
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.price-tag {
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.price-local {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation Styles */
.main-nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-list {
    display: flex;
    justify-content: center;
}

.nav-list li {
    padding: 20px 0;
}

.nav-list a {
    color: var(--light-text);
    padding: 0 20px;
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-list a:hover::after {
    transform: scaleX(1);
}

/* Overview Section */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.overview-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.overview-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.highlight-item {
    text-align: center;
    width: 23%;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1511497584788-876760111969') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Gallery Section */
.gallery-note {
    text-align: center;
    margin-bottom: 30px;
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.placeholder-item {
    background-color: var(--light-color);
    height: 200px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

/* Food Forest Section */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.food-forest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.food-category {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.food-category h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.food-category ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.food-category ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Location Section */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-placeholder {
    background-color: var(--light-color);
    height: 400px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.location-item {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.location-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.location-item ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.location-item ul li::before {
    content: '→';
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Investment Section */
.investment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.investment-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.investment-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.investment-quote {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-links {
    margin-bottom: 30px;
}

.contact-links li {
    margin-bottom: 10px;
}

.contact-agent {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-agent h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-agent p {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

.footer-logo h3 {
    color: var(--light-text);
    margin-bottom: 10px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-text);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-social p {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .overview-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .location-details {
        margin-top: 30px;
    }
    
    .header h1 {
        font-size: 3rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list li {
        padding: 10px 0;
    }
    
    .highlight-item {
        width: 48%;
        margin-bottom: 15px;
    }
    
    .location-details {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .highlight-item {
        width: 100%;
    }
    
    .header {
        height: 90vh;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .price-local {
        font-size: 1rem;
    }
}
