/* Search Page Specific Styles - Integrated with Landing Design System */

.search-form {
    display: flex;
    max-width: 680px;
    margin: 32px auto 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    padding: 6px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 12px 32px rgba(201, 174, 46, 0.15);
}

.search-icon-wrapper {
    padding: 0 14px 0 20px;
    display: flex;
    align-items: center;
    color: var(--muted-2);
}
.search-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    font-family: 'Outfit', sans-serif;
    color: var(--ink);
    width: 100%;
}
.search-input::placeholder {
    color: var(--muted-2);
}

.search-btn {
    background: var(--gold);
    color: var(--navy-deep);
    border: none;
    padding: 0 24px;
    height: 46px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: box-shadow 0.25s var(--ease);
}

.search-btn:hover {
    box-shadow: 0 8px 20px rgba(201, 174, 46, 0.35);
}

/* Results Section */
.results-section {
    background-color: var(--bg-2);
    border-top: 1px solid var(--line);
    min-height: 50vh;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-search {
    max-width: 760px;
    margin: -18px 0 36px;
    background: var(--surface);
    border-color: var(--line);
    box-shadow: 0 12px 32px rgba(15, 18, 64, 0.08);
}

.results-count {
    color: var(--muted-2);
    font-weight: 600;
    font-size: 14px;
}

/* Places Grid */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Place Card */
.place-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .4s var(--ease);
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

.place-card:hover {
    border-color: var(--muted-2);
}

.place-image-wrapper {
    height: 180px;
    background-color: var(--navy-deep);
    position: relative;
    overflow: hidden;
}

.place-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.place-card:hover .place-image {
    transform: scale(1.06);
}

.place-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-2);
    opacity: 0.5;
}
.place-image-placeholder svg {
    width: 32px;
    height: 32px;
}

.place-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--gold-2);
    padding: 5px 10px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.place-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.place-category {
    color: var(--gold-2);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.place-name {
    color: var(--ink);
    margin: 0 0 8px 0;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.place-location {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.place-location svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.place-cta {
    margin-top: auto;
}

.place-btn {
    display: block;
    text-align: center;
    background: var(--bg-2);
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.place-btn:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 80px 0;
}

.empty-title {
    color: var(--ink);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.empty-text {
    color: var(--muted);
    font-size: 14.5px;
    margin-bottom: 24px;
}

.empty-link {
    display: inline-block;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed var(--gold);
    transition: color 0.2s;
}
.empty-link:hover {
    color: var(--gold-2);
    border-bottom-color: var(--gold-2);
}

.results-note {
    color: var(--muted-2);
    font-size: 13px;
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        border-radius: var(--radius-md);
        background: transparent;
        box-shadow: none;
        border: none;
        gap: 12px;
        padding: 0;
    }
    .search-input {
        border-radius: var(--radius-md);
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.16);
        padding: 14px 16px;
    }
    .search-btn {
        width: 100%;
        height: 48px;
        border-radius: var(--radius-md);
    }
    .search-icon-wrapper {
        display: none;
    }
}
