/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #efeaea;
  color: #333;
  line-height: 1.5;
  overflow-x: hidden;
}


@media (min-width: 992px) {

  .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
  }

  .main-content {
    margin-left: 300px;
    padding: 20px;
  }

  .sidebar {
    left: 0;
    width: 300px;
  }

  .overlay {
    display: none !important;
  }

  .header-title {
    font-size: 2rem;
  }

  .menu-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .topcoat {
    justify-content: flex-start;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
}





/* ========== LAYOUT ========== */
.container {
  width: 100%;
  padding: 16px;
  margin-top: 60px;
}

.main-content {
  padding: 16px;
}

/* ========== SIDEBAR (MOBILE: OFF-CANVAS) ========== */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100vh;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
  border-right: 1px solid #ddd;
  transition: left 0.3s ease;
  z-index: 100;
}

.sidebar.open {
  left: 0;
}

.sidebar img {
  border-radius: 50%;
}

.sidebar .menu a {
  display: block;
  padding: 12px 10px;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.sidebar .menu a:hover {
  background: #e6f2f2;
  color: teal;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 50;
}

.overlay.show {
  display: block;
}

/* ========== HEADER ========== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.header-title {
  font-size: 1.4rem;
  font-weight: bold;
}

/* ========== NAV / LISTS ========== */
ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items:center;
  align-content: space-around;
  height: 300px; /* or min-height */
  flex-direction:column;
}


/* ========== BUTTONS ========== */
.btn {
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  background: #000;
  color: #fff;
  border-radius: 6px;
}

.btn-light {
  background: #fff;
  color: #000;
  border: 1px solid #aaa;
}

.btn:hover {
  opacity: 0.85;
}

/* ========== MENU BUTTONS ========== */
.menu-buttons {
    display: flex;
    gap: 12px;
}

.menu-buttons > * {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.topcoat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  justify-content: center;
}

.icon {
  width: 40px;
  height: 40px;
}

/* ========== GRID / CARDS ========== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  border-radius: 4px;
}

.card-title {
  font-weight: bold;
  margin-bottom: 8px;
}

/* ========== FORMS ========== */
.form-field {
  margin-bottom: 16px;
}

.input {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
}

.input:focus {
  border-color: teal;
  outline: none;
}

/* ========== FOOTER ========== */
.footer {
  background: #333;
  color: #eee;
  padding: 30px 16px;
  margin-top: 40px;
}

.footer a {
  color: #ddd;
}

/* ========== POPUP ========== */
.contact-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2rem;
  cursor: pointer;
}

.whatsapp-qr {
  width: 140px;
  height: 140px;
  margin: 20px auto;
}
