/*
 * Gatsby Realty Group – Child Theme v12.1
 * Certified Release: October 31, 2025 (Cambridge, MA)
 * Author: Ben Chau
 * Description: Core style file for Gatsby Realty Group v12.1 theme
 */

:root {
    --emerald: #013B36;
    --gold: #B89B5E;
    --cream: #F6F0E6;
    --text: #222;
}

/* --- Global Styles --- */
body {
    background-color: var(--cream);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--emerald);
    margin-top: 0;
}

/* --- Header / Crest Logo --- */
header.sticky-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px 40px;
    background-color: var(--cream);
    border-bottom: 2px solid var(--gold);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 22px;
    color: var(--emerald);
    font-weight: 600;
}

header.sticky-nav::before {
    content: '';
    display: inline-block;
    width: 70px;
    height: 70px;
    background: url('assets/images/crest-transparent.png') no-repeat center;
    background-size: contain;
    margin-right: 12px;
    vertical-align: middle;
    position: relative;
    top: 4px;
}

/* --- Navigation Links --- */
header.sticky-nav a {
    color: var(--emerald);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

header.sticky-nav a:hover {
    color: var(--gold);
}

/* --- Footer / Equal Housing Logo --- */
footer {
    background-color: var(--emerald);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--gold);
    position: relative;
}

footer::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url('assets/images/equal-housing-gatsby.png') no-repeat center;
    background-size: contain;
    opacity: 0.8;
    margin-left: 10px;
    vertical-align: middle;
}

/* --- Buttons --- */
button, .btn, input[type="submit"], input[type="button"] {
    background-color: var(--gold);
    color: var(--emerald);
    border: none;
    border-radius: 4px;
    padding: 12px 26px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover, input[type="submit"]:hover {
    background-color: #A4864D;
}

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

.section {
    padding: 60px 20px;
}

.text-center {
    text-align: center;
}

/* --- Coming Soon Page Fallback --- */
.coming-soon, .page-template-coming-soon {
    background-color: var(--cream);
    color: var(--emerald);
    text-align: center;
    padding: 80px 20px;
}

.coming-soon h1 {
    font-size: 42px;
    color: var(--gold);
}

.coming-soon h2 {
    font-size: 22px;
    color: var(--emerald);
}

.coming-soon input[type="email"] {
    width: 340px;
    height: 50px;
    border: 2px solid var(--emerald);
    border-radius: 6px;
    font-size: 18px;
    padding: 10px 16px;
    margin: 20px 0;
    color: var(--emerald);
}

.coming-soon button {
    font-size: 18px;
    background-color: var(--gold);
    color: var(--emerald);
    border: none;
    border-radius: 6px;
    padding: 12px 26px;
}

/* --- Equal Housing (inline icon use) --- */
.equal-housing img {
    width: 40px;
    height: auto;
    opacity: 0.85;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    header.sticky-nav::before {
        width: 55px;
        height: 55px;
    }
    header.sticky-nav {
        font-size: 18px;
        padding: 16px 20px;
    }
    .coming-soon input[type="email"] {
        width: 90%;
    }
}
/* ============================================================
   Gatsby Realty Group – Responsive Logo Enhancements (v1.4)
   Certified: November 2025
   ============================================================ */

/* Crest logo on Coming Soon page */
.coming-soon-wrapper img[alt="Gatsby Realty Group Crest Logo"] {
    width: clamp(80px, 12vw, 160px);
    height: auto;
    max-width: 100%;
    margin-bottom: 10px;
    image-rendering: auto;
}

/* Equal Housing logo in footer */
.equal-housing img,
img[alt="Equal Housing Opportunity"] {
    width: clamp(35px, 6vw, 60px);
    height: auto;
    opacity: 0.85;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Subtle hover effect for Equal Housing */
.equal-housing img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* General mobile alignment */
@media (max-width: 768px) {
    .coming-soon-wrapper {
        padding: 80px 20px !important;
    }

    .coming-soon-wrapper h1 {
        font-size: 8vw !important;
    }

    .coming-soon-wrapper h2 {
        font-size: 5vw !important;
    }
}