/* ==========================================================================
   Taggart Seed — flat static site stylesheet
   ========================================================================== */

:root {
  --color-navy: #262a4f;
  --color-red: #c1272d;
  --color-text: #656565;
  --color-dark: #313131;
  --color-white: #ffffff;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 15px;
  position: relative;
  min-height: 56px;
}

.navbar .logo {
  position: absolute;
  left: 15px;
  top: 0;
  z-index: 10;
  line-height: 0;
}

.navbar .logo img {
  height: 150px;
}

@media (max-width: 767px) {
  .navbar {
    justify-content: space-between;
  }
  .navbar .logo {
    position: static;
    margin-right: auto;
  }
  .navbar .logo img {
    height: 60px;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 20px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--color-dark);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 10px 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 10px 0; }
  .navbar { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: url('../img/D54D636C-6CFA-453A-8493-618AED63843B.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(38, 42, 79, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 15px;
  color: var(--color-white);
  text-align: left;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 27px;
  line-height: 1.3;
  margin: 0 0 4px;
  color: var(--color-white);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 27px;
  margin: 0 0 20px;
  color: var(--color-white);
  font-weight: 400;
}

.hero-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 8px 25px;
  transition: background 0.2s;
}

.hero-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

@media (max-width: 767px) {
  .hero { min-height: 300px; }
  .hero-content { padding: 60px 15px 0; }
  .hero-title { font-size: 18px; }
  .hero-subtitle { font-size: 16px; }
  .hero-btn { font-size: 10px; letter-spacing: 2px; padding: 5px 10px; }
}

/* ---------- Divider band ---------- */

.divider-band {
  height: 50px;
  background: var(--color-navy);
}

/* ---------- Intro / about section ---------- */

.intro-section {
  padding: 40px 15px;
}

.intro-content {
  display: flex;
  gap: 0;
  align-items: flex-start;
  flex-wrap: wrap;
}

.intro-image {
  flex: 1 1 33.33%;
  min-height: 240px;
  background-image: url('../img/48FA8018-E508-420C-9325-88643FC4BCD2.jpg');
  background-position: center center;
  background-size: cover;
  border-radius: 2px;
}

.intro-text {
  flex: 1 1 66.67%;
  padding: 0 0 0 40px;
}

.intro-text h2 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin-top: 0;
  font-size: 26px;
  letter-spacing: 0.5px;
}

.intro-text p {
  margin: 0 0 16px;
}

@media (max-width: 767px) {
  .intro-image { flex: 1 1 100%; margin-bottom: 20px; }
  .intro-text { flex: 1 1 100%; padding: 0; }
}

/* ---------- Footer info / map ---------- */

.footer-info {
  border-top: 1px solid #eee;
  padding: 30px 0;
  background: #fafafa;
}

.footer-info .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info .address {
  flex: 1 1 300px;
}

.footer-info .address h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-dark);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-info .map {
  flex: 2 1 400px;
}

.footer-info .map iframe {
  width: 100%;
  height: 259px;
  border: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-dark);
  color: #ccc;
  padding: 18px 0;
  font-size: 13px;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer .think img {
  height: 20px;
}

/* ---------- About page ---------- */

.page-banner {
  background-image: url('../img/D54D636C-6CFA-453A-8493-618AED63843B.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 242px;
}

@media (max-width: 767px) {
  .page-banner { height: 200px; }
}

.section-label {
  background: #262c4e;
  color: #fff;
  padding: 10px 0;
  margin: 0 0 25px;
}

.section-label .container h4 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 400;
}

.about-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-intro-image {
  flex: 1 1 50%;
  min-height: 220px;
  background-image: url('../img/IMG_8885.jpg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-intro-content {
  flex: 1 1 50%;
  padding: 60px 60px;
}

.about-intro-content h2 {
  font-family: 'Open Sans', var(--font-body);
  font-size: 24px;
  color: #212529;
  margin: 0 0 20px;
  font-weight: 400;
}

.about-intro-content p {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 26px;
  color: #555;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 767px) {
  .about-intro-content { padding: 30px 20px 40px; }
}

.about-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 20px 15px;
  margin: 0 auto 40px;
}

.about-services-text {
  flex: 2 1 400px;
  padding: 0 60px 0 20px;
}

.about-services-text h3 {
  font-family: var(--font-body);
  color: #262c4e;
  font-size: 24px;
  margin: 0 0 12px;
}

.about-services-text p {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 26px;
  color: #555;
  font-weight: 300;
  margin: 0 0 20px;
}

.about-services-text .btn-navy {
  display: inline-block;
  background: #262c4e;
  color: #fff;
  font-size: 14px;
  padding: 12px 25px;
  border-radius: 4px;
  transition: background 0.2s;
}

.about-services-text .btn-navy:hover {
  background: var(--color-red);
}

.about-services-image {
  flex: 1 1 250px;
}

.about-services-image img {
  border-radius: 2px;
}

/* ---------- Services page ---------- */

.services-banner {
  background-image: url('../img/rice-and-corn-587593_1280.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 242px;
}

@media (max-width: 767px) {
  .services-banner { height: 200px; }
}

.section-label-red {
  background: #c1272d;
  color: #fff;
  padding: 10px 0;
  margin: 0 0 25px;
}

.section-label-red .container h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 400;
}

.tabs-wrap {
  display: flex;
  gap: 20px;
  padding: 20px 15px 50px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: flex-start;
}

.tab-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 26%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-nav li {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.tab-nav li button {
  width: 100%;
  text-align: center;
  background: none;
  border: 0;
  padding: 10px 6px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  font-family: var(--font-body);
}

.tab-nav li:hover {
  background: rgba(38, 44, 78, 0.15);
}

.tab-nav li:hover button {
  color: #262c4e;
}

.tab-nav li.active {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.tab-nav li.active button {
  color: #262c4e;
  font-weight: 600;
}

.tab-content-wrap {
  flex: 1;
  padding: 15px 40px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-family: var(--font-body);
  color: var(--color-dark);
  margin-top: 0;
  font-size: 22px;
}

.tab-panel p {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 26px;
  color: #555;
  font-weight: 300;
}

.tab-panel ul {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 26px;
  color: #555;
  padding-left: 20px;
}

@media (max-width: 767px) {
  .tabs-wrap { flex-direction: column; }
  .tab-nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 100%; }
  .tab-nav li { flex: 1 1 40%; }
  .tab-content-wrap { padding: 15px 8px; }
}

/* ---------- Contact page ---------- */

.contact-banner {
  background-image: url('../img/sunrise-429902_1280.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 242px;
}

@media (max-width: 767px) {
  .contact-banner { height: 200px; }
}

.contact-divider {
  height: 62px;
  background: #262a4f;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 25px;
}

.contact-photo {
  flex: 1 1 50%;
  min-height: 380px;
  background-image: url('../img/20140301_Trade-151_0124-copy.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-info {
  flex: 1 1 50%;
  padding: 25px 40px;
}

.contact-info h2 {
  font-family: var(--font-body);
  color: var(--color-dark);
  margin: 0 0 20px;
  font-size: 26px;
}

.contact-card {
  margin: 0 0 20px;
}

.contact-card .name {
  margin: 0 0 2px;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 16px;
}

.contact-card .title {
  font-size: 14px;
  color: var(--color-text);
}

.contact-card .details {
  font-size: 14px;
  margin: 2px 0 0;
}

.contact-card .details a {
  color: #262c4e;
  text-decoration: none;
}

.contact-card .details a:hover {
  color: var(--color-red);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .contact-photo { min-height: 220px; }
  .contact-info { padding: 25px 20px 40px; }
}