/* Reset & Base Styles */
* {
  box-sizing: border-box;
  word-break: break-word;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

header {
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  height: 70px;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 42px;
  margin-right: 10px;
}

header .logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
}

header nav a {display: inline-block;line-height: 28px;
  margin-left: 1rem;
  color: #444;
  text-decoration: none;
  font-weight: 500;
}

.nav-toggle {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  display: none;
}

/* Navigation Links */
nav a {
  color: white;
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 500;
}

.nav-links-desktop {
  display: flex;
}

.nav-links-mobile {
  display: none;
}

/* Search Box */
.search-box {
  margin: 2rem auto 1.5rem;
  text-align: center;
}

.search-box input {
  padding: 0.8rem 1rem;
  width: 90%;
  max-width: 500px;
  border: 2px solid #555;
  border-radius: 6px;
  font-size: 1.1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  text-align: center;
}

.features div {
  background: #fff;
  padding: 1rem;
  border-radius: 50px;
  min-width: 260px;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Packages Grid */
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  padding: 2rem;justify-content: center;
}

.package-card {max-width: 274px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
}

.package-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.package-card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.package-card p {
  color: #666;
  font-size: 0.95rem;
  padding-bottom: 1rem;
}

/* Add Restaurant Link */
.add-restaurant {
  text-align: center;
  font-size: 1rem;
  padding: 2rem;
  color: #dc3545;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  #navLinks {
    display: none;
    flex-direction: column;
    background-color: rgba(216, 66, 66, 0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: right;
    padding: 1rem;
  }

  #navLinks.show {
    display: flex;
  }

  #navLinks a {
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }
  header{flex-wrap: wrap;min-height: 70px;height: auto;}
  header nav {width: 100%;padding-top: 5px;}
}

  header {
    flex-direction: row;
    padding-top: 0.5rem;
  }

  .features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.5rem;
    font-size: 0.95rem;
  }

  .features div {
    padding: 0.3rem 0.6rem;
    line-height: 1.2;
    width: 85%;
    max-width: 90%;
    max-height: 3rem;
  }
}
