/* Custom CSS for Elite Global Properties - About */

body,
html {
    font-family: 'Poppins', sans-serif;
}

/* Prevent layout shift when hiding scrollbar */
body {
    transition: padding-right 0.15s ease;
}

[x-cloak] {
    display: none !important;
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f231a;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader__inner {
    text-align: center;
    color: #ffffff;
}

.page-loader__logo {
    width: 164px;
    height: auto;
    margin-bottom: 1rem;
}

.page-loader__text {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-sticky {
    position: fixed;
    background-color: rgba(23, 51, 37, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.site-header--solid {
    position: sticky;
    top: 0;
    background-color: #173325;
}

.site-header--solid.is-sticky {
    position: sticky;
    background-color: #173325;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Hamburger Menu */
.hamburger-toggle {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hamburger-toggle:hover svg {
    transform: scale(1.1);
}

.hamburger-icon {
    transition: all 0.3s ease;
    stroke-width: 2px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    height: 100svh;
    width: 100%;
    overflow-y: auto;
}

.mobile-menu-overlay {
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.mobile-menu a {
    position: relative;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #AB985A;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-menu a:hover::after {
    width: 100%;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity, transform;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 540px;
    width: 90%;
    max-height: 92vh;
    overflow-y: auto;
    z-index: 1001;
    transform: translateZ(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 0.25rem;
}

.modal-close:hover {
    color: #000;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0f231a 0%, #173325 100%);
    color: rgba(247, 244, 236, 0.9);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 15%, rgba(171, 152, 90, 0.1), transparent 50%);
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(171, 152, 90, 0.2);
}

.footer-column__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #AB985A;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-column__text {
    color: rgba(247, 244, 236, 0.9);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social__link {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(171, 152, 90, 0.15);
    border-radius: 50%;
    color: #AB985A;
    transition: all 0.3s ease;
}

.footer-social__link:hover {
    background: #AB985A;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-social__link svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: rgba(247, 244, 236, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #AB985A;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(247, 244, 236, 0.9);
}

.footer-contact__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #AB985A;
    margin-top: 0.15rem;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-newsletter__input {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(171, 152, 90, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.footer-newsletter__input::placeholder {
    color: rgba(247, 244, 236, 0.5);
}

.footer-newsletter__input:focus {
    border-color: #AB985A;
    background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter__button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background: #AB985A;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-newsletter__button:hover {
    background: #9a8750;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(171, 152, 90, 0.3);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(247, 244, 236, 0.7);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal__divider {
    color: rgba(247, 244, 236, 0.4);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
