/* =========================================
   BYTETASTES LANDING CSS (v4.4 White Header)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap');

:root {
    --bt-primary: #FFC400;
    --bt-dark: #111111;
    --bt-gray: #F7F7F7;
    --bt-text: #2D3748;
    --bt-font: 'Inter', -apple-system, sans-serif;
}

/* Global Reset */
html { margin-top: 0 !important; }
body {
    margin: 0; padding: 0;
    font-family: var(--bt-font);
    background-color: #fff;
    color: var(--bt-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
* { box-sizing: border-box; }

.bt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header (Solid White) --- */
.bt-header {
    position: relative; /* [修改] 不再悬浮覆盖 */
    background-color: #fff; /* [修改] 白色背景 */
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04); /* [修改] 底部阴影用于分隔 */
    border-bottom: 1px solid #f0f0f0;
}

.bt-header-inner { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.bt-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--bt-dark);
    display: flex; align-items: baseline;
    line-height: 1;
}
.bt-logo .bt-dot {
    width: 10px; height: 10px;
    background-color: var(--bt-primary);
    border-radius: 50%;
    margin-left: 3px;
}

/* Nav */
.bt-nav { display: flex; align-items: center; gap: 30px; }
.bt-nav-link { font-weight: 600; font-size: 0.95rem; color: var(--bt-dark); transition: 0.2s; }
.bt-nav-link:hover { opacity: 0.7; }

.bt-btn-pill {
    padding: 10px 24px; border-radius: 50px;
    font-weight: 700; font-size: 0.9rem;
    transition: all 0.2s; white-space: nowrap;
}
.bt-btn-black { background: var(--bt-dark); color: #fff; }
.bt-btn-black:hover { background: #333; transform: translateY(-2px); }

/* --- Hero Section --- */
.bt-hero {
    height: 80vh; min-height: 550px; /* [调整] 稍微减小高度，因为Header占了空间 */
    position: relative;
    /* 背景图 */
    background: url('https://images.unsplash.com/photo-1543353071-873f17a7a088?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.bt-hero::before {
    content: ""; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.35); /* 遮罩层 */
}

.bt-hero-content { position: relative; z-index: 2; width: 100%; max-width: 700px; padding: 0 20px; }
.bt-hero h1 {
    font-size: 4rem; font-weight: 900; color: #fff;
    margin: 0 0 20px; line-height: 1.1; letter-spacing: -2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.bt-hero p { 
    font-size: 1.3rem; color: rgba(255,255,255,0.95); 
    margin-bottom: 40px; font-weight: 500; 
}

/* Search Bar */
.bt-search-bar {
    background: #fff; border-radius: 60px;
    padding: 8px; display: flex; align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}
.bt-search-bar:focus-within { transform: scale(1.02); }
.bt-pin-icon { font-size: 1.2rem; padding: 0 15px; color: #E53E3E; }
.bt-search-bar input {
    flex-grow: 1; border: none; outline: none;
    font-size: 1rem; font-weight: 500; font-family: var(--bt-font);
    color: var(--bt-dark); padding: 10px;
}
.bt-search-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bt-primary); border: none; color: #000;
    font-size: 1.2rem; cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.bt-search-btn:hover { background: #FFD60A; }

/* --- Restaurants Listing --- */
.bt-listing { padding: 80px 0; background: #fff; }
.bt-listing-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.bt-listing-header h2 { font-size: 2.5rem; font-weight: 800; margin: 0; }
.bt-view-all { font-weight: 700; border-bottom: 2px solid var(--bt-primary); }

.bt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }

/* Restaurant Card */
.bt-card {
    display: block; border-radius: 16px; overflow: hidden;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}
.bt-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: transparent; }

.bt-card-img { height: 220px; position: relative; background: #eee; }
.bt-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bt-card-time {
    position: absolute; bottom: 12px; right: 12px;
    background: #fff; padding: 6px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.bt-card-info { padding: 16px; }
.bt-card-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.bt-card-title { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--bt-dark); }
.bt-card-rating {
    background: var(--bt-gray); padding: 4px 8px; border-radius: 12px;
    font-size: 0.8rem; font-weight: 700; display: flex; gap: 4px;
}
.bt-card-desc { margin: 0 0 12px 0; color: #718096; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-card-meta { font-size: 0.9rem; color: #4A5568; }

/* Empty State */
.bt-empty { text-align: center; padding: 60px; background: var(--bt-gray); border-radius: 16px; }

/* --- Partner CTA --- */
.bt-cta { background: var(--bt-gray); padding: 100px 0; overflow: hidden; }
.bt-cta-inner { display: flex; align-items: center; gap: 60px; }
.bt-cta-content { flex: 1; }
.bt-cta-content h2 { font-size: 3rem; font-weight: 900; margin: 0 0 20px; line-height: 1.1; }
.bt-cta-content p { font-size: 1.2rem; line-height: 1.6; color: #4A5568; margin-bottom: 40px; }
.bt-cta-img { 
    flex: 1; 
    min-height: 400px; 
    background: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80') center/cover; 
    border-radius: 20px; 
    box-shadow: 20px 20px 0 var(--bt-primary); 
    transform: rotate(2deg); 
}

/* --- Footer --- */
.bt-footer { border-top: 1px solid #E2E8F0; padding: 60px 0 30px; margin-top: 60px; }
.bt-footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; }
.bt-col h4 { font-size: 1rem; font-weight: 800; margin-bottom: 20px; }
.bt-col a { display: block; margin-bottom: 12px; color: #718096; transition: 0.2s; font-size: 0.95rem; }
.bt-col a:hover { color: var(--bt-primary); }
.bt-copy { text-align: center; color: #CBD5E0; font-size: 0.9rem; border-top: 1px solid #F7FAFC; padding-top: 30px; }

@media (max-width: 768px) {
    .bt-hero h1 { font-size: 2.5rem; }
    .bt-cta-inner { flex-direction: column; }
    .bt-cta-img { width: 100%; height: 300px; }
}