/* Redstone Development Website Styles */

/* Variables based on logo colors */
:root {
    --primary-red: #C41E3A;
    --dark-bg: #1a1d23;
    --light-gray: #f4f4f4;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
}

/* 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: var(--text-dark);
    background: var(--light-gray);
}

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

/* Navigation */
.navbar {
    background: var(--dark-bg);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    height: 120px;
    width: auto;
    max-width: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #34495e 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.3);
    padding: 60px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: #a01729;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(196, 30, 58, 0.3);
}

.btn-secondary {
    background: var(--text-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background: #34495e;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

/* Featured Properties Section */
.featured-properties {
    padding: 80px 0;
    background: var(--white);
}

.featured-properties h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #ddd;
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
    color: #666;
    font-weight: 600;
}

.property-type {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-details {
    padding: 20px;
}

.property-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.property-location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    margin: 15px 0;
}

.property-specs {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.property-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
}

.no-properties {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 18px;
    grid-column: 1 / -1;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-red);
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Page Header (for properties page) */
.page-header {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

/* Filters Section */
.filters-section {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #ddd;
}

.filters-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Properties Listing */
.properties-listing {
    padding: 60px 0;
    background: var(--light-gray);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin: 0;
    color: rgba(255,255,255,0.7);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo img {
        height: 90px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-form {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
}
