/********** Audiosphere Technologies — Template CSS **********
   Palette sampled from audiosphere_logo_transparent.png:
   deep navy ~ #06284f, bright signal-blue ~ #0090e0
*************************************************************/
:root {
    --primary: #0a3d73;      /* deep navy blue (from logo) */
    --primary-dark: #06213f; /* darker navy for gradients/footer */
    --secondary: #00a3e0;    /* bright cyan-blue accent (from logo) */
    --light: #f2f7fc;        /* near-white blue-tinted background */
    --dark: #0b1b2b;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #445269;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Lora', serif;
}

a { text-decoration: none; }

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.py-6 { padding-top: 6rem; padding-bottom: 6rem; }
.my-6 { margin-top: 6rem; margin-bottom: 6rem; }

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}

.bg-light-blue { background: var(--light); }

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Buttons ***/
.btn { font-weight: 600; transition: .3s; letter-spacing: .2px; }
.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover { color: #FFFFFF; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-secondary { background: var(--secondary); border-color: var(--secondary); }
.btn-secondary:hover { background: #0086bd; border-color: #0086bd; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-light-blue { color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-light-blue:hover { background: #fff; color: var(--primary); }

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0; display: flex; align-items: center; justify-content: center; font-weight: normal;
}
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/*** Top bar & Navbar ***/
.top-bar {
    height: 42px;
    background: var(--primary-dark);
    color: #cfe3f7;
}
.top-bar a { color: #cfe3f7; }
.top-bar a:hover { color: #fff; }

.fixed-top { transition: .5s; }

.navbar { background: #fff; }
.navbar .navbar-brand img { height: 46px; }
.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #2b3a4f;
    font-weight: 600;
    outline: none;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--secondary); }

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav { margin-top: 10px; border-top: 1px solid rgba(0,0,0,.07); background: #FFFFFF; }
    .navbar .navbar-nav .nav-link { padding: 10px 0; }
    .navbar-brand img { height: 38px; }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block; visibility: hidden; top: 100%;
        transform: rotateX(-75deg); transform-origin: 0% 0%;
        transition: .4s; opacity: 0; border: none; box-shadow: 0 15px 35px rgba(10,61,115,.15);
    }
    .navbar .nav-item:hover .dropdown-menu { transform: rotateX(0deg); visibility: visible; opacity: 1; }
}
.dropdown-item:active, .dropdown-item.active { background: var(--secondary); }

/*** Hero / Slider ***/
.carousel-caption { top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; text-align: start; z-index: 2; }
.hero-slide { position: relative; }
.hero-slide::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(6,33,63,.88) 0%, rgba(10,61,115,.62) 45%, rgba(10,61,115,.25) 100%);
}
.hero-slide img { object-fit: cover; height: 620px; width: 100%; }
@media (max-width: 768px) { .hero-slide img { height: 460px; } }
.hero-slide .carousel-caption h1 { color: #fff; }
.hero-slide .carousel-caption p { color: #dceaf8; }

.carousel-control-prev, .carousel-control-next { width: 8%; z-index: 3; }
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 3rem; height: 3rem; background-color: var(--secondary); border: 10px solid var(--secondary); border-radius: 3rem;
}
.carousel-indicators [data-bs-target] { background-color: rgba(255,255,255,.5); }
.carousel-indicators .active { background-color: var(--secondary); }

/*** Page header (interior page banner) — CSS pattern, not a photo,
     so it can repeat site-wide without reusing a zip image ***/
.page-header {
    padding-top: 11rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    /* background-image (photo + dark overlay gradient) is set inline per-page via includes/page-header.php */
}
.page-header::before {
    content: "";
    position: absolute; inset: 0;
    background: url(../img/bg-icon.png) center center repeat;
    background-size: 220px;
    opacity: .05;
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; }
.page-header .breadcrumb-item a { color: #cfe3f7; }
.page-header .breadcrumb-item.active { color: #fff; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #9dc3e6; }

/*** Section header ***/
.section-header { position: relative; padding-top: 25px; }
.section-header::before {
    position: absolute; content: ""; width: 60px; height: 3px; top: 0; left: 50%;
    transform: translateX(-50%); background: var(--secondary);
}
.section-header::after {
    position: absolute; content: ""; width: 90px; height: 3px; top: 10px; left: 50%;
    transform: translateX(-50%); background: var(--primary);
}
.section-header.text-start::before, .section-header.text-start::after { left: 0; transform: translateX(0); }

/*** About / image block ***/
.about-img { position: relative; z-index: 2; }
.about-img-wrap { position: relative; }
.about-img-wrap::before {
    position: absolute; content: ""; top: 0; left: -30px; width: 100%; height: 100%;
    border: 14px solid var(--light); z-index: 0;
}
.about-img-wrap img { position: relative; z-index: 1; width: 100%; }

/*** Feature / capability cards ***/
.feature-card { box-shadow: 0 0 45px rgba(10,61,115,.08); transition: .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(10,61,115,.15); }
.feature-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; margin: 0 auto 1.2rem;
}

/*** Product / category tiles ***/
.product-tile { box-shadow: 0 0 45px rgba(10,61,115,.08); overflow: hidden; height: 100%; }
.product-tile img { transition: .5s; height: 220px; object-fit: cover; width: 100%; }
.product-tile:hover img { transform: scale(1.08); }
.product-tile .tile-body { padding: 1.5rem; }

/*** Sector grid (icon cards — no photos, matches thinuna.com "Case" strip) ***/
.sector-card {
    display: block; background: #fff; border-radius: 6px; padding: 1.75rem 1.25rem; text-align: center; height: 100%;
    box-shadow: 0 0 35px rgba(10,61,115,.07); transition: .3s; color: #2b3a4f; border-bottom: 3px solid transparent;
}
.sector-card:hover { border-bottom-color: var(--secondary); transform: translateY(-4px); color: var(--primary); box-shadow: 0 15px 35px rgba(10,61,115,.14); }
.sector-card i { font-size: 2.1rem; color: var(--secondary); margin-bottom: .75rem; display: block; }
.sector-card h6 { margin: 0; font-weight: 700; }

/*** Spec list blocks used on product pages ***/
.spec-block { border-left: 4px solid var(--secondary); padding: 1.25rem 1.5rem; background: var(--light); border-radius: 0 6px 6px 0; margin-bottom: 1.5rem; }
.spec-block h3 { color: var(--primary); }
.model-list { color: #445269; font-size: .96rem; line-height: 1.85; }

.confirm-note {
    background: #fff8e6; border: 1px dashed #e0b64c; color: #6b5218; padding: .9rem 1.1rem; border-radius: 6px; font-size: .9rem; margin: 1.25rem 0;
}
.confirm-note i { color: #c8931f; margin-right: .4rem; }

/*** Footer ***/
.footer { background: var(--primary-dark); color: #b9cde3; }
.footer h4 { color: #fff; }
.footer .btn.btn-link {
    display: block; margin-bottom: 6px; padding: 0; text-align: left; color: #b9cde3;
    font-weight: normal; transition: .3s;
}
.footer .btn.btn-link::before {
    position: relative; content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #6f97c2; margin-right: 10px;
}
.footer .btn.btn-link:hover { color: #fff; letter-spacing: .5px; }
.footer .copyright { padding: 22px 0; font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.footer .copyright a { color: #cfe3f7; }
.footer .copyright a:hover { color: var(--secondary); }
.footer img.footer-logo { height: 42px; margin-bottom: 1rem; }

/*** Contact page ***/
.contact-info-panel { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

/*** Misc ***/
.text-secondary-blue { color: var(--secondary) !important; }
.bg-secondary-blue { background: var(--secondary) !important; }
.badge-soft { background: var(--light); color: var(--primary); font-weight: 600; padding: .4rem .8rem; border-radius: 20px; font-size: .82rem; }
