/* VineyardBroker Static Site - Based on Landscape Theme */

html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #ffffff;
  margin: 0;
  color: #777777;
  font-family: "Open Sans", helvetica, arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: "Libre Baskerville", georgia, serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.375rem; margin-bottom: 1.25rem; }

p {
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

b, strong { font-weight: 700; }
em, i { font-style: italic; }

a {
  color: #4a4a4a;
  text-decoration: none;
  transition: all .4s ease-in-out;
}

a:hover, a:focus, a:active {
  color: #111;
  transition: all .4s ease-in-out;
}

img {
  height: auto;
  max-width: 100%;
  border: 0;
}

ul, ol {
  margin: 0 0 3rem 1.5rem;
}

ul { list-style: disc; }
ol { list-style: decimal; }

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

.assistive-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}

/* Clearings */
.clear::after,
.entry-content::after,
.site-header::after,
.site-content::after,
.site-footer::after {
  clear: both;
  content: "";
  display: block;
}

/* Layout */
.wrap {
  margin: 0 auto;
  max-width: 62.5rem;
  padding: 0 2.5rem;
  overflow: hidden;
}

.site-content {
  margin: 3.75rem auto;
}

.primary {
  width: 100%;
}

/* Header */
.site-header {
  background-size: cover;
  background-position: center center;
  height: 31.25rem;
  max-width: 100%;
  position: relative;
}

.site-header .site-branding {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 62.5rem;
  padding: 0 2.5rem;
  box-sizing: border-box;
}

.header-overlay {
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .header-overlay {
  background-color: rgba(0, 0, 0, 0.1);
}

.site-title {
  font-family: "Libre Baskerville", georgia, serif;
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.625rem;
  padding: 0;
  position: relative;
}

.site-title a,
.site-title a:hover {
  color: #ffffff;
}

.site-title a:hover {
  opacity: 0.7;
}

.site-description {
  color: #ffffff;
  font-size: 1rem;
  font-family: "Libre Baskerville", georgia, serif;
  font-weight: 400;
  margin: -0.25rem auto 0;
  max-width: 70%;
  padding: 0;
}

/* Navigation */
.main-navigation {
  background: #111111;
  display: block;
  font-family: "Libre Baskerville", georgia, serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  width: 100%;
  position: relative;
  z-index: 99999;
}

.main-navigation a {
  color: #ffffff;
}

.main-navigation a:hover {
  color: #999;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-navigation ul li {
  display: inline-block;
  position: relative;
}

.main-navigation ul li:after {
  color: #666666;
  content: "|";
  display: inline;
  font-size: 0.75rem;
  font-style: italic;
  margin: 0 0 0 0.625rem;
  padding: 0 0.625rem 0 0;
  position: relative;
  top: -0.0625rem;
  left: -0.0625rem;
}

.main-navigation ul li:last-child:after {
  content: normal;
  margin: 0;
  padding: 0;
}

.main-navigation ul a {
  display: inline-block;
  font-style: normal;
  padding: 0.625rem;
  text-decoration: none;
}

.main-navigation ul a:hover {
  color: #999;
}

.main-navigation li.current a {
  color: #999;
}

/* Content */
.entry-title,
.entry-title a {
  color: #000000;
  font-size: 1.625rem;
  font-weight: normal;
  text-align: left;
  text-decoration: none;
  text-transform: capitalize;
}

.page-title {
  color: #000000;
  margin-bottom: 2.5rem;
  text-align: center;
}

.hentry {
  margin: 0;
  padding: 0;
}

.entry-content,
.entry-summary {
  margin: 1.25rem 0;
}

.entry-content ul {
  margin: 0 0 1.5rem 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: #eff1f1;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: #666666;
  display: block;
  font-size: 0.9375rem;
  line-height: 1.45;
  padding: 0.625rem;
  transition: all .4s ease-in-out;
  -webkit-appearance: none;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  background: #f4f7f7;
  color: #333333;
  transition: all .4s ease-in-out;
}

input[type="submit"] {
  background-color: #272727;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.625rem 1.5rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .4s ease-in-out;
  -webkit-appearance: none;
}

input[type="submit"]:hover {
  background-color: #e6e6e6;
  color: #272727;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin-top: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 600;
  color: #555;
  font-size: 0.875rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-success {
  color: #2e7d32;
  font-weight: 600;
  padding: 1rem 0;
}

.form-error {
  color: #c0392b;
  font-weight: 600;
  padding: 1rem 0;
}

/* Homepage Sections */
.home-intro {
  text-align: center;
  padding: 3rem 0 2rem;
}

.home-intro h2 {
  color: #333;
  font-size: 1.5rem;
  font-weight: 400;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
}

.home-intro p {
  max-width: 44rem;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #555;
}

.home-services {
  padding: 2rem 0 3rem;
}

.home-services-grid {
  display: flex;
  gap: 2rem;
}

.home-service-card {
  flex: 1;
  border: 1px solid #e6e6e6;
  padding: 2rem;
  transition: box-shadow .3s ease;
}

.home-service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.home-service-card h3 {
  color: #333;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.home-service-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 1.25rem;
}

.card-link {
  font-family: "Libre Baskerville", georgia, serif;
  font-size: 0.8125rem;
  font-style: italic;
  color: #4a4a4a;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
  transition: all .3s ease;
}

.card-link:hover {
  color: #111;
  border-bottom-color: #111;
}

.home-why {
  background: #f7f7f5;
  padding: 3.5rem 0;
}

.home-why h2 {
  text-align: center;
  color: #333;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.home-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.home-why-item strong {
  display: block;
  font-family: "Libre Baskerville", georgia, serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.home-why-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

.home-cta {
  text-align: center;
  padding: 3.5rem 0;
}

.home-cta h2 {
  color: #333;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.home-cta p {
  color: #555;
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
}

.cta-phone {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background: #272727;
  color: #fff;
  font-family: "Libre Baskerville", georgia, serif;
  font-size: 0.875rem;
  padding: 0.875rem 2.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all .4s ease-in-out;
}

.cta-button:hover {
  background: #555;
  color: #fff;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #bbb;
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-page .site-footer {
  margin-top: 0;
}

.footer-columns {
  display: flex;
  gap: 2rem;
  max-width: 62.5rem;
  margin: 0 auto;
  padding: 3rem 2.5rem 2rem;
}

.footer-column {
  flex: 1;
}

.footer-column h4 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: "Libre Baskerville", georgia, serif;
}

.footer-column address {
  font-style: normal;
  line-height: 1.7;
  font-size: 0.875rem;
}

.footer-column address p {
  margin: 0 0 0.5rem;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #bbb;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color .3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #888;
}

.site-info {
  margin: 0 auto;
  max-width: 62.5rem;
  padding: 0 2.5rem;
  clear: both;
  text-align: left;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  color: #ffffff;
  cursor: pointer;
  font-family: "Libre Baskerville", georgia, serif;
  font-size: 0.875rem;
  padding: 0.75rem 0;
  text-transform: uppercase;
  text-align: center;
  background: #111111;
  border: none;
  width: 100%;
}

/* Responsive */
@media screen and (max-width: 767px) {
  .main-navigation {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active + .main-navigation {
    display: block;
  }

  .main-navigation ul {
    float: none;
    right: auto;
    text-align: center;
  }

  .main-navigation ul li {
    display: block;
    left: auto;
  }

  .main-navigation ul li:after {
    content: normal;
  }

  .main-navigation ul a {
    display: block;
    padding: 0.75rem;
  }

  .site-header {
    height: 20rem;
  }

  .site-title {
    font-size: 1.5rem;
  }

  .site-description {
    font-size: 0.875rem;
    max-width: 90%;
  }

  .wrap {
    padding: 0 1.25rem;
  }

  .home-services-grid {
    flex-direction: column;
  }

  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .home-intro h2 {
    font-size: 1.25rem;
  }
}

@media screen and (min-width: 768px) {
  .site-header {
    height: 40.625rem;
  }

  .site-title {
    font-size: 2.5rem;
  }

  .entry-title,
  .entry-title a {
    font-size: 2.375rem;
    text-align: center;
  }

}

@media screen and (min-width: 1000px) {
  .wrap {
    padding: 0;
  }

  .footer-columns {
    padding: 3rem 0 2rem;
  }
}
