/* ===== Base ===== */
body {
    margin: 0;
    font-family: font-family: 'Playfair Display', serif;
    background-color: #eef1f4;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Header / Navigation ===== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Right logo area */
.logo-area {
    flex: 0 0 18%;
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    max-width: 180px;
}

.logo-area img {
    max-height: 60px;               /* shrink main logo */
    width: auto;
}

/* Leftt logo2 */
.logo2-area {
    flex: 0 0 28%;
}

.logo2-area img {
    height: 360px;       /* keep desired height */
    width: auto;
    display: block;
    margin: 0;           /* remove extra space */
}

.brokerage-line {
    font-size: 0.56rem;          /* ≈ 9px */
    line-height: 1.1;
    color: #666;
    white-space: nowrap;
}

/* ===== Navigation ===== */
.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;   /* 👈 THIS centers vertically */
    gap: 14px;
    white-space: nowrap;
}

.main-nav a {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;              /* still emphasized */
    font-weight: 500;                 /* semi-bold */
    letter-spacing: 0.1px;             
    white-space: nowrap;
    text-decoration: none;
    color: #1a1a1a;
    position: relative;
    transition: color 0.3s ease;
    padding: 6px 4px;
    text-transform: capitalize;       /* elegant capitalization */
}

/* Gold hover effect with subtle underline */
.main-nav a:hover {
    color: #C49B4A;             /* gold from logo2 */
}

.main-nav a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0%;
    background: #C49B4A;
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Active page indicator */
.main-nav a.active {
    color: #C49B4A;            /* gold for active page */
    font-weight: 600;
}

.main-nav a.active:not(.cta-btn)::after {
    width: 100%;               /* underline stays visible for active page */
}

/* CTA-style Submit Inquiry */
.main-nav a.cta-btn {
    background: #C49B4A;
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.main-nav a.cta-btn:hover {
    background: #D4A448;       /* slightly lighter gold */
    transform: translateY(-2px); /* subtle lift for interactivity */
}

/* CTA button */
.cta-btn {
    background: linear-gradient(
        180deg,
        #C91B23 0%,   /* controlled highlight */
        #A9131B 50%,  /* rich core red */
        #7F0E14 100%  /* grounded shadow */
    );
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease; 
    border: 2px solid #C49B4A; /* gold matching logo2 */
    box-shadow: 0 2px 6px rgba(196, 155, 74, 0.3); /* soft glow using same gold */
}

.cta-btn:hover {
    background: linear-gradient(
        180deg, 
        #D42A30 0%,   /* slightly brighter top */
        #B71C20 50%,  /* richer mid-tone */
        #8C1015 100%  /* deep but lighter than before */
    );
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.cta-btn.active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.convert {
    color: #0D3F6A;
    font-weight: 600;
    cursor: pointer;
}

.convert:hover {
    text-decoration: underline;
}


/* ===== Page Container ===== */
.page-container {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 16px;
}

/* ===== Page Card ===== */
.page-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ===== Cards ===== */
.card {
    background-color: #f9fafb;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* ===== Hero Section ===== */
.hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.hero-text h1 {
    margin: 0 0 8px;
    font-size: 1.7rem;
}
.hero-text h2 {
    margin: 0 0 8px;
    font-size: 1.7rem;
}

.hero-text p {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #555;
}

.hero-image img {
    width: 192px;
    border-radius: 8px;
    border: 2px solid #C49B4A; /* gold matching logo2 */
    box-shadow: 0 2px 6px rgba(196, 155, 74, 0.3); /* soft glow using same gold */
}

/* ===== Forms ===== */
.form-card {
    max-width: 480px;
    margin: 0 auto;
}

.form-card h2 {
    margin-top: 0;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 9px;
    margin-bottom: 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.form-card textarea {
    min-height: 100px;
    resize: vertical;
}

/* ===== Testimonials ===== */
.testimonial {
    font-style: italic;
    color: #555;
}

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    font-size: 0.8rem;
    padding: 14px;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    color: #666;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .brokerage-line {
        white-space: normal;
        max-width: 260px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 110px;
    }
}
/* ===== Contact Form – 2 Column Card Layout ===== */

.contact-form {
    margin-top: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    row-gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background-color: #fff;
}

.form-group textarea {
    min-height: 80px; 
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

/* Mobile fallback */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Compact top padding for Contact Form ONLY ===== */
.page-container.contact-page .contact-form {
    margin-top: 0.5rem;  /* reduced from default 1.5rem */
}

/* ===== Compact & Modern Contact Form Card ONLY ===== */
.page-container.contact-page .card {
    padding-top: 0.8rem;       /* reduce top padding of the card */
    padding-bottom: 0.8rem;    /* keep bottom padding normal */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.page-container.contact-page .card h1 {
    margin-top: 0;             /* remove any top margin */
    margin-bottom: 0.5rem;     /* tighten space below title */
    font-size: 1.6rem;         /* optional: slightly smaller title if desired */
}

.page-container.contact-page .card .page-intro {
    margin-top: 0.2;             /* remove extra space above intro */
    margin-bottom: 0.5rem;     /* tighten spacing below intro */
    font-size: 0.9rem;
    color: #555;
}

.page-container.contact-page .contact-form { 
    margin-top: 0;             /* remove extra margin between intro and form */
}

.page-container.contact-page .form-grid {
    row-gap: 0.8rem;          /* slightly tighter spacing between fields */
}

.page-container.contact-page .form-group textarea {
    min-height: 80px;         /* slightly shorter message box */
}

.page-container.contact-page .form-actions {
    margin-top: 1rem;      /* space above button */
    margin-bottom: 0.5rem; /* reduced space below button */
}

