/*
 * Simple responsive styling for BetReview.nyc
 * Theme: light background with accent color and clean typography
 */

body {
  margin: 0;
  font-family: "Open Sans", "Helvetica", sans-serif;
  line-height: 1.65;
  background-color: #fdfdfd;
  color: #333;
}

/*
 * Hero header: combine a subtle dark overlay with our abstract sports
 * background. The linear-gradient darkens the image for legibility of the
 * heading and tagline. The padding creates breathing room.
 */
.site-header {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("assets/header-bg.png");
  background-size: cover;
  background-position: center;
}

/* Primary heading uses a display serif for sophistication */
.site-header h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Tagline styling */
.site-header p {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: #fdfdfd;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

.section {
  margin-bottom: 2rem;
}

/* Section headings adopt our display font and accent color */
.section h2 {
  font-family: "Playfair Display", serif;
  color: #e6492f;
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e6492f;
  padding-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}


/* Tables use subtle shadows and rounded corners for a card-like appearance */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  overflow: hidden;
}


table thead {
  background-color: #f9ecea;
}


table th,
table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}


table th {
  background-color: #f5dcd4;
  font-weight: 600;
  color: #333;
}

table tbody tr:nth-child(even) {
  background-color: #fcfbfb;
}

table tbody tr:hover {
  background-color: #f7f3f2;
}


.rating-stars {
  color: #e49b0f; /* golden yellow for stars */
  font-size: 1.05rem;
}

/* Forms */

/* Forms use flexbox for label/input alignment and card styling */
.form {
  background-color: #ffffff;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.form label {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #444;
}


.form input,
.form textarea {
  padding: 0.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Buttons adopt accent color and smooth transitions */
.form button {
  background-color: #e6492f;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease-in-out;
}

.form button:hover {
  background-color: #b5321a;
}

.message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #e6492f;
}

#commentsList {
  margin-top: 1rem;
}

/* Comments are displayed as cards */
.comment {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.comment .comment-meta {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.comment .comment-text {
  white-space: pre-wrap;
}

.site-footer {
  background-color: #f0f0f0;
  color: #666;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
}