@charset "utf-8";

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* .hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../images/hero-3d-printing.jpg') center/cover no-repeat;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
} */

.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../images/DesignGuy_Hero_001.jpg') center/cover no-repeat; /* fallback / starting image */
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;

  /* Animation for rotating backgrounds */
  animation: heroFade 24s infinite;
  background-size: cover;
  background-position: center;
}

@keyframes heroFade {
  0% {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                      url('../images/DesignGuy_Hero_001.jpg');
  }
  25% {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                      url('../images/DesignGuy_Hero_001.jpg');
  }
  33.33% {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                      url('../images/DesignGuy_Hero_004.jpg');
  }
  58.33% {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                      url('../images/DesignGuy_Hero_004.jpg');
  }
  66.66% {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                      url('../images/DesignGuy_Hero_014.jpg');
  }
  91.66% {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                      url('../images/DesignGuy_Hero_014.jpg');
  }
  100% {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                      url('../images/DesignGuy_Hero_001.jpg');
  }
}

.footer {
  background: #071990;
  color: #ccc;
}

/* Wider horizontal logo - scale by height */
.logo-svg {
  height: 52px;          /* Base height on large screens */
  width: auto;           /* Preserve aspect ratio */
  max-width: 100%;       /* Never overflow container */
  flex-shrink: 0;
}


/* Responsive scaling */
@media (max-width: 1200px) {
  .logo-svg { height: 48px; }
}

@media (max-width: 992px) {
  .logo-svg { height: 44px; }
}

@media (max-width: 768px) {
  .logo-svg { height: 40px; }
}

@media (max-width: 576px) {
  .logo-svg { height: 36px; }
}

/* Optional: Center logo on mobile if needed */
@media (max-width: 576px) {
  .navbar-brand {
    margin-right: auto;
    margin-left: auto;
  }
}
