/* Import Decorative Font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Cinzel:wght@400;600&display=swap');

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

/* Body */
body {
  background: radial-gradient(circle at top, #2b1d14, #0f0a07);
  color: #e7dcc8;
  min-height: 100vh;
  padding: 50px 20px;
  font-family: "Playfair Display", serif;
}

/* Header */
.page-header {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.page-header h1 {
  font-family: "Cinzel", serif;
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.page-header p {
  font-style: italic;
  color: #c7b59b;
}

/* Projects Grid */
.projects {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Card */
.project-card {
  background: linear-gradient(145deg, #1b120c, #2a1b12);
  border: 2px solid #6b4a2f;
  padding: 28px;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6),
              0 15px 30px rgba(0,0,0,0.7);
  position: relative;
  transition: transform 0.3s ease;
}

/* Decorative Corners */
.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #b89b6a;
}

.project-card::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.project-card::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

/* Hover */
.project-card:hover {
  transform: translateY(-6px);
}

/* Title */
.project-card h3 {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #e6cfa3;
}

/* Description */
.project-card p {
  line-height: 1.7;
  color: #d8c8a8;
  margin-bottom: 22px;
}

/* Button */
.project-card a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #c0a36a;
  color: #f1e2c6;
  text-decoration: none;
  font-style: italic;
  background: transparent;
  transition: all 0.3s ease;
}

.project-card a:hover {
  background: #c0a36a;
  color: #1b120c;
}

/* Mobile */
@media (max-width: 600px) {
  .page-header h1 {
    font-size: 2.3rem;
  }
}
