/*
Theme Name: EatBlvd Theme
Theme URI: https://eatblvd.com/
Author: EatBlvd Team
Author URI: https://eatblvd.com/
Description: A lightweight food ordering theme for pizza, Indian, and burger shops.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eatblvd
Tags: food, restaurant, responsive, dark-theme
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  background: #111;
}

/* New header/menu */
.site-header {
  background: #ffffff;
  padding: 18px 42px;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header-inner {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 30px;
  font-weight: 900;
  color: #ff5a00;
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span {
  color: #17212b;
}

.main-nav {
  display: flex;
  align-items: center;
}

.eatblvd-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.eatblvd-menu li {
  list-style: none;
}

.eatblvd-menu a {
  text-decoration: none;
  color: #17212b;
  font-weight: 800;
  font-size: 17px;
}

.eatblvd-menu a:hover {
  color: #ff5a00;
}

.eatblvd-menu li:last-child a {
  background: #ff5a00;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 999px;
}

/* Old homepage support */
.main-content {
  max-width: 1250px;
  margin: 0 auto;
}

.hero {
  background: url('https://source.unsplash.com/1600x900/?pizza,food') no-repeat center center;
  background-size: cover;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.hero p {
  font-size: 1.25rem;
  margin: 20px auto;
  max-width: 600px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.hero .buttons {
  margin-top: 30px;
}

.hero .buttons a {
  display: inline-block;
  padding: 12px 24px;
  background: #ff5a00;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  margin: 10px;
  font-weight: bold;
}

.hero .buttons a:hover {
  background: #e94e00;
}

.plans {
  background: #222;
  padding: 60px 20px;
  text-align: center;
}

.plans h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.plan {
  background: #333;
  border-radius: 12px;
  padding: 30px;
  max-width: 300px;
  min-height: 360px;
  text-align: left;
}

.plan h3 {
  font-size: 1.5rem;
  color: #ff5a00;
}

.plan p {
  font-size: 1rem;
  color: #ccc;
}

.plan ul {
  padding-left: 20px;
  margin: 10px 0;
  color: #eee;
}

.plan a {
  display: inline-block;
  margin-top: 15px;
  background: #ff5a00;
  padding: 12px 22px;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

/* WordPress button fallback */
.wp-block-button__link,
button,
input[type="submit"] {
  background: #ff5a00 !important;
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

/* Restaurant listing pages */
.eatblvd-listings > div,
.eatblvd-place-card {
  background: #ffffff;
  color: #17212b;
}

.eatblvd-listings a,
.eatblvd-place-card a {
  color: #ff5a00;
  font-weight: 700;
}

footer {
  text-align: center;
  padding: 28px 20px;
  background: #000;
  color: #888;
}

/* Mobile */
@media (max-width: 800px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .eatblvd-menu {
    flex-wrap: wrap;
    gap: 14px;
  }

  .plan-cards {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

/* Claim restaurant form */
.eatblvd-claim-form {
  color: #17212b !important;
}

.eatblvd-claim-form h1,
.eatblvd-claim-form h2,
.eatblvd-claim-form p,
.eatblvd-claim-form label,
.eatblvd-claim-form strong {
  color: #17212b !important;
}

.eatblvd-claim-form input,
.eatblvd-claim-form textarea {
  color: #17212b !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
}

.eatblvd-claim-form input::placeholder,
.eatblvd-claim-form textarea::placeholder {
  color: #6b7280 !important;
}

.eatblvd-claim-form .restaurant-box {
  background: #f8fafc !important;
  color: #17212b !important;
}

/* EatBlvd Enhanced Restaurant Features */

.eatblvd-badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin: 4px 0 12px;
}

.eatblvd-badge.verified {
  background: #e7f8ee;
  color: #137333;
}

.eatblvd-badge.unclaimed {
  background: #fff4e5;
  color: #b45309;
}

.eatblvd-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.eatblvd-details-btn,
.eatblvd-claim-btn,
.eatblvd-map-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
}

.eatblvd-details-btn {
  background: #17212b;
  color: #fff;
}

.eatblvd-claim-btn {
  background: #ff5a00;
  color: #fff;
}

.eatblvd-map-btn {
  background: #2563eb;
  color: #fff;
}

.eatblvd-detail-wrap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.eatblvd-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e8edf2;
}

.eatblvd-detail-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid #e8edf2;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.eatblvd-detail-top h1 {
  margin: 0 0 8px;
  font-size: 38px;
}

.eatblvd-detail-meta {
  font-size: 18px;
  color: #64748b;
  font-weight: 800;
}

.eatblvd-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.eatblvd-osm-note {
  font-size: 13px;
  color: #64748b;
}

.eatblvd-osm-note a {
  color: #ff5a00;
}

@media (max-width: 800px) {
  .eatblvd-detail-top {
    flex-direction: column;
  }

  .eatblvd-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* EatBlvd Owner Dashboard + Verified Badges */

.eatblvd-badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin: 4px 0 12px;
}

.eatblvd-badge.verified {
  background: #e7f8ee;
  color: #137333;
}

.eatblvd-badge.unclaimed {
  background: #fff4e5;
  color: #b45309;
}

.eatblvd-owner-dashboard,
.eatblvd-owner-box {
  max-width: 1100px;
  margin: 40px auto;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.eatblvd-owner-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.eatblvd-owner-card {
  border: 1px solid #e8edf2;
  border-radius: 14px;
  padding: 20px;
  background: #f8fafc;
}

.eatblvd-owner-btn {
  display: inline-block;
  background: #ff5a00;
  color: #fff !important;
  border: 0;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.eatblvd-owner-success {
  background: #e7f8ee;
  color: #137333;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 700;
}

.eatblvd-owner-edit label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.eatblvd-owner-edit input,
.eatblvd-owner-edit textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccd5df;
  border-radius: 10px;
}

.eatblvd-owner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .eatblvd-owner-grid {
    grid-template-columns: 1fr;
  }
}

/* EatBlvd Custom Owner Portal */

.eatblvd-owner-login,
.eatblvd-owner-dashboard,
.eatblvd-owner-box {
  max-width: 900px;
  margin: 40px auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.eatblvd-owner-login label,
.eatblvd-owner-dashboard label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.eatblvd-owner-login input,
.eatblvd-owner-dashboard input,
.eatblvd-owner-dashboard textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccd5df;
  border-radius: 10px;
}

.eatblvd-owner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.eatblvd-owner-btn {
  display: inline-block;
  background: #ff5a00;
  color: #fff !important;
  border: 0;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.eatblvd-owner-success {
  max-width: 900px;
  margin: 20px auto;
  background: #e7f8ee;
  color: #137333;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.eatblvd-owner-error {
  max-width: 900px;
  margin: 20px auto;
  background: #fee2e2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
}

@media (max-width: 800px) {
  .eatblvd-owner-grid {
    grid-template-columns: 1fr;
  }
}