/* Q.Z.O. one-page sample, built on plain Bootstrap 5.3. All our own rules start with "qzo-". */

:root { --qzo-accent: #1abc9c; --bs-font-sans-serif: "Inter", system-ui, sans-serif; }
body { font-family: var(--bs-font-sans-serif); }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
html { scroll-padding-top: 80px; } /* anchors stop below the fixed header */

/* ---- 1. Header: clear on top of the hero, white after scrolling ---- */
.qzo-header { transition: background-color .3s, box-shadow .3s; }
.qzo-header .navbar { padding-top: .9rem; padding-bottom: .9rem; }
.qzo-logo { height: 52px; width: auto; }
.qzo-logo-dark { display: none; }
.qzo-header .nav-link { color: #fff; font-weight: 500; letter-spacing: .02em; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.qzo-header .nav-link:hover, .qzo-header .nav-link.active { color: var(--qzo-accent); }
.qzo-header .navbar-toggler { border-color: rgba(255,255,255,.7); }
.qzo-header .navbar-toggler-icon { filter: invert(1); }

/* a soft dark band behind the clear header, so white links read on bright photos */
.qzo-header::before { content: ""; position: absolute; inset: 0 0 -24px; background: linear-gradient(rgba(10,20,35,.55), rgba(10,20,35,0)); pointer-events: none; transition: opacity .3s; z-index: -1; }
.qzo-header.is-solid::before { opacity: 0; }

.qzo-header.is-solid { background: #fff; box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.qzo-header.is-solid .qzo-logo-light { display: none; }
.qzo-header.is-solid .qzo-logo-dark { display: inline; }
.qzo-header.is-solid .nav-link { color: #333; text-shadow: none; }
.qzo-header.is-solid .nav-link:hover, .qzo-header.is-solid .nav-link.active { color: var(--qzo-accent); }
.qzo-header.is-solid .navbar-toggler { border-color: rgba(0,0,0,.25); }
.qzo-header.is-solid .navbar-toggler-icon { filter: none; }

/* phone: the open menu needs its own background */
@media (max-width: 991.98px) {
	.qzo-header .navbar-collapse { background: rgba(15,25,40,.92); margin: .75rem -.75rem -.9rem; padding: .5rem 1.25rem 1rem; }
	.qzo-header.is-solid .navbar-collapse { background: #fff; }
}

/* ---- 2. Hero: carousel with a picture behind each slide ---- */
.qzo-hero { height: 100vh; min-height: 480px; }
@media (max-width: 767.98px) { .qzo-hero { height: 70vh; } }
.qzo-hero .carousel-item { background-size: cover; background-position: center; position: relative; }
.qzo-caption h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #222; }
.qzo-caption p { font-size: 1.25rem; color: #555; max-width: 32rem; }
.qzo-light-text .qzo-caption h2, .qzo-light-text .qzo-caption p { color: #fff; margin-left: auto; margin-right: auto; }
.qzo-shade::after { content: ""; position: absolute; inset: 0; background: rgba(10,20,35,.55); }
.qzo-shade > .container { position: relative; z-index: 1; }
.qzo-hero .carousel-control-prev, .qzo-hero .carousel-control-next { width: 4rem; color: #fff; font-size: 2rem; z-index: 2; }
.qzo-hero .carousel-indicators { z-index: 2; }

/* ---- 3. About ---- */
.qzo-heading { margin-bottom: 3.5rem; }
.qzo-heading h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }
.qzo-heading h2 span { color: var(--qzo-accent); }
.qzo-heading p { margin: .5rem 0 0; font-size: 1.15rem; color: #777; }
.qzo-media { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 6px; margin-bottom: 1.25rem; }
.qzo-feature-title { font-size: 1.4rem; font-weight: 600; margin-bottom: .75rem; }
.qzo-feature-title span { display: block; font-size: .95rem; font-weight: 400; color: var(--qzo-accent); margin-top: .2rem; }

/* picture band with white text. "fixed" gives the slow-moving background; phones ignore it (normal scroll) */
.qzo-band { position: relative; padding: 5rem 0; background-size: cover; background-position: center; background-attachment: fixed; }
.qzo-band::before { content: ""; position: absolute; inset: 0; background: rgba(10,20,35,.6); }
@media (max-width: 991.98px), (hover: none) { .qzo-band { background-attachment: scroll; } }
.qzo-band { color: #fff; }
.qzo-band-icon { font-size: 3rem; line-height: 1; display: block; margin-bottom: .5rem; }
.qzo-counter { font-size: 3rem; font-weight: 700; line-height: 1.2; }
.qzo-band h5 { font-weight: 500; letter-spacing: .04em; margin: .25rem 0 0; }

/* ---- 4. Work ---- */
.qzo-work { margin: 0; }
.qzo-work-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.qzo-work-btn img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.qzo-work-btn:hover img, .qzo-work-btn:focus-visible img { transform: scale(1.05); }
.qzo-work-plus { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,20,35,.45); color: #fff; font-size: 2rem; opacity: 0; transition: opacity .3s; }
.qzo-work-btn:hover .qzo-work-plus, .qzo-work-btn:focus-visible .qzo-work-plus { opacity: 1; }
@media (hover: none) { .qzo-work-plus { display: none; } }   /* touch screens: no hover, just tap */
.qzo-work figcaption { padding: .9rem .25rem 0; }
.qzo-work h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .2rem; }
.qzo-work figcaption span { color: #777; font-size: .95rem; }

/* enlarged viewer */
#qzo-viewer .modal-content { box-shadow: none; }
.qzo-viewer-img { max-width: 100%; max-height: 80vh; border-radius: 6px; }
.qzo-viewer-title { color: #fff; margin: .75rem 0 0; font-weight: 500; }
.qzo-viewer-close { position: absolute; top: -2.25rem; right: 0; opacity: .9; }
.qzo-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 1.4rem; }
.qzo-viewer-nav:hover { background: rgba(0,0,0,.7); }
.qzo-viewer-prev { left: .75rem; } .qzo-viewer-next { right: .75rem; }

/* ---- 5. Team ---- */
.qzo-member { width: 100%; aspect-ratio: 45 / 55; object-fit: cover; border-radius: 12px; }
.qzo-member-name { font-size: 1.5rem; font-weight: 700; margin: 0; }   /* names stay as written (aico, tacosGPT) */
.qzo-member-role { display: block; color: var(--qzo-accent); font-weight: 500; margin-top: .15rem; }

/* ---- 6. Services ---- */
.qzo-service { height: 100%; padding: 2rem 1.5rem; text-align: center; border: 1px solid #eee; border-radius: 12px; transition: transform .25s, box-shadow .25s; }
.qzo-service:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.qzo-service-icon { display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1rem; border-radius: 50%; background: rgba(26,188,156,.12); color: var(--qzo-accent); font-size: 2rem; transition: background-color .25s, color .25s; }
.qzo-service:hover .qzo-service-icon { background: var(--qzo-accent); color: #fff; }
.qzo-service h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .6rem; }
.qzo-service p { margin: 0; color: #666; }
@media (prefers-reduced-motion: reduce) { .qzo-service, .qzo-service-icon { transition: none; } .qzo-service:hover { transform: none; } }

/* ---- 7. FAQ (Bootstrap accordion, tinted with our green) + the green button used by the contact form ---- */
.btn-qzo { --bs-btn-color: #fff; --bs-btn-bg: var(--qzo-accent); --bs-btn-border-color: var(--qzo-accent); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #17a589; --bs-btn-hover-border-color: #17a589; --bs-btn-active-bg: #148f77; --bs-btn-active-border-color: #148f77; }
.qzo-faq { max-width: 52rem; --bs-accordion-active-bg: rgba(26,188,156,.1); --bs-accordion-active-color: #0f7f69; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(26,188,156,.25); }
.qzo-faq .accordion-button { font-weight: 600; }
.qzo-faq .accordion-body { color: #555; }

/* ---- 8. Voices (uses the picture band from About; just taller, with the text on the right) ---- */
.qzo-voices { padding: 11rem 0; background-position: 30% center; }
.qzo-voices::before { background: rgba(10,20,35,.45); }
.qzo-voices h2, .qzo-voices p { text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.qzo-voices-title { font-size: 1.6rem; font-weight: 700; margin-bottom: .4rem; }
.qzo-voices-sub { margin-bottom: 1.5rem; color: rgba(255,255,255,.9); }
.qzo-voices-soon { font-family: "Playfair Display", serif; font-style: italic; font-size: 2.2rem; margin-bottom: .5rem; }
.qzo-voices-note { margin: 0; color: rgba(255,255,255,.85); }
@media (max-width: 767.98px) { .qzo-voices { padding: 6rem 0; } }

/* ---- 9. Contact ---- */
.qzo-form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; }
.qzo-contact-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 12px; }
.qzo-form-frame { display: block; width: 100%; height: 520px; border: 0; }
.qzo-info { height: 100%; padding: 1.75rem 1.25rem; text-align: center; border-radius: 12px; background: #f7f7f7; }
.qzo-info h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .35rem; }
.qzo-info a { color: inherit; }
.qzo-info a:hover { color: var(--qzo-accent); }
.qzo-info .qzo-service-icon { width: 3.75rem; height: 3.75rem; font-size: 1.6rem; margin-bottom: .75rem; }

/* ---- 10. Footer ---- */
.qzo-footer { background: #1b2230; color: rgba(255,255,255,.75); }
.qzo-footer a { color: inherit; text-decoration: none; }
.qzo-footer a:hover { color: var(--qzo-accent); }
.qzo-footer h4 { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.qzo-footer li { padding: .2rem 0; }
.qzo-footer address strong { color: #fff; font-weight: 600; }
.qzo-footer-logo { height: 56px; width: auto; }
.qzo-copyright { background: #141a26; padding: 1.25rem 0; font-size: .9rem; }

.qzo-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--qzo-accent); color: #fff; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.qzo-top.is-shown { opacity: 1; visibility: visible; }
.qzo-top:hover { background: #17a589; color: #fff; }

/* slogan band */
.qzo-slogan { padding: 6rem 0; }
.qzo-slogan h2 { max-width: 46rem; margin: 0 auto; font-family: "Playfair Display", serif; font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.5vw, 2.25rem); line-height: 1.4; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* Terms / Privacy pages */
.qzo-legal { padding-top: 7rem; }
.qzo-legal h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: .25rem; }
.qzo-legal h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; }
.qzo-legal p, .qzo-legal li { line-height: 1.75; }
.qzo-header .navbar > .container > .nav-link { color: #333; text-shadow: none; }
