/*
 * MAI Home - My Home Section
 * Styles specific to the My Home section
 */

/* My Home Section */
.my-home-section {
    background-color: var(--primary-bg);
}

/* Home Header */
.home-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.home-header h2 {
    font-size: 60px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.home-header .subheading {
    font-size: 1.4rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 300;
}

/* Home Content Layout */
.home-content {
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

/* Home Image */
.home-image {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.image-quote {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-md);
    border-radius: 0;
}

.image-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
}

/* Home Services Container */
.home-services-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: var(--spacing-md);
}

/* Home Services - Execute Block (styled like Match block) */
.home-services {
    background: rgba(26, 26, 26, 0.05);
    padding: var(--spacing-md);
    flex-shrink: 0;
}

.home-services h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 400;
}

.home-services h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    line-height: 1.4;
}

/* Service CTAs (inside Execute block) */
.service-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.service-ctas .btn {
    margin-bottom: var(--spacing-sm);
}

/* Services List (below Execute block) - Elegant Styling */
.services-list {
    flex-grow: 1;
    padding: var(--spacing-md) 0;
}

.services-list h5 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    font-family: var(--font-serif);
    letter-spacing: 0.02em;
    text-align: left;
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.services-list li {
    position: relative;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    color: var(--text-primary);
    background: rgba(26, 26, 26, 0.02);
}

/* Mobile responsive for My Home */
@media (max-width: 768px) {
    .home-header h2 {
        font-size: 42px;
    }
    
    .home-header .subheading {
        font-size: 1.2rem;
    }
    
    .home-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .home-image {
        order: 1;
    }
    
    .home-image img {
        min-height: 300px;
    }
    
    .image-quote {
        position: static;
        margin-top: var(--spacing-md);
        background: rgba(26, 26, 26, 0.05);
        padding: var(--spacing-sm);
    }
    
    .home-services-container {
        order: 2;
        margin-top: var(--spacing-md);
    }
    
    .home-services {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .home-services h3 {
        font-size: 1.5rem;
    }
    
    .home-services h4 {
        font-size: 1rem;
    }
    
    .service-ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    
    .service-ctas .btn {
        width: 100%;
        max-width: 300px;
        text-align: left;
    }
} 