/* === Rhodium Gate Theme Variables === */
:root {
  --rhodium: #e5e4e2;
  --gold: #d4af37;
  --green: #228B22;
  --overlay-dark: rgba(0, 0, 0, 0.6);
  --overlay-light: rgba(255, 255, 255, 0.2);
}

/* === Base Styles === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}

/* === Backgrounds === */
.home-background {
  background-image: url('home-bg.jpg'); /* Ensure this file is in /public_html */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}

.contact-background {
  background-image: url('contact-bg.jpg'); /* Ensure this file is in /public_html */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}

/* === Overlay Layer === */
.overlay {
  background-color: var(--overlay-dark);
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.home-background::before,
.contact-background::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom right, var(--overlay-dark), var(--overlay-light));
  z-index: 0;
}

/* === Header === */
header {
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2.5rem;
  color: var(--gold);
}

header p {
  font-size: 1.2rem;
  color: var(--rhodium);
}

/* === Navigation === */
nav {
  text-align: center;
  margin-bottom: 2rem;
}

nav a {
  color: var(--green);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

nav a:hover {
  color: #1e6f1e;
}

/* === Hero Section === */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to right, var(--rhodium), var(--gold));
  color: #000;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* === CTA Button === */
.cta-button {
  background-color: var(--green);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: #1e6f1e;
}

/* === Welcome Section === */
.welcome {
  text-align: center;
  padding: 2rem;
}

/* === Contact Section === */
main section {
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

/* === Footer === */
footer {
  background-color: var(--rhodium);
  color: #000;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* === Responsive Layout === */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }
}
