/* This stylesheet is meant for custom styles, on top of the Bone Template */

/* Custom header height - 70% on desktop and 80% on other platforms */
body .hero.fs {
  height: 70vh !important;
  min-height: 400px;
}

/* Responsive adjustments for mobile and tablet */
@media screen and (max-width: 768px) {
  body .hero.fs {
    height: 80vh !important;
    min-height: 350px;
    padding-top: 80px;
  }
}

@media screen and (max-width: 480px) {
  body .hero.fs {
    height: 80vh!important;
    min-height: 300px;
    padding-top: 70px;
  }
}

/* Ensure slider height matches hero height */
.slider.fs {
  height: 80vh !important;
}

.slider.fs .hero, .slider.fs ul.slides {
  height: 80vh !important;
}

/* Responsive slider adjustments */
@media screen and (max-width: 768px) {
  .slider.fs {
    height: 80vh !important;
  }
  
  .slider.fs .hero, .slider.fs ul.slides {
    height: 80vh !important;
  }
}

@media screen and (max-width: 480px) {
  .slider.fs {
    height: 80vh !important;
  }
  
  .slider.fs .hero, .slider.fs ul.slides {
    height: 80vh!important;
  }
}

/* Brand logo in footer*/

footer .copyright {
  margin-top: -30px;
}

@media screen and (max-width: 768px) {
  footer .copyright  {
    margin-top: -10px;
  }
}

@media screen and (max-width: 480px) {
  footer .copyright  {
    margin-top: -10px;
  }
}

@media screen and (max-width: 480px) {
  section.content h1, section .content h1, header .content h1 {
    margin-top: 50px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 768px) {
  section.content h1, section .content h1, header .content h1 {
    margin-top: 50px;
    margin-bottom: 10px;
  }
}
/* Fabric background overlay */
.hero.fs .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 1;
  opacity: 80%;
}

.hero.fs .container {
  position: relative;
  z-index: 2;
}

.hero.fs .bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.088);
  z-index: 1;
}

.hero.fs .container {
  position: relative;
  z-index: 2;
}

/* Service items centering */
.top-line .row {
  margin-top: 30px;
  margin-bottom: -40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-line .service {
  flex: 0 0 auto;
  margin: 0 20px;
}

/* Reduce top and bottom margins for services section */
.top-line {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

@media screen and (max-width: 768px) {
  .top-line .row {
    flex-direction: column;
  }
  
  .top-line .service {
    margin: 10px 0;
  }
  
  .top-line {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* Social Media Icons - Minimal styling to maintain original alignment */
.social li a:hover {
  text-decoration: none;
  color: inherit;
}

/* Ensure FontAwesome icons are visible without changing layout */
.social li a:before {
  font-family: FontAwesome;
  margin-right: 22px;
}

/* Hero title animation */
.hero.fs .content h1.lg {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

/* Hero text animation */
.hero.fs .content h3,
.hero.fs .content h4 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 0.8s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About page header styling */
header .container {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Full width background on larger monitors */
@media screen and (min-width: 1200px) {
  header .container {
    max-width: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative !important;
  }
  
  /* Keep logo and menu in original positions */
  header .brand {
    position: relative !important;
    left: auto !important;
    transform: none !important;
  }
  
  header .menu {
    position: relative !important;
    right: auto !important;
    transform: none !important;
    margin-right: 275px;
    }
  }


/* Logo sizing */
.brand img {
  max-height: 35px !important;
  width: auto !important;
  border-radius: 5px;
  opacity: 80%;
}

/* More link styling */
a[href="about.html"] {
  color: #000 !important;
  text-decoration: none !important;
  transition: opacity 0.3s ease !important;
}

a[href="about.html"]:hover {
  opacity: 0.4 !important;
  text-decoration: none !important;
}

a[href="about.html"]:visited {
  color: #000 !important;
  text-decoration: none !important;
}

/* Bio link styling */
a[href*="bio-"] {
  text-decoration: none !important;
}

a[href*="bio-"] h3 {
  color: #000 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

a[href*="bio-"]:hover {
  text-decoration: none !important;
}

a[href*="bio-"]:hover h3 {
  opacity: 0.3 !important;
  text-decoration: none !important;
}

a[href*="bio-"]:visited {
  text-decoration: none !important;
}

a[href*="bio-"]:visited h3 {
  color: #000 !important;
  text-decoration: none !important;
}

/* Mobile copyright visibility */
@media screen and (max-width: 768px) {
  .nav-container .copyright {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Footer social icons fix */
footer .social li a {
  color: #2E2E2E !important;
  font-family: FontAwesome !important;
  font-size: 16px !important;
  display: block !important;
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

footer .social li a:hover {
  opacity: 0.7 !important;
  color: #2E2E2E !important;
  text-decoration: none !important;
}

footer .social li a:visited {
  text-decoration: none !important;
}