/*
Theme Name: 290 Custom Theme
Author: Angel Solis
Version: 1.0
Description: Fully custom theme for 290 Investing. No parent theme needed.
*/

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #0c0c0c;
}

/* Hero Section */
.hero-section {
  background-color: #0a2a4a;
  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
}

.hero-section h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-btn {
  background-color: #f76818;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #e05c12;
}

@media (min-width: 600px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* How It Works Section */
.how-it-works {
  padding: 60px 20px;
  text-align: center;
  background-color: #f7f8fa;
}

.how-it-works h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0a2a4a;
}

.how-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.how-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  text-align: center;
}

.how-card img {
  height: 48px;
  margin-bottom: 16px;
}

.how-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0a2a4a;
  margin-bottom: 8px;
}

.how-card p {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

@media (min-width: 768px) {
  .how-cards {
    flex-direction: row;
    justify-content: center;
  }
}

/* Featured Listings Section */
.featured-listings {
  padding: 60px 20px;
  text-align: center;
  background-color: #ffffff;
}

.featured-listings h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0a2a4a;
}

.listing-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.listing-card {
  background-color: #f7f8fa;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  text-align: left;
}

.listing-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.listing-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0a2a4a;
}

.listing-card p {
  font-size: 14px;
  color: #333333;
  margin: 2px 0;
}

@media (min-width: 768px) {
  .listing-cards {
    flex-direction: row;
    justify-content: center;
  }
}
