/* Style sheet for Royal Gameday website */

/* Root variables for brand colours */
:root {
  --purple: #4F1785;
  --gold: #C9A646;
  --light-bg: #F5F5F5;
  --dark-text: #2A2A2A;
  --max-width: 1100px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

/* Utility classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

section.section {
  padding: 3rem 0;
}

/* Hero section */
.hero {
  position: relative;
  height: 70vh;
  /* Use the tailgate photo as the hero background with a subtle gradient overlay */
  background: url('hero.jpg') no-repeat center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-logo {
  width: 300px;
  height: auto;
  /* Reduce spacing below the logo so the tagline sits closer */
  margin-bottom: 0.5rem;
}

/* Overlay for hero section to improve text contrast */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(79, 23, 133, 0.8) 0%, rgba(201, 166, 70, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  color: white;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: var(--gold);
}
.btn-primary:hover {
  background-color: #af8e36;
}

.btn-secondary {
  background-color: var(--purple);
}
.btn-secondary:hover {
  background-color: #3e1167;
}

/* About section */
.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--purple);
  text-align: center;
}
.about p {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  font-size: 1rem;
}

/* Packages section */
.packages h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--purple);
  text-align: center;
}

.package-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.package-cards .card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  flex: 1 1 280px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card h3 {
  margin-top: 0;
  color: var(--purple);
}
.card .price {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: var(--gold);
}
.card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.card li {
  padding: 0.25rem 0;
}
.package-cards .card:nth-child(2) {
  background-color: #FAF7F0;
}
.package-cards .card:nth-child(3) {
  background-color: #F7F2E2;
}
.packages .note {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: #666;
}

/* Pilot section */
.pilot h2 {
  color: var(--purple);
  text-align: center;
  margin-bottom: 1rem;
}
.pilot p, .pilot ul {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  text-align: center;
}
.pilot ul {
  list-style-type: none;
  padding: 0;
}
.pilot li {
  margin-bottom: 0.5rem;
}

/* Center the availability button in the pilot section */
.pilot .btn-secondary {
  display: inline-block;
  margin: 1.5rem auto 0 auto;
}

/* Center text and elements within the pilot container */
.pilot .container {
  text-align: center;
}

/* Impact section */
.impact {
  background-color: #FFFDEE;
}
.impact h2 {
  color: var(--purple);
  text-align: center;
  margin-bottom: 1rem;
}
.impact p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Contact section */
.contact h2 {
  text-align: center;
  color: var(--purple);
  margin-bottom: 1rem;
}
.contact p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-form label {
  font-weight: bold;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form button {
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: var(--purple);
  color: white;
  text-align: center;
  padding: 1rem 0;
}
.footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .package-cards {
    flex-direction: column;
    align-items: center;
  }
}