/*
 * Custom styles for Cluck Ya Poultry
 *
 * This stylesheet defines the color palette and basic styling rules
 * inspired by the Cluck‑Ya logo. Primary colors are a rich barn‑red
 * and a warm golden yellow sampled directly from the uploaded logo.
 */

/* CSS custom properties make it easy to adjust the site’s palette in one
 * place. We alias Bootstrap’s primary and secondary variables to these
 * custom colors so all components (buttons, alerts, etc.) inherit our
 * palette automatically. */
:root {
  /* Primary: deep red taken from the comb on the Cluck‑Ya rooster */
  --primary-color: #ae2c2d;
  --primary-color-rgb: 174, 44, 45;

  /* Secondary: golden yellow sampled from the beak */
  --secondary-color: #e9d968;
  --secondary-color-rgb: 233, 217, 104;

  /* Background neutrals: soft creams and beiges to complement the logo */
  --light-bg: #f9f6f1;
  --lighter-bg: #fdfbf8;
  --lightest-bg: #fcfaf8;

  /* Map our palette to Bootstrap variables */
  --bs-primary: var(--primary-color);
  --bs-primary-rgb: var(--primary-color-rgb);
  --bs-secondary: var(--secondary-color);
  --bs-secondary-rgb: var(--secondary-color-rgb);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  /* Prevent accidental horizontal scrolling due to overflowing images/text */
  overflow-x: hidden;
}

/* Top bar with tagline */
.top-bar {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Navigation */
.navbar {
  background-color: #ffffff;
}
.navbar-brand .logo-img {
  height: 55px;
  width: auto;
}
.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-color);
}

.hero {
  position: relative;
  height: 400px;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* .hero {
  position: relative;
  height: 400px;
  background: #f9f6f1 url('../images/hero.png') center/contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
} */

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* Button overrides to use our palette */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #8c2223;
  border-color: #8c2223;
}
.btn-outline-light {
  color: #ffffff;
  border-color: #ffffff;
}
.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: #ffffff;
  color: var(--primary-color);
  border-color: #ffffff;
}

/* Section backgrounds alternate to provide gentle visual rhythm */
.why-section {
  background-color: var(--lighter-bg);
}
.about-section {
  background-color: var(--lightest-bg);
}
.reviews-section {
  background-color: var(--lighter-bg);
}
.partners-section {
  background-color: var(--lightest-bg);
}
.order-section {
  background-color: var(--lighter-bg);
}
.social-section {
  background-color: var(--lightest-bg);
}

/* Feature icons adopt our primary colour */
.feature-icon i {
  color: var(--primary-color);
}

/* Cards */
.card {
  border-radius: 0.5rem;
}
.card-body .bi-star-fill {
  color: var(--primary-color);
}

/* Footer styling */
.footer-section {
  background-color: var(--light-bg);
  color: #333;
}
.footer-link {
  color: #444;
  text-decoration: none;
}
.footer-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
/* Small text in footer */
.footer-section small {
  color: #777;
}