/* ========================================
   UGANDA CONNECT ESCORTS — GLOBAL SETTINGS
======================================== */

:root {
    --green: #00b879;
    --green-dark: #008b5b;
    --background: #101411;
    --surface: #191f1b;
    --surface-light: #222a25;
    --text: #f4f7f5;
    --muted: #a8b3ac;
    --border: #303a33;
    --danger: #ff7777;
    --radius: 10px;
    --container-width: 1150px;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.container {
    width: min(var(--container-width), 92%);
    margin-inline: auto;
}

.section {
    padding: 75px 0;
}

.section-darker {
    background: #0c100d;
}

.eyebrow {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* ========================================
   HEADER AND NAVIGATION
======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
}

.nav-container {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    color: #ffffff;
    font-size: 21px;
    font-weight: 900;
    white-space: nowrap;
}

.logo span {
    color: var(--green);
    margin-left: 5px;
}
.navigation {
    display: flex;
    align-items: center;
    gap: 18px;
}

.navigation a {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: var(--green);
}

.navigation .join-button {
    padding: 11px 15px;
    border-radius: 6px;
    background: #10251b;
    color: #ffffff;
}

.navigation .join-button:hover {
    opacity: 0.9;
}

/* WhatsApp contact button */

.contact-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: #10251b;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.contact-top:hover {
    background: #06452d;
}

/* Mobile menu toggle */

.menu-toggle {
    display: none;
    padding: 5px 8px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 28px;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    min-height: 460px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            ellipse at top right,
            rgba(0, 184, 121, 0.2),
            transparent 55%
        ),
        var(--background);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    padding-top: 70px;
    padding-bottom: 70px;
}

.hero h1 {
    max-width: 750px;
    margin-bottom: 20px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero-description {
    max-width: 600px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-green {
    background: var(--green);
    color: #061c12;
}

.button-green:hover {
    background: #16d18f;
}

.button-outline {
    border-color: #526157;
    color: var(--text);

    background: transparent;
}

.button-outline:hover {
    border-color: var(--green);
}

.age-notice {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
}

/* ========================================
   SEARCH
======================================== */

.search-section {
    padding: 35px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.search-section h2 {
    margin-bottom: 18px;
    font-size: 22px;
}

.search-box {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.search-box input,
.search-box select {
    min-width: 0;
    min-height: 47px;
    padding: 12px 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #101411;
    color: var(--text);
}

.search-box input {
    flex: 1;
}

.search-box select {
    width: 190px;
}

.search-box input::placeholder {
    color: #8d9991;
}

.search-box button {
    min-height: 47px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background: var(--green);
    color: #061c12;
    font-weight: 700;
}

.search-box button:hover {
    background: #16d18f;
}

#searchMessage {
    min-height: 20px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

/* ========================================
   SECTION HEADINGS
======================================== */

.section-heading {
    margin-bottom: 35px;
    text-align: center;
}

.section-heading h2,
.category-panel h2,
.join-content h2 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.25;
}

.section-heading > p:last-child,
.category-panel p,
.join-content > p {
    color: var(--muted);
}

/* ========================================
   LOCATION CARDS
======================================== */

.location-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.location-card {
    display: block;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}

.location-card:hover {
    transform: translateY(-3px);
    border-color: var(--green);
    background: var(--surface-light);
}

.location-card h3 {
    margin-bottom: 5px;
    font-size: 16px;
    overflow-wrap: anywhere;
}

.location-card p {
    color: var(--muted);
    font-size: 13px;
}

.location-card:focus-visible {
    border-color: var(--green);
}

/* ========================================
   PROFILE GRID
======================================== */

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.profile-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.profile-card:hover {
    transform: translateY(-3px);
    border-color: var(--green);
}

.profile-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--surface-light);
}

.profile-card-content {
    padding: 20px;
}

.profile-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
    overflow-wrap: anywhere;
}

.profile-card p {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.profile-badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 20px;
    background: rgba(0, 184, 121, 0.15);
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 45px 20px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    margin-bottom: 20px;
    color: var(--muted);
}

/* WhatsApp buttons on listing cards */

.whatsapp-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 44px;
    margin-top: 15px;
    padding: 11px 15px;
    border-radius: 6px;
    background: #168a45;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease;
}

.whatsapp-button:hover {
    background: #116c35;
}

/* ========================================
   CATEGORY PANELS
======================================== */

.category-panel {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--green);
}

.category-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
}

.category-card p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 14px;
}

/* ========================================
   ADVERTISING PRICES
======================================== */

.advertising-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 30px auto;
}

.price-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    text-align: center;
}

.price-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.price-card .price {
    margin-bottom: 8px;
    color: var(--green);
    font-size: 28px;
    font-weight: 800;
}

.price-card p {
    color: var(--muted);
    font-size: 14px;
}

.price-card .button {
    width: 100%;
    margin-top: 18px;
}

/* ========================================
   JOIN SECTION
======================================== */

.join-section {
    background:
        linear-gradient(
            120deg,
            #063c28,
            #101411 75%
        );
}

.join-content {
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
}

.join-content > p {
    margin-bottom: 24px;
}

.small-note {
    font-size: 12px;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
    background: #080b09;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-content p {
    margin-top: 10px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 18px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--green);
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.copyright p {
    color: var(--muted);
    font-size: 12px;
}

/* ========================================
   TABLETS
======================================== */

@media (max-width: 950px) {
    .menu-toggle {
        display: block;
    }

    .nav-container {
        gap: 12px;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
        padding: 20px 4%;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        background: var(--surface);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 5px 0;
    }

    .navigation .join-button {
        padding: 11px 15px;
        text-align: center;
    }

    .location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   MOBILE PHONES
======================================== */

@media (max-width: 600px) {
    html {
        scroll-padding-top: 80px;
    }

    .nav-container {
        min-height: 65px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header .contact-top {
        order: 3;
        width: 100%;
        margin-bottom: 12px;
    }

    .navigation {
        top: 65px;
        max-height: calc(100vh - 65px);
    }

    .section {
        padding: 50px 0;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 42px);
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input,
    .search-box select,
    .search-box button {
        width: 100%;
    }

    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .location-card {
        padding: 15px 12px;
    }

    .profile-grid,
    .category-grid,
    .advertising-grid {
        grid-template-columns: 1fr;
    }

    .category-panel {
        padding: 24px 18px;
    }

    .price-card {
        padding: 23px 18px;
    }

    .footer-content,
    .copyright {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .section-heading h2,
    .category-panel h2,
    .join-content h2 {
        font-size: 27px;
    }
}

/* ========================================
   REDUCED MOTION ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
/* =========================================
   UGANDA CONNECT ESCORTS - MOBILE PROFILE GRID
   Two profiles per row on phone screens
========================================= */

/* Profile grid */
.profiles-grid,
.profile-grid,
.profiles,
.listings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

/* Profile cards */
.profile-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
}

/* Profile images */
.profile-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Keep text inside each card */
.profile-card h3,
.profile-card p {
    overflow-wrap: anywhere;
}

/* Phone screens */
@media (max-width: 600px) {
    .profiles-grid,
    .profile-grid,
    .profiles,
    .listings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .profile-card img {
        height: 150px;
    }

    .profile-card {
        font-size: 13px;
    }

    .profile-card h3 {
        font-size: 14px;
        margin: 8px 0 5px;
    }

    .profile-card p {
        font-size: 12px;
        margin: 4px 0;
    }

    .profile-card a,
    .profile-card button {
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }
}

/* Very narrow phones */
@media (max-width: 360px) {
    .profiles-grid,
    .profile-grid,
    .profiles,
    .listings-grid {
        gap: 7px;
    }

    .profile-card img {
        height: 125px;
    }
}




