/**
 * The Brandists — Custom Styles
 * Bootstrap 5.3.6 CDN + custom overrides.
 *
 * @version 1.0.0
 * @since 2026-05-13
 */

/* ============================================
   Brand Variables
   ============================================ */
:root {
  --brand-dark: #0D0D0D;
  --brand-light: #FFFFFF;
  --brand-accent: #D4A853;
  --brand-accent-hover: #C49A45;
  --brand-muted: #6C757D;
  --brand-surface: #F8F8F8;
  --brand-font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ============================================
   Base
   ============================================ */
body {
  font-family: var(--brand-font);
  color: var(--brand-dark);
}

/* ============================================
   Sticky Footer Layout
   ============================================ */
html,
body.brandists-layout {
  min-height: 100vh;
}

body.brandists-layout {
  display: flex;
  flex-direction: column;
}

body.brandists-layout .page-wrapper {
  flex: 1 0 auto;
}

body.brandists-layout > footer,
body.brandists-layout .footer {
  flex-shrink: 0;
}

/* ============================================
   Text Logo
   ============================================ */
.brand-logo {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-light);
  text-decoration: none;
}

.navbar-brand:hover .brand-logo {
  color: var(--brand-accent);
}

/* ============================================
   Navigation
   ============================================ */
.brandists-nav {
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 1.25rem 0;
}

.brandists-nav.nav-scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 0;
}

.brandists-nav .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.brandists-nav .nav-link:hover,
.brandists-nav .nav-link.active {
  color: var(--brand-accent);
}

.brandists-nav .navbar-toggler-icon {
  filter: invert(1);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.7) 0%, rgba(13,13,13,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-light);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

.hero-services {
  font-size: 0.9rem;
  color: var(--brand-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================
   Accent Utilities
   ============================================ */
.text-accent {
  color: var(--brand-accent) !important;
}

.text-accent:hover {
  color: var(--brand-accent-hover) !important;
}

.bg-accent {
  background-color: var(--brand-accent) !important;
}

.btn-accent {
  background-color: var(--brand-accent);
  color: var(--brand-dark);
  border: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-accent:hover {
  background-color: var(--brand-accent-hover);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-outline-accent {
  border: 2px solid var(--brand-accent);
  color: var(--brand-accent);
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
  transition: all 0.2s ease;
}

.btn-outline-accent:hover {
  background-color: var(--brand-accent);
  color: var(--brand-dark);
}

/* ============================================
   Section Styling
   ============================================ */
.section-dark {
  background-color: var(--brand-dark);
  color: var(--brand-light);
}

.section-light {
  background-color: var(--brand-surface);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  border-color: var(--brand-accent);
  transform: translateY(-4px);
}

.service-card .service-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ============================================
   Team Cards
   ============================================ */
.team-card {
  text-align: center;
}

.team-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--brand-accent);
  margin-bottom: 1.5rem;
}

/* ============================================
   Folio Grid
   ============================================ */
.folio-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.folio-item img {
  transition: transform 0.4s ease;
}

.folio-item:hover img {
  transform: scale(1.05);
}

.folio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,13,13,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.folio-item:hover .folio-overlay {
  opacity: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--brand-dark);
}

.footer-link:hover {
  color: var(--brand-accent) !important;
}

/* ============================================
   Form Styling
   ============================================ */
.brandists-form .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  color: var(--brand-light);
  padding: 1rem 0;
}

.brandists-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.brandists-form .form-control:focus {
  background: transparent;
  box-shadow: none;
  border-bottom-color: var(--brand-accent);
  color: var(--brand-light);
}

.brandists-form select.form-control {
  color: rgba(255, 255, 255, 0.4);
}

.brandists-form select.form-control option {
  background: var(--brand-dark);
  color: var(--brand-light);
}

/* Light form variant (for light backgrounds) */
.brandists-form-light .form-control {
  color: var(--brand-dark);
  border-bottom-color: rgba(13, 13, 13, 0.2);
}

.brandists-form-light .form-control::placeholder {
  color: rgba(13, 13, 13, 0.4);
}

.brandists-form-light .form-control:focus {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-accent);
}

.brandists-form-light select.form-control {
  color: rgba(13, 13, 13, 0.4);
}

.brandists-form-light select.form-control option {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* ============================================
   Form Response Messages
   ============================================ */
.form-message {
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

/* ============================================
   Scroll to Top
   ============================================ */
#scrollToTopBtn {
  background-color: var(--brand-accent);
  color: var(--brand-dark);
  border: none;
  transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: var(--brand-accent-hover);
}

/* ============================================
   Banner (inner pages)
   ============================================ */
.page-banner {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background-color: var(--brand-dark);
}

.page-banner .section-label {
  color: var(--brand-accent);
}

.page-banner .section-title {
  color: var(--brand-light);
}

.page-banner p {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991.98px) {
  .brandists-nav .navbar-collapse {
    background: rgba(13, 13, 13, 0.98);
    padding: 1.5rem;
    margin-top: 0.5rem;
    border-radius: 4px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}
