/*
Theme Name: Railroad Backdrops Custom Theme
Theme URI: https://rr.humzaahmed.com
Description: Custom theme to replicate the Seaboard design and implement core functionality without heavy builders.
Author: Antigravity Dev
Template: hello-elementor
Version: 1.0.0
*/

:root {
  --primary-color: #5BBA47;
  --primary-hover: #4ca03d;
  --dark-bg: #111111;
  --light-mint: #e2f3e5;
  --text-light: #ffffff;
  --text-dark: #333333;
  --font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: #ffffff;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* --- HEADER --- */
header.site-header {
  background-color: #000;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.header-nav ul li a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
}

.header-nav ul li a:hover {
  color: var(--primary-color);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-btn {
  color: #fff;
  border: 1px solid #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 6px 10px;
  outline: none;
  font-size: 14px;
  width: 120px;
}

.search-box button {
  background: transparent;
  color: #fff;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1496262967815-132206202600?auto=format&fit=crop&q=80') center/cover no-repeat;
  text-align: center;
  padding: 120px 20px;
  color: #fff;
}

.hero-section h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

/* --- BANNER --- */
.green-banner {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

/* --- ABOUT SECTION --- */
.about-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1542282811-943ef1a977c3?auto=format&fit=crop&q=80') center/cover no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
}

.about-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.about-section h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 30px;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-section a {
  color: #ff5252;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
  border: none;
}

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

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.news-card {
  background-color: var(--light-mint);
  max-width: 350px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.news-card img {
  width: 50px;
  margin-bottom: 20px;
}

.news-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #000;
}

.news-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

/* --- QUICK OPT-IN SECTION --- */
.quick-optin {
  background-color: var(--primary-color);
  padding: 40px 20px;
  text-align: center;
}
.quick-optin h2 {
  color: #000;
  font-size: 36px;
  margin-bottom: 20px;
  background: #fff;
  display: inline-block;
  padding: 10px 40px;
  border-radius: 5px;
  margin-top: -80px;
  transform: translateY(-20px);
}
.optin-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.optin-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px;
}
.optin-form button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0 30px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

/* --- FULL FORM SECTION --- */
.full-form-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1510253687848-185489063229?auto=format&fit=crop&q=80') center/cover no-repeat;
  padding: 80px 20px;
  color: #fff;
}
.full-form-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #000;
  background: #fff;
  display: inline-block;
  padding: 15px 40px;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form label {
  font-size: 14px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
}
.contact-form textarea {
  height: 120px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checkbox-row input {
  width: auto;
  margin-top: 4px;
}

/* --- FOOTER --- */
footer.site-footer {
  background-color: #000;
  color: #fff;
  padding: 60px 40px 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #333;
  padding-bottom: 30px;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #fff;
}
.footer-col ul li a:hover {
  color: var(--primary-color);
}
.copyright {
  text-align: center;
  color: var(--primary-color);
  font-size: 12px;
}
