
/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}


/* =========================
   GRADIENT TEXT
========================= */

.gradient-text {
    background: linear-gradient(
        90deg,
        #22d3ee,
        #38bdf8,
        #818cf8
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* =========================
   HEADER
========================= */

header {
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.85),
        transparent
    );
}


/* =========================
   SEARCH BOX
========================= */

.search-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(34, 211, 238, 0.05);
}

.search-box:focus-within {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(34, 211, 238, 0.1);
}


/* =========================
   SUGGESTIONS
========================= */

.suggestion {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    transition: 0.25s ease;
}

.suggestion:hover {
    color: white;
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.08);
}


/* =========================
   SECTION LABEL
========================= */

.section-label {
    color: #22d3ee;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}



/* =========================
   FLOATING HERO CIRCLES
========================= */

.floating-circle {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(34, 211, 238, 0.08);

    pointer-events: none;
}

.circle-one {
    width: 500px;
    height: 500px;

    top: 15%;
    left: -250px;
}

.circle-two {
    width: 350px;
    height: 350px;

    bottom: 10%;
    right: -175px;
}

.circle-three {
    width: 180px;
    height: 180px;

    top: 30%;
    right: 10%;
}


/* =========================
   ORBIT GRAPHIC
========================= */

.orbit {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(34, 211, 238, 0.12);
}

.orbit-one {
    width: 350px;
    height: 350px;
}

.orbit-two {
    width: 260px;
    height: 260px;

    top: 45px;
    left: 45px;
}

.orbit-three {
    width: 170px;
    height: 170px;

    top: 90px;
    left: 90px;
}

.orbit-dot {
    position: absolute;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #22d3ee;

    box-shadow:
        0 0 25px rgba(34, 211, 238, 0.8);

    top: 40px;
    left: 170px;
}


/* =========================
   MOBILE MENU
========================= */

.mobile-link {
    padding: 8px 0;
}

.mobile-link:hover {
    color: white;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

    .search-button {
        padding-left: 18px;
        padding-right: 18px;
    }

    .suggestion {
        font-size: 0.75rem;
    }

    .circle-one {
        width: 300px;
        height: 300px;
        left: -150px;
    }

    .circle-two {
        width: 250px;
        height: 250px;
        right: -125px;
    }

}


/* =========================
   RESULTS PAGE
========================= */

.filter-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 15px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #94a3b8;

    transition: 0.25s ease;
}

.filter-button:hover {
    color: white;

    background: rgba(255, 255, 255, 0.08);
}


/* Place cards */

.place-card {
    overflow: hidden;

    border-radius: 20px;

    background: rgba(15, 23, 42, 0.7);

    border: 1px solid rgba(255, 255, 255, 0.06);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.place-card:hover {
    transform: translateY(-6px);

    background: rgba(30, 41, 59, 0.8);

    border-color: rgba(34, 211, 238, 0.2);
}


/* Image placeholder */

.place-placeholder {
    height: 190px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(34, 211, 238, 0.12),
            transparent 65%
        );

    color: rgba(34, 211, 238, 0.5);
}


/* Rating */

.rating {
    padding: 5px 8px;

    border-radius: 8px;

    background: rgba(250, 204, 21, 0.08);

    color: #facc15;

    font-size: 0.8rem;

    white-space: nowrap;
}


/* View button */

.view-place-button {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 12px 16px;

    border-radius: 12px;

    background: rgba(34, 211, 238, 0.08);

    color: #67e8f9;

    font-weight: 600;

    transition: 0.25s ease;
}

.view-place-button:hover {
    background: rgba(34, 211, 238, 0.15);

    color: white;
}


/* Loading spinner */

.loading-spinner {
    width: 42px;

    height: 42px;

    border-radius: 50%;

    border: 3px solid rgba(255, 255, 255, 0.08);

    border-top-color: #22d3ee;

    animation: spin 0.8s linear infinite;
}


@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* Empty state */

.empty-icon {
    width: 64px;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.05);

    color: #64748b;
}




/* =========================
   MALINDI CONNECT
   PLACE LIST
========================= */

.place-list {

    max-width: 900px;

    margin: 40px auto 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

}


.place-list-item {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 16px 10px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);

    transition:
        background 0.2s ease,
        padding 0.2s ease;

}


.place-list-item:hover {

    background:
        rgba(255, 255, 255, 0.035);

    padding-left: 16px;

    padding-right: 16px;

}


.place-list-main {

    flex: 1;

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 14px;

    text-decoration: none;

}


.place-list-icon {

    flex-shrink: 0;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        rgba(34, 211, 238, 0.08);

    color:
        #67e8f9;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.place-list-main:hover
.place-list-icon {

    background:
        rgba(34, 211, 238, 0.14);

    transform:
        scale(1.04);

}


.place-list-info {

    min-width: 0;

}


.place-list-info h3 {

    margin: 0;

    color: white;

    font-size: 1rem;

    font-weight: 600;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.place-list-info p {

    margin: 4px 0 0;

    color:
        #64748b;

    font-size: 0.85rem;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================
   GOOGLE MAPS BUTTON
========================= */

.place-map-button {

    flex-shrink: 0;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.04);

    color:
        #94a3b8;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;

}


.place-map-button:hover {

    background:
        rgba(34, 211, 238, 0.12);

    color:
        #67e8f9;

    transform:
        scale(1.05);

}


/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

    .place-list {

        margin-top: 30px;

    }


    .place-list-item {

        padding: 14px 4px;

    }


    .place-list-item:hover {

        padding-left: 8px;

        padding-right: 8px;

    }


    .place-list-icon,
    .place-map-button {

        width: 38px;

        height: 38px;

    }


    .place-list-main {

        gap: 11px;

    }


    .place-list-info h3 {

        font-size: 0.95rem;

    }


    .place-list-info p {

        font-size: 0.78rem;

    }

}


/* =========================
   BUSINESS POPUP SHAPE ONLY
========================= */

#businessProfileOverlay:not(.hidden) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
}

#businessProfile {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;

    width: min(560px, 100%) !important;
    max-height: 88vh !important;

    margin: 0 !important;

    border-radius: 28px !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* =========================
   BUSINESS POPUP DEPTH
========================= */

#businessProfile {
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20),
        0 8px 20px rgba(0, 0, 0, 0.10) !important;
}

/* =========================
   BUSINESS POPUP BORDER
========================= */

#businessProfile {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}




/* =========================
   POPUP SCREEN SPACING
========================= */

#businessProfileOverlay:not(.hidden) {
    padding: 32px !important;
}

@media (max-width: 640px) {
    #businessProfileOverlay:not(.hidden) {
        padding: 16px !important;
    }
}


/* =========================
   POPUP INNER SPACING
========================= */

#businessProfile > .px-5 {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-bottom: 28px !important;
}

@media (max-width: 640px) {
    #businessProfile > .px-5 {
        padding-left: 18px !important;
        padding-right: 18px !important;
        padding-bottom: 22px !important;
    }
}

/* =========================
   POPUP IMAGE SHAPE
========================= */

#businessProfileImages > div {
    border-radius: 20px !important;
    overflow: hidden !important;
}



/* =========================
   POPUP CLOSE BUTTON SHAPE
========================= */

#closeBusinessProfile {
    border-radius: 50% !important;
    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =========================
   POPUP IMAGE ARROW SHAPE
========================= */

#businessProfilePrev,
#businessProfileNext {
    width: 40px !important;
    height: 40px !important;

    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* =========================
   POPUP ACTION BUTTON SHAPE
========================= */

#businessProfileActions a,
#businessProfileActions button {
    border-radius: 14px !important;
    min-height: 48px !important;
}


/* =========================
   POPUP SOCIAL BUTTON SHAPE
========================= */

#instagramLink,
#facebookLink,
#tiktokLink {
    width: 42px !important;
    height: 42px !important;

    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =========================
   CENTER SOCIAL BUTTONS
========================= */

#businessSocialLinks > div {
    justify-content: center !important;
}


/* =========================
   POPUP HEADER SHAPE
========================= */

#businessProfile > div:first-child {
    padding: 18px 24px !important;
    min-height: 70px !important;

    display: flex !important;
    align-items: center !important;
}

@media (max-width: 640px) {
    #businessProfile > div:first-child {
        padding: 16px 18px !important;
        min-height: 64px !important;
    }
}


/* =========================
   SMALL SCREEN POPUP SHAPE
========================= */

@media (max-width: 480px) {

    #businessProfile {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 90vh !important;

        border-radius: 22px !important;
    }

}




/* =========================
   DESCRIPTION CARD ANIMATION
========================= */

@keyframes descriptionCardIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}




/* =========================
   ABOUT PANEL
========================= */

#aboutPanel {
    position: fixed !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;

    z-index: 400 !important;

    transform: translateY(100%);
}


/* When opened */

#aboutPanel:not(.hidden) {
    display: block !important;

    transform: translateY(0) !important;

    animation: aboutPanelSlideUp 0.45s ease-out;
}


/* Panel appearance */

#aboutPanelContent {
    width: 100% !important;

    padding: 14px 24px !important;

    min-height: 70px !important;

    background: rgba(2, 6, 23, 0.70) !important;

    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;

    backdrop-filter: blur(12px) !important;

    -webkit-backdrop-filter: blur(12px) !important;
}


/* Slide animation */

@keyframes aboutPanelSlideUp {

    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}



/* SMALL FEEDBACK SECTION */

#feedbackSection {
    padding-top: 4px !important;
    padding-bottom: 2px !important;
}

.feedback-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;

    color: rgba(255, 255, 255, 0.65);

    transition: all 0.3s ease;
}

.feedback-icon:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.feedback-icon svg {
    width: 13px;
    height: 13px;
}

.facebook-letter {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

/* Reduce feedback gap on mobile */

@media (max-width: 640px) {

    #feedbackSection {
        margin-top: -35px !important;
        padding-top: 0 !important;
    }

}



/* ======================================
   TERMS PANEL
====================================== */

#termsPanel {
    background: rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transform: translateX(100%);
}

#termsPanel:not(.hidden) {
    display: block !important;
    animation: termsSlideIn 0.4s ease-out forwards;
}

#termsPanelContent {
    background: rgba(15, 23, 42, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

@keyframes termsSlideIn {

    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}




.filter-button {
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.2s ease;
}

.filter-button:hover {
    background: rgba(255, 255, 255, 0.10);
    color: white;
}

.active-filter {
    background: rgba(34, 211, 238, 0.15);
    border-color: rgba(34, 211, 238, 0.4);
    color: #67e8f9;
}














