/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
}

/* Header et Navigation */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #15803d;
    font-weight: 600;
    font-size: 1.25rem;
}

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

nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #15803d;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    padding-top: 4rem;
}

.hero-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #15803d;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    background: #f3f4f6;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: #15803d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #166534;
    transform: translateY(-2px);
}

.btn-secondary {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    color: #15803d;
    transform: translateX(4px);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: #f8fafc;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #15803d;
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature h3 {
    color: #15803d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Fragile Runners and Trail Sections */
.fragile-runners {
    background: #064e3b;
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.fragile-runners:nth-of-type(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?q=80&w=2070') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.trail {
    background: #064e3b;
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.trail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1452626038306-9aae5e071dd3?q=80&w=2074') center/cover;
    background: url('https://images.unsplash.com/photo-1483721310020-03333e577078?q=80&w=2070') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.fragile-runners .content,
.trail .content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.fragile-runners h2,
.trail h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #4ade80;
}

.fragile-runners p,
.trail p {
    color: #d1fae5;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.fragile-runners .cta-buttons,
.trail .cta-buttons {
    margin-top: 2.5rem;
}

.fragile-runners .btn-primary,
.trail .btn-primary {
    display: inline-block;
    background: #4ade80;
    border: 2px solid transparent;
}

.fragile-runners .btn-primary:hover,
.trail .btn-primary:hover {
    background: transparent;
    border-color: #4ade80;
    color: #4ade80;
}

/* Footer */
footer {
    background: #064e3b;
    color: #d1fae5;
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero {
        flex-direction: column;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 300px;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}