@import "bootstrap.css";

body{
    margin: 0 auto;
    width:50%;
}

header{
    text-align: center;
    border-bottom: 3px dotted var(--primary);
    font-size: 2rem;
}

header h1 a {
  text-decoration: none;
  color: inherit;
}

header h1 a:hover {
  color: inherit;
}

h1{
    font-family: Bungee, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: .75rem auto;
}

h4, h5, h6{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
}

p, label, btn{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.dotted-line{
  border-bottom: 3px dotted var(--primary);
  padding-bottom: 10px;
}


.bungee-regular {
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

.hero{ 
  background-image: url("../images/bowl.png");
  background-size: cover;
  background-position: center;
  height: 250px;
}

.col img {
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 10px;
}

.col .image-container {
  position: relative;
  display: inline-block;
}

.items .col .image-container::after {
  content: attr(data-alt);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-align: center;
  width: 80%;
  font-size: 1.5rem;
}

.items .col .image-container:hover img {
  filter: brightness(0.3);
}

.items .col .image-container:hover::after {
  opacity: 1;
}

.navbar{
  border-bottom: 3px dotted var(--primary);
  margin-bottom: 10px;
}

.card, .card-body{
  background-color:unset;
  border: none;
}

.header-logo {
  width: 300px;  /* Smaller on mobile */
  height: 130px;
  max-width: 100%;
}

/* Adjust heading size on mobile */
@media (max-width: 768px) {
  .display-4 {
      font-size: 2rem;  /* Smaller font on mobile */
  }
  
  body {
      width: 90%;  /* Wider content area on mobile */
  }
}

@media (min-width: 768px) {
  .header-logo {
      width: 150px;  /* Original size on desktop */
      height: 65px;
  }
}

@media (max-width: 768px) {
  .header-logo {
      width: 150px;  /* Original size on desktop */
      height: 65px;
  }
}

.navbar-toggler {
  border: 1px solid var(--primary);
  padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(107, 87, 95, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Update existing navbar styles */
.navbar {
  border-bottom: 3px dotted var(--primary);
  margin-bottom: 10px;
  padding: 0.5rem 1rem;
}

/* Carousel control customization */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    padding: 1rem;
    background-size: 50%;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--primary-dark);
}

/* Remove the dark overlay from carousel items */
.carousel-item {
    background: none;
}

.carousel-item img {
    object-fit: contain;
}

/* Remove opaque bars from carousel controls */
.carousel-control-prev,
.carousel-control-next {
    background: none;
    border: none;
    opacity: 0.8;
}

/* Make control icons more visible */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 90%;
}

/* Hover states */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Custom close button styles */
.btn-close-custom {
    background: transparent;
    border: none;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem -0.5rem auto;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.btn-close-custom:hover {
    opacity: 1;
    color: var(--primary);
}

.btn-close-custom:focus {
    outline: none;
    box-shadow: none;
}

/* Adjust modal header spacing */
.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

/* Carousel Modal Styles */
.modal-content.bg-transparent {
    background-color: rgba(0, 0, 0, 0.75);
}

.modal-content.bg-transparent .btn-close-custom {
    color: white;
    font-size: 2.5rem;
    opacity: 0.8;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.modal-content.bg-transparent .btn-close-custom:hover {
    opacity: 1;
}

.modal-content.bg-transparent .carousel-item img {
    max-height: 80vh;
    object-fit: contain;
}

.link-active {
  color: var(--secondary);
  text-decoration: underline; }
