/*--------------------------------------------------------------
# ElectricSheep Entertainment — theme override
# Palette: black / gray / white only. Pattern reference: elcor.com.ph
--------------------------------------------------------------*/
:root {
  --c-black: #121212;
  --c-black-soft: #1c1c1c;
  --c-gray-900: #2b2b2b;
  --c-gray-700: #555555;
  --c-gray-500: #8a8a8a;
  --c-gray-300: #d4d4d4;
  --c-gray-100: #f2f2f2;
  --c-white: #ffffff;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
body {
  background: var(--c-white);
  color: var(--c-gray-900);
}

img {
  filter: grayscale(15%);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--c-black);
}

a {
  color: var(--c-black);
}

a:hover, a:active, a:focus {
  color: var(--c-gray-700);
}

/*--------------------------------------------------------------
# Header / Navigation
--------------------------------------------------------------*/
#header, #header.header-transparent, #header.header-scrolled {
  background: var(--c-black);
  padding: 14px 0;
}

#header .logo img {
  max-height: 46px;
  width: auto;
  filter: invert(1);
}

.nav-menu a {
  color: var(--c-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 0;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: var(--c-gray-300);
}

.nav-menu .nav-cta a {
  border: 1px solid var(--c-white);
  border-radius: 30px;
  padding: 8px 18px;
}

.nav-menu .nav-cta a:hover {
  background: var(--c-white);
  color: var(--c-black) !important;
}

.mobile-nav-toggle i {
  color: var(--c-white);
}

.mobile-nav {
  background: var(--c-black-soft);
}

.mobile-nav a {
  color: var(--c-gray-300);
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-overly {
  background: rgba(0, 0, 0, 0.75);
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-solid, .btn-outline {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 30px;
  transition: 0.3s;
  cursor: pointer;
}

.btn-solid {
  background: var(--c-white);
  color: var(--c-black);
  border: 1px solid var(--c-white);
}

.btn-solid:hover {
  background: transparent;
  color: var(--c-white);
}

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1px solid var(--c-white);
}

.btn-outline:hover {
  background: var(--c-white);
  color: var(--c-black);
}

.btn-dark {
  background: var(--c-black);
  color: var(--c-white);
  border: 1px solid var(--c-black);
}

.btn-dark:hover {
  background: transparent;
  color: var(--c-black);
}

.btn-button2 {
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
# Page shell / spacing
--------------------------------------------------------------*/
#main {
  padding-top: 84px;
}

@media (max-width: 992px) {
  #main {
    padding-top: 68px;
  }
}

.page-header {
  background: var(--c-black);
  color: var(--c-white);
  text-align: center;
  padding: 70px 20px 50px;
  margin-bottom: 10px;
}

.page-header h1 {
  color: var(--c-white);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.page-header p {
  color: var(--c-gray-300);
  margin: 10px 0 0;
}

/*--------------------------------------------------------------
# Hero (home)
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: var(--c-black);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--c-white);
  max-width: 780px;
  padding: 0 20px;
}

.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: var(--c-gray-300);
  margin-bottom: 14px;
  display: block;
}

.hero-content h1 {
  color: var(--c-white);
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-content p {
  color: var(--c-gray-300);
  font-size: clamp(14px, 2vw, 18px);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/*--------------------------------------------------------------
# Promo carousel (home)
--------------------------------------------------------------*/
.promo-carousel-section {
  background: var(--c-black);
  padding: 30px 0 40px;
}

.promo-carousel {
  max-width: 900px;
  margin: 0 auto;
}

.promo-slide {
  display: block;
}

.promo-slide img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: var(--c-black);
  display: block;
}

.promo-carousel .owl-dots {
  margin-top: 16px;
  text-align: center;
}

.promo-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--c-gray-700);
  border: none;
  padding: 0;
}

.promo-carousel .owl-dot.active {
  background-color: var(--c-white);
}

@media (max-width: 768px) {
  .promo-slide img {
    height: 240px;
  }
}

/*--------------------------------------------------------------
# Stat strip
--------------------------------------------------------------*/
.stat-strip {
  background: var(--c-black);
  padding: 40px 0;
}

.stat-strip .stat-item {
  text-align: center;
  padding: 15px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-strip .col-md-3:last-child .stat-item,
.stat-strip .col-6:last-child .stat-item {
  border-right: none;
}

.stat-item .stat-num {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  color: var(--c-gray-500);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--c-gray-100);
}

.section-header h3 {
  color: var(--c-black);
}

.section-header h3::before {
  background: var(--c-gray-300);
}

.section-header h3::after {
  background: var(--c-black);
}

.lead-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.6;
  color: var(--c-gray-900);
}

/*--------------------------------------------------------------
# Card / tile component (team, gallery, partners)
--------------------------------------------------------------*/
.card-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--c-gray-100);
  margin-bottom: 24px;
}

.card-tile img {
  width: 100%;
  display: block;
}

.card-tile .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-align: left;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 40%, rgba(18, 18, 18, 0.92) 100%);
  opacity: 0;
  transition: 0.3s ease;
}

.card-tile:hover .overlay {
  opacity: 1;
}

.card-tile .overlay h3 {
  color: var(--c-white);
  font-size: 18px;
  margin-bottom: 6px;
}

.card-tile .overlay p {
  color: var(--c-gray-300);
  font-size: 12px;
  margin: 0;
  max-height: 140px;
  overflow-y: auto;
}

.partner-tile {
  background: var(--c-white);
  border: 1px solid var(--c-gray-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  margin-bottom: 24px;
  min-height: 140px;
  transition: 0.3s;
}

.partner-tile:hover {
  border-color: var(--c-black);
}

.partner-tile img {
  max-width: 100%;
  max-height: 90px;
  filter: grayscale(0%);
  transition: 0.3s;
}

.partner-tile:hover img {
  filter: grayscale(100%);
}

/* Logos that are white/near-white on transparent (e.g. Fine Craftsmen)
   need a dark plate behind them or they disappear on the white tile. */
.partner-tile--dark {
  background: var(--c-black);
  border-color: var(--c-black);
}

.partner-tile--dark img {
  filter: none;
}

.partner-tile--dark:hover img {
  filter: none;
  opacity: 0.85;
}

/*--------------------------------------------------------------
# Team card (About Us)
--------------------------------------------------------------*/
.team-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-300);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 30px;
  height: 100%;
}

.team-card .team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: grayscale(60%);
}

.team-card .team-body {
  padding: 22px;
}

.team-card h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.team-card .team-role {
  display: block;
  color: var(--c-gray-500);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.team-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-gray-700);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# FAQ accordion
--------------------------------------------------------------*/
.panel-default {
  border: none;
  margin-bottom: 14px;
}

.panel-heading {
  background: var(--c-black) !important;
  border-radius: 4px;
}

.panel-heading a {
  display: block;
  color: var(--c-white) !important;
  padding: 16px 18px !important;
}

.panel-body {
  background: var(--c-gray-100) !important;
  color: var(--c-gray-900) !important;
  border-radius: 0 0 4px 4px;
  padding: 16px 18px !important;
}

.panel-body b {
  color: var(--c-gray-900) !important;
  font-weight: 400 !important;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.input-text {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--c-gray-300);
  border-radius: 4px;
  background: var(--c-white);
  color: var(--c-black);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}

.input-text:focus {
  outline: none;
  border-color: var(--c-black);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--c-black);
  color: var(--c-gray-300);
}

#footer .footer-top {
  background: var(--c-black);
  padding: 60px 0 20px;
}

#footer .footer-top .footer-info h3 {
  color: var(--c-white);
  border-left-color: var(--c-white);
}

#footer .footer-info img {
  filter: invert(1);
}

#footer .footer-top .footer-info p {
  color: var(--c-gray-300);
}

#footer .footer-top h4 {
  color: var(--c-white);
}

#footer .footer-top h4::before {
  background: rgba(255, 255, 255, 0.15);
}

#footer .footer-top h4::after {
  background: var(--c-white);
}

#footer .footer-top .footer-links ul li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

#footer .footer-top .footer-links ul a {
  color: var(--c-gray-300);
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--c-white);
}

#footer .footer-top .footer-contact p {
  color: var(--c-gray-300);
}

#footer .footer-top .footer-contact a {
  color: var(--c-white);
}

#footer .social-links a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white) !important;
}

#footer .social-links a:hover {
  background: var(--c-white);
  color: var(--c-black) !important;
}

#footer .copyright {
  color: var(--c-gray-500);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

#footer .copyright b {
  color: var(--c-gray-300);
}

#footer .credits {
  color: var(--c-gray-500);
}

.back-to-top {
  background: var(--c-black);
}

/*--------------------------------------------------------------
# Responsive helpers
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .stat-strip .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 45px 0;
  }

  .page-header {
    padding: 55px 20px 35px;
  }
}
