/* ============================================
   Serenity Real Estate PM - Clean & Mobile-First
   ============================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    -webkit-text-size-adjust: 100%;
}

/* Links */
a {
    color: #0000EE;
    text-decoration: underline;
}

a:visited {
    color: #551A8B;
}

a:hover {
    color: #CC0000;
}

/* Header */
.site-header {
    background-color: #f5f5dc;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.site-header h1 {
    font-family: Georgia, serif;
    font-size: 20px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.site-header .subtitle {
    font-size: 12px;
    color: #666;
    display: block;
}

.header-right {
    text-align: right;
}

.header-nav {
    font-size: 13px;
    margin-bottom: 6px;
}

.header-nav a {
    white-space: nowrap;
}

/* Contact buttons */
.contact-btns {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-whatsapp,
.btn-text {
    display: inline-block;
    padding: 6px 14px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    transition: opacity 0.2s;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-text {
    background-color: #007AFF;
}

.btn-whatsapp:hover,
.btn-text:hover {
    opacity: 0.85;
    color: #fff;
}

.btn-whatsapp:visited,
.btn-text:visited {
    color: #fff;
}

/* Headings */
h1 {
    font-family: Georgia, serif;
    color: #333;
}

h2 {
    font-family: Georgia, serif;
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 1px solid #999;
    padding-bottom: 4px;
}

/* Main content area */
.main-content {
    padding: 8px 0;
}

.section {
    padding: 16px 0;
}

/* Paragraphs */
p {
    margin-bottom: 14px;
    text-align: left;
}

/* Lists */
ul {
    margin: 10px 0 14px 28px;
}

li {
    margin-bottom: 6px;
}

/* Services table */
.services-table {
    border-collapse: collapse;
    font-size: 14px;
    margin: 12px 0;
}

.services-table td {
    border: 1px solid #999;
    vertical-align: top;
}

/* Contact table */
.contact-table td {
    vertical-align: top;
    padding: 4px 8px;
}

/* Contact form */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    font-family: Georgia, serif;
    font-size: 14px;
    border: 1px solid #999;
    padding: 6px 8px;
    background-color: #fffff0;
    border-radius: 3px;
    max-width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    font-family: Georgia, serif;
    font-size: 14px;
    background-color: #f5f5dc;
    border: 2px outset #ccc;
    padding: 8px 24px;
    cursor: pointer;
    color: #333;
    border-radius: 3px;
}

.submit-btn:hover {
    background-color: #e8e8c8;
}

/* Testimonials */
.testimonial {
    border-left: 3px solid #8B4513;
    margin: 14px 0;
    padding: 8px 14px;
    font-style: italic;
    color: #444;
    font-size: 14px;
}

.testimonial-author {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    color: #666;
}

/* CTA box */
.cta-box {
    border: 2px solid #8B4513;
    background-color: #faf8f0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
}

.cta-box a {
    font-size: 15px;
}

/* HR styling */
hr {
    margin: 4px 0;
    border: none;
    border-top: 1px solid #ccc;
}

hr.accent {
    border-top: 2px solid #8B4513;
}

/* Footer */
.site-footer {
    background-color: #f5f5dc;
    padding: 12px 16px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.site-footer .footer-left {
    font-size: 12px;
    color: #666;
}

.site-footer .footer-right {
    font-size: 11px;
    color: #999;
    text-align: right;
}

/* ========== Responsive ========== */
@media (max-width: 600px) {
    body {
        font-size: 15px;
        padding: 0 10px;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 12px;
    }

    .site-header h1 {
        font-size: 18px;
    }

    .header-right {
        text-align: left;
        width: 100%;
    }

    .header-nav {
        font-size: 13px;
    }

    .contact-btns {
        justify-content: flex-start;
    }

    .btn-whatsapp,
    .btn-text {
        padding: 8px 16px;
        font-size: 14px;
        flex: 1;
        min-width: 120px;
    }

    h2 {
        font-size: 18px;
    }

    .services-table td {
        display: block;
        width: 100% !important;
    }

    .services-table tr {
        display: block;
        margin-bottom: 8px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        width: 100%;
    }

    .contact-form table {
        width: 100%;
    }

    .contact-form td {
        display: block;
        width: 100%;
        padding: 2px 0;
    }

    .site-footer {
        flex-direction: column;
    }

    .site-footer .footer-right {
        text-align: left;
    }
}
