@import url('https://fonts.googleapis.com/css2?family=Cardo:ital@1&family=Rubik:wght@400;700&display=swap');

:root {
  --primary-font: 'Rubik', sans-serif;
  --serif-font: 'Cardo', serif;
  --primary-color: #000;
  --accent-color: #fff;
  --overlay-color: rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--primary-font);
  background-color: #fff;
  color: var(--primary-color);
  line-height: 1.6;
  padding-bottom: 2rem;
}

header, section, footer {
  padding: 1.5rem;
  text-align: center;
}

/* Header */
header {
  background: #f3f3f3;
  border-bottom: 1px solid #ddd;
}

.logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: #eee;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.2rem;
  font-family: var(--serif-font);
  font-style: italic;
  margin-bottom: 1rem;
  color: #111;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}

/* About / Contact */
#about, #contact {
  max-width: 800px;
  margin: 2rem auto;
}

/* Products Section */
.products-section h2 {
  margin-top: 2rem;
}

.page-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
}

/* Card Styling */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 400px;
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  backdrop-filter: blur(3px);
}

.title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.copy {
  font-family: var(--serif-font);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #000;
  color: #fff;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #333;
}

#contact a {
  color: #000;
  text-decoration: underline;
}

footer {
  background-color: #000;
  color: white;
  padding: 1rem;
  font-size: 0.9rem;
}
