/* ============================================
   Moonlight Window Fashions - Brand Override CSS
   Primary Blue: #1B5FAB | Dark Blue: #0D3F7F | Accent Yellow: #FDD835
   ============================================ */

:root {
  --brand-primary: #1B5FAB;
  --brand-dark: #0D3F7F;
  --brand-light: #FFFDE7;
  --brand-accent: #FDD835;
}

/* Replace all orange (#F16122) with brand blue */
.btn-main.btn1,
.btn-main.btn1:hover,
.quality-main,
.services-icon-box,
.section-three .services_slider .services-slider-box:hover .services-icon-box,
.Appointment-box,
.ScheduleService,
.section-five,
.section-five-content,
.our-process-section {
  /* handled per class below */
}

/* Header small bar */
.small-header {
  background: #0D3F7F !important;
}

/* Primary buttons */
.btn-main.btn1 {
  background: #1B5FAB !important;
  border-color: #1B5FAB !important;
}
.btn-main.btn1:hover {
  background: #0D3F7F !important;
  border-color: #0D3F7F !important;
}

/* Orange color replacements in CSS vars */
[style*="F16122"],
[class*="orange"] {
  color: #1B5FAB !important;
}

/* Quality badge / section tag */
.quality-main {
  background: rgba(27, 95, 171, 0.08) !important;
  border-left: 3px solid #1B5FAB !important;
}
.quality {
  color: #1B5FAB !important;
}

/* Service icon boxes */
.services-icon-box {
  background: #0D3F7F !important;
}

/* Appointment bar */
.Appointment-box {
  background: #1B5FAB !important;
}

/* Schedule service CTA */
.ScheduleService {
  background: linear-gradient(135deg, #0D3F7F 0%, #1B5FAB 60%, #FDD835 100%) !important;
}

/* Counter section */
.section-five {
  background: linear-gradient(135deg, #0D3F7F 0%, #1B5FAB 100%) !important;
}

/* Process section */
.our-process-number {
  background: #1B5FAB !important;
  color: #fff !important;
}

/* Accordion active */
.accordion-button:not(.collapsed) {
  background-color: #1B5FAB !important;
  color: #fff !important;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(253, 216, 53, 0.35) !important;
}
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1) !important;
}

/* Links */
a:hover {
  color: #1B5FAB;
}

/* Page header / hero backgrounds for inner pages */
.page-header-section {
  background: linear-gradient(135deg, #0D3F7F 0%, #1B5FAB 60%, #FDD835 100%);
  padding: 120px 0 60px;
  color: #fff;
  text-align: center;
}
.page-header-section h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-header-section .breadcrumb {
  justify-content: center;
  background: transparent;
}
.page-header-section .breadcrumb-item,
.page-header-section .breadcrumb-item a,
.page-header-section .breadcrumb-item.active {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.page-header-section .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
}

/* Logo replacement */
.logo img, .side-menu-logo img {
  max-height: 70px;
  width: auto;
}
footer img[alt="footer-logo"] {
  max-height: 80px;
  width: auto;
}

/* Frustration section styling */
.frustration-section {
  background: #f8f9fa;
  padding: 80px 0;
}
.frustration-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(13,63,127,0.08);
  height: 100%;
  border-top: 4px solid #1B5FAB;
  transition: transform 0.3s, box-shadow 0.3s;
}
.frustration-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(27,95,171,0.15);
}
.frustration-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.frustration-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0D3F7F;
  margin-bottom: 12px;
}
.frustration-card p {
  color: #555;
  line-height: 1.7;
}

/* Results / 3Cs section */
.results-section {
  background: linear-gradient(135deg, #0D3F7F 0%, #1B5FAB 100%);
  padding: 80px 0;
  color: #fff;
}
.result-card {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  height: 100%;
  backdrop-filter: blur(10px);
}
.result-card .result-icon {
  font-size: 52px;
  margin-bottom: 16px;
}
.result-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.result-card p {
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
}

/* Window treatment service cards */
.treatment-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13,63,127,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(27,95,171,0.18);
}
.treatment-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.treatment-card-body {
  padding: 24px;
}
.treatment-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0D3F7F;
  margin-bottom: 10px;
}
.treatment-card-body p {
  color: #666;
  font-size: 15px;
  line-height: 1.65;
}
.treatment-card-body a {
  display: inline-block;
  margin-top: 14px;
  color: #1B5FAB;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #1B5FAB;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.treatment-card-body a:hover {
  color: #0D3F7F;
  border-color: #0D3F7F;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #0D3F7F 0%, #1B5FAB 60%, #FDD835 100%);
  padding: 70px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}
.btn-cta-white {
  background: #fff;
  color: #1B5FAB;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  margin: 6px;
  white-space: nowrap;
}
.btn-cta-white:hover {
  background: #FFFDE7;
  color: #0D3F7F;
}
.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  margin: 6px;
}
.btn-cta-outline:hover {
  background: #fff;
  color: #1B5FAB;
}

/* Service detail page */
.service-hero-section {
  background: linear-gradient(135deg, #0D3F7F 0%, #1B5FAB 100%);
  padding: 100px 0 60px;
  color: #fff;
}
.service-hero-section h1 {
  font-size: 48px;
  font-weight: 700;
}

/* Stats/numbers counters */
.stat-box {
  text-align: center;
  padding: 30px 20px;
}
.stat-box .stat-number {
  font-size: 52px;
  font-weight: 800;
  color: #1B5FAB;
}
.stat-box .stat-label {
  font-size: 16px;
  color: #555;
  margin-top: 4px;
}

/* Testimonial cards */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(13,63,127,0.08);
  margin: 10px;
  border-left: 4px solid #1B5FAB;
}
.testimonial-card p {
  font-style: italic;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.7;
}
.testimonial-card .reviewer {
  font-weight: 700;
  color: #0D3F7F;
}
.stars {
  color: #f5a623;
  font-size: 18px;
  margin-bottom: 12px;
}

/* Portfolio / gallery */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 24px;
}
.portfolio-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,63,127,0.85));
  padding: 20px;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

/* Contact form wrapper */
.contact-form-wrapper {
  min-height: 700px;
}

/* Virtual tour embed */
.virtual-tour-container {
  width: 100%;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,63,127,0.2);
}
.virtual-tour-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Preloader text */
.loading span {
  color: #1B5FAB !important;
}

/* Section badges */
.section-badge {
  display: inline-block;
  background: rgba(27,95,171,0.1);
  color: #1B5FAB;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* FAQ page specific */
.faq-intro {
  background: #FFFDE7;
  padding: 50px 0;
}

/* Treatment detail page */
.treatment-detail-features li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  color: #444;
}
.treatment-detail-features li::before {
  content: "✓ ";
  color: #1B5FAB;
  font-weight: 700;
}

/* About / Why Michael section */
.why-michael {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(13,63,127,0.08);
}

/* nav active overrides */
.active-home > a {
  color: #1B5FAB !important;
}

/* survey iframe wrapper */
.survey-wrapper {
  min-height: 600px;
}

/* override template orange from style.css var inline references */
.section-five-content .count-number,
.ourProcess .process-number,
[class*="orange"],
.curved-section .btn-main.btn1 {
  color: #1B5FAB !important;
}

/* Fix header text and links */
.small-header-sub p, .small-header-sub a, .small-header-sub a p {
  color: rgba(255,255,255,0.9) !important;
}

/* Mobile responsive padding */
@media (max-width: 768px) {
  .page-header-section h1 { font-size: 32px; }
  .cta-banner h2 { font-size: 28px; }
  .virtual-tour-container { height: 380px; }
  .frustration-card, .result-card, .treatment-card { margin-bottom: 20px; }
}
