/*
Theme Name: Star Republic Realty
Theme URI: https://starrepublicrealty.com
Description: Clean, modern real estate theme matching Star Republic Realty branding
Version: 1.0
Author: Star Republic Realty
*/

:root {
    --burgundy: #8B2332;
    --navy: #2B5278;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.site-header {
    background: white;
    border-bottom: 4px solid var(--navy);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(139, 35, 50, 0.3);
}

.company-name h1 {
    color: var(--navy);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    margin: 0;
}

.company-name p {
    color: var(--burgundy);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

.contact-header {
    text-align: right;
}

.contact-header a {
    display: block;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.contact-header a:hover {
    color: var(--burgundy);
}

.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3d5c 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-section h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    background: var(--burgundy);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 35, 50, 0.4);
}

.cta-button:hover {
    background: #a12a3f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 35, 50, 0.6);
}

.listings-section {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.listings-content {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--navy);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: var(--burgundy);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.listing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.listing-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
}

.listing-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.listing-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--burgundy);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.listing-info {
    padding: 1.5rem;
}

.listing-price {
    color: var(--burgundy);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.listing-address {
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.listing-city {
    color: #666;
    margin-bottom: 1rem;
}

.listing-details {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
}

.detail-icon {
    font-size: 1.1rem;
}

.site-footer {
    background: var(--navy);
    color: white;
    padding: 3rem 2rem 1.5rem;
    border-top: 4px solid var(--burgundy);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-header {
        text-align: center;
    }
    
    .company-name h1 {
        font-size: 1.8rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
}