/* Gold Market Page Styles */
.market-hero {
  position: relative;
  height: 50vh;
  background: url('../images/about.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 70px;
}

.market-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.market-hero .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: var(--secondary);
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.market-hero .hero-content p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Chart Section */
.chart-section {
  padding: 4rem 0;
  background: white;
}

.chart-wrapper {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.chart-wrapper h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.chart-wrapper p {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.chart-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Newsletter */
.newsletter-section {
  padding: 3rem 0;
  background: var(--light);
}

.newsletter-box {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 1rem;
}

.btn-subscribe {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .chart-frame iframe {
    height: 450px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .btn-subscribe {
    width: 100%;
  }
}
