:root {
  --bg-color: #f6efde;
  --text-primary: #1e1e1e;
  --accent-color: #aa3434;
  --footer-bg: #1e1e1e;
  --footer-text: #f6efde;
  --border-color: #382614;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: "Newsreader", serif;
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Neuton", serif;
  font-weight: 400;
  margin: 0;
}

/* Header */
.main-header {
  text-align: center;
  padding-top: 20px;
}

.site-title {
  font-family: "Neuton", serif;
  font-size: 40px;
  letter-spacing: 7px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.main-nav {
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  padding: 15px 0;
  box-shadow: 0px 1px 4.2px #00000020;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 100px;
}

.main-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  display: flex;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
  gap: 80px;
  align-items: flex-start;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #1e1e1e;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0px 44px 29px #0000001a;
  display: block;
}

/* Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  color: #f6f0df;
  padding: 12px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  gap: 12px;
  box-shadow: 2px 6px 7px #aa34344c;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: #f6f0df;
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.icon-book {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask-image: url('icons/book_2_24dp_5F6368_FILL0_wght400_GRAD0_opsz24.svg');
  mask-image: url('icons/book_2_24dp_5F6368_FILL0_wght400_GRAD0_opsz24.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.btn-primary:hover .icon-book {
  -webkit-mask-image: url('icons/book_ribbon_24dp_5F6368_FILL0_wght400_GRAD0_opsz24.svg');
  mask-image: url('icons/book_ribbon_24dp_5F6368_FILL0_wght400_GRAD0_opsz24.svg');
}

/* Community Section */
.community {
  display: flex;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 40px;
  gap: 80px;
}

.community-visuals {
  flex: 1;
}

.community-visuals h2 {
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 40px;
}

.community-images {
  display: flex;
  gap: 20px;
}

.community-images img {
  width: calc(50% - 10px);
  height: auto;
  box-shadow: 0px 20px 30px #00000015;
}

.community-text {
  flex: 1;
  padding-top: 20px;
}

.community-text p {
  font-size: 18px;
  margin-bottom: 25px;
}

.community-text .btn-primary {
  margin-top: 20px;
}

/* Info Sections (For you / Not for you) */
.info-section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 40px;
  text-align: center;
}

.info-section h2 {
  font-size: 40px;
  margin-bottom: 60px;
}

.card-grid {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  text-align: left;
}

.card {
  flex: 1;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.card p {
  font-size: 17px;
  color: #333;
}

.cta-center {
  margin-top: 60px;
}

/* Footer */
.main-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #f4e8c733;
  padding-top: 40px;
}

.footer-content p {
  font-size: 14px;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero, .community, .card-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .hero-content h1, .community-visuals h2 {
    font-size: 40px;
  }

  .main-nav ul {
    gap: 40px;
  }
}
