/* Modern, Mobile-First Styles for ClimbBC.com */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #27ae60;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Header & Navigation */
header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

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

nav li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav li a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/bc-background.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #219150;
}

/* Areas Section */
.section-title {
    text-align: center;
    margin: 3rem 0 2rem;
    font-size: 2rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 5%;
    margin-bottom: 4rem;
}

.area-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.area-card:hover {
    transform: translateY(-5px);
}

.area-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.area-content {
    padding: 1.5rem;
}

.area-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.area-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Blog Section */
.blog-section {
    background: var(--white);
    padding: 4rem 5%;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.blog-post h3 {
    margin-bottom: 0.5rem;
}

.post-meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    nav ul {
        gap: 1rem;
    }
}
