/* * { */
/*     padding: 0; */
/*     margin: 0; */
/*     font-family: "Quicksand", sans-serif; */
/*     font-weight: 400; */
/* } */

a, p, h1, h2, h3, h4, button, .close, input, label, .circ, select {
    padding: 0;
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
}

a {
    cursor: pointer;
    color: black;
    text-decoration: none;
}

/* Font Sizes */

h1, h2 {
    font-size: 1.8rem;
}

h3{
    font-size: 1.4rem;
}

h4, p, a, td, th, button, .close, input, label, .circ, select {
    font-size: 1.0rem;
}

button:hover {
    cursor: pointer;
}

/* Added to allow for 'sold' banner on inventory pages */
.image-container {
    position: relative; /* Allows absolute positioning of child elements */
    display: inline-block; /* Keeps it inline with surrounding content */
}

.sold-overlay {
    position: absolute;
    top: 50%; /* Center vertically before rotation */
    left: 50%; /* Center horizontally before rotation */
    transform: translate(-50%, -50%) rotate(-45deg); /* Center and rotate */
    color: red;
    font-size: 3rem; /* Adjust size based on image dimensions; use rem for responsiveness */
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap; /* Prevent wrapping */
    pointer-events: none; /* Allow clicks to pass through to the image/container */
    z-index: 10; /* Ensure it's on top */
    /* Optional: Add semi-transparent background for better visibility */
    /* background-color: rgba(255, 255, 255, 0.7); */
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.brevoField {
    margin-bottom: 1rem !important;
}

.burg {color: rgb(144,0,32);}
.grey {color: rgb(191,193,194)}

.navbar-nav {
    align-items: center;
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.inventory-image {
    border: 2px solid #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.inventory-image:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* Service catalog cards */
.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.service-card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #f8f9fa;
}

.charter-route-map {
    width: 100%;
    height: 360px;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    overflow: hidden;
    z-index: 1;
}

.charter-endpoint-card--origin {
    border-color: rgba(25, 135, 84, 0.35) !important;
    background: rgba(25, 135, 84, 0.04);
}

.charter-endpoint-card--destination {
    border-color: rgba(220, 53, 69, 0.35) !important;
    background: rgba(220, 53, 69, 0.04);
}

.charter-map-marker {
    background: transparent;
    border: none;
}

.charter-map-marker span {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.charter-map-marker--origin span {
    background: #198754;
}

.charter-map-marker--destination span {
    background: #dc3545;
}

/* Contact page */
.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #f8f9fa;
    color: #495057;
    flex-shrink: 0;
}

.contact-whatsapp-btn {
    background-color: #25d366;
    border-color: #25d366;
}

.contact-whatsapp-btn:hover,
.contact-whatsapp-btn:focus {
    background-color: #1ebe57;
    border-color: #1ebe57;
}

.contact-map-fullwidth {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 28rem;
    background: #e9ecef;
}

.contact-map-fullwidth iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Store listing cards */
.store-listings-row,
.store-listings-row > [class*="col-"] {
    overflow: visible;
}

.store-card-column {
    position: relative;
    overflow: visible;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .store-listings-row {
        overflow-x: clip;
    }

    .store-card-column {
        overflow: hidden;
    }

    .rare-power-stamp {
        top: 0.5rem;
        right: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
        transform: none;
    }
}

.store-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.store-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8f9fa;
}

.store-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
}

.store-card-overlays {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.store-gallery-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f8f9fa;
}

.store-card-overlays .store-status-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 0.25rem;
}

.rare-power-badge {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    flex-shrink: 0;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.rare-power-stamp {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 30;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    background: #fff;
    border: 2.5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    pointer-events: none;
    -webkit-transform: translate(25%, -25%);
    transform: translate(25%, -25%);
    -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.16);
}

.rare-power-badge img,
.rare-power-stamp img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 50%;
    -webkit-border-radius: 50%;
}

.review-listing-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.store-detail-page {
    max-width: 100%;
    overflow-x: clip;
}

/* Service request conversation timeline */
.timeline {
    position: relative;
    padding-left: 28px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e9ecef;
}
.timeline-item {
    position: relative;
    display: flex;
    gap: 12px;
}
.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #6c757d;
    flex-shrink: 0;
    margin-top: 2px;
    z-index: 1;
}
.timeline-item.is-staff .timeline-dot {
    background: #212529;
    border-color: #212529;
    color: #fff;
}
.timeline-card {
    flex: 1;
    min-width: 0;
}
.timeline-item.is-staff .timeline-card {
    border-left: 3px solid #8f0020; /* burg accent */
}
.option-card {
    background: #fff;
    font-size: 0.875rem;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.option-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}
.proposal-options .card {
    border-color: #dee2e6;
}

.store-gallery,
.store-gallery .carousel-inner,
.store-gallery .carousel-item {
    max-width: 100%;
}

.store-gallery .image-container {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.store-gallery-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.store-gallery-thumbs {
    margin-top: 0.75rem;
}

.store-thumb {
    width: 72px;
    height: 54px;
    border-radius: 0.25rem;
    overflow: hidden;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.store-thumb.active,
.store-thumb:hover {
    opacity: 1;
}

.store-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-detail-panel {
    position: sticky;
    top: calc(var(--navbar-height) + 1.5rem);
}

.store-key-details dt {
    font-size: 0.9rem;
}

.store-key-details dd {
    margin-bottom: 0.5rem;
}

.store-spec-table th {
    width: 40%;
}

.store-spec-table th,
.store-spec-table td {
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .store-detail-panel {
        position: static;
    }

    .store-gallery .sold-overlay {
        font-size: 2rem;
    }

    .store-detail-page .display-6 {
        font-size: calc(1.2rem + 1.5vw);
    }
}

table {
    width: 100%;
}

.tableDiv {
    margin-bottom: 1rem;
    .cell {
        input, select {
            width: 100%;
        }
    }
}

:root {
    --navbar-height: 4rem;
    --navbar-toggler-size: 3rem;
}

main {
    padding-top: var(--navbar-height);
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.site-navbar.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar-shell {
    padding: 0;
}

.navbar-header {
    min-height: var(--navbar-height);
    padding: 0.5rem 1rem;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    line-height: 0;
}

.navbar-logo {
    display: block;
    height: auto;
    max-width: 100%;
}

.navbar-logo-air {
    width: 275px;
}

.navbar-logo-power {
    width: 210px;
}

.navbar-nav-desktop .nav-link,
.site-nav-mobile .nav-link {
    color: var(--bs-emphasis-color);
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-nav-desktop .nav-link.active,
.site-nav-mobile .nav-link.active {
    color: rgb(144, 0, 32);
}

.mobile-nav-divider {
    border-color: rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.mobile-account-label {
    font-weight: 600;
    color: var(--bs-emphasis-color);
    cursor: default;
}

@media (min-width: 992px) {
    .site-navbar .navbar-header {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .navbar-toggler-spacer,
    .navbar-toggler {
        display: none !important;
    }

    .navbar-brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .navbar-nav-desktop {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .navbar-account-desktop {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0 !important;
    }

    #navbarAccount.navbar-collapse {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-header {
        display: flex !important;
        align-items: center;
        overflow-x: clip;
    }

    .navbar-toggler-spacer {
        flex: 0 0 var(--navbar-toggler-size);
        width: var(--navbar-toggler-size);
    }

    .navbar-brand {
        flex: 1 1 0;
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .navbar-logo-air {
        width: min(275px, 52vw);
    }

    .navbar-logo-power {
        width: min(210px, 52vw);
    }

    .navbar-toggler {
        flex: 0 0 var(--navbar-toggler-size);
        margin: 0;
    }

    #navbarAccount.collapse,
    #navbarAccount.collapsing,
    #navbarAccount.collapse.show {
        padding: 0 !important;
        margin: 0;
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: 0;
        flex: 0 0 auto;
        width: 100%;
    }

    #navbarAccount .mobile-nav-inner {
        padding: 0.75rem 1rem 1rem 1.75rem;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}

#full-screen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

#full-screen-loader .loader-content {
    text-align: center;
    color: white;
}

.loader-content {
    max-width: 420px;
}

/* Feature images with white border + box shadow */
.feature-image-wrapper {
    perspective: 800px;          /* gives the rotation nice 3D feel */
}

.feature-image {
    width: 100%;
    object-fit: cover;
    border: 12px solid #fff;     /* thick white border */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: none;            /* we'll control animation with JS */
    opacity: 0;
    transform: translateY(40px) rotate(0deg);
}

.feature-image-2 {
    width: 100%;
    object-fit: cover;
    border: 12px solid #fff;     /* thick white border */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: none;            /* we'll control animation with JS */
    opacity: 0;
    transform: translateY(40px) rotate(0deg);
}

/* Final animated state */
.feature-image.animated {
    opacity: 1;
    transform: translateY(0) rotate(-6deg);
    transition: all 4000ms cubic-bezier(0.19, 1, 0.22, 1); /* bouncy ease */
}

.feature-image-2.animated {
    opacity: 1;
    transform: translateY(0) rotate(3deg);
    transition: all 4000ms cubic-bezier(0.19, 1, 0.22, 1); /* bouncy ease */
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 0;
}

.footer-social a {
    font-size: 2rem;
    color: black !important;
    transition: all 0.3s ease;
    text-decoration: none !important;   /* kills any underline */
    border: none !important;            /* extra safety */
    border-bottom: none !important;
}

.footer-social a:hover {
    color: #000;
    transform: translateY(-3px);
}

/* Optional: dark mode */
@media (prefers-color-scheme: dark) {
    .footer-social a {
        color: #ccc;
    }
    .footer-social a:hover {
        color: #fff;
    }
}

/* Proposal option gallery inside modals - clickable thumbnails + main image with fade.
   Navigation uses Bootstrap's native .carousel-control-* classes for side overlays + vertical centering. */
.proposal-image-gallery {
  position: relative;
}

/* Fixed dimension gallery viewer. The box itself is a fixed size so the
   gallery never changes shape. The photo is contained + centered inside it. */
.main-image-container {
  position: relative;
  width: 700px;
  max-width: 100%;
  height: 420px;
  margin: 0 auto;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  overflow: hidden;
}

.proposal-main-image {
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1), transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.proposal-main-image.fading {
  transform: scale(0.985);
}

.proposal-thumbs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  display: flex;
  gap: 8px;
}

.proposal-thumbs::-webkit-scrollbar {
  height: 5px;
}
.proposal-thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.proposal-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  flex-shrink: 0;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.proposal-thumb:hover {
  transform: scale(1.02);
  border-color: #adb5bd;
}

.proposal-thumb.active {
  border-color: #6c757d;
  box-shadow: 0 0 0 1px #6c757d;
}

/* Native Bootstrap carousel controls, positioned by JS so they are
   vertically centered *to the actual contained image*, not the outer box.
   The fixed .main-image-container + object-fit:contain + centered arrows
   on the visual photo bounds. */
.proposal-image-gallery .carousel-control-prev,
.proposal-image-gallery .carousel-control-next {
  position: absolute;
  top: auto;
  bottom: auto;
  height: auto;
  width: 2.75rem;
  z-index: 10;
  opacity: 0.9;
  transition: opacity 0.15s ease;
  display: flex;
  align-items: center;
}

.proposal-image-gallery .carousel-control-prev:hover,
.proposal-image-gallery .carousel-control-next:hover {
  opacity: 1;
}

/* Boost when hovering the image area */
.main-image-container:hover .carousel-control-prev,
.main-image-container:hover .carousel-control-next {
  opacity: 0.95;
}

/* High contrast dark circle behind chevrons so they are readable on any
   photo (light or dark) and any letterbox. */
.proposal-image-gallery .carousel-control-prev-icon,
.proposal-image-gallery .carousel-control-next-icon {
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(0, 0, 0, 0.65);
  background-size: 55%;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.proposal-image-gallery .carousel-control-prev:hover .carousel-control-prev-icon,
.proposal-image-gallery .carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.82);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Keep the icon near the inner edge of the photo */
.proposal-image-gallery .carousel-control-prev {
  justify-content: flex-start;
}

.proposal-image-gallery .carousel-control-next {
  justify-content: flex-end;
}

/* Ensure our conditional hiding of controls (via [hidden]) works reliably */
.proposal-image-gallery [data-dir][hidden] {
  display: none !important;
}
