/* Reset some default styles */
/*  Font colour: #333
    Background colour: #f6f1f1
*/


* {


  box-sizing: border-box;
}

a:-webkit-any-link {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

/* Basic styling */
body {
  font-family: 'Playfair Display', serif;
  line-height: 1.6;
  background-color: #f6f6f4;
  color: #333;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;      
  font-weight: 100;    
  text-align: center;
  margin: 20px 0;
  color: #333;         
  text-shadow: none;    
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 100; 
  text-shadow: none;
  text-align: center;
  margin-bottom: 10px;
}

h3 {
  font-size: 15px;
  font-weight: 200;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

h4 {
  font-size: 42px;      
  font-weight: 100;    
  text-align: center;
  color: #333;         
  text-shadow: none;    
}

header {
  background-color: #f6f6f4;
  padding: 1px;
  
}

.header-container {
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 00px;
}


/* Logo */
.logo img {
  max-height: 40px; /* Adjust the height as per your preference */
  width: auto;
  opacity: 0.8;
  margin-top: 10px;
}


/* Menus */
nav {
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.burger-menu {
  display: none; /* Hide burger menu by default */
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  z-index: 1;
}

.menu li {
  margin-right: 10px;
}

.menu li a {
  text-decoration: none;
  color: #333;
}

/* Menus end*/

/* Home Page*/


.hero {
  background-image: url("./images/colage2.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top 20px;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  text-align: center;
  color: #f6f1f1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a subtle text shadow */
  position: relative;
}

.hero h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.hero-content {
  flex: 1; /* Take up remaining space */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-content p {
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #333;
  background-color: #f6f1f1;
  opacity: 0.8;
  max-width: 60%;
  display: inline-block;
  padding: 10px 20px;
  text-shadow: none; /* <-- remove inherited shadow */
}

.hero-title {
  display: flex;
  justify-content: center;
  align-items: baseline;   /* keeps them aligned nicely */
  gap: 8px;                /* space between words */
  flex-wrap: wrap;         /* allows wrapping on small screens */
}

.hero-title h1,
.hero-title h4 {
  margin: 0;
  padding: 0;
  display: inline-block;
}

.hero-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 400;
}

.hero-title h4 {
  font-size: 42px;
  font-weight: 600;
  color: #333;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #f6f1f1;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Pushes the button to the bottom */
  margin-bottom: -15px;
}

.cta-button:hover {
  background-color: #555;
}
/* Home Page End*/

/* Footer*/

footer {
  background-color: #f6f1f1;
  color: #333;
  padding: 10px;
  margin-top: 15px;
/*  text-align: center;*/
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.footer-link-group {
  margin-right: 20px;
  text-align: center;
}

.footer-link-group a img{
  max-height: 20px;
}

.footer-link-group h3 {
  margin-bottom: 10px;
}

.footer-link-group ul {
  list-style: none;
}

.footer-link-group ul li {
  margin-bottom: 5px;
}

.footer-link-group ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-link-group ul li a img{
  max-height: 20px;
}

.footer-link-group ul li a:hover {
  text-decoration: underline;
}

/* Footer end*/

/* Horses */

.content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0px;
  background-color: #f6f1f1;
}

/*.content h1{
  font-size: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.content h2{
  font-size: 19px;
  display: inline;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}*/

.arrow::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-image: url("./images/arrow_down.jpg"); /* Add the URL of your arrow image */
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 3px; /* Adjust the distance between the text and the arrow */
}

.horse-list {
  display: flex;
  flex-wrap: wrap;
}

.horse-item .horse-item1 {
  width: 100%;
  margin: 0px;
  padding: 5px;
  border: none;
}

.horse-item:hover {
  border: 3px solid #777;
  background-color: #d9d9d9;
}

.horse-item1:hover {
  border: 3px solid #777;
  background-color: #f6f1f1;
}

.horse-item img {
  width: 100%;
  height: auto;
}

.horse-item1 img {
  width: 100%;
  height: auto;
}

.horse-item img:hover {
  border: 3px solid #777;
}

.horse-item1 img:hover {
  border: 3px solid #777;
}

.horse-item h2 {
  margin-top: 10px;
  font-family: Arial, sans-serif;
  font-weight: lighter;
  font-size: 19px;
  text-align: center;
}

.horse-item1 h2 {
  margin-top: 10px;
  font-weight: lighter;
  font-family: Arial, sans-serif;
  font-size: 16px;
  text-align: center;
}

.horse-item p {
  margin-bottom: 10px;
  font-weight: lighter;
  text-align: center;
}

.horse-item1 p {
  margin-bottom: 10px;
  font-weight: lighter;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 90%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  margin: 5%;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/* Horses Gallery */

.row {
    display: -webkit-flex; /* Safari */
    display: flex;
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
    padding: 0 0px;
    background-color: transparent;/* #E8E1DF */
    margin-top: 10px;
}

/* Create 3 equal columns that sits next to each other */
.gallery {
    -ms-flex: 100%; /* IE10 */
    flex: 100%;
    max-width: 100%;
    margin-left: 0%;
    padding: 0 0px;
}

/* Up Button */
.up-button {
  padding: 5px 10px;
  background-color: #333;
  font-size: small;
  color: #f6f1f1 !important;
  border-radius: 5px;
  border-style: groove;
  float: right;
}

.up-button:hover {
  background-color: #555;
}
/* Up Button End */

/* Back Button */
.back-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: no-background;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  border-style: groove;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #555;
}
/* Back Button End */

/* Horses End */


/* Contacts */

.contact h1 {
  text-align: left;
  font-size: 28px;
  margin-left: 5%;
}
/* Contacts End */

/*.table {
  margin-top: 10px;
  -webkit-display: flex; 
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 8px 4px;
  background-color: #d9d9d9;
}  

.column {
  -ms-flex: 50%; 
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
}

.column li {
  font-size: 15px;
  font-weight: 200;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  list-style: none;
}

.column li:hover {
  color: #f6f1f1;
}*/



/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  .burger-menu {
    display: block; /* Show burger menu on small screens */
  }

  .menu {
    display: none; /* Hide menu items on small screens */
  }

  /* Add styles to show/hide the menu on clicking the burger menu */
  .menu.show {
    display: flex;
    flex-direction: column;
    background-color: #f6f1f1;
    padding: 10px;
    position: absolute;
    top: 50px;
    right: 0;
  }

  .menu.show li {
    margin-bottom: 10px;
  }

  .menu.show li a {
  color: #333; /* Change the text color as per your preference */
  }

  .hero {
    background-image: url("./images/colage.jpeg");
    padding: 0px 0px;
    background-position: center top 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
    font-family: 'Playfair Display', serif;
  }

.footer-link-group {
  text-align: center;
}

.hero-title h1,
.hero-title h4 {
  font-size: 28px;
}

}

@media only screen and (max-width: 480px) {
  .hero {
    background-image: url("./images/colage.jpeg");
    padding: 0px 0px;
    min-height: 450px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
    font-family: 'Playfair Display', serif;
  }
}

@media (min-width: 768px) {
  .hero {
    justify-content: flex-start; /* Align items to the start */
  }

  .hero-content {
    justify-content: flex-end; /* Align content to the end */
    align-items: center; /* Align items to the end */
    flex-direction: column; /* Stack items vertically */
    margin-bottom: 20px; /* Adjust this value to position the <p> element above the button */
  }

  .hero p {
    margin-bottom: 5px; /* Adjust this value to add space between the <p> element and the button */
  }
}

/* ===== Contact – refined layout ===== */
:root{
  --contact-surface: #fff;
  --contact-muted: #f6f1f1;
  --contact-border: #e8e4e1;
  --contact-text: #333;
  --contact-shadow: 0 8px 24px rgba(0,0,0,.06);
  --contact-radius: 16px;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Arial', sans-serif;
}

/* Apply across contact elements */
.contact-card p,
.contact-form input,
.contact-form textarea,
.contact-form label,
.card-cta,
.small-note {
  font-family: var(--font-sans);
}

.contact-hero{
  max-width: 900px;
  margin: 24px auto 8px;
  text-align: center;
  padding: 0 16px;
}
.contact-hero h1{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 42px;
  margin: 10px 0 6px;
  color: var(--contact-text);
}
.contact-hero p{
  margin: 0 auto;
  color: #555;
  max-width: 720px;
  font-size: 16px;
}

.contact-cards{
  max-width: 1100px;
  margin: 18px auto 32px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.contact-card{
  grid-column: span 6;
  background: var(--contact-surface);
  border: 1px solid var(--contact-border);
  border-radius: var(--contact-radius);
  box-shadow: var(--contact-shadow);
  padding: 18px 18px 16px;
  text-align: left;
}
.card-icon img{
  height: 22px;
  width: auto;
  opacity: 0.9;
}
.contact-card h3{
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  margin: 8px 0 6px;
  color: var(--contact-text);
  text-shadow: none;
}
.contact-card p{
  margin: 0 0 10px;
  color: #555;
}
.contact-card .card-cta{
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--contact-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--contact-text);
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(246,241,241,.6));
  transition: transform .15s ease, border-color .15s ease;
}
.contact-card .card-cta:hover{
  transform: translateY(-1px);
  border-color: #ded7cf;
}
.social-row{
  display: inline-flex;
  gap: 8px;
}
.social-row a{
  text-decoration: none;
  color: var(--contact-text);
  border-bottom: 1px solid transparent;
}
.social-row a:hover{
  border-bottom-color: #c9a86a; /* subtle gold underline */
}

/* Map */
.contact-map{
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.contact-map iframe{
  width: 100%;
  height: 360px;
  border: 1px solid var(--contact-border);
  border-radius: var(--contact-radius);
  box-shadow: var(--contact-shadow);
  background: var(--contact-muted);
}

/* Responsive */
@media (max-width: 900px){
  .contact-card{ grid-column: span 12; }
  .contact-map iframe{ height: 300px; }
}

/* ===== Contact form (matches cards) ===== */
.contact-form-wrap{
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 0 16px;
}

.contact-form-card{
  grid-column: span 12;
}

.contact-form{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.form-row{
  grid-column: span 6;
  display: grid;
  gap: 6px;
}
.form-row:nth-child(4){ /* Message */
  grid-column: span 12;
}

.contact-form label{
  font-size: 14px;
  color: #555;
}
.contact-form input,
.contact-form textarea{
  background: #fff;
  border: 1px solid var(--contact-border, #e8e4e1);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  color: #333;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: #c9a86a; /* subtle gold focus */
  box-shadow: 0 0 0 3px rgba(201,168,106,.15);
}

.cf-consent{
  grid-column: span 12;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  margin-top: 2px;
}
.cf-consent input{ margin: 0; }

.hp-field{ 
  position: absolute; 
  left: -9999px; 
  top: -9999px; 
}

.contact-form .submit-btn{
  grid-column: span 4;
  justify-self: start;
  margin-top: 4px;
}

.small-note{
  grid-column: span 8;
  align-self: center;
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 720px){
  .form-row{ grid-column: span 12; }
  .contact-form .submit-btn{ grid-column: span 12; justify-self: stretch; text-align: center; }
  .small-note{ grid-column: span 12; text-align: center; margin-top: 8px; }
}
/* ===== Brand typography: render the token "JCL" in Arial everywhere ===== */
.jcl-brand{
  font-family: Arial, sans-serif !important;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  display: inline;
}