﻿/* ==========================================
   KURNOOL CITY
   Main Website Styles
   ========================================== */

:root {
    --kc-navy: #102A43;
    --kc-navy-dark: #071C2C;
    --kc-teal: #0F766E;
    --kc-teal-light: #14B8A6;
    --kc-gold: #F59E0B;
    --kc-gold-light: #FBBF24;
    --kc-bg: #F5F7FA;
    --kc-white: #FFFFFF;
    --kc-text: #1F2937;
    --kc-muted: #64748B;
    --kc-border: #E2E8F0;
    --kc-radius: 16px;
    --kc-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}


/* ==========================================
   GENERAL
   ========================================== */

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--kc-text);
    background: var(--kc-bg);
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
}


/* ==========================================
   HERO
   ========================================== */

.kc-hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient( 120deg, #071C2C 0%, #102A43 45%, #0F766E 100% );
}

    .kc-hero::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        right: -150px;
        top: -180px;
        background: rgba(245, 158, 11, 0.15);
    }

    .kc-hero::before {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        left: -150px;
        bottom: -180px;
        background: rgba(20, 184, 166, 0.12);
    }

.kc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(7, 28, 44, 0.75), rgba(7, 28, 44, 0.25) );
}

.kc-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 70px;
}

.kc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    margin-bottom: 20px;
    color: white;
    font-size: 14px;
    border-radius: 30px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
}

.kc-hero h1 {
    margin: 0;
    color: white;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    letter-spacing: -2px;
}

    .kc-hero h1 span {
        color: var(--kc-gold-light);
    }

.kc-hero p {
    max-width: 650px;
    margin: 18px 0 30px;
    color: rgba(255,255,255,0.82);
    font-size: 19px;
    line-height: 1.7;
}


/* ==========================================
   SEARCH
   ========================================== */

.kc-search-box {
    display: flex;
    max-width: 900px;
    padding: 7px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.kc-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
}

    .kc-search-input input {
        width: 100%;
        height: 54px;
        border: none;
        outline: none;
        font-size: 16px;
        color: var(--kc-text);
    }

.kc-search-icon {
    font-size: 20px;
}

.kc-search-category {
    width: 210px;
    border-left: 1px solid var(--kc-border);
}

    .kc-search-category select {
        width: 100%;
        height: 54px;
        padding: 0 15px;
        border: none;
        outline: none;
        background: white;
        color: var(--kc-text);
        font-size: 14px;
    }

.kc-search-button {
    border: none;
    padding: 0 30px;
    border-radius: 10px;
    background: var(--kc-teal);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

    .kc-search-button:hover {
        background: #0B5F59;
    }


/* ==========================================
   HERO ACTIONS
   ========================================== */

.kc-hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.kc-add-business-btn,
.kc-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 9px;
    font-weight: 600;
    transition: 0.2s;
}

.kc-add-business-btn {
    background: var(--kc-gold);
    color: #17202A;
}

    .kc-add-business-btn:hover {
        background: var(--kc-gold-light);
        color: #17202A;
    }

.kc-explore-btn {
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

    .kc-explore-btn:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }


/* ==========================================
   SECTIONS
   ========================================== */

.kc-section {
    padding: 80px 0;
}

.kc-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 35px;
}

.kc-section-label {
    display: block;
    margin-bottom: 8px;
    color: var(--kc-teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.kc-section-heading h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 750;
    color: var(--kc-navy);
}

.kc-section-heading p {
    margin: 8px 0 0;
    color: var(--kc-muted);
}

.kc-view-all {
    color: var(--kc-teal);
    font-weight: 600;
}

    .kc-view-all:hover {
        color: var(--kc-navy);
    }


/* ==========================================
   CATEGORY CARDS
   ========================================== */

.kc-category-grid {
    row-gap: 20px;
}

.kc-category-card {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    padding: 20px;
    background: white;
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius);
    box-shadow: 0 5px 18px rgba(15,23,42,0.04);
    transition: all 0.25s ease;
}

    .kc-category-card:hover {
        transform: translateY(-5px);
        border-color: rgba(15,118,110,0.25);
        box-shadow: var(--kc-shadow);
    }

.kc-category-icon {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #ECFDF5;
    font-size: 27px;
}

.kc-category-content h3 {
    margin: 0 0 6px;
    color: var(--kc-navy);
    font-size: 16px;
    font-weight: 650;
}

.kc-category-content span {
    color: var(--kc-muted);
    font-size: 13px;
}

.kc-category-content b {
    color: var(--kc-teal);
}


/* ==========================================
   ADVERTISEMENT
   ========================================== */

.kc-ad-section {
    padding: 25px 0 70px;
}

.kc-ad-placeholder {
    min-height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient( 135deg, #102A43, #0F766E );
}

.kc-ad-label {
    position: absolute;
    top: 15px;
    right: 18px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kc-ad-content h3 {
    margin: 0;
    color: white;
    font-size: 25px;
}

.kc-ad-content p {
    margin: 8px 0 15px;
    color: rgba(255,255,255,0.75);
}

.kc-ad-content a {
    color: var(--kc-gold-light);
    font-weight: 700;
}


/* ==========================================
   BUSINESS CARDS
   ========================================== */

.kc-business-card {
    overflow: hidden;
    height: 100%;
    margin-bottom: 25px;
    background: white;
    border: 1px solid var(--kc-border);
    border-radius: var(--kc-radius);
    box-shadow: 0 5px 18px rgba(15,23,42,0.04);
    transition: 0.25s;
}

    .kc-business-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--kc-shadow);
    }

.kc-business-image {
    position: relative;
    height: 190px;
    background: #E2E8F0;
}

.kc-business-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
}

.kc-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--kc-gold);
    color: #17202A;
    font-size: 10px;
    font-weight: 800;
}

.kc-business-body {
    padding: 22px;
}

.kc-business-category {
    color: var(--kc-teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.kc-business-body h3 {
    margin: 7px 0 12px;
    color: var(--kc-navy);
    font-size: 21px;
}

.kc-business-location {
    color: var(--kc-muted);
    font-size: 14px;
}

.kc-business-rating {
    margin-top: 12px;
    color: var(--kc-gold);
    font-size: 14px;
}

    .kc-business-rating strong {
        color: var(--kc-text);
    }

    .kc-business-rating span {
        color: var(--kc-muted);
    }

.kc-business-link {
    display: block;
    margin-top: 18px;
    color: var(--kc-teal);
    font-weight: 650;
}


/* ==========================================
   EXPLORE SECTION
   ========================================== */

.kc-explore-section {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient( 120deg, #071C2C, #102A43 );
}

.kc-explore-content {
    max-width: 700px;
    margin: auto;
}

    .kc-explore-content .kc-section-label {
        color: var(--kc-gold);
    }

    .kc-explore-content h2 {
        margin: 0;
        color: white;
        font-size: 38px;
    }

    .kc-explore-content p {
        margin: 15px auto 25px;
        color: rgba(255,255,255,0.75);
        font-size: 17px;
    }

.kc-explore-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.kc-primary-btn,
.kc-secondary-btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 650;
}

.kc-primary-btn {
    background: var(--kc-gold);
    color: #17202A;
}

.kc-secondary-btn {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}


/* ==========================================
   CLASSIFIEDS
   ========================================== */

.kc-classified-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border: 1px solid var(--kc-border);
    border-radius: 14px;
    transition: 0.2s;
}

    .kc-classified-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--kc-shadow);
    }

.kc-classified-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #FFF7ED;
    font-size: 25px;
}

.kc-classified-card h3 {
    margin: 0;
    color: var(--kc-navy);
    font-size: 17px;
}

.kc-classified-card p {
    margin: 4px 0 0;
    color: var(--kc-muted);
    font-size: 13px;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 767px) {

    .kc-hero {
        min-height: auto;
    }

    .kc-hero-content {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .kc-hero h1 {
        font-size: 44px;
    }

    .kc-hero p {
        font-size: 16px;
    }

    .kc-search-box {
        display: block;
        padding: 8px;
    }

    .kc-search-input {
        border-bottom: 1px solid var(--kc-border);
    }

    .kc-search-category {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--kc-border);
    }

    .kc-search-button {
        width: 100%;
        height: 50px;
        margin-top: 7px;
    }

    .kc-hero-actions {
        flex-direction: column;
    }

    .kc-add-business-btn,
    .kc-explore-btn {
        justify-content: center;
    }

    .kc-section {
        padding: 55px 0;
    }

    .kc-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

        .kc-section-heading h2 {
            font-size: 28px;
        }

    .kc-explore-buttons {
        flex-direction: column;
    }

    .kc-primary-btn,
    .kc-secondary-btn {
        display: block;
    }
}


/* ==========================================
   NAVBAR
   ========================================== */

.kc-navbar {
    position: relative;
    z-index: 1000;
    background: #071C2C;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.kc-navbar-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.kc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}

    .kc-logo:hover {
        color: white;
    }

.kc-logo-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, var(--kc-gold), var(--kc-gold-light) );
    color: #071C2C;
    font-size: 22px;
    font-weight: 900;
}

.kc-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .kc-logo-text strong {
        color: white;
        font-size: 18px;
        letter-spacing: 1px;
    }

    .kc-logo-text span {
        margin-top: 4px;
        color: var(--kc-gold);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 4px;
    }


/* DESKTOP MENU */

.kc-desktop-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 35px;
    margin-right: auto;
}

    .kc-desktop-menu > a,
    .kc-nav-dropdown-link {
        color: rgba(255,255,255,0.78);
        font-size: 14px;
        font-weight: 500;
        transition: 0.2s;
    }

        .kc-desktop-menu > a:hover,
        .kc-nav-dropdown-link:hover {
            color: white;
        }


/* DROPDOWN */

.kc-nav-dropdown {
    position: relative;
}

.kc-nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.kc-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -15px;
    width: 210px;
    padding: 10px;
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.kc-nav-dropdown:hover .kc-dropdown-menu {
    display: block;
}

.kc-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--kc-text);
    font-size: 14px;
}

    .kc-dropdown-menu a:hover {
        background: #F1F5F9;
        color: var(--kc-teal);
    }


/* NAVBAR ACTIONS */

.kc-navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kc-add-business-small {
    padding: 9px 14px;
    border: 1px solid rgba(245,158,11,0.5);
    border-radius: 7px;
    color: var(--kc-gold-light);
    font-size: 13px;
    font-weight: 600;
}

    .kc-add-business-small:hover {
        background: rgba(245,158,11,0.1);
        color: var(--kc-gold-light);
    }

.kc-login-link {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

    .kc-login-link:hover {
        color: white;
    }

.kc-register-btn {
    padding: 9px 16px;
    border-radius: 7px;
    background: var(--kc-teal);
    color: white;
    font-size: 13px;
    font-weight: 600;
}

    .kc-register-btn:hover {
        background: var(--kc-teal-light);
        color: white;
    }


/* MOBILE MENU BUTTON */

.kc-mobile-menu-button {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}


/* MOBILE MENU */

.kc-mobile-menu {
    display: none;
    padding: 10px 0 20px;
}

    .kc-mobile-menu a {
        display: block;
        padding: 13px 5px;
        color: rgba(255,255,255,0.85);
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

        .kc-mobile-menu a:hover {
            color: var(--kc-gold);
        }

    .kc-mobile-menu hr {
        border-color: rgba(255,255,255,0.1);
    }


/* ==========================================
   NAVBAR MOBILE
   ========================================== */

@media (max-width: 991px) {

    .kc-desktop-menu,
    .kc-navbar-actions {
        display: none;
    }

    .kc-mobile-menu-button {
        display: block;
    }

    .kc-navbar-inner {
        height: 68px;
    }
}

/* ==========================================
   CATEGORY PAGE
   ========================================== */

.kc-category-header {
    padding: 45px 0;
    background: linear-gradient( 120deg, #071C2C, #102A43, #0F766E );
    color: white;
}

.kc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

    .kc-breadcrumb a {
        color: rgba(255,255,255,0.8);
    }

        .kc-breadcrumb a:hover {
            color: var(--kc-gold);
        }

.kc-category-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.kc-category-header h1 {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
}

    .kc-category-header h1 span {
        color: var(--kc-gold);
    }

.kc-category-header p {
    max-width: 700px;
    margin: 12px 0 0;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.kc-category-count {
    min-width: 130px;
    padding: 22px;
    text-align: center;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
}

    .kc-category-count strong {
        display: block;
        color: var(--kc-gold);
        font-size: 32px;
    }

    .kc-category-count span {
        color: rgba(255,255,255,0.7);
        font-size: 13px;
    }


/* FILTER */

.kc-filter-card {
    padding: 24px;
    background: white;
    border: 1px solid var(--kc-border);
    border-radius: 15px;
}

    .kc-filter-card h3 {
        margin: 0 0 25px;
        color: var(--kc-navy);
        font-size: 20px;
    }

.kc-filter-group {
    margin-bottom: 25px;
}

    .kc-filter-group > label {
        display: block;
        margin-bottom: 10px;
        color: var(--kc-text);
        font-size: 13px;
        font-weight: 700;
    }

    .kc-filter-group select {
        height: 42px;
        border-color: var(--kc-border);
    }

.kc-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--kc-muted) !important;
    font-weight: 400 !important;
}

    .kc-checkbox input {
        accent-color: var(--kc-teal);
    }

    .kc-checkbox small {
        margin-left: auto;
        color: #94A3B8;
    }


/* RESULTS TOOLBAR */

.kc-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--kc-border);
    color: var(--kc-muted);
    font-size: 14px;
}

    .kc-results-toolbar strong {
        color: var(--kc-navy);
    }

.kc-sort-select {
    padding: 9px 12px;
    border: 1px solid var(--kc-border);
    border-radius: 7px;
    background: white;
    color: var(--kc-text);
}


/* LISTING CARD */

.kc-listing-card {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 18px;
    background: white;
    border: 1px solid var(--kc-border);
    border-radius: 15px;
    transition: 0.25s;
}

    .kc-listing-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--kc-shadow);
    }

.kc-listing-image {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    background: #E2E8F0;
}

    .kc-listing-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.kc-listing-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
}

.kc-listing-content {
    flex: 1;
}

.kc-business-category {
    font-size: 11px;
}

.kc-listing-content h2 {
    margin: 5px 0 8px;
    color: var(--kc-navy);
    font-size: 22px;
}

.kc-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--kc-teal);
    color: white;
    font-size: 12px;
}

.kc-listing-description {
    margin: 0 0 10px;
    color: var(--kc-muted);
    font-size: 14px;
}

.kc-listing-location {
    color: var(--kc-muted);
    font-size: 13px;
}

.kc-listing-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.kc-view-business-btn,
.kc-call-btn {
    padding: 8px 13px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
}

.kc-view-business-btn {
    background: var(--kc-teal);
    color: white;
}

    .kc-view-business-btn:hover {
        background: var(--kc-navy);
        color: white;
    }

.kc-call-btn {
    border: 1px solid var(--kc-border);
    color: var(--kc-text);
}

    .kc-call-btn:hover {
        border-color: var(--kc-teal);
        color: var(--kc-teal);
    }


/* EMPTY */

.kc-empty-state {
    padding: 70px 30px;
    text-align: center;
    background: white;
    border: 1px solid var(--kc-border);
    border-radius: 15px;
}

.kc-empty-icon {
    margin-bottom: 15px;
    font-size: 45px;
}

.kc-empty-state h3 {
    color: var(--kc-navy);
}

.kc-empty-state p {
    margin-bottom: 25px;
    color: var(--kc-muted);
}


/* MOBILE */

@media (max-width: 767px) {

    .kc-category-header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .kc-category-header h1 {
        font-size: 34px;
    }

    .kc-category-count {
        width: 100%;
    }

    .kc-listing-card {
        flex-direction: column;
    }

    .kc-listing-image {
        width: 100%;
        height: 190px;
    }

    .kc-results-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}