/* Custom CSS */

/* Fixed-top navbar spacing (prevents content sitting under navbar)
   Adjust if you change your default logo height (currently 120px) */
body {
  padding-top: 150px;
}

@media (max-width: 576px) {
  body {
    padding-top: 90px;
  }
}

/* Navbar base */
.bg-dark {
    background-color:black!important;
}

.ttt-navbar {
    transition: padding 0.2s ease-in-out;
}

/* Logo sizing */
.navbar-logo {
    height: 120px;
    width: auto;
    transition: height 0.2s ease-in-out;
}

/* Brand text */
.navbar-brand-text {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1;
    white-space: nowrap;
}

/* Smaller devices: slightly smaller logo + optional smaller text */
@media (max-width: 576px) {
    .navbar-logo { height: 50px; }
    .navbar-brand-text { font-size: 0.95rem; }
}

/* Shrink state = match your MOBILE logo size on ALL devices */
.ttt-navbar.navbar-shrink .navbar-logo {
  height: 50px;
}

/* Optional: tighten vertical spacing when shrunk */
.ttt-navbar.navbar-shrink {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.footer-socials a {
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.footer-socials a:hover {
    color: #f8f9fa;
    transform: translateY(-2px);
}


/* Base reveal state */
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 600ms ease, transform 600ms ease;
      will-change: opacity, transform;
    }
    
    /* Visible state */
    .reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* Slide from left */
    .reveal-left {
      opacity: 0;
      transform: translateX(-32px);
      transition: opacity 600ms ease, transform 600ms ease;
      will-change: opacity, transform;
    }
    
    .reveal-left.is-visible {
      opacity: 1;
      transform: translateX(0);
    }
    
    /* Slide from right */
    .reveal-right {
      opacity: 0;
      transform: translateX(32px);
      transition: opacity 600ms ease, transform 600ms ease;
      will-change: opacity, transform;
    }
    
    .reveal-right.is-visible {
      opacity: 1;
      transform: translateX(0);
    }
    
    /* Respect reduced motion preferences */
    @media (prefers-reduced-motion: reduce) {
      .reveal,
      .reveal-left,
      .reveal-right {
        transition: none;
        transform: none;
        opacity: 1;
      }
    }
/* End Reveal */

/* Modern info card */
.info-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Left accent bar */
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #274a78 0%,
    #1e3a5f 100%
  );
  border-radius: 14px 0 0 14px;
}

/* Heading */
.info-card h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1e3a5f;
}

/* Body text */
.info-card p {
  color: #333;
  line-height: 1.6;
}

/* Optional hover polish */
@media (hover: hover) {
  .info-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }
}


/* Slideshow image handling */
#projectSlideshow img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Optional: soften controls slightly */
#projectSlideshow .carousel-control-prev-icon,
#projectSlideshow .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

/* buttons */

/* Shared anchor-button base */
.btn-ttt-primary,
.btn-ttt-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.65rem 1.6rem;
  border-radius: 10px;

  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;
  user-select: none;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* PRIMARY – Navy */
.btn-ttt-primary {
  background-color: #274a78;
  color: #ffffff;
  border: 2px solid #274a78;
}

.btn-ttt-primary:hover,
.btn-ttt-primary:focus-visible {
  background-color: #ffffff;
  color: #274a78;
  border-color: #274a78;
  text-decoration: none;
}

/* SECONDARY – Black & White */
.btn-ttt-secondary {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

.btn-ttt-secondary:hover,
.btn-ttt-secondary:focus-visible {
  background-color: #ffffff;
  color: #000000;
  border-color: #000000;
  text-decoration: none;
}

/* Hover lift (desktop only) */
@media (hover: hover) {
  .btn-ttt-primary:hover,
  .btn-ttt-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  }
}

/* Keyboard focus (accessibility) */
.btn-ttt-primary:focus-visible,
.btn-ttt-secondary:focus-visible {
  outline: 3px solid rgba(39, 74, 120, 0.35);
  outline-offset: 2px;
}

/* Disabled anchor pattern */
a.btn-ttt-primary[aria-disabled="true"],
a.btn-ttt-secondary[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.6;
}

/* Navbar CTA pill (base style) */
.nav-cta {
  background-color: #ffffff;
  color: #000000 !important;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* Continuous attention animation */
.nav-cta-animate {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

/* Keyframes: subtle scale + glow */
@keyframes ctaPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.0);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.0);
  }
}

/* Mobile layout */
@media (max-width: 991.98px) {
  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .nav-cta-animate {
    animation: none;
  }
}


/*End buttons */
