/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #F8F6F0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Header */
.page-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #2c3e50;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4A7C59;
}

.logo {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.page-nav a {
    color: #4A7C59;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.page-nav a:hover {
    background-color: #4A7C59;
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 0;
}

.page-hero {
    text-align: center;
    margin-bottom: 60px;
}

.page-hero h1 {
    color: #4A7C59;
    margin-bottom: 15px;
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 0;
}

.content-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #4A7C59;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #FFB7C5;
}

.content-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.empty-content {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
}

.empty-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* About Us Specific Styles */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-with-image.reverse .content-image {
    order: -1;
}

.content-image .image-placeholder {
    height: 250px;
    background-color: #f0f0f0;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.philosophy-item {
    text-align: center;
    padding: 30px 20px;
    background: #F8F6F0;
    border-radius: 15px;
}

.philosophy-icon {
    margin-bottom: 20px;
}

.philosophy-item h4 {
    color: #4A7C59;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #4A7C59, #5a8f6b);
    border-radius: 15px;
    color: white;
}

.stat-icon {
    margin-bottom: 15px;
}

.stat-item h4 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.stat-item p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-section h4 {
    color: #FFB7C5;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFB7C5;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a4f5c;
}

.footer-bottom p {
    margin: 0;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
        justify-content: center;
    }
    
    .content-with-image,
    .content-with-image.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-with-image.reverse .content-image {
        order: 0;
    }
    
    .philosophy-grid,
    .community-stats {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 40px 0;
    }
}