/* ===========
    Fonts
============== */

/*
.syne-<uniquifier> {
  font-family: "Syne", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.zen-old-mincho-regular {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

*/

/* ===========
    General 
============== */
html {
  color: #222;
  font-size: 1.1em;
  line-height: 1.4;
}

@media screen and (min-width: 1800px) {
  html {
    font-size: 1vw;
  }
}

@media screen and (min-width: 2200px) {
  html {
    font-size: 0.9vw;
  }
  
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Zen Old Mincho", serif;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

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

a,
a:hover,
a:active,
a:visited {
  text-decoration: none;
  color: #000000;
}

a:hover {
  text-decoration: underline;
}

p { 
  line-height: 160%;
}

/* ===========
    Headings 
============== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

/* ===========
    Header
============== */

.page-header {
  position: absolute;
  width: 100%;
  height: 120px;
  display: flex;
  z-index: 9999;
}

.page-header {
  padding: 0 10px;
}

@media screen and (min-width: 768px) {
  .page-header {
    padding: 0 20px;
  }
}

@media screen and (min-width: 1200px) {
  .page-header {
    padding: 0 3vw;
  }
}

@media screen and (min-width: 1500px) {
  .page-header {
    padding: 0 2vw;
  }
}

.page-header .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  width: auto;
}

.logo img { 
  width: 160px;
  height: 75px;
}

@media screen and (min-width: 1500px) {
  .logo img { 
    width: 7vw;
    height: auto;
    min-width: 160px;
  }
  
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

/* Ensure the navigation items are inline */
.navigation nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navigation nav ul li {
  margin-left: 10px;
}

.navigation nav ul li:first-child {
  margin-left: 0;
}
@media screen and (min-width: 1200px) {

.navigation nav ul li a { 
  color: #ffffff;
  padding: 0 17px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: solid 1px #ffffff00;
}

.navigation nav ul li a:hover { 
  color: #ffffff;
  text-decoration: none;
  border-bottom: solid 1px #ffffff;
}

.navigation nav ul li.current_page_item a { 
  border-bottom: solid 1px #ffffff;
}

.navigation nav ul li:last-child a { 
  background-color: #ffffff66;
  border-radius: 20px;
  border: none;
}

 
  .navigation .sub-menu { 
    display: none;
  }

  .menu-item-has-children { 
    position: relative;
  }

  .menu-item-has-children:hover .sub-menu { 
    display: flex;
    position: absolute;
    flex-direction: column;
    z-index: 9999;
    margin: 0;
    padding: 0;
    width: 100%;
    top: 45px;
    left: 0;
  }

  .menu-item-has-children .sub-menu li { 
    margin: 0;
    text-align: center;
  }

  .menu-item-has-children .sub-menu li a { 
    border-radius: unset;
    border-bottom: solid 1px #ffffff;
    border-radius: 0 !important;
  }


  .menu-item-has-children .sub-menu li:last-child a { 
    background-color: unset;
    border-bottom: solid 1px #ffffff;
  }

  .menu-item-has-children .sub-menu li a:hover { 
    background-color: #ffffff66;
  }

}

@media screen and (max-width: 1200px) {
  .navigation { 
    width: 100%; 
    height: 100vh;
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    display: none;
  }
  
    .navigation.active {
      display: flex;
      /* You can also add additional properties if needed */
    }

  .navigation nav ul { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .navigation nav ul li a { 
    color: #ffffff;
    padding: 5px 0;
    display: block;
    font-size: 1.2rem;
  }
  .navigation nav ul li a:hover { 
    color: #ffffff;
    text-decoration: underline;
  }
}

/* ===========
    Footer
============== */

footer {
  border-top: solid 1px #000000;
  color: #000000;
}

footer  {
  padding: 2vh 10px;
}

@media screen and (min-width: 768px) {
  footer {
    padding: 3vh 20px;
  }
}

@media screen and (min-width: 1200px) {
  footer {
    padding: 5vh 3vw;
  }
}

@media screen and (min-width: 1500px) {
  footer {
    padding: 5vh 2vw;
  }
}


footer .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  footer .container-fluid {
    flex-direction: column;
  }
}

@media screen and (min-width: 768px) {
  .footer .logo img { 
    width: 150px;
    height: auto;
  }
  
  
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  width: 50%;
}

.footer-nav { 
  width: 50%;
}

@media screen and (max-width: 768px) {
  .footer-content { 
    width: 100%;
  }
  
  .footer-nav { 
    display: none;
  }
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.footer-nav ul li { 
  text-align: end;
}

.footer-nav ul li a { 
  color: #000000;
  padding: 3px 0;
  display: block;
}

.footer-nav ul li a:hover { 
  color: #000000;
  text-decoration: underline;
}


/* ===========
    Section
============== */

section {
  padding: 5vh 10px;
}

@media screen and (min-width: 768px) {
  section {
    padding: 5vh 20px;
  }
}

@media screen and (min-width: 1200px) {
  section {
    padding: 5vh 3vw;
  }
}

@media screen and (min-width: 1500px) {
  section {
    padding: 5vh 2vw;
  }
}

/* ===========
    Button 
============== */

.btn-primary {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #ffffff !important;
  border-radius: 0;
  padding: 8px 30px;
  transition: all 0.75s;
}

.btn-primary:hover {
  background-color: #000000;
  color: #ffffff;
  text-decoration: none !important;
}

.btn-outline-dark {
  color: #000000 !important;
  border: solid 1px #d5d5d5;
  background-color: #ffffff;
  border-radius: 0;
  padding: 12px 10px;
  transition: all 0.75s;
}

.btn-outline-dark:hover {
  background-color: #000000;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ===========
    Background colors
============== */

.bg-grey {
  background-color: #f5f5f5;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* ===========
    Wrapper
============== */
/* Make the wrapper a flex container in column direction */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

/* Push the footer to the bottom if content is not tall enough */
.wrapper > footer {
  margin-top: auto;
}
/* ===========
    Gallery
============== */

.gallery {
  column-count: 2;
  column-gap: 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .gallery {
    column-count: 2;
    column-gap: 10px;
  }
  .gallery-item {
    break-inside: avoid;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1050px) {
  .gallery {
    column-count: 3;
    column-gap: 10px;
  }
  .gallery-item {
    break-inside: avoid;
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1600px) {
  .gallery {
    column-count: 4;
    column-gap: 15px;
  }
  .gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
  }
  
}

/* ===========
    Banner 
============== */

  section.banner.slider {
    position: relative;
    overflow: hidden;
    background-color: #000000;
  }
  
  .slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 20s infinite;
  }
  
  .slide:nth-child(1) {
    animation-delay: 0s;
  }
  .slide:nth-child(2) {
    animation-delay: 5s;
  }
  .slide:nth-child(3) {
    animation-delay: 10s;
  }
  .slide:nth-child(4) {
    animation-delay: 15s;
  }
  
  @-webkit-keyframes fadeSlide {
    0% {
      opacity: 0;
      -webkit-transform: scale(1.15);
              transform: scale(1.15);
    }
    10% {
      opacity: 1;
    }
    25% {
      opacity: 1;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    40% {
      opacity: 1;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    50% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  
  @keyframes fadeSlide {
    0% {
      opacity: 0;
      transform: scale(1.15);
    }
    10% {
      opacity: 1;
    }
    25% {
      opacity: 1;
      transform: scale(1);
    }
    40% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1);
    }
  }
  
  /* Existing banner styling can remain below or be integrated as needed */
  section.banner {
    color: #ffffff;
    text-align: center;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /*
    text-shadow: 0 0 30px #00000033, 0 0 12px #000, 0 0 100px #00000033;
    */
    position: relative; /* Required for overlaying the slider */
    z-index: 1;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;    
  }
  
  /* Optionally, bring the slide layer behind content */
  section.banner .container-fluid {
    position: relative;
    z-index: 2;
  }
  /* ===========
    Banner Inner
============== */

section.banner-inner { 
  background: url('../img/banner2.jpg') no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding-top: 150px;
  padding-bottom: 70px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  color: #fff;
  text-shadow: 0 0 40px #00000033, 0 0 15px #000, 0 0 120px #00000033;
}

/* ===========
    Spacer 
============== */

.spacer {
  height: 120px;
}
/* ===========
    Scrolling Text - No Overlap Fix
============== */

.scrolling {
  display: flex;
  background: url("../img/tile.jpg") no-repeat center center;
  background-size: contain;
  height: 60%;
  justify-content: center;
  align-items: center;
  margin: 12vh 0 8vh 0;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .scrolling {
    height: 400px;
  }
}

.scrolling-text {
  overflow: hidden;
  position: relative;
  width: 100%;
  font-family: "Syne", serif;
}

/* Simplified approach */
.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-smooth 30s linear infinite;
}

.scrolling-text span {
  display: inline-block;
  font-size: 8rem;
  color: #C17C56;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0 50px; /* Add more padding between the spans */
}

/* Responsive adaptations */
@media screen and (max-width: 768px) {
  .scrolling-text span {
    font-size: 5rem;
    padding: 0 30px; /* Smaller padding on mobile */
  }
  .marquee {
    animation-duration: 15s;
  }
}

@media screen and (min-width: 1200px) {
  .marquee {
    animation-duration: 25s;
  }
}

/* Keyframes for the scrolling effect */
@keyframes scroll-smooth {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* Half of the total width */
  }
}

/* ===========
    Nav Toggle
============== */

.nav-toggle { 
  cursor: pointer;
  width: 60px; 
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.nav-toggle svg { 
  width: 100%; 
  height: auto;
}

/* ===========
    Table 
============== */

.table tr td { 
  padding: 16px 15px;
}

.table tr td:first-child { 
  width: 185px;
}

@media screen and (max-width: 768px) {
  
  .table tr td:first-child { 
    width: 160px;
  }
  
}

@media screen and (max-width: 500px) {
  
  .table tr td:first-child { 
    width: 130px;
  }
      
}

/* ===========
    Post Image
============== */

.post-image { 
  margin-bottom: 20px;
}

.post-image a { 
  display: block;
  position: relative;
  overflow: hidden;
}

.post-image img { 
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: all 0.5s ease;
}

.post-image img:hover { 
  /* Zoom in on hover */
  transform: scale(1.1);
}

/* ===========
    Introduction
============== */

.introduction h1,
.introduction h2,
.introduction h3,
.introduction h4,
.introduction h5,
.introduction h6 {
  margin-top: 10px;
  margin-bottom: 25px;
}

/* ===========
    Button 
============== */

.btn-outline-dark {
  border: solid 1px #000000;
  background-color: #ffffff;
  border-radius: 0;
  padding: 18px 40px;
  transition: all 0.75s;
}

/* ===========
    Parallax Image 
============== */
/* Container with a parallax background image */
div.parallax-image {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background: url('../img/profile-image.jpg') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media screen and (max-width: 768px) {
  div.parallax-image {
    min-height: 100vh;
    background: url('../img/profile-mobile.jpg') no-repeat center center;
    background-size: cover;
  }
}

/* ===========
    Form Button 
============== */

.gform_button { 
  color: #000000 !important;
  border: solid 1px #000000 !important;
  background-color: #ffffff !important;
  border-radius: 0 !important;
  padding: 18px 60px !important;
  transition: all 0.75s !important;
}

.gform_button:hover { 
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* ===========
    Form Title
============== */

.gform_title { 
  display: none;
}

/* ===========
    Gravity Forms 
============== */

/* Gravity Forms - Inherit font size for all elements except those within .gform_footer */
.gform_wrapper.gform-theme *:not(.gform_footer):not(.gform_footer *) {
  font-size: inherit !important;
}

.gform_button {
  font-size: inherit !important;
}

/* ===========
    Master Slider
============== */

.ms-bar {
	display: none;
}

/* ===========
    News Meta Date
============== */

.meta-date { 
  width: 10vw;
  min-width: 170px;
  margin-right: 10px;
}

/* ===========
    Language Switcher
============== */

/* Language switcher styling - perfect circle */
.menu-item-language a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;          /* Set width */
  height: 45px;         /* Equal to width for consistent circle */
  padding: 0 !important;           /* Remove padding that might affect shape */
  text-align: center;
  border-radius: 100% !important;   /* Makes it a circle */
  border: 1px solid #fff; /* White border */
  background-color: rgba(255, 255, 255, 0.4); /* Semi-transparent background */
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

/* Hover effect */
.menu-item-language a:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

/* Ensure no text decoration */
.menu-item-language a:hover {
  text-decoration: none;
}

/* Make sure the selector targets both classes */
.menu-item-language,
.language-switcher {
  margin-left: 10px !important; /* Add spacing from other menu items */
}