/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Crimson Pro", serif;
  min-height: 100vh;
  background: linear-gradient(90deg, #e7e7dc 0%, #bcd0c7 100%);
}

/* Main container */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 1rem 0;
}

.main-card {
  width: 100%;
  max-width: 388px;
  border: 2px solid #ced4da;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header section */
.header-section {
  padding: 3px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  width: 48px;
  height: 48px;
  background: #3d4943;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
}

.logo svg {
  width: 38px;
  height: 38px;
}

.title h1 {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 1px;
  color: #8163a7;
  font-weight: 300;
  font-style: italic;
}

.title-bold {
  font-weight: 700;
  font-style: normal;
}

.title-italic {
  font-weight: 400;
  font-style: italic;
}

.menu-btn {
  display: flex;
  padding: 12px 8px;
  align-items: center;
  border-radius: 50px;
  border: none;
  background: rgba(129, 99, 167, 0.1);
  cursor: pointer;
  transition: background-color 0.2s;
}

.menu-btn:hover {
  background: rgba(129, 99, 167, 0.2);
}

/* Filter buttons */
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 30px 16px;
}

.filter-btn {
  display: flex;
  padding: 7px 16px;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  border: none;
  font-family: "Crimson Pro", serif;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active {
  background: #8163a7;
  color: white;
}

.filter-btn:not(.active) {
  background: rgba(255, 255, 255, 0.5);
  color: #8163a7;
}

.filter-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.7);
}

/* Content area */
.content {
  background: linear-gradient(90deg, #e7e7dc 0%, #bcd0c7 100%);
  padding: 16px;
  padding-bottom: 32px;
}

/* Section styles */
.section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.location-icon {
  width: 12px;
  height: 16px;
  flex-shrink: 0;
}

.section-header h2 {
  font-family: "Crimson Pro", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #2e6147;
}

.divider {
  flex: 1;
  height: 1px;
  background: rgba(129, 99, 167, 0.2);
}

/* Items */
.items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.item {
  display: flex;
  padding: 18px;
  gap: 12px;
  border-radius: 16px;
  border: 2px solid #907045;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.item:hover {
  box-shadow:
    0px 6px 12px rgba(0, 0, 0, 0.15),
    0px 15px 25px rgba(0, 0, 0, 0.15);
}

.item:nth-child(odd) {
  background: #e7e7dc;
}

.item:nth-child(even) {
  background: #bcd0c7;
}

.item-image {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid #bfa14b;
  object-fit: cover;
  flex-shrink: 0;
}

.item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.item-content h3 {
  font-family: "Crimson Pro", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #2e6147;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-content .location {
  font-family: "Crimson Pro", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #8163a7;
}

.item-content .description {
  font-family: "Crimson Pro", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #8163a7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.heart-icon {
  display: flex;
  width: 16px;
  height: 16px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.heart-icon:hover {
  transform: scale(1.1);
}

.heart-icon:not(.favorited) svg path {
  fill: transparent;
  stroke: #ccc;
  stroke-width: 1;
}

.heart-icon:not(.favorited):hover svg path {
  stroke: #8163a7;
}

/* Load more button */
.load-more {
  display: flex;
  justify-content: center;
  padding: 32px 85px 16px 85px;
}

.load-more-btn {
  display: flex;
  padding: 10px 32px;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  border: none;
  background: #8163a7;
  color: white;
  font-family: "Crimson Pro", serif;
  font-size: 16px;
  font-weight: 400;
  box-shadow:
    0px 4px 6px rgba(0, 0, 0, 0.1),
    0px 10px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.load-more-btn:hover {
  background: #6d4e8b;
  transform: translateY(-1px);
}

/* Footer */
.footer {
  text-align: center;
  padding: 15px 124px;
}

.footer p {
  font-family: "Crimson Pro", serif;
  font-size: 12px;
  font-weight: 400;
  color: #8163a7;
}

/* Responsive design */
@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }

  .container {
    padding: 0.5rem 0;
  }

  .main-card {
    max-width: 100%;
  }

  .header {
    padding: 8px 12px;
  }

  .filters {
    padding: 0 12px 20px 12px;
    flex-wrap: wrap;
  }

  .content {
    padding: 12px;
  }

  .load-more {
    padding: 24px 40px 16px 40px;
  }

  .footer {
    padding: 15px 60px;
  }
}

@media (min-width: 768px) {
  .main-card {
    max-width: 480px;
  }
}

@media (min-width: 1024px) {
  .main-card {
    max-width: 520px;
  }
}
