@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

/* Color Palette: Inspired by Mohonk's natural, elegant tones */
:root {
  --mohonk-dark-green: #3b5043;
  --mohonk-light-green: #d1d9c7;
  --mohonk-white: #f5f5f5;
  --mohonk-tan: #f0ebe2;
  --mohonk-brown: #5d4834;
}

/* Global Styles: Using a serif font for headings and a clean sans-serif for body text */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--mohonk-tan);
    color: var(--mohonk-dark-green);
    box-sizing: border-box;
}

.content-wrapper, .brand-container, main > h1, main > p, main > div:not(.hero-section) {
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* Navbar Styling: The key to the new look */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  height: 80px;
  padding: 0 40px;
  /* Translucent/Frosted Glass Effect */
  background: rgba(240, 235, 226, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
  max-height: 72px;
  background: transparent;
  border-radius: 12px;
  padding: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-start;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--mohonk-dark-green);
    padding: 10px 18px;
    font-weight: 500;
    transition: color 0.2s, text-shadow 0.2s;
}

.nav-links li a:hover, .nav-links li a:focus {
    color: var(--mohonk-brown);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.contact {
  margin-left: auto;
}

.contact a {
  background-color: var(--mohonk-light-green);
  color: var(--mohonk-dark-green) !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--mohonk-dark-green);
  transition: background-color 0.2s, color 0.2s;
}

.contact a:hover {
  background-color: var(--mohonk-dark-green);
  color: var(--mohonk-white) !important;
}

/* Contact page spacing */
.content-wrapper .contact {
  text-align: center !important;
  margin-left: 0 !important;
  display: block;
  width: 100%;
  max-width: 100%;
}

.content-wrapper .contact h1,
.content-wrapper .contact h2 {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  width: 100%; 
}

.content-wrapper .contact p {
  margin-top: 16px;
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper .contact p a {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
}

.content-wrapper .embedsocial-forms-iframe {
  margin-top: 40px;
}

.nav-separator {
  display: none; /* Removed as it's not a feature of the reference site */
}

/* Buttons: Adjusted to a cleaner, more elegant style */
.explore-button a, button, input[type="submit"] {
    display: inline-block;
    background-color: #44624a;
    color: var(--mohonk-white);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.explore-button a:hover, button:hover, input[type="submit"]:hover {
    background-color: #d89d3f;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px) scale(1.03);
}

/*
New Hero Section Styling:
- The height of the hero section is now a percentage of the viewport height (vh)
- The hero image's object-fit property is changed to 'contain'
This ensures the full image is visible, and the hero section resizes gracefully.
*/
.hero-section {
    position: relative;
    width: 100%;
    height: 130vh; /* Set height to 70% of the viewport height */
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* This will show the whole image without cropping */
    filter: brightness(0.92) saturate(1.05);
}

.hero-content {
    position: absolute;
    bottom: 18%;
    left: 7%;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 48%;
}

.hero-content h1 {
    font-size: 3.2em;
    margin: 0 0 18px 0;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff !important;
    font-family: 'Playfair Display', serif;
}

.hero-content p {
    font-size: 1.3em;
    margin: 0 0 24px 0;
    font-weight: 400;
    color: #ffffff !important;
}

/* Card Grid */
.brand-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.brand-card {
  background-color: var(--mohonk-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: none;
  transition: transform 0.2s ease-in-out;
  max-width: 300px;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.brand-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--mohonk-white) !important;
  box-shadow: none !important;
  filter: none !important;
  border: none !important;
  outline: none !important;
}

.brand-card a img {
  background: var(--mohonk-white) !important;
  filter: none !important;
}

.brand-card > a:first-child {
  background: transparent !important;
  display: inline-block;
  padding: 0;
  margin-top: 0;
  border-radius: 0;
}

.brand-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  color: #000000 !important;
  margin: 0 0 12px 0;
}

.brand-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #000000 !important;
}

.brand-card p strong {
  color: #000000 !important;
}

main h1 {
  color: #000000 !important;
}

main p {
  color: #000000 !important;
  font-size: 1.3em;
}

.brand-card a:last-child {
  display: inline-block;
  margin-top: 16px;
  background-color: #44624a;
  color: var(--mohonk-white) !important;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.brand-card > a:first-child:hover {
  background: transparent !important;
}

.brand-card a:last-child:hover {
  background-color: #d89d3f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer: Add a basic footer to complete the page. */
footer {
  text-align: center;
  padding: 24px;
  background-color: var(--mohonk-dark-green);
  color: var(--mohonk-white);
  margin-top: 40px;
}

/* Section Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--mohonk-dark-green);
  font-family: 'Playfair Display', serif;
}

main {
  padding-top: 80px;
}

/* Responsive design for tablets and mobile devices. */
@media (max-width: 900px) {
  .hero-section {
    height: 450px;
    border-radius: 0 0 24px 24px;
  }
  .hero-content {
    max-width: 60%;
    bottom: 12%;
  }
  .hero-content h1 {
    font-size: 2.5em;
  }
  .hero-content p {
    font-size: 1.1em;
  }
  .navbar {
    height: 64px;
    max-height: 64px;
  }
  .logo img {
    height: 56px;
    max-height: 56px;
  }
  .nav-links {
    gap: 8px;
  }
  .contact {
    margin-left: 6px;
  }
  main {
    padding-top: 64px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: 340px;
    border-radius: 0 0 18px 18px;
  }
  .hero-content h1 {
    font-size: 2em;
  }
  .brand-container {
    gap: 16px;
  }
  .brand-card {
    padding: 18px 8px 14px 8px;
  }
  .navbar {
    flex-direction: column;
    height: auto;
    min-height: unset;
    max-height: unset;
    align-items: flex-start;
    padding: 8px;
  }
  .logo {
    position: static;
    left: unset;
    transform: none;
    margin: 0 auto 8px auto;
    width: 100%;
    justify-content: center;
  }
  .nav-links {
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
  }
  .contact {
    margin-left: 0;
    margin-top: 6px;
    width: 100%;
    justify-content: flex-end;
  }
  main {
    padding-top: 54px;
  }
}