/*!
 * Start Bootstrap - Small Business (https://startbootstrap.com/template-overviews/small-business)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-small-business/blob/master/LICENSE)
 */
body {
  padding-top: 76px; /* Adjusted for navbar height */
}

/* Navigation bar layout - brand left, menu right */
/* Desktop layout */
@media (min-width: 992px) {
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .navbar-collapse {
    flex-grow: 0 !important;
  }
}

/* Mobile navigation adjustments */
@media (max-width: 991.98px) {
  /* Reset flexbox on mobile - let Bootstrap handle it */
  .navbar .container {
    display: block;
  }
  
  /* Ensure hamburger button is visible and properly positioned */
  .navbar-toggler {
    float: right;
    margin-top: 0.5rem;
  }
  
  /* Brand should be on left */
  .navbar-brand {
    float: left;
    margin-right: 1rem;
  }
  
  /* Clear floats */
  .navbar::after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Ensure collapsed menu takes full width and appears below */
  .navbar-collapse {
    clear: both;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Menu items should be left-aligned in mobile */
  .navbar-nav {
    text-align: left;
    width: 100%;
  }
  
  /* Better spacing for mobile menu items */
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  
  /* Full width dropdown menus on mobile */
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
    border: none;
    background-color: rgba(0, 0, 0, 0.2);
  }
  
  /* Hide Facebook like button on mobile for cleaner layout */
  .fb-like {
    display: none !important;
  }
}

/* Subtle improvements for iframes */
iframe {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Better spacing for product sections */
.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

/* Improve heading spacing */
h1.fw-light {
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Better paragraph spacing */
p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Subtle button hover effect */
.btn-primary {
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Improve card styling */
.card {
  border: 1px solid #e9ecef;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Better image display */
img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  iframe {
    height: 250px !important;
  }
  
  .my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
}
