/* ==========================================================
   MAGOR EVENTS – MAIN STYLESHEET
   Bootstrap 5 + custom theme
   ========================================================== */

/* ----------------------------------------------------------
   FONTS
   ---------------------------------------------------------- */
@font-face {
  font-family: "Magor";
  src: url("/fonts/magor.eot");
  src: url("/fonts/magor.eot?#iefix") format("embedded-opentype"),
       url("/fonts/magor.woff") format("woff"),
       url("/fonts/magor.ttf") format("truetype"),
       url("/fonts/magor.svg#magor") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "MasonSans";
  src: url("/fonts/MasonSansRegular_Regular.ttf") format("truetype"),
       url("/fonts/masonsansregular_regular-webfont.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}


/* ----------------------------------------------------------
   BOOTSTRAP 5 THEME OVERRIDES – brand colour = #eb3845
   Direct declarations override Bootstrap's CSS-variable system.
   ---------------------------------------------------------- */
.bg-primary {
  background-color: #eb3845 !important;
}

.btn {
  border-radius: 50px !important;
  padding: 0.7rem 1rem !important;
  font-size: 0.9rem !important;
  transition: all 0.15s ease-in-out;
}

.btn::after {
  content: "\9 〉";
  display: inline-block;
  color: inherit;
  font-size: 1.25rem;
  right: 1.34rem;
  line-height: 100%;
  padding-left: 1rem;
  top: 10%;
  transform: translateY(10%);
}

.btn-primary {
  color: #fff !important;
  background-color: #eb3845 !important;
  border-color: #eb3845 !important;
}
.btn-primary:hover,
.btn-primary:focus {
  color: #eb3845 !important;
  background-color: transparent !important;
  border-color: #eb3845 !important;
}
.btn-primary:active,
.btn-primary.active {
  background-color: #8c0e17 !important;
  border-color: #8c0e17 !important;
  color: #fff !important;
}
.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #eb3845 !important;
  border-color: #eb3845 !important;
}

.btn-outline-primary {
  color: #eb3845 !important;
  background-color: transparent !important;
  border-color: #eb3845 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff !important;
  background-color: #eb3845 !important;
  border-color: #eb3845 !important;
}

.btn-secondary {
  color: #eb3845 !important;
  background-color: #ffd629 !important;
  border-color: #ffd629 !important;
}
.btn-secondary:hover {
  color: #ffd629 !important;
  background-color: #eb3845 !important;
  border-color: #ffd629 !important;
}

.btn-tertiary {
  color: #389feb !important;
  background-color: #ffd629 !important;
  border-color: #ffd629 !important;
}
.btn-tertiary:hover {
  color: #ffd629 !important;
  background-color: #389feb !important;
  border-color: #ffd629 !important;
}


/* ----------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Bree Serif", serif;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  color: #eb3845;
}

h1, .h1 {
  font-size: 2.9rem;
}

/* ----------------------------------------------------------
   GENERAL
   ---------------------------------------------------------- */
body {
  padding-top: 80px;
  position: relative;
  overflow-x: hidden;
  font-family: "Open Sans", sans-serif;
}

section {
  padding: 150px 0;
  overflow: hidden;
}

.top-section {
  padding: 50px 0 150px 0;
  overflow: hidden;
}

a {
  color: #eb3845;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

a:hover,
a:focus {
  color: #8c0e17;
  text-decoration: underline;
}

p {
  line-height: 1.7rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8em;
}

i, span, strong {
  display: inline-block;
}

.bg-gray {
  background: #f5f5f5;
}

.bg-gold {
  background: #ffd629;
}

.hero-text {
  font-size: 1.1rem;
  font-weight: 400;
  color: #000;
  line-height: 1.5rem;
}

.hero-text-events {
  font-size: 1.1rem;
  font-weight: 400;
  color: #000;
  line-height: 1.5rem;
  padding: 0 15%;
}

.btn {
  font-size: 0.9em !important;
}

.block {
  margin-bottom: 50px;
}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #222;
  text-decoration: none !important;
}

.breadcrumb li {
  color: #aaa;
}

/* Bootstrap 5 breadcrumb separator */
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
}


/* ----------------------------------------------------------
   HERO BACKGROUND IMAGES
   ---------------------------------------------------------- */
.bg-hero {
  background-image: url("/img/xmas-bg.jpg");
  background-size: cover;
  background-position: center;
  background-color: #333;
}

.bg-hero-may {
  background-image: url("/img/may-fayre.jpg");
  background-size: cover;
  background-position: center;
  background-color: #ffd629;
}

.bg-hero-frost {
  background-image: url("/img/frost-fayre.jpg");
  background-size: cover;
  background-position: center;
  background-color: #000;
}

/* Video background for frost fayre */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-bg {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Ensure hero section content sits above the video */
section.hero {
  position: relative;
}

section.hero .container {
  position: relative;
  z-index: 1;
}

/* White text for dark hero sections — overrides the red heading colour above */
section.hero.secondary,
section.hero.secondary h1,
section.hero.secondary h2,
section.hero.secondary h3,
section.hero.secondary h4,
section.hero.secondary h5,
section.hero.secondary h6,
section.hero.secondary p,
section.hero.secondary strong {
  color: #fff !important;
}


/* ----------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------- */
nav.navbar {
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: all 0.5s;
}

.nav-img-fluid {
  min-width: 200px;
  max-width: 240px;
  padding-bottom: 10px;
  padding-top: 5px;
}

nav.navbar a.nav-link {
  color: #333;
  font-size: 1.1rem;
}

nav.navbar a.nav-link:hover,
nav.navbar a.nav-link.active {
  color: #eb3845;
}

nav.navbar .navbar-toggler {
  outline: none;
  border: none;
}

nav.navbar .navbar-toggler span {
  width: 25px;
  margin: 5px;
  display: block;
  height: 2px;
  background: #333;
  transition: all 0.2s;
}

nav.navbar .navbar-toggler.active span:first-of-type {
  transform: rotate(45deg) translate(10px);
}

nav.navbar .navbar-toggler.active span:last-of-type {
  transform: rotate(-45deg) translate(10px);
}

nav.navbar .navbar-toggler.active span:nth-of-type(2) {
  opacity: 0;
}

.scrollUp {
  transform: translateY(-105%);
}

@media (min-width: 992px) {
  nav.navbar {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@supports (padding: max(0px)) {
  .navbar-brand {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  nav.navbar a.nav-link {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}


/* ----------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------- */
section.hero p {
  margin: 20px 0;
}

section.hero .CTA {
  margin-top: 40px;
}

section.hero .CTA a {
  margin-right: 10px;
  margin-bottom: 10px;
}

section.hero .CTA-events {
  margin-top: 40px;
  display: inline-block;
}

section.hero .CTA-events a {
  margin-right: 10px;
  margin-bottom: 10px;
}


/* ----------------------------------------------------------
   ABOUT US SECTION
   ---------------------------------------------------------- */
section.about-us p {
  margin: 30px 0;
}

.img-sized {
  padding: 0 0 30px 0;
}

@media (max-width: 449px) {
  .img-sized { display: none; }
}

@media (min-width: 991px) {
  .img-sized { display: inline-block; }
}


/* ----------------------------------------------------------
   CHARITIES / EXTRA FEATURES SECTION
   ---------------------------------------------------------- */
section.extra-features {
  color: #fff;
}

section.extra-features h2,
section.extra-features h3 {
  color: inherit;
}

section.extra-features header {
  margin-bottom: 70px;
}

section.extra-features .icon {
  font-size: 2.7rem;
  margin-bottom: 0;
}

section.extra-features .item {
  padding: 0;
  transition: all 0.3s;
  cursor: default;
}

section.extra-features .item:hover {
  background: #8c0e17;
  box-shadow: -5.665px 9.429px 35px 0 rgba(0, 0, 0, 0.2);
}


/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
footer.main-footer {
  padding: 150px 0 0;
  overflow-x: hidden;
}

footer.main-footer a {
  color: inherit;
  text-decoration: none;
}

footer.main-footer .brand {
  font-weight: 800;
  font-size: 1.7rem;
  color: #222;
  margin-bottom: 20px;
}

footer.main-footer ul.contact-info {
  color: #444;
}

footer.main-footer ul.contact-info a:hover {
  color: #eb3845;
}

footer.main-footer h5 {
  margin-bottom: 30px;
}

footer.main-footer ul.links {
  color: #888;
}

footer.main-footer ul.links a {
  margin-bottom: 8px;
}

footer.main-footer ul.links a:hover {
  color: #eb3845;
}

footer.main-footer ul.social-icons {
  margin-top: 15px;
  margin-bottom: 50px;
}

footer.main-footer ul.social-icons a {
  width: 26px;
  height: 26px;
  line-height: 26px;
  background: #222;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  font-size: 0.8rem;
}

footer.main-footer ul.social-icons a:hover {
  background: #eb3845;
}

footer.main-footer .copyrights {
  margin-top: 150px;
}

footer.main-footer .copyrights .container {
  padding: 30px 0;
  border-top: 1px solid #ddd;
}

footer.main-footer .copyrights p {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  footer.main-footer {
    padding: 100px 0 0;
  }
  footer.main-footer .copyrights {
    margin-top: 100px;
  }
  footer.main-footer .copyrights div[class*="col-"] {
    text-align: center !important;
  }
}

@media (max-width: 991px) {
  .top-section {
    padding: 50px 0 30px 0;
  }
}
