/* Custom CSS for Self Storage Goldsboro Static Site */

/* Container utility */
.container-custom {
  max-width: 80rem; /* max-w-7xl = 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Section padding */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: #FFCC29;
  border-radius: 8px;
  border: 2px solid #FFCC29;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #2b4283;
  border-color: #2b4283;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #FFCC29;
  background-color: #FFFFFF;
  border-radius: 8px;
  border: 2px solid #FFFFFF;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-secondary:hover {
  background-color: #9e9787;
  border-color: #9e9787;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #FFCC29;
  background-color: transparent;
  border: 2px solid #FFCC29;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline:hover {
  background-color: #FFCC29;
  color: white;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline-white:hover {
  background-color: white;
  color: #FFCC29;
}

/* Card styling */
.card {
  background-color: white;
  padding: 1.5rem;
  border: 2px solid #000;
  border-radius: 16px;
  transition: box-shadow 0.2s ease;
}
.card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Feature card icon container */
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #FFCC29;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Security feature icon container */
.security-icon {
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border-radius: 16px;
  margin: 0 auto 1rem;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Mobile menu transition */
.mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  overflow: hidden;
}
.mobile-menu.hidden {
  max-height: 0;
  opacity: 0;
}
.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Accordion styles */
.accordion-content {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
  overflow: hidden;
}
.accordion-content.hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.accordion-icon {
  transition: transform 0.3s ease;
}

/* Carousel styles */
.carousel-thumbnail {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.carousel-thumbnail:hover {
  opacity: 1 !important;
}
.carousel-thumbnail.active {
  ring: 2px solid #FFCC29;
  ring-offset: 2px;
}

/* Map container */
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Address styling */
address {
  font-style: normal;
}

/* Link styles */
a {
  transition: color 0.2s ease;
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid #FFCC29;
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #FFCC29;
  color: white;
  padding: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}
