/*
Theme Name: RealHomes Child Theme
Description: Child theme for Real Homes.
Template: realhomes
Version: 1.5.0 (Luxury Unification)
*/

/* ==========================================================================
   1. GLOBAL VARIABLES & TYPOGRAPHY (FORCED UNIFICATION)
   ========================================================================== */
:root {
    --luxury-gold: #D4AF37;
    --luxury-gold-dark: #b8962d;
    --luxury-dark-blue: #0B132B;
    --luxury-text-light: #ffffff;
    --luxury-font-en: 'Montserrat', sans-serif;
}

/* FORCE FONT EVERYWHERE */
body, h1, h2, h3, h4, h5, h6, p, a, li, span, div, input, button, textarea, select, .rh_menu__main, .rh_footer {
    font-family: var(--luxury-font-en) !important;
}

body {
    line-height: 1.6;
    color: var(--luxury-dark-blue);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    color: var(--luxury-dark-blue);
}

/* ==========================================================================
   2. LUXURY HERO SECTION
   ========================================================================== */
.mamo-luxury-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.mamo-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.mamo-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11,19,43,0.7) 0%, rgba(11,19,43,0.4) 50%, rgba(11,19,43,0.8) 100%);
    z-index: 2;
}

.mamo-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.mamo-hero-title {
    font-size: 3.5rem !important;
    color: var(--luxury-gold) !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.mamo-hero-subtitle {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 40px;
    font-weight: 300;
}

.mamo-btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--luxury-gold);
    color: var(--luxury-dark-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mamo-btn-primary:hover {
    background-color: #fff;
    color: var(--luxury-dark-blue);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .mamo-hero-title { font-size: 2.2rem !important; }
    .mamo-hero-subtitle { font-size: 1rem; }
    .mamo-luxury-hero { height: 70vh; }
}

/* ==========================================================================
   3. DUBAI LUXURY PROPERTY CARDS (CLEAN VERSION)
   ========================================================================== */
.rh_prop_card, .property-article {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    overflow: hidden;
    margin-bottom: 30px;
}

.rh_prop_card:hover, .property-article:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.rh_prop_card__excerpt, .rh_prop_card p, .property-article p,
.rhea_prop_card__excerpt, .rhea_prop_card__content p, .rh_prop_card__details > p {
    display: none !important;
}

.rh_prop_card__details, .property-article .detail {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 160px !important;
    padding: 25px !important;
}

.rh_prop_card__title h3, .rh_prop_card__title a, .property-article h3 a {
    color: var(--luxury-dark-blue) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    text-transform: none; 
    line-height: 1.3 !important;
    text-decoration: none;
    margin-bottom: 10px !important;
}

.rh_prop_card__price, .property-article .price {
    color: var(--luxury-gold) !important;
    font-weight: 600 !important;
    font-size: 1.3rem !important;
    margin-top: auto !important;
    padding-top: 15px !important;
    border-top: 1px solid #eee;
    width: 100%;
    display: block !important;
}

.rh_prop_card .rh_btn, .property-article .more-details {
    background-color: var(--luxury-gold) !important;
    color: var(--luxury-dark-blue) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border-radius: 2px !important;
    padding: 10px 20px !important;
    margin-top: 15px;
    display: inline-block;
}

/* ==========================================================================
   4. TRUST SECTION (FOUNDERS)
   ========================================================================== */
.mamo-founders-section {
    background-color: var(--luxury-dark-blue) !important;
    padding: 100px 20px;
    color: #ffffff;
    position: relative;
    width: 100%;
}

.mamo-founders-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.mamo-founders-header { margin-bottom: 70px; }

.mamo-founders-title {
    color: #ffffff !important;
    font-size: 2.2rem !important;
    margin-bottom: 15px;
}

.mamo-founders-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.mamo-founders-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.mamo-founder-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
}

.mamo-founder-image-wrapper {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--luxury-gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.mamo-founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mamo-founder-name {
    color: var(--luxury-gold) !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin-bottom: 5px;
}

.mamo-founder-role {
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.mamo-founder-bio {
    color: #dddddd;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 10px;
}

.mamo-founders-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 50px;
}

.mamo-founders-quote {
    color: #ffffff;
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .mamo-founders-grid {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}

/* ==========================================================================
   5. BOTTOM CLEANUP (TESTIMONIALS & SERVICES & FOOTER)
   ========================================================================== */

/* FIX: TESTIMONIALS (Turn Blue to Navy) */
.elementor-widget-realhomes-testimonials .elementor-widget-container,
.rh_section__testimonial {
    background-color: var(--luxury-dark-blue) !important;
    background-image: none !important;
}

.rh_testimonial__quote {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-style: italic;
}

.rh_testimonial__author__name {
    color: var(--luxury-gold) !important;
    font-weight: 700 !important;
}

/* FIX: SERVICES (Make Icons Gold) */
.rh_service__icon svg, .rh_service__icon i, .service-icon i {
    fill: var(--luxury-gold) !important;
    color: var(--luxury-gold) !important;
}

.rh_service__title h3, .service-title h3 {
    color: var(--luxury-dark-blue) !important;
}

/* FIX: FOOTER (Make it Luxury) */
#footer-wrapper, .rh_footer, footer {
    background-color: var(--luxury-dark-blue) !important;
    color: #ffffff !important;
    border-top: 5px solid var(--luxury-gold);
}

#footer-wrapper h3, .rh_footer .widget-title {
    color: var(--luxury-gold) !important;
}

#footer-wrapper a, .rh_footer a {
    color: #cccccc !important;
}

#footer-wrapper a:hover, .rh_footer a:hover {
    color: var(--luxury-gold) !important;
}