* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

h1, h2, .logo {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}

body {
  background: #f7f5f2;
  color: #2c2c2c;
  line-height: 1.6;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;

  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.7); /* semi-transparent */
  backdrop-filter: blur(10px); /* 🔥 blur effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.6;
}

/* Hero */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #eae7e2;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 2px;
}

.hero p {
  max-width: 500px;
  margin-bottom: 20px;
}

.hero button {
  padding: 10px 20px;
  border: none;
  background: #2c2c2c;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.hero button:hover {
  background: #444;
}

/* Sections */
.section {
  padding: 100px 40px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Card container */
.card {
  width: 100%;
  height: 340px; /* controls uniform height */
  overflow: hidden;
  background: #ddd;
  border-radius: 4px;
}

/* Image inside card */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 key part */
  display: block;
}

.card {
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::after {
  opacity: 1;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}
