/* ==========================================================================
   BayBiz Business A-Z Directory Styles
   ========================================================================== */

/* 1. Centering & Layout */
.welcome-section {
    text-align: center !important;
    margin-bottom: 40px;
}

.directory-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* 2. Pill-Style Search Bar */
.az-search-form {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 40px;
    padding: 5px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.az-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 25px;
    font-size: 15px;
    outline: none;
}

.btn-az-search {
    background: #3f21b5;
    color: #fff;
    border: none;
    padding: 0 30px;
    border-radius: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-az-search:hover {
    background: #2e1896;
}

/* 3. The Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

/* 4. The Business Card */
.biz-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    cursor: pointer;
    height: fit-content;
}

.biz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(63, 33, 181, 0.1);
    border-color: #3f21b5;
}

.biz-card-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.biz-logo-container {
    width: 75px;
    height: 75px;
    min-width: 75px;
    background: #f8f9fa;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
}

.biz-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.placeholder-initial {
    font-size: 28px;
    font-weight: 900;
    color: #3f21b5;
}

.category-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    color: #3f21b5;
    background: #f0f0ff;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.biz-info-text h4 {
    font-size: 19px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.toggle-label {
    font-size: 12px;
    font-weight: 700;
    color: #3f21b5;
    margin-top: 8px;
    opacity: 0.7;
}

/* 5. EXPANDED SECTION (Closed by default) */
.biz-expanded-info {
    display: none; 
    margin-top: 0;
}

.biz-expanded-info.show {
    display: block; 
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.biz-desc {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-box-mini {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #edf0ff;
}

.contact-box-mini p {
    font-size: 13px;
    margin-bottom: 8px;
    color: #444;
}

.contact-box-mini strong {
    color: #3f21b5;
}

.biz-web-link {
    display: block;
    background: #3f21b5;
    color: #ffffff !important;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
    text-transform: uppercase;
}

/* No Results State */
.no-results-card {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 35px;
    border: 1px solid #f0f0f0;
    color: #999;
}

.home-footer {
    text-align: center !important;
    padding: 60px 20px;
    color: #bbb;
    font-size: 13px;
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .featured-grid { grid-template-columns: 1fr; }
    .az-search-form { flex-direction: column; background: transparent; border: none; box-shadow: none; }
    .az-search-input { background: #fff; border: 1px solid #ddd; border-radius: 30px; margin-bottom: 10px; }
    .btn-az-search { padding: 15px; }
}