/* =============================================
   Rigorous Studios - Christmas Theme Overlay
   Dark, angular, technological winter.
   Three treatments: gold wireframe (60%),
   frosted geometric (25%), neon lighting (15%).
   Remove this file to restore original site.
   ============================================= */

/* Christmas Design Tokens */
:root {
  --xmas-gold: rgba(245, 158, 11, 0.4);
  --xmas-gold-bright: rgba(245, 158, 11, 0.7);
  --xmas-gold-glow: rgba(245, 158, 11, 0.15);
  --xmas-frost: rgba(200, 220, 240, 0.12);
  --xmas-frost-bright: rgba(200, 220, 240, 0.25);
  --xmas-ice: rgba(140, 180, 220, 0.08);
}

/* =============================================
   HERO - Christmas concept banner
   Frosted R mark with ice crystals and lights
   ============================================= */

.hero {
  position: relative;
  background-image: url('../images/bg/xmas-hero.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(11, 13, 18, 0.6) 50%,
    rgba(11, 13, 18, 1)
  );
  pointer-events: none;
}

.hero-logo {
  filter:
    drop-shadow(0 0 30px rgba(245, 158, 11, 0.3))
    drop-shadow(0 0 60px rgba(245, 158, 11, 0.15))
    drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5))
    brightness(1.05) !important;
  opacity: 0;
}

.hero h1 {
  text-shadow:
    0 0 40px rgba(245, 158, 11, 0.2),
    0 2px 20px rgba(0, 0, 0, 0.6) !important;
}

.hero-tagline,
.hero-desc {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* =============================================
   DIVISION CARDS - Portrait frame overlay
   Angular gold wireframe + ice crystals + lights
   ============================================= */

.div-card {
  position: relative;
  overflow: visible;
  border: none !important;
  box-shadow:
    inset 0 0 30px rgba(245, 158, 11, 0.04),
    0 0 20px rgba(245, 158, 11, 0.06);
  transition: box-shadow 0.3s, transform 0.2s;
}

.div-card::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  background-image: url('../images/frames/frame-portrait.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}

.div-card:hover {
  box-shadow:
    inset 0 0 30px rgba(245, 158, 11, 0.08),
    0 0 30px rgba(245, 158, 11, 0.12);
}

/* Snowflake at top-right of division cards */
.div-card .div-card-header::after {
  content: '\2742';
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 14px;
  color: rgba(245, 158, 11, 0.35);
  pointer-events: none;
}

/* =============================================
   SECTION FRAMES - Landscape frame overlay
   On featured projects, about, and philosophy
   ============================================= */

.featured,
.about {
  position: relative;
}

.featured::after,
.about::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background-image: url('../images/frames/frame-landscape.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Frost gradient on section tops */
.divisions::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 220, 240, 0.15) 20%,
    rgba(200, 220, 240, 0.3) 50%,
    rgba(200, 220, 240, 0.15) 80%,
    transparent 100%
  );
  margin-bottom: 2rem;
}

/* =============================================
   PROJECT CARDS - Subtle gold wireframe
   ============================================= */

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.04);
}

.project-card:hover {
  border-color: var(--xmas-gold) !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.1);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 220, 240, 0.2) 30%,
    rgba(200, 220, 240, 0.35) 50%,
    rgba(200, 220, 240, 0.2) 70%,
    transparent
  );
  z-index: 2;
}

/* =============================================
   PHILOSOPHY - Gold wireframe
   ============================================= */

.philosophy-inner {
  border: 1px solid var(--xmas-gold) !important;
  box-shadow: inset 0 0 40px rgba(245, 158, 11, 0.03);
  position: relative;
}

.philosophy-step::before {
  content: '\2743';
  display: block;
  font-size: 10px;
  color: rgba(200, 220, 240, 0.3);
  margin-bottom: 0.4rem;
}

/* =============================================
   WHAT WE DO & ABOUT - Gold accents
   ============================================= */

.whatwedo-card {
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  position: relative;
  overflow: hidden;
}

.about-story-text {
  border-left: 2px solid rgba(245, 158, 11, 0.3);
  padding-left: 1.5rem;
}

/* =============================================
   FROSTED GEOMETRIC (25%) - Ice crystal accents
   ============================================= */

/* Frost on nav border */
.nav {
  border-bottom: 1px solid rgba(200, 220, 240, 0.1) !important;
}

/* Nav brand frost */
.nav-brand img {
  filter:
    drop-shadow(0 0 8px rgba(245, 158, 11, 0.25))
    brightness(1.05);
}

/* Ice crystal shimmer on featured header line */
.featured-header h2::before {
  background: linear-gradient(180deg, var(--xmas-gold-bright), rgba(200, 220, 240, 0.4)) !important;
}

/* Section heading frost accent */
.section-heading::before {
  background: linear-gradient(180deg, var(--xmas-gold-bright), rgba(200, 220, 240, 0.3)) !important;
}

/* =============================================
   NEON LIGHT STRINGS (15%) - Division glow
   Color-matched to each division
   ============================================= */

.div-card--interactive {
  box-shadow:
    inset 0 0 30px rgba(245, 158, 11, 0.06),
    0 0 20px rgba(245, 158, 11, 0.08),
    0 -2px 15px rgba(245, 158, 11, 0.1) !important;
}

.div-card--solutions {
  box-shadow:
    inset 0 0 30px rgba(59, 130, 246, 0.06),
    0 0 20px rgba(59, 130, 246, 0.08),
    0 -2px 15px rgba(59, 130, 246, 0.1) !important;
}

.div-card--systems {
  box-shadow:
    inset 0 0 30px rgba(139, 92, 246, 0.06),
    0 0 20px rgba(139, 92, 246, 0.08),
    0 -2px 15px rgba(139, 92, 246, 0.1) !important;
}

.div-card--web {
  box-shadow:
    inset 0 0 30px rgba(20, 184, 166, 0.06),
    0 0 20px rgba(20, 184, 166, 0.08),
    0 -2px 15px rgba(20, 184, 166, 0.1) !important;
}

/* Neon hover intensify */
.div-card--interactive:hover {
  box-shadow:
    inset 0 0 40px rgba(245, 158, 11, 0.1),
    0 0 35px rgba(245, 158, 11, 0.15),
    0 -2px 25px rgba(245, 158, 11, 0.18) !important;
}

.div-card--solutions:hover {
  box-shadow:
    inset 0 0 40px rgba(59, 130, 246, 0.1),
    0 0 35px rgba(59, 130, 246, 0.15),
    0 -2px 25px rgba(59, 130, 246, 0.18) !important;
}

.div-card--systems:hover {
  box-shadow:
    inset 0 0 40px rgba(139, 92, 246, 0.1),
    0 0 35px rgba(139, 92, 246, 0.15),
    0 -2px 25px rgba(139, 92, 246, 0.18) !important;
}

.div-card--web:hover {
  box-shadow:
    inset 0 0 40px rgba(20, 184, 166, 0.1),
    0 0 35px rgba(20, 184, 166, 0.15),
    0 -2px 25px rgba(20, 184, 166, 0.18) !important;
}

/* What We Do cards - neon left borders matching divisions */
.whatwedo-card--interactive {
  border-left: 3px solid rgba(245, 158, 11, 0.6) !important;
  box-shadow: -4px 0 15px rgba(245, 158, 11, 0.08);
}

.whatwedo-card--solutions {
  border-left: 3px solid rgba(59, 130, 246, 0.6) !important;
  box-shadow: -4px 0 15px rgba(59, 130, 246, 0.08);
}

.whatwedo-card--systems {
  border-left: 3px solid rgba(139, 92, 246, 0.6) !important;
  box-shadow: -4px 0 15px rgba(139, 92, 246, 0.08);
}

.whatwedo-card--web {
  border-left: 3px solid rgba(20, 184, 166, 0.6) !important;
  box-shadow: -4px 0 15px rgba(20, 184, 166, 0.08);
}

/* =============================================
   SUBTLE BACKGROUND ENHANCEMENT
   Geometric frost particles in the dark space
   ============================================= */

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(200, 220, 240, 0.15), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(200, 220, 240, 0.1), transparent),
    radial-gradient(1px 1px at 55% 15%, rgba(245, 158, 11, 0.12), transparent),
    radial-gradient(1px 1px at 70% 45%, rgba(200, 220, 240, 0.1), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(200, 220, 240, 0.12), transparent),
    radial-gradient(1px 1px at 20% 85%, rgba(245, 158, 11, 0.08), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(200, 220, 240, 0.1), transparent);
  pointer-events: none;
  z-index: 0;
}

body {
  position: relative;
}

/* Footer frost line */
.footer {
  border-top: 1px solid rgba(200, 220, 240, 0.1) !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .div-card::after {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
  }

  .featured::after,
  .about::after {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    opacity: 0.4;
  }
}

@media (max-width: 480px) {
  .div-card::after {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
  }

  .featured::after,
  .about::after {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .div-card,
  .project-card {
    transition: none !important;
  }
}
