/*
 Theme Name: Atlas Estates (Astra Child)
 Template: astra
 Description: Child theme for the Atlas Estates demo — brand colors, fonts, layout polish and custom footer live here, kept separate from Astra core so updates never overwrite them.
 Version: 1.1.0
*/

:root {
    --m3a-navy: #1a2b3c;
    --m3a-blue: #2f6fed;
    --m3a-sand: #f4efe6;
    --m3a-gold: #c9a24b;
    --m3a-navy-soft: #2c3e50;
    --m3a-radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--m3a-navy);
    line-height: 1.65;
}

h1, h2, h3, h4, .site-title {
    font-family: 'Playfair Display', serif;
    color: var(--m3a-navy);
    line-height: 1.25;
}

a {
    color: var(--m3a-blue);
    transition: color 0.2s ease;
}

.ast-button, .elementor-button, button, input[type="submit"] {
    background-color: var(--m3a-blue) !important;
    border-radius: 8px !important;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(47,111,237,0.25) !important;
}

.ast-button:hover, .elementor-button:hover, button:hover, input[type="submit"]:hover {
    background-color: var(--m3a-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,43,60,0.25) !important;
}

.site-header, .ast-primary-header-bar {
    background-color: #ffffff;
    box-shadow: 0 2px 16px rgba(26,43,60,0.06);
}

.main-header-bar-navigation .menu-item > a {
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-header-bar-navigation .menu-item > a:hover {
    color: var(--m3a-blue) !important;
}

.m3a-section-sand {
    background-color: var(--m3a-sand);
}

.m3a-accent-gold {
    color: var(--m3a-gold) !important;
}

.m3a-lc-card, .ae-feature-card, .ae-stat-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.m3a-lc-card:hover, .ae-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(26,43,60,0.14) !important;
}

.ast-container .page .entry-header,
.single-page .entry-header,
.page-header.default-max-width {
    display: none;
}

#colophon {
    display: none !important;
}

.m3a-custom-footer {
    background-color: var(--m3a-navy);
    color: #d7dde3;
    padding: 56px 24px 28px;
    font-family: 'Inter', sans-serif;
}

.m3a-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.m3a-footer-brand h3 {
    color: #ffffff;
    margin: 0 0 10px;
    font-size: 22px;
}

.m3a-footer-brand p {
    max-width: 320px;
    color: #b7c0cc;
    font-size: 14px;
    margin: 0;
}

.m3a-footer-col h4 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.m3a-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m3a-footer-col ul li {
    margin-bottom: 10px;
}

.m3a-footer-col ul li a {
    color: #b7c0cc !important;
    text-decoration: none;
    font-size: 14px;
}

.m3a-footer-col ul li a:hover {
    color: #ffffff !important;
}

.m3a-footer-bottom {
    max-width: 1140px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 13px;
    color: #8b95a3;
}
