/*
 * Custom styles for the Reflex of the Soles site copy.
 *
 * This stylesheet provides a clean, modern look that
 * mirrors the original B12‑generated design. Colours,
 * typography and spacing are chosen to evoke calm and
 * professionalism while ensuring good readability across
 * devices. A simple responsive layout is used so content
 * adapts gracefully on smaller screens.
 */

/* Basic resets and global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #162415;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Top promotional banner */
.top-banner {
  background-color: #162415;
  color: #ffffff;
  font-size: 0.9rem;
  text-align: center;
  padding: 8px 0;
}
.top-banner a {
  color: #32aa27;
  font-weight: 600;
  margin-left: 4px;
}

/* Header with navigation */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-weight: 500;
  color: #162415;
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: #32aa27;
}

/* Buttons */
.btn {
  background-color: #32aa27;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 2px;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #28961f;
}

/* Hero section */
.hero {
  position: relative;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dark overlay for readability */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

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

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

.hero p {
  font-size: 1.2rem;
  font-weight: 400;
}

/* About section */
.about-section {
  padding: 70px 0;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #162415;
}

.about-text p {
  font-size: 1rem;
  color: #333333;
}

.about-image {
  flex: 1 1 50%;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Services section */
.services-section {
  background-color: #eef1ef;
  padding: 70px 0;
}

.services-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 600;
  color: #162415;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #162415;
  margin-bottom: 5px;
}

.card .price {
  color: #32aa27;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  color: #555555;
  font-size: 0.95rem;
}

/* Contact section */
.contact-section {
  padding: 70px 0;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form,
.contact-info {
  flex: 1 1 50%;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #162415;
}

.contact-form label {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  margin-top: 5px;
  font-size: 0.95rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox {
  margin: 15px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #555555;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #162415;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #162415;
}

.contact-info p,
.contact-info li {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours li {
  margin-bottom: 5px;
}

/* Footer */
footer {
  background-color: #162415;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-links a {
  color: #32aa27;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #2a9621;
}

.credit {
  font-size: 0.8rem;
  color: #aaaaaa;
}

.required {
  color: #e74c3c;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .about-grid,
  .contact-grid {
    flex-direction: column;
  }
  .about-text,
  .about-image,
  .contact-form,
  .contact-info {
    flex: 1 1 100%;
  }
  nav ul {
    gap: 15px;
  }
}