/* Explain: Base page styling and typography for the real estate site. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
    background: var(--background-color);
    font-family: var(--font-body);
}

body.menu-locked,
body.overlay-locked {
    overflow: hidden;
}

h1,
h2,
h3,
.display-font {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
}

p {
    line-height: 1.8;
}

img {
    max-width: 100%;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

::selection {
    background: var(--secondary-color);
    color: #fff;
}

/* Force clean, architectural square/slight-curve look across all UI elements */
.btn,
.input,
.textarea,
.select,
.glass-panel,
.estate-stack-card,
.inquiry-overlay-card,
.side-menu-panel,
.rounded-full,
.rounded-2xl,
.rounded-3xl,
.rounded-\[2rem\],
.rounded-\[2\.5rem\],
.rounded-\[3rem\] {
    border-radius: 0.25rem !important;
}

/* Preserve circular shape for actual avatars or icons */
.btn-circle,
.w-14.h-14.rounded-full,
.h-16.w-16.rounded-full,
.h-11.w-11.rounded-full {
    border-radius: 9999px !important;
}

@media (max-width: 639px) {
    body {
        padding-bottom: 6rem;
    }
}