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

/* ================= BASE ================= */
body {
    font-family:'Aptos Display', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ================= */
.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 25px;
}

/* Header logo image */
.header-logo-img {
    height: clamp(180px, 20vw, 260px);
    width: auto;
    display: block;
}

/* Logo text colors */
.logo-search { color: #1a73e8; }
.logo-buy { color: #ff6d00; }
.logo-sell { color: #34a853; }

/* ================= MAIN ================= */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ================= LOGO ================= */
.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.logo {
    font-size: 120px;
    font-weight: bold;
    letter-spacing: -4px;
    white-space: nowrap;
}

/* ================= SEARCH ================= */
.search-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-bar {
    width: 100%;
    padding: 15px 50px 15px 25px;
    border: 2px solid #999;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.search-bar:focus {
    border-color: #1a73e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a73e8;
    cursor: pointer;
}

/* ================= WATCH LINK ================= */
.watch-link {
    margin-bottom: 40px;
    font-size: 16px;
}

.watch-link a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}

.watch-link a:hover {
    text-decoration: underline;
}

/* ================= BANNERS ================= */
.banners-container {
    display: flex;
    width: 100%;
    max-width: 640px;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
    align-items: stretch;
}

.banner {
    flex: 0 0 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    padding-top: 22px;
    padding-bottom: 22px;
    min-height: 220px;
}

/* Skewed background */
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: skewX(-10deg);
    border-radius: 10px;
    z-index: -1;
}

/* Darker orange — shifted toward burnt orange */
.banner-search::before { background-color: #0d47a1; }
.banner-buy::before    { background-color: #C85200; }
.banner-sell::before   { background-color: #2e7d32; }

.banner-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    width: 100%;
}

.banner-title-link {
    text-decoration: none;
    color: white;
    margin-bottom: 10px;
}

.banner-title {
    font-size: 28px;
    font-weight: bold;
}

/* Compensate for skew visual shift on Properties banner */
.banner-title-properties {
    padding-left: 8px;
}

/* Banner links — vertical stack, centered, one per line */
.banner-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 0 8px;
}

.banner-link {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    width: 100%;
    padding: 2px 0;
    transition: color 0.15s;
}

.banner-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ================= FOOTER ================= */
.footer {
    border-top: 1px solid #ddd;
    padding: 20px 40px;
    color: #666;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-right a {
    color: #666;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.admin-link {
    color: #ddd;
    font-size: 20px;
    text-decoration: none;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .banners-container {
        flex-direction: column;
        height: auto;
        max-width: 300px;
        gap: 15px;
    }

    .banner {
        width: 100%;
        padding-top: 15px;
        padding-bottom: 15px;
        min-height: 120px;
    }

    .banner::before {
        transform: skewX(0deg);
    }

    .logo {
        font-size: 80px;
    }

    .header-logo-img {
        height: 180px;
    }

    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
