/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}
.mb-auto {
  margin-bottom: 0 !important;
}

.logo {
  width: 100;
}
/*
 * Base structure
 */

.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.cover-container {
  max-width: 70em;
}

.site-header {
  position: relative;
  height: 180px;
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), #212529),
    url('images/dojo-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  text-align: center;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.site-title {
  margin: 0;
  font-size: 1.75rem;
}

/* Desktop layout fix */
@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .nav-masthead {
    justify-content: flex-end;
  }  

  .dojo-name {
    font-size: 3.25rem; 
    display: block; 
    margin-bottom: 0.5rem;
  }

  .site-header {    
    height: 300px;   
  }

  .contact-info {
    font-size: 2em;
  }
}



.feature-block {
  width: 100%;
  padding: 3rem 1rem;
  background-color: #212529;
  color: #fff;
}

.feature-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: nowrap;
}

.feature-content.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  min-width: 0;
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.feature-image.fade-right::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, rgba(33, 37, 41, 0), #212529);
}

.feature-image.fade-left::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(33, 37, 41, 0), #212529);
}

.feature-text {
  flex: 1;
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-row {
    flex-direction: column;
  }
  .dojo-name {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .feature-content,
  .feature-content.reverse {
    flex-direction: column;
  }

  .feature-image,
  .feature-text {
    width: 100%;
  }

  .feature-image::after {
    display: none; 
  }
}

.d-flex {
  flex-direction: column;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  header > div {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }
}
.inter-100 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
/*
 * Header
 */

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 768px) {  
  .logo { 
    width: 250px !important; /* or any size you want */
  }  
}

