/* ============================================= */
/* style.css - Cultivarium */
/* Fichier unique de styles - minimaliste & chaleureux */
/* ============================================= */

/* Réinitialisation légère */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #3f3f3f;
    background-color: #f8f5f0;
    text-align: center;
}

/* Navigation */
.nav {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2a5f3d;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #3f3f3f;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2a5f3d;
}

.btn-login {
    background: #2a5f3d;
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-login:hover {
    background: #1f4730;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #2a5f3d 0%, #3d7a55 100%);
    color: white;
    min-height: 30vh;
    max-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    max-width: 700px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 2rem);
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary {
    background: #2a5f3d;
    color: white;
}

.btn-primary:hover {
    background: #1f4730;
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Contenu principal */
.main-content {
    max-width: 1100px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.section {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.section h2 {
    color: #2a5f3d;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.link-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: #2a5f3d;
    text-decoration: none;
    font-weight: 500;
}

.link-more:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #2a5f3d;
    color: #d4e4d9;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
}

.footer a {
    color: #d4e4d9;
    text-decoration: none;
}

/* Images responsives */
.medium-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

.location-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 680px) {
    .nav-links {
        gap: 1.25rem;
        font-size: 0.95rem;
    }

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

@media (max-width: 480px) {
    .lightbox img {
        max-height: 80vh;
        max-width: 80vw;
    }
}