/* Chouteau Village Apartments - Cozy Design Theme */

:root {
    /* Warm, Cozy Color Palette */
    --warm-brown: #8B6F47;        /* Primary brand color - warm brown */
    --soft-beige: #D4B896;        /* Light beige for accents */
    --cream: #FAF3E0;             /* Cream background */
    --sage-green: #87A96B;        /* Soft sage green */
    --terra-cotta: #CC6B49;       /* Terra cotta accent */
    --charcoal: #3C3C3C;          /* Dark text */
    --slate: #5F5F5F;             /* Secondary text */
    --white: #FFFFFF;             /* Pure white */
    
    /* Extended Palette */
    --brown-dark: #6B5637;
    --brown-light: #A68A64;
    --beige-light: #E8D5C4;
    --green-light: #A5C48A;
    --green-dark: #6B8E4E;
    
    /* Semantic Colors */
    --text-primary: var(--charcoal);
    --text-secondary: var(--slate);
    --text-light: #808080;
    --text-on-dark: var(--white);
    
    --bg-primary: var(--white);
    --bg-secondary: var(--cream);
    --bg-accent: var(--beige-light);
    
    --border-light: rgba(0, 0, 0, 0.1);
    --border-medium: rgba(0, 0, 0, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
}

a {
    color: var(--warm-brown);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brown-dark);
}

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

/* Navigation */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm-brown);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--beige-light);
    color: var(--warm-brown);
}

.btn-login {
    background: var(--warm-brown) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
}

.btn-login:hover {
    background: var(--brown-dark) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--warm-brown);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--warm-brown) 0%, var(--brown-light) 100%);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.hero h1 span {
    color: var(--soft-beige);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--soft-beige);
    color: var(--brown-dark);
}

.btn-primary:hover {
    background: var(--beige-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--warm-brown);
}

.btn-outline {
    background: transparent;
    color: var(--warm-brown);
    border: 2px solid var(--warm-brown);
}

.btn-outline:hover {
    background: var(--warm-brown);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--warm-brown);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* Sections */
.section-features,
.section-pricing,
.section-community,
.section-newsletter {
    padding: 4rem 0;
}

.section-features {
    background: var(--bg-secondary);
}

.section-pricing {
    background: var(--white);
}

.section-community {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--warm-brown);
    margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--warm-brown);
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--warm-brown);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--terra-cotta);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: var(--warm-brown);
    margin-bottom: 1.5rem;
}

.size {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--warm-brown);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.amenities-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.amenities-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.amenities-list li::before {
    content: "✓ ";
    color: var(--sage-green);
    font-weight: bold;
}

/* Community Section */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.community-text h2 {
    color: var(--warm-brown);
    margin-bottom: 1.5rem;
}

.community-features {
    margin-top: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
}

.feature-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.feature-item:last-child {
    border-bottom: none;
}

.community-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--green-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

/* Newsletter Section */
.newsletter-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h3 {
    color: var(--warm-brown);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--soft-beige);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--soft-beige);
}

.social-links a {
    color: var(--soft-beige);
    margin-right: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}