/* ==========================================================================
   GET CUSTOM PAINT - OPTION 1 (Modern & Premium Design System)
   ========================================================================== */

/* Google Fonts: Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Color Variables */
:root {
  /* Core Colors */
  --color-primary: #0A192F; /* Deep Navy Blue */
  --color-primary-light: #112240; 
  --color-accent: #FF6A00; /* Energetic Orange */
  --color-accent-hover: #E55D00;
  
  /* Logo Quadrant Colors (Subtle usage or specific accents) */
  --color-qk-green: #00A651;
  --color-qk-yellow: #FFF200;
  --color-qk-blue: #0054A6;
  --color-qk-red: #EE3124;

  /* Typography / Backgrounds */
  --color-text-dark: #1F2937;
  --color-text-body: #4B5563;
  --color-text-light: #F3F4F6;
  --color-bg-white: #FFFFFF;
  --color-bg-light-gray: #F8FAFC;
  --color-border: #E5E7EB;

  /* Sizing and Spacing */
  --nav-height: 80px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

body {
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--color-bg-light-gray);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: var(--color-bg-white);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-bg-white);
  border: 2px solid var(--color-bg-white);
}

.btn-outline-light:hover {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 50px;
}

.logo-container img {
  height: 100%;
  object-fit: contain;
}

/* The Horizontal Wordmark Style for Desktop Header */
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

/* Hero Section */
.hero {
  margin-top: var(--nav-height);
  position: relative;
  height: calc(100vh - var(--nav-height));
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  overflow: hidden;
}

/* Hero Image Background (will be updated dynamically via style or class if needed, or simply placed inside) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25; /* Darkened for better text readability over the white house */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-bg-white);
  max-width: 800px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-bg-white);
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 400;
  max-width: 600px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: -30px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--color-accent);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  color: var(--color-primary);
  margin-right: 15px;
  margin-top: 3px;
}

.contact-form-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--color-primary-light);
  padding: 20px 0;
  color: white;
}

.trust-bar-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.trust-item i {
  color: var(--color-accent);
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .trust-bar-content {
    justify-content: center;
  }
  .trust-item {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
  }
  .trust-item i {
    margin-left: 0;
  }
}

/* Services Section */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--color-text-body);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }

  .portfolio-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .portfolio-item:hover .portfolio-img {
    transform: scale(1.03);
  }

  .portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(10, 25, 47, 0.7);
    color: #fff;
  }

  .portfolio-category {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.85;
    display: block;
    margin-bottom: 5px;
  }

  .portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
  }
  padding: 0;
  text-align: left;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid var(--color-accent);
  transition: filter 0.3s ease;
}

.service-card:hover .service-card-img {
  filter: brightness(1.05);
}

.service-card-body {
  padding: 25px 30px;
  flex: 1;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  margin-bottom: 0;
}

/* Two Column Layout (About / Image) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

  .about-text-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
}

.bullet-points {
  list-style: none;
  margin-top: 30px;
}

.bullet-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--color-primary);
}

.bullet-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}
.section-bottom-120 {
  padding-bottom: 120px !important;
}

.grid-fit-300 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: left;
}
/* Divider & Regions */
.regions {
  background-color: var(--color-bg-light-gray);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  text-align: center;
}

.regions p {
  font-weight: 500;
  color: var(--color-text-dark);
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-bg-white);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 20px;
  /* Filter fallback to make logo pop on dark bg if using black text variation */
  background: white;
  padding: 10px;
  border-radius: var(--border-radius-sm);
}

  .footer-brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0A192F;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
  }

  .footer-brand-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0A192F;
    display: block;
    margin-top: 5px;
    text-align: center;
    letter-spacing: 1px;
  }

  .footer-brand-description {
    opacity: 0.8;
    max-width: 300px;
    margin-bottom: 20px;
  }

.footer-links a {
  color: #9CA3AF;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid #1F2937;
  padding-top: 30px;
  text-align: center;
  color: #9CA3AF;
  font-size: 0.9rem;
}

.icon-vertical-middle {
  vertical-align: middle;
}

.hero-section-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.hero-section-text {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: var(--color-text-body);
}

.no-top-padding {
  padding-top: 0 !important;
}

.contact-status-row {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav-menu {
    display: none; /* simple mobile toggle needed in JS */
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-actions {
    flex-direction: column;
  }
}

/* Contact Dropdown UX */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0; /* Fixed gap preventing mouse hover breakdown */
  background-color: var(--color-bg-white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  z-index: 2000;
  list-style: none;
  border: 1px solid var(--color-border);
  flex-direction: column;
}
.dropdown-menu li { margin: 0 !important; }
.dropdown-menu a {
  display: block !important;
  padding: 14px 20px !important;
  color: var(--color-text-dark) !important;
  font-weight: 600 !important;
  text-decoration: none;
  border-bottom: 1px solid var(--color-bg-light-gray);
  transition: all 0.2s ease !important;
  font-size: 0.95rem !important;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-bg-white) !important;
  padding-left: 25px !important; /* Elegant slide right on hover */
}
.dropdown:hover .dropdown-menu {
  display: flex;
  animation: slideDownFade 0.3s ease;
}
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Navigation Restructure --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 5px;
  z-index: 2001; /* Stay above mobile menu */
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--color-bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    display: none; /* hidden by default on mobile */
    border-top: 1px solid var(--color-border);
    z-index: 2000;
  }
  
  .nav-menu.active {
    display: flex;
    animation: slideDownFade 0.2s ease;
  }
  
  .nav-menu li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
    .nav-menu a {
    padding: 20px !important;
    display: block !important;
    width: 100%;
    font-size: 1.1rem;
  }
  
  .dropdown {
    width: 100%;
  }
}

/* Utility classes to eliminate inline styles and satisfy CSP */
  .inline-logo {
    display: flex;
    align-items: center;
  }

  .hero-cta-title {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
  }

  .hero-cta-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
  }

  .page-hero {
    margin-top: var(--nav-height);
    background-color: var(--color-primary);
    color: white;
    padding: 60px 0;
    text-align: center;
  }

  .filter-toolbar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  .filter-btn-rounded {
    padding: 8px 20px;
    border-radius: 30px;
  }

  .cta-panel {
    background-color: var(--color-primary);
    color: white;
    padding: 70px 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
  }

  .cta-panel-title {
    font-size: 2.75rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
  }

  .cta-panel-text {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.85;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
  }

  .cta-panel-button {
    background-color: var(--color-accent);
    color: white;
    padding: 18px 45px;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
  }

  .dropdown-button {
    color: #FFFFFF !important;
    padding: 10px 20px;
  }

  .contact-alert-success,
  .contact-alert-error {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #064e3b;
    background-color: #d1fae5;
    border: 1px solid #10b981;
  }

  .contact-alert-error {
    color: #991b1b;
    background-color: #fee2e2;
    border: 1px solid #f87171;
  }

  .contact-link-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .contact-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
  }

  .contact-list-item-icon {
    width: 18px;
    margin-right: 8px;
    vertical-align: text-bottom;
  }

  .contact-list-item-icon-large {
    width: 20px;
    margin-right: 10px;
  }

  .contact-item-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .contact-item-text {
    margin: 0;
    color: var(--color-text-body);
  }

  .contact-form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-form-grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact-form-card .btn {
    width: 100%;
    border: none;
    font-size: 1.1rem;
    padding: 15px;
  }

  @media (max-width: 900px) {
    .dropdown .btn {
      width: 100%;
      border-radius: 0;
      text-align: left;
      box-shadow: none !important;
    }

    .dropdown-menu {
      position: static;
      box-shadow: none;
      border: none;
      border-radius: 0;
      padding-left: 20px;
      background-color: var(--color-bg-light-gray);
      display: flex !important;
      flex-direction: column;
    }
  }
    animation: none;
  }
