/* Silent Groove website theme - recreates the look of the original WordPress site.
   Building blocks for page content (use them in the editor's HTML view):
     <section class="sg-hero" style="background-image:url(/media/LV-scaled.jpg)">   big photo banner with a title
     <section class="sg-dark">       dark navy section (default for most content)
     <section class="sg-gradient">   red/purple glow section
     <section class="sg-photo" style="background-image:url(...)">   photo background with dark overlay
     .sg-split                       row with an image on one side and text on the other (add .sg-split-reverse to swap)
     .sg-cards / .sg-card            the three cards on the home page
     .sg-heading                     wide-spaced uppercase heading;  .sg-eyebrow small spaced label above a heading
     .sg-btn                         outlined white button;  .sg-testimonials  quotes carousel
*/

:root {
    --sg-blue: #043b94;
    --sg-navy: #202331;
    --sg-red: #e5483b;
    --sg-text: #b9bccb;
    --sg-heading: #ffffff;
    --sg-gradient: radial-gradient(at 50% 100%, #b03957 20%, #262b4b 100%);
}

body {
    font-family: Hind, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sg-text);
    background: var(--sg-navy);
}

h1, h2, h3, h4, h5, h6 {
    font-family: Poppins, Arial, sans-serif;
    color: var(--sg-heading);
    font-weight: 600;
}

a { color: var(--sg-red); }
a:hover { color: #ff7a6e; }
img { max-width: 100%; height: auto; }

/* ---------- header ---------- */
.sg-header { background: var(--sg-blue); position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.sg-header .navbar { padding: 0; min-height: 90px; }
.sg-nav { max-width: 1400px; }
.sg-header .nav-link {
    font-family: Hind, Arial, sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, .85) !important;
    padding: 8px 12px !important;
}
.sg-header .nav-link:hover, .sg-header .nav-link.active { color: #fff !important; text-decoration: underline; text-underline-offset: 6px; }
.sg-logo img { height: 74px; width: auto; display: block; }
.sg-logo { padding: 8px 0; }

@media (min-width: 992px) {
    #sgMenu { justify-content: center; }
    .sg-menu-left { flex: 1; justify-content: flex-end; border-right: 1px solid rgba(255,255,255,.15); padding-right: 22px; min-height: 90px; align-items: center; }
    .sg-menu-right { flex: 1; justify-content: flex-start; border-left: 1px solid rgba(255,255,255,.15); padding-left: 22px; min-height: 90px; align-items: center; }
    .sg-logo.d-lg-block { margin: 0 22px; }
}
@media (max-width: 991.98px) {
    .sg-nav { padding: 0 16px; }
    .sg-logo img { height: 60px; }
    #sgMenu .navbar-nav { padding: 8px 0 16px; }
    .sg-header .nav-link { font-size: 15px; }
}

/* ---------- sections ---------- */
section { position: relative; }
.sg-dark, .cms-default { background: var(--sg-navy); padding: 80px 0; }
.sg-gradient { background: var(--sg-gradient); padding: 80px 0; color: #fff; }
.sg-photo { background-size: cover; background-position: center; padding: 100px 0; color: #fff; }
.sg-photo::before { content: ""; position: absolute; inset: 0; background: rgba(10, 12, 30, .55); }
.sg-photo > * { position: relative; }

.sg-page-title { background: var(--sg-navy); padding: 70px 0 10px; }
.sg-page-title h1, .sg-heading {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 28px;
    margin: 0;
}
.sg-heading { font-size: clamp(26px, 4vw, 40px); letter-spacing: 5px; margin-bottom: 30px; }
.sg-eyebrow {
    font-family: Poppins, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 6px;
}
.sg-tagline {
    font-family: Poppins, Arial, sans-serif;
    font-size: 17px;
    letter-spacing: 5px;
    line-height: 1.6;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    max-width: 960px;
}

/* big photo banner */
.sg-hero {
    background-size: cover;
    background-position: center;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.sg-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 10, 40, .35); }
.sg-hero > * { position: relative; }
.sg-hero h1 {
    font-family: Poppins, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(38px, 7vw, 82px);
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 0;
}

/* image + text rows */
.sg-split { align-items: center; padding: 30px 0; }
.sg-split + .sg-split { margin-top: 30px; }
.sg-split img, .sg-split video { width: 100%; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.sg-split h2, .sg-split h3 { font-size: 20px; margin-bottom: 14px; }
.sg-split p { margin-bottom: 14px; }
@media (min-width: 768px) {
    .sg-split > div:first-child { padding-right: 40px; }
    .sg-split.sg-split-reverse { flex-direction: row-reverse; }
    .sg-split.sg-split-reverse > div:first-child { padding-right: 12px; padding-left: 40px; }
}

/* home page cards */
.sg-cards-section { background-size: cover; background-position: center top; padding: 60px 0 80px; }
.sg-cards-section::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: #6f7aa6; z-index: 0; }
.sg-cards-section > .container { position: relative; z-index: 1; }
.sg-card { background: rgba(111, 122, 166, .96); box-shadow: 0 12px 30px rgba(0,0,0,.25); height: 100%; color: #fff; }
.sg-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.sg-card-body { padding: 26px 30px 30px; }
.sg-card h3 { font-size: 17px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.sg-card p { font-size: 14px; color: #fff; }
.sg-card a.sg-arrow { color: #fff; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 14px; }
.sg-card a.sg-arrow::before { content: "\2192"; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #fff; }

/* buttons */
.sg-btn, .cms-btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    padding: 11px 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    text-decoration: none;
}
.sg-btn:hover, .cms-btn:hover { background: #fff; color: var(--sg-navy); }

/* testimonials carousel */
.sg-testimonials .carousel-item { padding: 10px 50px 50px; color: #fff; }
.sg-testimonials .sg-quote { font-size: 15px; line-height: 1.7; }
.sg-testimonials .sg-quote-name { font-weight: 600; margin-top: 14px; color: #fff; }
.sg-testimonials .carousel-indicators { margin-bottom: 0; }
.sg-testimonials .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; }

/* side-by-side photo + content blocks (home page clients/contact) */
.sg-half { display: flex; flex-wrap: wrap; background: var(--sg-gradient); }
.sg-half > .sg-half-img { flex: 1 1 50%; min-height: 420px; background-size: cover; background-position: center; }
.sg-half > .sg-half-text { flex: 1 1 50%; padding: 80px 40px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 767.98px) { .sg-half > div { flex-basis: 100%; } .sg-half > .sg-half-img { min-height: 300px; } }

/* plain content (FAQ, terms...) */
.cms-prose { max-width: 960px; }
.cms-prose h2, .cms-prose h3 { margin-top: 30px; font-size: 20px; }
.cms-prose li { margin-bottom: 8px; }

/* FAQ - <details><summary>Question</summary> answer </details> */
details.sg-faq { border-bottom: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
details.sg-faq summary { color: #fff; font-family: Poppins, Arial, sans-serif; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details.sg-faq summary::-webkit-details-marker { display: none; }
details.sg-faq summary::after { content: "+"; color: var(--sg-red); font-size: 22px; line-height: 1; }
details.sg-faq[open] summary::after { content: "\2212"; }
details.sg-faq > div { padding-top: 12px; }

/* contact form */
.cms-contact-form .form-control {
    background: transparent;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 0;
    color: #fff;
    padding: 12px 14px;
    margin-bottom: 22px;
}
.cms-contact-form .form-control::placeholder { color: rgba(255,255,255,.7); }
.cms-contact-form .form-control:focus { box-shadow: none; border-color: #fff; background: rgba(255,255,255,.05); }
.cms-contact-form .cms-btn { display: block; margin: 0 auto; }
.cms-contact-result { margin-top: 16px; text-align: center; color: #fff; }
.cms-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cms-map iframe { border: 0; filter: grayscale(.3); }

/* get in touch + footer */
.sg-touch { background: #7d7d7d url(/media/x2.jpg) center / cover; padding: 90px 0; color: #fff; }
.sg-touch::before { content: ""; position: absolute; inset: 0; background: rgba(125, 125, 125, .82); }
.sg-touch > .container { position: relative; }
.sg-touch h2 { text-transform: uppercase; letter-spacing: 5px; font-size: clamp(26px, 4vw, 38px); margin-bottom: 40px; }
.sg-touch i { font-size: 22px; color: #fff; }
.sg-touch-label { text-transform: uppercase; letter-spacing: 3px; font-size: 10px; margin: 8px 0 10px; }
.sg-touch a, .sg-touch span { color: #fff; font-family: Poppins, Arial, sans-serif; font-weight: 600; font-size: 16px; text-decoration: none; }

.sg-footer { background: #666 url(/media/x.jpg) center / cover; padding: 70px 0 40px; color: rgba(255,255,255,.75); position: relative; }
.sg-footer::before { content: ""; position: absolute; inset: 0; background: rgba(102, 102, 102, .85); }
.sg-footer > .container { position: relative; }
.sg-footer-logo { height: 90px; width: auto; }
.sg-social { margin: 24px 0; }
.sg-social a { color: #fff; font-size: 16px; margin: 0 8px; }
.sg-copyright { font-size: 13px; margin: 0; }
.sg-copyright a { color: #fff; }

/* gallery: a grid of same-shaped, cropped photos (add class "sg-gallery" to a row of col-* image cells) */
.sg-gallery > [class*="col-"] { margin-bottom: 1rem; }
.sg-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
