/* Aggressive overrides to force pure black across any Bootstrap utilities or components */
/* Apply after other rules so it wins; using !important to override CDN Bootstrap defaults */
.bg-dark, .bg-body, .bg-black,
.container, .container-fluid, .card, .card-body, .card-header, .card-footer,
.dropdown-menu, .navbar, header, footer, aside, main,
.nav, .nav-pills, .nav-link, .navbar-nav, .navbar-collapse,
.form-control, .btn, .modal-content, .modal-body, .modal-header, .modal-footer,
.photo-gallery, .gallery-item {
  background-color: #000000 !important;
  background-image: none !important;
  border-color: #000000 !important;
  box-shadow: none !important;
}

/* Links / nav hover should remain pure black */
.nav-link, .nav-link:hover, .nav-link:focus, .nav-link:active {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* Remove subtle shadows/overlays from controls */
.card, .dropdown-menu, .modal-content, .btn, .form-control {
  box-shadow: none !important;
}

/* Remove any translucent backgrounds that might show as lighter black */
*[style*="rgba(0, 0, 0"] {
  background-color: #000000 !important;
}

/* Ensure borders are pure black */
.border, .border-top, .border-bottom, .border-left, .border-right {
  border-color: #000000 !important;
}

/* Ensure focus outlines don't show a different shade (keep accessible outline but black background) */
:focus {
  outline: 2px solid rgba(255,255,255,0.05) !important;
  outline-offset: 2px !important;
}

/* Keep existing stylesheet rules below */

/* Ensure all site areas use pure black - override all utilities */
html, body, header, footer, main, .sidebar, .nav, .nav-pills, .navbar, .container, .container-fluid, .photo-gallery, .gallery-item {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}

/* Remove sidebar border and any border accents */
.sidebar {
  background-color: #000000 !important;
  border-right: none !important;
  border-color: #000000 !important;
}

/* Disable hover/active lighter background so nav stays true black */
.sidebar .nav-link,
.sidebar .nav-link:hover,
.sidebar .nav-link:focus,
.sidebar .nav-link.active {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-left: 3px solid #ffffff;
}

/* Remove header/footer borders */
header.border-bottom, footer.border-top {
  border: none !important;
}

/* Ensure footer is pure black */
footer {
  background-color: #000000 !important;
  border-top-color: #000000 !important;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

:root {
  --bs-body-bg: #000000;
  --bs-body-color: #ffffff;
}

body {
  background-color: #000000;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/* Header Styling */
header {
  background-color: #000000;
}

header h1 {
  font-weight: 300;
  letter-spacing: 2px;
}

/* Header inner layout to align left with main content */
.header-inner {
  max-width: 1000px;
  width: 100%;
  margin-left: 350px; /* match sidebar width so content lines up */
  padding-left: 1rem; /* small inner padding */
}

@media (max-width: 768px) {
  .header-inner {
    margin-left: 0;
    padding-left: 0.5rem;
    max-width: none;
  }
}

/* Main Content */
main {
  background-color: #000000;
}

/* Carousel Styling */
.carousel {
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
}

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 1/1) {
  .carousel {
    height: 600px;
  }
  @media (max-width: 900px) {
    .carousel {
      height: calc(100vw * 2 / 3);
    }
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

@media (max-width: 576px) {
  .carousel {
    border-radius: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .d-flex {
    flex-direction: column;
  }

  .sidebar {
    width: 100% !important;
    min-height: auto !important;
    flex-direction: row;
    overflow-x: auto;
  }

  .sidebar .navbar-nav {
    flex-direction: row;
  }

  .sidebar .nav-link {
    min-width: max-content;
  }

  .carousel-item {
    height: 300px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.75rem;
  }

  .carousel-item {
    height: 200px;
  }

  .sidebar .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
  }
}

/* Text Color Overrides */
.text-white a {
  color: #ffffff;
  text-decoration: none;
}

.text-white a:hover {
  color: #d0d0d0;
  text-decoration: underline;
}

/* Light green color for header accent */
.text-light-green {
  color: #90EE90;
}

/* Content Sections */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Contact Form Styling */
.form-control {
  background-color: #000000;
  border-color: #555;
  color: #ffffff;
}

.form-control:focus {
  background-color: #000000;
  border-color: #ffffff;
  color: #ffffff;
}

.form-control::placeholder {
  color: #999;
}

.btn-primary {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #000000;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #d0d0d0;
  border-color: #d0d0d0;
}

/* Galleria targets: dynamic height based on image content */

#galleria, #galleria-portfolio, .galleria-target {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  background: #000;
  display: block;
  min-height: 400px;
}

@media (max-width: 900px) {
  #galleria, #galleria-portfolio, .galleria-target {
    max-width: 100%;
    min-height: 300px;
  }
}

/* Grid theme override: allow auto height for flexbox grid layout */
.galleria-container.galleria-grid-theme {
  height: auto !important;
  max-height: none !important;
}

.galleria-container.galleria-grid-theme .galleria-stage {
  height: auto !important;
  min-height: 800px !important;
}
.text-light-green {
    color: #90EE90;
}