/* Storks Now! modernized brand palette (sampled from StorksNowStLouis-350x260.jpg) */
:root {
  --sn-blue: #B6C9DB;
  --sn-blue-dark: #637C8F;
  --sn-blue-light: #EBF0F4;
  --sn-pink: #E09090;
  --sn-pink-dark: #B77676;
  --sn-pink-light: #E9B1B1;
  --sn-navy: #0B1E3D;
  --sn-red: #D64550;
  --sn-red-dark: #B33540;
  --sn-green: #4E9E6B;
  --sn-green-dark: #2F7A4D;
  --sn-gray: #6B7280;
}

.snPageWidth {
  max-width: 700px;
}

.snFormGroup {
  margin-top:5px;
}

.snText {
  color: var(--sn-navy);
}

.snImportantNote {
  color: var(--sn-red);
}

.snPanelBackground {
  background-color: var(--sn-pink-light) !important;
  color: var(--sn-navy);
}

/* Bootstrap does not underline links by default */
.snLink a:link {text-decoration: underline !important}
.snLink a:visited {text-decoration: underline !important}
.snLink a:active {text-decoration: underline}
.snLink a:hover {text-decoration: underline}

#copyright {
  text-align: center;
  margin-top: 5px;
}

.copyrightText {
  color: var(--sn-gray);
}

#findUsOnFacebook {
  text-align: center;
}

#pageTitle {
  font-size: 18px;
  font-weight: bold;
  margin-left: 15px;
  margin-top: 10px;
  margin-bottom: 15px;
  color: var(--sn-navy);
}

.websiteClosed {
  td {
    text-align: center;
  }
}

/* ---- Modernized cards (Bootstrap .panel is the shared "card" building
   block used on Home, Pricing, FAQs, Delivery Area, Order Now, etc.) ---- */
.panel {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(11, 30, 61, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
}
.panel-heading {
  border: none;
  padding: 14px 20px;
}
.panel-heading.snPanelBackground {
  background-color: var(--sn-blue-light) !important;
  border-bottom: 3px solid var(--sn-pink);
}
.panel-title {
  color: var(--sn-navy);
  font-size: 17px;
}
.panel-body {
  padding: 20px;
  line-height: 1.6;
}

/* ---- Home page hero carousel ---- */
.snHero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(11, 30, 61, 0.18);
}
.snHero .carousel-inner > .item > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.snHeroCaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 56px;
  background: linear-gradient(to top, rgba(11, 30, 61, 0.78) 0%, rgba(11, 30, 61, 0.35) 60%, rgba(11, 30, 61, 0) 100%);
  color: #ffffff;
  text-align: center;
}
.snHeroCaption h1 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: bold;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.snHeroCaption p {
  margin: 0 0 16px;
  font-size: 16px;
  opacity: 0.95;
}
.snHero .carousel-indicators {
  bottom: 12px;
  z-index: 2;
}
.snHero .carousel-indicators li {
  border-color: rgba(255, 255, 255, 0.7);
}
.snHero .carousel-indicators .active {
  background-color: #ffffff;
  border-color: #ffffff;
}
.snHero .carousel-control {
  background-image: none !important;
  width: 48px;
  opacity: 1;
}
.snHero .carousel-control .glyphicon {
  top: 50%;
  margin-top: -14px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: rgba(11, 30, 61, 0.35);
  transition: background-color 0.15s ease;
}
.snHero .carousel-control:hover .glyphicon {
  background-color: rgba(11, 30, 61, 0.6);
}

@media (max-width: 767px) {
  .snHero .carousel-inner > .item > img {
    height: 260px;
  }
  .snHeroCaption {
    padding: 20px 16px 40px;
  }
  .snHeroCaption h1 {
    font-size: 20px;
  }
  .snHeroCaption p {
    font-size: 13px;
    margin-bottom: 12px;
  }
  /* Dots remain tappable for slide navigation; arrows are dropped on
     mobile since they collide with the (now shorter) caption text. */
  .snHero .carousel-control {
    display: none;
  }
}

.snCta {
  font-size: 16px;
  padding: 10px 28px;
}

/* ---- Fancier primary form-submit button (Order Now, Contact Us) ---- */
.snSubmitBtn {
  background: linear-gradient(135deg, var(--sn-pink) 0%, var(--sn-blue-dark) 100%);
  color: #ffffff;
  border: none;
  font-weight: bold;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(11, 30, 61, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.snSubmitBtn:hover,
.snSubmitBtn:focus {
  background: linear-gradient(135deg, var(--sn-pink-dark) 0%, var(--sn-navy) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 30, 61, 0.35);
}
.snSubmitBtn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(11, 30, 61, 0.25);
}
.snSubmitBtn .glyphicon {
  margin-right: 4px;
}

/* ---- Modernized alert boxes (delivery fee notice, form errors, website-closed banner) ---- */
.alert {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(11, 30, 61, 0.08);
}
.alert-danger {
  background: linear-gradient(135deg, #FDECEC 0%, #ffffff 100%);
  color: var(--sn-navy);
  border-left: 4px solid var(--sn-red);
}
.alert-success {
  background: linear-gradient(135deg, #EAF7EE 0%, #ffffff 100%);
  color: var(--sn-navy);
  border-left: 4px solid var(--sn-green);
}

/* Fancier flash messages (form errors / success confirmations) -- icon
   badge + flex layout, scoped separately from plain .alert-danger/.alert-success
   uses (e.g. the website-closed banner) so their table-based markup is untouched. */
.snAlertModern {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 44px 14px 18px;
  position: relative;
}
.snAlertModern .snAlertIcon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 17px;
  box-shadow: 0 3px 8px rgba(11, 30, 61, 0.2);
}
.alert-danger .snAlertIcon {
  background: linear-gradient(135deg, var(--sn-red) 0%, var(--sn-red-dark) 100%);
}
.alert-success .snAlertIcon {
  background: linear-gradient(135deg, var(--sn-green) 0%, var(--sn-green-dark) 100%);
}
.snAlertModern .snAlertText {
  flex: 1 1 auto;
  line-height: 1.5;
}
.snAlertModern .close {
  position: absolute;
  top: 12px;
  right: 14px;
  float: none;
  color: var(--sn-navy);
  text-shadow: none;
  opacity: 0.35;
}
.snAlertModern .close:hover,
.snAlertModern .close:focus {
  color: var(--sn-navy);
  opacity: 0.7;
}

/* ---- Fancier cards (Home page content panels) ---- */
.snFancyCard {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.06), 0 12px 28px rgba(11, 30, 61, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.snFancyCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(11, 30, 61, 0.08), 0 20px 36px rgba(11, 30, 61, 0.16);
}
.snFancyCard .panel-heading {
  background: linear-gradient(135deg, var(--sn-blue-light) 0%, #ffffff 100%) !important;
  border-bottom: 3px solid;
  border-image: linear-gradient(to right, var(--sn-pink), var(--sn-blue-dark)) 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.snFancyCardIcon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sn-pink) 0%, var(--sn-blue-dark) 100%);
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(11, 30, 61, 0.25);
}
.snFancyCard .panel-title {
  margin: 0;
}

/* ---- Pricing table (Pricing / Payment page) ---- */
.snPricingTable {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.06);
}
.snPricingTable > thead > tr > th {
  background: linear-gradient(135deg, var(--sn-pink) 0%, var(--sn-pink-dark) 100%);
  color: #ffffff;
  border: none;
}
.snPricingTable > tbody > tr > td {
  border-color: var(--sn-blue-light);
}
.snPricingTable.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: var(--sn-blue-light);
}
.snPricingTable > tbody > tr:hover > td {
  background-color: var(--sn-pink-light);
}

/* ---- Payment method accordion (Pricing / Payment page) ---- */
.snAccordionCard .panel-heading {
  padding: 0;
}
.snAccordionCard .panel-title {
  font-size: 17px;
}
.snAccordionToggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: var(--sn-navy) !important;
  font-weight: 600;
}
.snAccordionToggle:hover,
.snAccordionToggle:focus {
  background-color: var(--sn-blue-light);
}
/* .snLink a:link/:visited (elsewhere in this file) force an underline with
   !important -- override at equal specificity so it doesn't draw under the
   icon badge and chevron, not just the label text. */
a.snAccordionToggle,
a.snAccordionToggle:link,
a.snAccordionToggle:visited,
a.snAccordionToggle:hover,
a.snAccordionToggle:focus,
a.snAccordionToggle:active {
  text-decoration: none !important;
}
.snAccordionIcon {
  width: 36px;
  height: 36px;
  font-size: 15px;
}
.snChevron {
  margin-left: auto;
  color: var(--sn-gray);
  transition: transform 0.2s ease;
}
.snAccordionToggle:not(.collapsed) .snChevron {
  transform: rotate(180deg);
}

/* ---- Fancier inline notice banner (e.g. Order Now same-day delivery notice) ---- */
.snNotice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sn-blue-light) 0%, #ffffff 100%);
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.06), 0 8px 20px rgba(11, 30, 61, 0.10);
  border-left: 4px solid var(--sn-pink);
}
.snNoticeIcon {
  width: 46px;
  height: 46px;
  font-size: 19px;
}
.snNoticeText {
  color: var(--sn-navy);
  line-height: 1.5;
}

/* ---- Sibling sign rows (Order Now page) ---- */
/* Every row after the first gets a bit more breathing room above its Sibling/First
   Name labels, so stacked rows don't run together. */
.snSiblingSignRow + .snSiblingSignRow {
  margin-top: 10px;
}

/* ---- Sign gallery (Sign Gallery page) ---- */
.snGallerySectionTitle {
  color: var(--sn-navy);
  font-size: 17px;
  margin: 24px 0 14px;
}
.snGallerySectionTitle:first-child {
  margin-top: 0;
}
.snGalleryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
a.snGalleryItem,
a.snGalleryItem:hover,
a.snGalleryItem:focus {
  text-decoration: none !important;
}
.snGalleryThumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.10);
  aspect-ratio: 4 / 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.snGalleryThumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 30, 61, 0.22);
}
.snGalleryImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.snGalleryOverlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(11, 30, 61, 0.85) 0%, rgba(11, 30, 61, 0) 100%);
}
.snGalleryCaption {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.snGalleryZoomIcon {
  flex: 0 0 auto;
  color: #ffffff;
  opacity: 0.85;
  font-size: 13px;
}
.snGalleryHint {
  color: var(--sn-gray);
  font-size: 13px;
  margin-top: 20px;
}

/* ---- Sidebar brand card ---- */
.snSidebarCol {
  max-width: 400px;
}
.snSidebarCard {
  margin-left: 15px;
}
.snSidebarCard .panel-body {
  padding: 24px 20px 18px;
}
.snSidebarCard hr {
  margin: 16px 0;
  border-top: 1px solid var(--sn-blue-light);
}
.snInstagramBadge {
  border: 1px solid var(--sn-blue);
  border-radius: 8px;
  padding: 6px 10px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.snInstagramBadge:hover {
  border-color: var(--sn-pink);
  box-shadow: 0 2px 8px rgba(11, 30, 61, 0.12);
}
/* Below the sm breakpoint, .col-sm-4 stacks to full width but the
   max-width cap above still applies -- without this it renders as a
   400px-wide block flush against the left edge instead of centered. */
@media (max-width: 767px) {
  .snSidebarCol {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  .snSidebarCard {
    margin-left: 0;
  }
}
