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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3d2b1f;
  background-color: #fef9f4;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
header {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo .logo-name {
  font-size: 2.8rem;
  color: #000;
  font-weight: 900;
}

.logo .logo-sub {
  color: #e8c49a;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: lowercase;
  padding-left: 3.2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

nav a:hover,
nav a.active {
  border-color: #e8c49a;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://placehold.co/1600x600/4a2c2a/e8c49a?text=Wellcome+Kenny+''''+s+Bakery+Cafe');
  background-size: cover;
  background-position: center;
  color: #FF4500;
  text-align: center;
  padding: 0.3rem 2rem;
}

.hero h1 {
  font-size: 3.0rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero p {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #e8c49a;
  color: #3d2b1f;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #d4a574;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 1.5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #4a2c2a;
}

.section-subtitle {
  text-align: center;
  color: #8a6b5a;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Featured grid (home) */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-preview {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 2rem;
}

.about-preview img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-preview div {
  flex: 1;
}

/* About page */
.about-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.about-content img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  color: #6b3f3a;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: #5a4a3a;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #f0e6dc;
}

.value-card h4 {
  color: #6b3f3a;
  margin-bottom: 0.5rem;
}

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.menu-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #f0e6dc;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.menu-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.menu-info {
  padding: 1.2rem;
}

.menu-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #4a2c2a;
}

.menu-info p {
  font-size: 0.7rem;
  color: #7a6a5a;
  margin-bottom: 0.8rem;
}

.menu-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: #6b3f3a;
}

/* Catering */
.catering-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.catering-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border: 1px solid #f0e6dc;
  transition: transform 0.3s, box-shadow 0.3s;
}

.catering-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.catering-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.catering-info {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.catering-info h3 {
  font-size: 1.3rem;
  color: #4a2c2a;
  margin-bottom: 0.5rem;
}

.catering-info p {
  color: #6a5a4a;
  line-height: 1.2;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.contact-details {
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid #f0e6dc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-details h3 {
  color: #6b3f3a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8c49a;
}

.contact-block {
  margin-bottom: 0.8rem;
}

.contact-block h4 {
  color: #4a2c2a;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.contact-block p {
  color: #6a5a4a;
  line-height: 1.4;
  font-size: 0.85rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.2rem 0;
  color: #6a5a4a;
  font-size: 0.85rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #4a2c2a;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Rustic Background */
body {
  background-color: #efe6d8;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(139, 90, 43, 0.03) 2px,
      rgba(139, 90, 43, 0.03) 4px
    );
}

.section {
  background-color: transparent;
}

.catering-item {
  border-color: #dccfc0;
  box-shadow: 0 3px 12px rgba(100, 70, 40, 0.1);
}

/* Footer */
footer {
  background: #3d2b1f;
  color: #d4c5b8;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

footer p {
  margin: 0.3rem 0;
}

footer a {
  color: #e8c49a;
}

/* Order Page */
.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.order-items {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dccfc0;
  padding: 1rem;
}

.order-item {
  border-bottom: 1px solid #f0e6dc;
}

.order-item:last-child {
  border-bottom: none;
}

.order-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.order-row:hover {
  background: #fef9f4;
}

.order-row input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
  accent-color: #d35400;
}

.order-product {
  flex: 1;
  font-weight: 500;
  color: #3d2b1f;
}

.order-price {
  font-weight: 700;
  color: #6b3f3a;
  min-width: 60px;
  text-align: right;
}

.order-customer {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dccfc0;
  padding: 1.5rem;
}

.order-customer h3 {
  color: #4a2c2a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e8c49a;
}

.order-customer .form-row {
  display: block;
}

.order-customer .form-group {
  margin-bottom: 1rem;
}

.order-customer input,
.order-customer textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #e0d5c8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #3d2b1f;
  background: #fef9f4;
}

.order-customer input:focus,
.order-customer textarea:focus {
  outline: none;
  border-color: #e8c49a;
}

/* Catering Form */
.catering-form {
  max-width: 600px;
  margin: 0 auto;
}

.catering-form .form-group {
  margin-bottom: 1.2rem;
}

.catering-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #4a2c2a;
  font-size: 0.95rem;
}

.catering-form input,
.catering-form textarea,
.catering-form select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #e0d5c8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #3d2b1f;
  background: #fef9f4;
  transition: border-color 0.3s;
}

.catering-form input:focus,
.catering-form textarea:focus,
.catering-form select:focus {
  outline: none;
  border-color: #e8c49a;
}

.catering-form textarea {
  resize: vertical;
  min-height: 100px;
}

.catering-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .about-preview,
  .about-content {
    flex-direction: column;
  }

  .about-preview img,
  .about-content img {
    width: 100%;
  }

  .catering-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    min-height: 300px;
  }

  .order-form {
    grid-template-columns: 1fr;
  }
}
