:root {
  --primary-color: #c5a059; /* Gold/Brass */
  --primary-hover: #b38e4a;
  --bg-dark: #0a0e14;
  --bg-card: #141a23;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --accent-blue: #3b82f6;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

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

/* Header */
header {
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(12px);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 2px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.15), transparent 70%);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Search Box */
.search-box {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 0.5rem;
  border-radius: 100px;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(197, 160, 89, 0.2);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  outline: none;
}

.search-btn {
  background: var(--primary-color);
  color: #000;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.search-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Post Grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.post-card {
  background: var(--bg-card);
  border-radius: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border-color: rgba(197, 160, 89, 0.3);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 3:2 Aspect Ratio */
  overflow: hidden;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.post-card:hover .card-img {
  transform: scale(1.1);
}

.card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.card-addr {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.card-addr i {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-reviews {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-reviews span {
    color: var(--text-light);
    font-weight: 600;
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Footer */
footer {
  padding: 4rem 0;
  background: #05070a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .search-box {
    border-radius: 20px;
    flex-direction: column;
    padding: 1rem;
  }
  
  .search-input {
    padding: 1rem 0;
    text-align: center;
  }
  
  .search-btn {
    width: 100%;
  }
  
  .hero {
      padding: 5rem 0 3rem;
  }
}
