/* ChefsHub - Modern, Clean & Appetizing Food Palette */
:root {
    --primary: #E05A38;
    --primary-hover: #C74827;
    --primary-light: #FDF3F0;
    --secondary: #2C6E49;
    --secondary-light: #EBF5F0;
    --amber: #D97706;
    --amber-light: #FEF3C7;
    --bg-warm: #FAF8F5;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-dark: #231F20;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border-color: #ECE7DF;
    --border-light: #F3EFE9;
    --shadow-sm: 0 2px 8px rgba(45, 30, 20, 0.04);
    --shadow-md: 0 6px 18px rgba(45, 30, 20, 0.06);
    --shadow-lg: 0 14px 34px rgba(45, 30, 20, 0.09);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-amber { color: var(--amber); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(224, 90, 56, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(224, 90, 56, 0.35);
}

.btn-secondary {
    background: var(--secondary);
    color: #ffffff;
}

.btn-secondary:hover {
    background: #23583a;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary-light);
}

/* Badges & Pills */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-secondary { background: var(--secondary-light); color: var(--secondary); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-light { background: #F3EFE9; color: var(--text-dark); }
.badge-success { background: #DEF7EC; color: #03543F; }
.badge-warning { background: #FEF08A; color: #854D0E; }
.badge-danger { background: #FDE8E8; color: #9B1C1C; }

/* Navbar */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #F59E0B 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(224, 90, 56, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 70px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, #FFF7ED 0%, var(--bg-warm) 60%);
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 46px;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 540px;
}

.search-box-card {
    background: #ffffff;
    padding: 10px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.search-form-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 10px;
    align-items: center;
}

.search-field {
    padding: 8px 14px;
    border-right: 1px solid var(--border-light);
}

.search-field:last-of-type {
    border-right: none;
}

.search-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.search-field input, .search-field select {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
}

/* Quick Filter Chips */
.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    align-items: center;
}

.chip {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.chip:hover, .chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Hero Showcase Image Grid */
.hero-visual {
    position: relative;
}

.hero-main-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: rotate(-1deg);
    transition: var(--transition);
}

.hero-main-card:hover {
    transform: rotate(0deg) scale(1.01);
}

.hero-main-card img {
    border-radius: var(--radius-md);
    height: 280px;
    width: 100%;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: #ffffff;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.float-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

/* Sections */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px auto;
}

.section-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

/* Chef Cards Grid */
.chef-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.chef-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.chef-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #E2D9CC;
}

.chef-cover-wrap {
    height: 150px;
    position: relative;
    overflow: hidden;
}

.chef-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chef-badge-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
}

.chef-card-body {
    padding: 24px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chef-avatar-wrap {
    margin-top: -55px;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.chef-avatar-img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.chef-verified-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #10B981;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #ffffff;
}

.chef-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chef-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.chef-bio-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chef-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.chef-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chef-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.chef-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.chef-price-wrap {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 700;
}

.price-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.price-amount span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Dish Cards Grid */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.dish-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.dish-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.dish-img-wrap {
    height: 190px;
    position: relative;
}

.dish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dish-pill {
    position: absolute;
    top: 10px;
    left: 10px;
}

.dish-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dish-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dish-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dish-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.dish-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

/* How It Works Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #ffffff;
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 18px;
}

.step-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Detail Profile Header */
.chef-profile-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.profile-top-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.profile-avatar-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-md);
}

/* Booking Card & Form */
.booking-widget-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 90px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 14px;
    background: #FAF8F5;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(224, 90, 56, 0.15);
}

.price-summary-box {
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin: 18px 0;
    border: 1px dashed var(--border-color);
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.price-summary-row.total {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    border-top: 1px solid var(--border-light);
    padding-top: 8px;
    margin-top: 8px;
}

/* Tables & Status Badges */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-warm);
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Flash Messages */
.flash-alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.flash-success { background: #DEF7EC; color: #03543F; border: 1px solid #84E1BC; }
.flash-error { background: #FDE8E8; color: #9B1C1C; border: 1px solid #F8B4B4; }
.flash-info { background: #E1EFFE; color: #1E429F; border: 1px solid #A4CAFE; }

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .search-form-row { grid-template-columns: 1fr; }
    .search-field { border-right: none; border-bottom: 1px solid var(--border-light); }
    .steps-grid { grid-template-columns: 1fr; }
    .profile-top-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
}
