/* ============================================================= *
 *  MAIN.CSS — Craig V. Films (CLEAN + CONSOLIDATED)
 * ============================================================= */


/* ============================================================= *
 *  GENERAL / RESETS
 * ============================================================= */

html, body { margin: 0; padding: 0; }

body {
  position: relative;
  background-color: #131313;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.7px;
  color: #999;
}

#body-content {
  position: relative;
  z-index: 2;
  background-color: #131313;

  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition: 0.4s ease-in-out;
  -moz-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}

#body-content.lateral-menu-is-open {
  cursor: e-resize;
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}

p { letter-spacing: 1px; }

a, a:focus {
  color: #987F28;
  text-decoration: none;
  outline: none;
}
a:hover {
  color: #B79932;
  text-decoration: none;
}

img { max-width: 100%; height: auto; }

::selection,
::-moz-selection,
::-webkit-selection {
  color: #fff;
  text-shadow: none;
  background: #000;
}

@media (min-width: 768px) {
  .lead { font-size: 17px; }
}

.cover {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.12);
}

.list-inline { margin-left: 0; }
.list-inline > li { padding: 0; }

address {
  margin-bottom: 30px;
  font-style: normal;
  line-height: inherit;
}

section { position: relative; }


/* ============================================================= *
 *  PRELOADER (CVF logo fade)
 * ============================================================= */

#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cvf-logo-loader img {
  width: 140px;
  height: auto;
  opacity: 0.25;
  animation: cvf-logo-fade 1.8s ease-in-out infinite;
}

@keyframes cvf-logo-fade {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-2px); }
}


/* ============================================================= *
 *  HEADINGS + HR
 * ============================================================= */

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
  font-family: inherit;
  line-height: 1.4;
  color: #F8F8FF;
  font-weight: 300;
}

.h1, .h2, .h3, h1, h2, h3 { margin: 0 0 20px 0; }
.h4, .h5, .h6, h4, h5, h6 { margin: 10px 0 20px 0; }

.h1, h1 {
  font-size: 38px;
  font-weight: 100;
}

.h5, .h6, h5, h6 { font-weight: 400; }

hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

hr.hr-short {
  display: inline-block;
  width: 28px;
  height: 7px;
  background: url(../img/hr-dark.png) no-repeat center/cover;
  margin-top: 0;
  margin-bottom: 20px;
  border: none;
}
hr.hr-short.hr-light { background-image: url(../img/hr-light.png); }

h1 + hr.hr-short,
h2 + hr.hr-short,
h3 + hr.hr-short,
h4 + hr.hr-short,
h5 + hr.hr-short,
h6 + hr.hr-short {
  margin-top: -8px;
}


/* ============================================================= *
 *  HEADER + NAV (CLEAN)
 * ============================================================= */

#header{
  position: absolute;
  top: 0; left: 0; width: 100%;
  background-color: #0B0B0B;
  z-index: 999;
}

#header.fixed-top{ position: fixed; }

.header-inner{
  position: relative;
  padding: 0 15px;
}
@media (min-width: 991px){
  .header-inner{ padding: 0 45px; }
}

#logo{ float: left; z-index: 9; }
#logo a{
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  line-height: 64px; /* header height reference */
  color: #FFF;
  letter-spacing: 6px;
}
#logo img{ max-height: 38px; }

.navbar{
  float: right;
  min-height: 50px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* desktop spacing */
@media (min-width: 768px){
  .navbar-nav > li + li{ margin-left: 20px; }
}
@media (min-width: 1200px){
  .navbar-nav > li + li{ margin-left: 32px; }
}

.navbar-nav > li > a{
  padding: 25px 0;
  line-height: 19px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  color: #999;
  transition: color .2s ease-in-out;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > .active > a{
  color: #FFF;
  background: transparent;
}

/* hamburger button */
.navbar-toggle{
  float: right;
  margin: 15px 0 14px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.navbar-toggle:hover,
.navbar-toggle:focus{ background: transparent !important; }

.navbar-toggle .icon-bar{
  width: 26px;
  height: 4px;
  background-color: #DDD !important;
  border-radius: 2px;
}

/* active link */
.navbar-nav > li.active > a,
.navbar-nav > li.active > a:hover,
.navbar-nav > li.active > a:focus{
  background: transparent !important;
  background-color: transparent !important;
  color: #FFF !important;
  box-shadow: none !important;
}


/* ============================================================= *
 *  MOBILE NAV — FULLSCREEN OVERLAY (TIDY + SMOOTH)
 * ============================================================= */

@media (max-width: 767px){

  /* keep header fixed so overlay sits under it */
  #header{ position: fixed; padding: 0; }

  .navbar{ float: none !important; }

  /* Fullscreen overlay panel (Bootstrap 3 collapse) */
  #header .navbar-collapse{
    position: fixed;
    top: 64px;                 /* match #logo a line-height */
    left: 0; right: 0; bottom: 0;
    background: rgba(11,11,11,0.98);
    z-index: 998;

    border-top: 1px solid rgba(134,134,134,0.2) !important;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* closed state */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;

    text-align: center;
  }

  /* open state */
  #header .navbar-collapse.in{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease;
  }

  /* kill collapsing animation artifacts */
  #header .navbar-collapse.collapsing{
    height: calc(100vh - 64px) !important;
    transition: none !important;
  }

  /* nav list positioning */
  #header .navbar-nav,
  #header .navbar-nav.navbar-right{
    float: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 150px 15px 24px !important;
  }

  #header .navbar-nav > li{ float: none; }

  #header .navbar-nav > li > a{
    padding: 14px 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
  }

  /* scroll lock class (JS adds/removes this class) */
  body.nav-open{
    overflow: hidden;
    height: 100%;
  }
}

/* ============================================================= *
 *  INTRO
 * ============================================================= */

#content-section.intro-section { padding: 45px; }
@media (max-width: 992px) { #content-section.intro-section { padding: 15px; } }

#intro-section {
  position: relative;
  height: 500px;
  min-height: 360px;
}
#intro-section.full-page { height: 100%; }

#intro-section .intro-cover {
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(19,19,19,1) 100%);
}

.intro-caption {
  position: absolute;
  left: 5%;
  bottom: 10%;
  max-width: 820px;
  padding: 50px 60px;
  z-index: 9;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.7);
}
@media (max-width: 992px) {
  .intro-caption {
    right: 5%;
    bottom: 5%;
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .intro-caption { text-align: center; }
}

.intro-title {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.05;
}
@media (max-width: 991px) { .intro-title { font-size: 28px; } }
@media (max-width: 767px) {
  .intro-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 7px;
    margin-right: -7px;
  }
}

.intro-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 12px;
  margin-right: -12px;
}
@media (max-width: 991px) {
  .intro-subtitle { letter-spacing: 5px; margin-right: -5px; }
}

.intro-text { font-size: 14px; }
.intro-button-wrap { margin-top: 35px; }


/* ============================================================= *
 *  PAGE HEADER + CONTENT WRAP (DEFAULT)
 * ============================================================= */

#page-header-section{
  position: relative;
  min-height: 55vh;
  padding: 60px 0 150px;
  overflow: hidden;
}

.page-header-image{
  position: absolute;
  inset: 0;
}

#page-header-section .page-header-cover{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.65) 45%,
    rgba(19,19,19,1) 100%
  );
}

#content-section{
  position: relative;
  padding: 0 0 45px;
}
@media (min-width: 991px){
  #content-section{ padding: 0 30px 60px; }
}

/* Default overlap */
#page-header-section + #content-section{
  margin-top: -80px;
  z-index: 2;
}

.content-wrap{
  position: relative;
  background-color: rgba(0,0,0,0.4);
  padding: 40px;
  border-radius: 4px;
}
@media (max-width: 991px){
  .content-wrap{ padding: 20px; }
}

/* ============================================================= *
 *  HEADER FADE + OVERLAP (About / Contact / Investment)
 * ============================================================= */

body.page-about #page-header-section + #content-section,
body.page-contact #page-header-section + #content-section,
body.page-investment #page-header-section + #content-section{
  margin-top: -350px;      
}

@media (max-width: 767px){
  body.page-about #page-header-section,
  body.page-contact #page-header-section,
  body.page-investment #page-header-section{
    min-height: 10vh;
    padding: 0 0 20px;
  }

  body.page-about #page-header-section + #content-section,
  body.page-contact #page-header-section + #content-section,
  body.page-investment #page-header-section + #content-section{
    margin-top: 0;
  }
}

/* ============================================================= *
 *  OWL CAROUSEL
 * ============================================================= */

.owl-carousel .owl-item {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.owl-carousel .cc-item {
  position: relative;
  display: block;
  padding-bottom: 56.25%;
}

.owl-carousel:is([data-margin]) .cc-item,
.owl-carousel:is([data-items="1"]) .cc-item { border-radius: 4px; }

.owl-carousel .cc-item-h {
  position: relative;
  display: block;
  height: 400px;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  line-height: 62px;
  background-color: rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: 16px;
  color: #FFF;
  opacity: 0;
  z-index: 999;
  transform: translateY(-50%);
  transition: all 0.2s ease-in-out;
}

.owl-carousel:hover .owl-nav .owl-prev,
.owl-carousel:hover .owl-nav .owl-next { opacity: 1; }

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
  background-color: rgba(0, 0, 0, 0.85);
  color: #FFF;
}

.owl-carousel .owl-nav .owl-prev { left: 10px; padding-right: 3px; }
.owl-carousel .owl-nav .owl-next { right: 10px; padding-left: 3px; }

@media (min-width: 992px) {
  .owl-carousel:hover .owl-nav .owl-prev { left: 20px; }
  .owl-carousel:hover .owl-nav .owl-next { right: 20px; }
}

@media (max-width: 992px) {
  .owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    line-height: 42px;
    opacity: 1;
  }
}

.owl-carousel .owl-nav .owl-prev.disabled,
.owl-carousel .owl-nav .owl-next.disabled {
  background-color: rgba(0, 0, 0, 0.2);
  color: rgba(255,255,255,0.3) !important;
}

.owl-carousel.nav-outside .owl-nav .owl-prev,
.owl-carousel.nav-outside .owl-nav .owl-next {
  background-color: #0B0B0B;
  color: #999;
  opacity: 1;
}
.owl-carousel.nav-outside .owl-nav .owl-prev { left: -40px; }
.owl-carousel.nav-outside .owl-nav .owl-next { right: -40px; }

.owl-carousel.nav-outside .owl-nav .owl-prev:hover,
.owl-carousel.nav-outside .owl-nav .owl-next:hover { color: #FFF; }

.owl-carousel.nav-outside .owl-nav .owl-prev.disabled,
.owl-carousel.nav-outside .owl-nav .owl-next.disabled { color: #353535; }

@media (max-width: 992px) {
  .owl-carousel.nav-outside .owl-nav .owl-prev,
  .owl-carousel.nav-outside .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    line-height: 42px;
  }
  .owl-carousel.nav-outside .owl-nav .owl-prev { left: -20px; }
  .owl-carousel.nav-outside .owl-nav .owl-next { right: -20px; }
}

.owl-dots,
.owl-nav.disabled + .owl-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  z-index: 999;
  transform: translateX(-50%);
}

.owl-dots .owl-dot span {
  width: 6px;
  height: 6px;
  background-color: #525252;
  margin: 0 8px;
  border-radius: 0;
  transition: all 0.3s ease-in-out;
}
.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span { background-color: #FFF; }

.dots-outside .owl-dots { bottom: -30px; }
.dots-left .owl-dots { left: 15px; transform: none; }
.dots-right .owl-dots { left: auto; right: 15px; transform: none; }

.dots-rounded .owl-dots .owl-dot span { border-radius: 10px; }

@media (max-width: 992px) {
  .owl-dots { display: none; }
}


/* ============================================================= *
 *  LIGHTGALLERY
 * ============================================================= */

body.lg-on { overflow: hidden !important; }

@media (max-width: 767px) {
  .lg-sub-html { padding: 10px; }
}

.lg-outer .lg-thumb { margin-left: auto; margin-right: auto; }

.lg-outer .lg-thumb-item {
  position: relative;
  border: 2px solid #FFF;
  border-radius: 0;
}

.lg-outer .lg-thumb-item img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: auto;
  transform: translate(-50%, -50%);
}

.lg-progress-bar { background-color: #333; height: 2px; }
.lg-progress-bar .lg-progress { background-color: #a90707; height: 2px; }


/* ============================================================= *
 *  BUTTONS
 * ============================================================= */

.btn-outline-cvf-home,
.btn-outline-cvf-investment,
.btn-outline-cvf-contact, 
.btn-outline-cvf-about {
  font-family: "Helvetica", sans-serif;
  background: transparent;
  border: 0.5px solid #fff;
  color: #fff;
  border-radius: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  text-align: center;
  display: inline-block;
}

.btn-outline-cvf-home { padding: 12px 40px; margin-top: -60px; }
.btn-outline-cvf-investment { padding: 12px 80px; margin-top: 0px; margin-bottom: 25px }

/* Contact button centered */
.btn-outline-cvf-contact {
  padding: 12px 80px;
  margin: 40px auto 0;
}

.btn-outline-cvf-home:hover,
.btn-outline-cvf-home:focus,
.btn-outline-cvf-about:hover,
.btn-outline-cvf-about:focus,
.btn-outline-cvf-contact:hover,
.btn-outline-cvf-contact:focus,
.btn-outline-cvf-investment:hover,
.btn-outline-cvf-investment:focus {
  background: #fff;
  color: #000;
  text-decoration: none;
}


/* ============================================================= *
 *  BLOCKQUOTE
 * ============================================================= */

blockquote {
  position: relative;
  padding: 10px 20px;
  margin: 30px 0;
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  border: none;
}
blockquote::before {
  position: absolute;
  content: open-quote;
  top: 0;
  left: -5px;
  font-size: 28px;
}


/* ============================================================= *
 *  PAGES
 * ============================================================= */

#content-section.page {
  padding-left: 0;
  padding-right: 0;
}
.page-404 .content-wrap { z-index: 9; }


/* ============================================================= *
 *  FORMS (CVF underline style)
 * ============================================================= */

.form-control {
  background: transparent;
  color: #fff;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  border-radius: 0;
  box-shadow: none;
  padding: 2px 0;
  height: 32px;
}
.form-control:focus {
  border-bottom-color: rgba(255,255,255,0.9);
  box-shadow: none;
}

textarea.form-control {
  height: 140px;
  max-height: none;
  padding-top: 6px;
  resize: vertical;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
}

::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  color: rgba(255,255,255,0.55) !important;
  font-weight: 400;
  font-size: 12px;
}


/* ============================================================= *
 *  FIX: Browser Autofill in Dark Forms
 * ============================================================= */

input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus,
textarea.form-control:-webkit-autofill,
textarea.form-control:-webkit-autofill:hover,
textarea.form-control:-webkit-autofill:focus,
select.form-control:-webkit-autofill,
select.form-control:-webkit-autofill:hover,
select.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  box-shadow: 0 0 0px 1000px rgba(0,0,0,0) inset !important;
  transition: background-color 9999s ease-out 0s;
  border-bottom-color: rgba(255,255,255,0.9) !important;
}


/* ============================================================= *
 *  FLATPICKR — DARK THEME + INPUT VISIBILITY
 * ============================================================= */

input.flatpickr-input.form-control,
input#date.form-control,
input.form-control[readonly] {
  background: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: none !important;
  cursor: pointer;
}

/* Popup calendar */
.flatpickr-calendar {
  background: #0B0B0B !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 12px 35px rgba(0,0,0,0.7) !important;
  color: #fff !important;
  z-index: 10000 !important; /* above fixed header */
}

.flatpickr-months,
.flatpickr-month,
.flatpickr-current-month {
  background: #0B0B0B !important;
  color: #fff !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: #fff !important;
}

.flatpickr-weekdays { background: #0B0B0B !important; }

.flatpickr-weekday {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500;
}

.flatpickr-day {
  color: #eee !important;
  background: transparent !important;
  border-color: transparent !important;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.inRange {
  background: #987F28 !important;
  border-color: #987F28 !important;
  color: #000 !important;
}

.flatpickr-day.today {
  border-color: #987F28 !important;
}

.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
  color: rgba(255,255,255,0.25) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: #fff !important;
}


/* ============================================================= *
 *  FOOTER
 * ============================================================= */

#footer {
  background-color: #0B0B0B;
  color: #999;
  font-weight: 400;
  width: 100%;
}

.footer-inner { padding: 17px 0; }

@media (min-width: 991px) {
  .footer-inner { padding-left: 40px; padding-right: 40px; }
}

#footer .copyright {
  margin-top: 8px;
  text-transform: uppercase;
  font-size: 12px;
}


/* ============================================================= *
 *  FILMS / ALBUM CAROUSELS
 * ============================================================= */

#content-section.album-list-carousel {
  padding: 0 45px 45px 45px;
}
@media (max-width: 992px) {
  #content-section.album-list-carousel { padding: 0 15px 15px 15px; }
}

.album-list-carousel .ali-img { min-height: 500px; }

.album-list-carousel .hover-zoom .album-list-item { overflow: hidden; }

.album-list-carousel .hover-zoom .album-list-item .ali-img-wrap {
  transition: all 2s ease-in-out;
}
.album-list-carousel .hover-zoom .album-list-item:hover .ali-img-wrap {
  transform: scale(1.04);
}

@media (max-width: 992px) {
  .album-list-carousel .owl-dots { display: none; }
}

#content-section.album-single-carousel { padding: 45px; }
@media (max-width: 992px) {
  #content-section.album-single-carousel { padding: 15px; }
}

.album-single-carousel .album-single-item { min-height: 445px; }

.owl-carousel:is([data-margin]) .album-single-item,
.owl-carousel:is([data-items="1"]) .album-single-item { border-radius: 4px; }

@media (max-width: 992px) {
  .album-single-carousel .owl-dots { display: none; }
}

#content-section.full-carousel {
  min-height: 100%;
  padding: 0;
}

.full-carousel .content-wrap,
.full-carousel .owl-carousel,
.full-carousel .owl-stage-outer,
.full-carousel .owl-stage,
.full-carousel .owl-item,
.full-carousel .album-list-item,
.full-carousel .album-single-item,
.full-carousel .ali-link,
.full-carousel .ali-img-wrap,
.full-carousel .ali-img {
  height: 100%;
  max-height: 100%;
}

.full-carousel .content-wrap { padding: 0; }
.full-carousel .dots-outside { padding-bottom: 40px; }

.full-carousel .dots-outside .owl-dots,
.full-carousel .dots-outside .owl-nav.disabled + .owl-dots { bottom: 10px; }

#page-header-section + .full-carousel {
  min-height: 785px;
  padding: 20px;
}
#page-header-section + .full-carousel .content-wrap { padding: 40px; }
#page-header-section + .full-carousel .dots-outside { padding-bottom: 0; }
#page-header-section + .full-carousel .dots-outside .owl-dots { bottom: -30px; }

@media (max-width: 992px) {
  #page-header-section + .full-carousel { padding: 15px; }
  #page-header-section + .full-carousel .content-wrap { padding: 20px; }
  #page-header-section + .full-carousel .dots-outside { padding-bottom: 20px; }

  #page-header-section + .full-carousel {
    height: auto !important;
    min-height: auto;
  }

  #page-header-section + .full-carousel .content-wrap,
  #page-header-section + .full-carousel .owl-carousel,
  #page-header-section + .full-carousel .owl-stage-outer,
  #page-header-section + .full-carousel .owl-stage,
  #page-header-section + .full-carousel .owl-item,
  #page-header-section + .full-carousel .album-list-item,
  #page-header-section + .full-carousel .album-single-item,
  #page-header-section + .full-carousel .ali-link,
  #page-header-section + .full-carousel .ali-img-wrap,
  #page-header-section + .full-carousel .ali-img {
    height: auto;
  }

  #page-header-section + .album-list-carousel .ali-img { min-height: 360px; }
}

@media (max-width: 992px) {
  .full-carousel .owl-dots { display: none; }
  .full-carousel .dots-outside { padding-bottom: 0 !important; }
}


/* =========================================================
   MINI HELPERS
   ========================================================= */

.bg-image {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

@media (max-width: 480px) {
  .hide-from-xs { display: none !important; }
}

.margin-bottom-30 { margin-bottom: 30px !important; }
.text-center { text-align: center !important; }
.text-gray-3 { color: #DDD !important; }


/* =========================================================
   CVF UPDATES / CUSTOM
   ========================================================= */

.video-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  #logo img {
    max-height: 38px;
    width: auto;
  }
  .intro-title {
    font-family: "Big Shoulders Display", sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
}

#intro-section .intro-button-wrap {
  margin-bottom: 18px;
}

.album-list-item .ali-img-wrap { position: relative; }

.album-list-item .ali-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 52px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
  pointer-events: none;
  opacity: 0.9;
  transition: opacity .25s ease, transform .25s ease;
}
.album-list-item a:hover .ali-play {
  opacity: 1;
  transform: scale(1.05);
}


/* =========================================================
   FLEX FOOTER PAGES (About / Contact / Investment)
   ========================================================= */

body.page-contact #body-content,
body.page-about #body-content,
body.page-investment #body-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-contact .page-contact-full,
body.page-about .page-about-full,
body.page-investment .page-investment-full {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.page-contact #content-section,
body.page-about #content-section,
body.page-investment #content-section {
  flex: 1;
}

body.page-contact #footer,
body.page-about #footer,
body.page-investment #footer {
  margin-top: auto;
}

@media (max-width: 767px) {
  body.page-contact #body-content {
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }

  body.page-contact {
    overscroll-behavior-y: contain;
    overflow-x: hidden;
  }
}

/* ------------------------------------------------------------- *
 * Album list item
/* ------------------------------------------------------------- */

.album-list-item {
  position: relative;
}

/* album list item image */
.album-list-item .ali-img-wrap {
  position: relative;
}
.album-list-item .ali-img-wrap .ali-img {
  position: relative;
  z-index: 2;
}
.isotope:is([class*="gutter-"]) .album-list-item .ali-img-wrap .ali-img,
.album-list-carousel .owl-carousel:is([data-margin]) .album-list-item .ali-img-wrap .ali-img {
  border-radius: 4px;
}

/* album list item link */
.album-list-item .ali-link {
  display: block;
  text-decoration: none;
}

/* album list item caption (default) */
.album-list-item .ali-caption {
  position: absolute;
  display: block;
  bottom: 0px;
  left: 0px;
  right: 0px;
  padding: 5% 7% 4% 7%;
  text-align: center;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.90);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.isotope:is([class*="gutter-"]) .isotope-items-wrap:not(.caption-boxed) .album-list-item .ali-caption,
.album-list-carousel .content-wrap:not(.caption-boxed) .owl-carousel:is([data-margin]) .album-list-item .ali-caption {
  border-radius: 0px 0px 4px 4px;
}
.album-list-item:hover .ali-caption {
  background-color: rgba(255, 255, 255, 0.95);
  padding-top: 7%;
  padding-bottom: 6%;
}

/* album list item title */
.album-list-item .ali-title {
  display:block;
  margin: 0;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* album list item meta */
.album-list-item .ali-meta {
  margin-top: 5px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  color: #666;
}

/* ------------------------------------------------------------- *
 * Caption styles
/* ------------------------------------------------------------- */

/* Boxed caption layout */
.caption-boxed .album-list-item .ali-caption {
  bottom: 24px;
  left: 6%;
  right: 6%;
  border-radius: 4px;
}
.caption-boxed .album-list-item .album-share {
  top: 30px;
  right: 8%;
}
@media (max-width : 768px) {
  .caption-boxed .album-list-item .ali-caption {
    bottom: -1px;
    left: -1px;
    right: -1px;
    padding-top: 5%;
    padding-bottom: 4%;
  }
  .caption-boxed .album-list-item .album-share {
    top: 0;
    right: 0;
  }
}

/* Dark cinematic box */
.caption-dark .album-list-item .ali-caption {
  background-color: rgba(0, 0, 0, 0.6);
}
.caption-dark .album-list-item:hover .ali-caption {
  background-color: rgba(0, 0, 0, 0.9);
}
.caption-dark .album-list-item .ali-title {
  color: #EEE;
}
.caption-dark .album-list-item .ali-meta {
  color: #CACACA;
}

/* =========================================================
   Investment Styles
   ========================================================= */

.cvf-collection-card{
  background: rgba(0,0,0,0.62);
  color: #fff;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
}

.cvf-collection-card h3,
.cvf-collection-card h2,
.cvf-collection-card h4{
  color:#fff;
}

.cvf-collection-card .small{
  color: rgba(255,255,255,0.78);
}

.cvf-included-list{
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto;
  max-width: 520px;
  text-align: center;
}

.cvf-included-list li{
  padding: 10px 0;
  font-size: 14px;              
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 1.4px;         
  font-weight: 400;
  color: rgba(255,255,255,0.9);
}

.cvf-included-list li + li{
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =========================================================
   Play icon overlay (Investment examples)
   ========================================================= */

.cvf-film-card{
  position: relative;
  display: block;
}

/* center play icon */
.cvf-play-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;

  color: #fff;
  font-size: 18px;
  pointer-events: none; /* lets click pass through to link */
  
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);

  transition: transform .25s ease, background .25s ease, opacity .25s ease;
  opacity: 0.95;
}

/* nudge triangle a touch */
.cvf-play-icon i{
  margin-left: 3px;
}

/* subtle hover lift */
.cvf-film-card:hover .cvf-play-icon{
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(0,0,0,0.7);
  opacity: 1;
}

/* smaller on mobile */
@media (max-width: 767px){
  .cvf-play-icon{
    width: 54px;
    height: 54px;
    font-size: 16px;
  }
}

/* =========================================================
   Testimonial (no box, big cinematic quotes)
   ========================================================= */

.cvf-testimonial{
  position: relative;
  padding: 0 10px;
  max-width: 820px;
  margin: 0 auto;
}

.cvf-testimonial-quote{
  position: relative;
  font-size: 15px;
  line-height: 1.8;
  color: #999;
  font-style: normal;
  margin: 0 auto 12px;
  padding: 0 18px; /* lane for quote marks */
}

.cvf-testimonial-quote:before,
.cvf-testimonial-quote:after{
  position: absolute;
  font-size: 54px;
  line-height: 1;
  color: rgba(255,255,255,0.95);
  font-family: serif;
}

.cvf-testimonial-quote:before{
  content: "“";
  left: -10px;     
  top: -8px;
}

.cvf-testimonial-quote:after{
  content: "”";
  right: 35px;    
  bottom: -20px;
}

.cvf-testimonial-name{
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================================
   FAQ cinematic styling
   ========================================================= */

#faqAccordion .panel{
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  overflow: hidden;
  margin-bottom: 12px;
}

#faqAccordion .panel-heading{
  background: transparent;
  padding: 0;
  border: none;
}

#faqAccordion .panel-title a{
  display: block;
  padding: 16px 18px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-decoration: none;
  position: relative;
}

#faqAccordion .panel-title a:after{
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  opacity: 0.8;
}

#faqAccordion .panel-title a[aria-expanded="true"]:after{
  content: "–";
}

#faqAccordion .panel-body{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  padding: 14px 18px 18px;
  font-size: 15px;
  line-height: 1.6;
}

/* Remove Bootstrap separator line cleanly */
#faqAccordion .panel-default > .panel-heading + .panel-collapse > .panel-body{
  border-top: none;
}

/* Extra breathing room before FAQ */
.page-investment #faqAccordion{
  margin-bottom: 35px;
}

.faq-accordion .panel-title,
.faq-accordion .panel-body {
  text-align: center;
}

/* =========================================================
   Contact Styles
   ========================================================= */

.cvf-form-actions{
  display: flex;
  justify-content: center;  
  align-items: center;      
  gap: 20px;                
}

.cvf-form-actions .cvf-actions-col{
  width: auto;              
  float: none;              
  display: flex;
  align-items: center;     
}

@media (max-width: 767px){
  .cvf-form-actions{
    display: block;
    text-align: center;
  }
  .cvf-form-actions .cvf-actions-col{
    width: 100%;
    display: block;
    margin-bottom: 12px;
  }
}

.cvf-form-actions button{
  margin-top: 20px;  
}