* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  background: #ffffff;
  line-height: 1.6;
}

h2 {
  color: #4f7c6b;
}

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

.hero-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ddd;
}

.header {
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .hero-logo {
  height: 60px;
  margin-bottom: 0rem;
}

nav {
  display: flex;
  align-items: center;
}
nav a {
  margin-left: 2rem;
  text-decoration: none;
  text-transform: uppercase;
  color: #333;
  font-weight: 500;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background: #a67c52;
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 1.5rem;
  margin-right: 1rem;
  font-size: 0.9rem;
  color: #4f7c6b;
  position: relative;
}
.lang a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.2s ease;
}
.lang a.active {
  color: #4f7c6b;
  font-weight: 600;
}
.lang a:hover {
  color: #bfa46f;
}
.lang span {
  color: #999;
}

.hero {
  position: relative;
  padding: 6rem 0;
  color: white;
  background: url("../assets/StableSitesHero.jpg") center/cover no-repeat;
  scroll-margin-top: 90px;
  margin: 0 auto;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.5px;
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 60%;
}
.hero p {
  max-width: 60%;
  font-size: 1.05rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 0;
  }
  .hero h1 {
    font-size: 2rem;
    max-width: 100%;
  }
  .hero p {
    max-width: 100%;
  }
  .lang {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
  }
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  margin-bottom: 0.3rem;
}
.section-header p {
  color: #777;
  margin: 0;
}

.hamburger {
  display: none;
  width: 26px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #333;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }
  nav a {
    margin: 1rem 0;
    font-size: 1.2rem;
  }
  nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
}
.work .work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.work .work-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.work .work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.work .work-card:hover img {
  transform: scale(1.03);
}
.work .work-image {
  overflow: hidden;
}
.work .work-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work .work-content {
  padding: 1.5rem;
}
.work .work-content h3 {
  margin-bottom: 0.5rem;
}
.work .work-content p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.work .work-link {
  text-decoration: none;
  font-weight: 500;
  color: #a67c52;
}
.work .work-link:hover {
  text-decoration: underline;
}
.work .work-cta {
  text-align: center;
  margin-top: 3rem;
}

.positioning {
  max-width: 680px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  position: relative;
  padding-top: 2rem;
}
.positioning::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #bfa46f;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #4f7c6b;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}
.btn:hover {
  background: rgb(59.1527093596, 92.8472906404, 80.118226601);
  transform: translateY(-1px);
}

.section {
  padding: 4rem 0;
  scroll-margin-top: 90px;
}
.section.alt {
  background: #f7f7f7;
}
.section h2 {
  margin-bottom: 0rem;
}

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 6px;
}

.services-grid {
  text-align: center;
}

.service-item {
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-item svg {
  width: 36px;
  height: 36px;
  stroke: #4f7c6b;
  margin-bottom: 1rem;
  stroke-width: 1.5;
  opacity: 0.9;
  transition: transform 0.25s ease;
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.service-item:hover svg {
  transform: scale(1.1);
  stroke: #bfa46f;
}
.service-item h3 {
  margin-bottom: 0.5rem;
}
.service-item p {
  color: #666;
  font-size: 0.95rem;
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: none;
  transition: opacity 0.3s ease;
}
form input,
form textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
form input ::placeholder,
form textarea ::placeholder {
  color: #999;
}
form button {
  background: #4f7c6b;
  color: white;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  border-radius: 4px;
}
form button:hover {
  background: rgb(59.1527093596, 92.8472906404, 80.118226601);
  transform: translateY(-1px);
}

#contact form {
  margin: 0 auto;
  margin-top: 2rem;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  max-width: 700px;
}
.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info p {
  margin-bottom: 1.2rem;
  color: #555;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    max-width: 100%;
  }
}
.contact form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}
.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #4f7c6b;
  box-shadow: 0 0 0 2px rgba(79, 124, 107, 0.1);
}

#contact .container {
  max-width: 900px;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #777;
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-logo {
    height: 50px;
  }
}
/* CRESTBURY THEME OVERRIDE */
.crestbury {
  font-family: "Georgia", serif;
  background: #faf9f7;
}
.crestbury h1, .crestbury h2, .crestbury h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
}
.crestbury h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.crestbury p {
  color: #2f2f2f;
}
.crestbury .crestbury-header {
  background: #faf9f7;
}
.crestbury .hero-label {
  color: #faf9f7;
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.crestbury .crestbury-hero {
  background: url("../assets/CrestburyStables.jpg") center/cover no-repeat;
  padding: 7rem 0;
}
.crestbury .crestbury-hero .overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.3));
}
.crestbury .crestbury-hero h1 {
  font-size: 3.2rem;
  max-width: 600px;
}
.crestbury .crestbury-hero h2 {
  color: #333;
}
.crestbury .crestbury-hero p {
  max-width: 520px;
  color: #faf9f7;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  opacity: 1;
}
.crestbury .alt {
  background: #f0e9e1;
}
.crestbury .crestbury-narrow {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.crestbury .crestbury-narrow p {
  margin-bottom: 1.2rem;
  color: #555;
}
.crestbury .crestbury-vision {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: center;
}
.crestbury .vision-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.crestbury .history-image {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 2rem;
  display: block;
}
.crestbury .vision-text {
  text-align: left;
}
.crestbury .vision-text p {
  margin-bottom: 1.2rem;
  max-width: 500px;
}
.crestbury .crestbury-history {
  padding: 0;
}
.crestbury .crestbury-history-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 3rem;
  min-height: 400px;
}
.crestbury .history-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
  text-align: left;
  max-width: 500px;
}
.crestbury .history-text h2 {
  margin-bottom: 1rem;
}
.crestbury .history-text p {
  padding: 1rem 0;
}
.crestbury .history-image {
  background: url("../assets/CrestburyHistory.jpg") center/cover no-repeat;
  min-height: 300px;
  filter: saturate(0.9) contrast(0.95);
  width: 100%;
  height: 100%;
}
.crestbury .crestbury-horses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}
.crestbury .horse-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e8e6e2;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(to bottom, #ffffff, #fdfcf9);
}
.crestbury .horse-card img {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.crestbury .horse-card .horse-content {
  text-align: left;
  padding: 1.2rem;
}
.crestbury .horse-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.crestbury .horse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.crestbury .horse-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.crestbury .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}
.crestbury .meta-item svg {
  width: 16px;
  height: 16px;
  stroke: #bfa46f;
  stroke-width: 1.5;
}
.crestbury .crestbury-horse {
  text-align: center;
}
.crestbury .crestbury-horse img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.crestbury .crestbury-horse h3 {
  margin-bottom: 0.3rem;
  font-family: "Playfair Display", serif;
}
.crestbury .crestbury-horse p {
  font-size: 0.9rem;
  color: #666;
}
.crestbury .crestbury-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .crestbury .crestbury-contact-grid {
    grid-template-columns: 1fr;
  }
  .crestbury .crestbury-history-inner {
    grid-template-columns: 1fr;
  }
  .crestbury .crestbury-vision {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .crestbury .vision-image {
    margin: 0 auto 1.5rem;
  }
  .crestbury .history-image {
    order: -1;
    height: 220px;
  }
  .crestbury .history-text {
    padding: 0 0 4rem;
    text-align: center;
  }
  .crestbury .vision-text {
    text-align: center;
  }
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

#contact #form-success {
  color: green;
  font-weight: 500;
  margin-top: 1rem;
  text-align: center;
  padding: 1rem;
  border: 1px solid green;
  background-color: lightgreen;
  border-radius: 8px;
  align-self: start;
}/*# sourceMappingURL=main.css.map */