* {
  margin: 0;
  padding: 0;
}

body {
  background: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

header p {
  font-size: 16px;
  color: #7f8c8d;
  max-width: 95%;
  margin: 0 auto;
}

.search-box {
  width: 60%;
  margin: auto;
  margin-bottom: 15px;
  position: relative;
}

#search-input {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 30px;
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

#search-input:focus {
  border-color: #3498db;
  box-shadow: 0 2px 15px rgba(52, 152, 219, 0.2);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 20px;
  color: #95a5a6;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.photo-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.photo-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.photo-header {
  padding: 10px 15px;
  background: #bbcedb;
  color: #222;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.photo-icon {
  margin-right: 10px;
  font-size: 20px;
}

.photo-content {
  padding: 15px;
  font-size: 14px;
}

.photo-detail {
  margin-bottom: 12px;
  display: flex;
}

.detail-label {
  width: 100px;
  font-weight: bold;
  color: #7f8c8d;
}

.detail-value {
  flex: 1;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 14px;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}

.no-results {
  text-align: center;
  padding: 50px;
  color: #95a5a6;
  font-size: 16px;
  grid-column: 1 / -1;
}

.category-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 8px 25px;
  margin: 0 8px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.intro-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.intro-title {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.intro-icon {
  margin-right: 10px;
  font-size: 24px;
}

.intro-content p {
  margin-top: 15px;
  line-height: 1.5;
  color: #666;
}
