/*
 * Front Page Specific Styles
 * Mosvig Theme
 */


/* Design System Variables - Based on PlotPal Garden Theme */
:root {
    /* PlotPal Color Palette */
    --background: hsl(45, 15%, 97%);
    --foreground: hsl(140, 10%, 15%);

    --card: white;
    --card-foreground: hsl(140, 10%, 15%);

    --primary: hsl(142, 76%, 36%);
    --primary-foreground: hsl(0, 0%, 98%);

    --secondary: hsl(45, 25%, 88%);
    --secondary-foreground: hsl(140, 10%, 15%);

    --muted: hsl(45, 15%, 93%);
    --muted-foreground: hsl(140, 8%, 46%);

    --accent: hsl(38, 85%, 62%);
    --accent-foreground: hsl(140, 10%, 15%);

    /* Garden-themed colors */
    --garden-green: hsl(142, 76%, 36%);
    --garden-sage: hsl(120, 15%, 65%);
    --garden-earth: hsl(35, 45%, 55%);
    --garden-cream: hsl(45, 35%, 92%);

    /* Gradients */
    --gradient-nature: linear-gradient(135deg, hsl(142, 76%, 36%), hsl(120, 25%, 45%));
    --gradient-earth: linear-gradient(135deg, hsl(35, 45%, 55%), hsl(38, 85%, 62%));
    --gradient-subtle: linear-gradient(180deg, hsl(45, 15%, 97%), hsl(45, 25%, 95%));

    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);

    --border: hsl(214.3, 31.8%, 91.4%);
    --input: hsl(214.3, 31.8%, 91.4%);
    --ring: hsl(142, 76%, 36%);

    --radius: 0.5rem;
}


/* Hero Section */
.hero-section {
    position: relative;
    background: var(--gradient-nature);
    color: white;
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-section.has-background {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .hero-subtitle {
    font-size: 1.5rem;
    opacity: 1;
    max-width: 650px;
    margin: 0 auto;
}

.hero-section .hero-buttons {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.hero-section .hero-buttons .btn {
    margin-left: 1rem;
}

.hero-section .hero-buttons .btn:first-child {
    margin-left: 0;
}

/* Mosvig Information Section */
.mosvig-info-section {
    padding: 2rem 0;
    background: hsl(var(--card));
}

.mosvig-info-section .container > div {
    max-width: 800px;
    margin: 0 auto;
}

.mosvig-info-section .section-title {
    margin-bottom: 2rem;
}

.mosvig-info-section .content-wrapper {
    font-size: 1.125rem;
    line-height: 1.8;
    color: hsl(var(--foreground));
}

.mosvig-info-section .content-wrapper p {
    margin-bottom: 1.5rem;
}

/* Venteliste Section */
.venteliste-section {
    padding: 4rem 0;
    background: var(--gradient-subtle);
}

.venteliste-section .container > div {
    max-width: 800px;
    margin: 0 auto;
}

.venteliste-section .section-title {
    color: var(--garden-green);;
    margin-bottom: 2rem;
}

.venteliste-section .info-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: calc(var(--radius) * 2);
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.venteliste-section .info-card:last-of-type {
    margin-bottom: 0;
}

.venteliste-section .info-card h3 {
    color: var(--garden-green);;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.venteliste-section .info-card ul {
    list-style: none;
    padding: 0;
    font-size: 1.125rem;
    line-height: 1.8;
}

.venteliste-section .info-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.venteliste-section .info-card .check-icon {
    position: absolute;
    left: 0;
    color: var(--garden-green);;
}

.venteliste-section .info-card .cost-icon {
    position: absolute;
    left: 0;
    color: hsl(var(--accent));
}

.venteliste-section .info-card p {
    margin-top: 1.5rem;
    font-size: 1.125rem;
}

.venteliste-section .info-card a {
    color: var(--garden-green);;
    text-decoration: none;
}

.venteliste-section .cta-button-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.venteliste-section .cta-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: hsl(var(--card));
}

/* Latest Properties Section */
.latest-properties {
    padding: 4rem 0;
    background: var(--gradient-subtle);
}

.latest-properties .view-all-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* Call to Action Section */
.cta-section {
    background: var(--gradient-nature);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--garden-green);;
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .hero-buttons .btn {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .hero-buttons .btn:first-child {
        margin-top: 0;
    }

    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-section .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .venteliste-section .info-card {
        padding: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}
