/* ==========================================================================
   ALPHA PLASTERING - CUSTOM STYLES & ANIMATIONS
   Author: Alpha Plastering Web Team
   Exact Palette:
     - Beige: #F5EFE6
     - Blue:  #075DAB
     - Navy:  #0D427D
     - White: #FFFFFF
   Typography Guide:
     - Headings: Montserrat (Bold, Extrabold)
     - Body: Open Sans (Clean, legible)
     - Buttons: Montserrat Bold
   WordPress Ready: Enqueue via wp_enqueue_style('alpha-custom-style', ...)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typography & Base Resets
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-beige: #F5EFE6;
  --color-blue: #075DAB;
  --color-navy: #0D427D;
  --color-white: #FFFFFF;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: #1e293b;
  background-color: var(--color-white);
}

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Headings Typography (Montserrat) */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Buttons Typography (Montserrat Bold) */
button, 
.btn-primary-glow,
.btn-quote,
input[type="submit"] {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   2. Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.header-nav {
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(13, 66, 125, 0.08);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Mobile Nav dropdown transitions */
#mobile-menu {
  transition: all 0.28s ease-in-out;
}

/* --------------------------------------------------------------------------
   3. Hero Section & Overlay
   -------------------------------------------------------------------------- */
.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(115, 80, 58, 0.88) 0%,
    rgba(125, 88, 64, 0.78) 45%,
    rgba(135, 95, 70, 0.35) 75%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(110, 75, 55, 0.94) 0%,
      rgba(110, 75, 55, 0.88) 65%,
      rgba(110, 75, 55, 0.55) 100%
    );
  }
}

.btn-primary-glow {
  box-shadow: 0 4px 14px 0 rgba(7, 93, 171, 0.4);
  transition: var(--transition-smooth);
}

.btn-primary-glow:hover {
  box-shadow: 0 6px 20px rgba(13, 66, 125, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Section Palette Helpers
   -------------------------------------------------------------------------- */
.bg-palette-beige {
  background-color: #F5EFE6;
}

.bg-palette-blue {
  background-color: #075DAB;
}

.bg-palette-navy {
  background-color: #0D427D;
}

.text-palette-blue {
  color: #075DAB;
}

.text-palette-navy {
  color: #0D427D;
}

/* --------------------------------------------------------------------------
   5. Quick Service Feature Cards
   -------------------------------------------------------------------------- */
.quick-feature-card {
  transition: var(--transition-smooth);
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.quick-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(7, 93, 171, 0.15);
  border-color: rgba(7, 93, 171, 0.35);
}

.quick-feature-card:hover .quick-icon-wrapper {
  transform: scale(1.1);
  color: #0D427D;
}

.quick-icon-wrapper {
  transition: var(--transition-smooth);
  color: #075DAB;
}

/* --------------------------------------------------------------------------
   6. Our Services Image Cards
   -------------------------------------------------------------------------- */
.service-image-card {
  transition: var(--transition-smooth);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #FFFFFF;
}

.service-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -6px rgba(13, 66, 125, 0.15);
  border-color: rgba(7, 93, 171, 0.3);
}

.service-image-card .card-img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-image-card:hover .card-img {
  transform: scale(1.06);
}

.service-image-card .card-title {
  transition: color 0.3s ease;
  font-family: var(--font-heading);
  color: #075DAB;
}

.service-image-card:hover .card-title {
  color: #0D427D;
}

/* --------------------------------------------------------------------------
   7. Keyframe Animations & Reveal States
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   8. Quote Modal Backdrop & Animations
   -------------------------------------------------------------------------- */
.modal-backdrop {
  background: rgba(13, 66, 125, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
