/* Washington County Glass - Custom Bulma Theme */
/* Bright & Dynamic Design System */

/* Import Bulma CSS */
@import 'https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css';

/* ========================== */
/* CUSTOM COLOR VARIABLES     */
/* ========================== */
:root {
  /* Brand Colors */
  --primary-safety-blue: #2563eb;
  --secondary-aqua: #06b6d4;  
  --accent-electric-lime: #84cc16;
  --dark-charcoal: #374151;
  --light-gray: #f8fafc;
  --white: #ffffff;
  
  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ========================== */
/* BULMA OVERRIDES           */
/* ========================== */

/* Primary Brand Colors */
.is-primary-brand {
  background-color: var(--primary-safety-blue) !important;
  color: var(--white) !important;
}

.is-secondary-brand {
  background-color: var(--secondary-aqua) !important;
  color: var(--white) !important;
}

.is-accent-brand {
  background-color: var(--accent-electric-lime) !important;
  color: var(--dark-charcoal) !important;
}

.has-text-primary-brand {
  color: var(--primary-safety-blue) !important;
}

.has-text-secondary-brand {
  color: var(--secondary-aqua) !important;
}

.has-text-accent-brand {
  color: var(--accent-electric-lime) !important;
}

.has-text-charcoal {
  color: var(--dark-charcoal) !important;
}

/* ========================== */
/* TYPOGRAPHY SYSTEM         */
/* ========================== */

/* Hero Section Typography */
.hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--dark-charcoal);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  color: var(--dark-charcoal);
  opacity: 0.8;
}

/* Section Headings */
.section-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--dark-charcoal);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--dark-charcoal);
  opacity: 0.7;
  margin-bottom: 3rem;
}

/* ========================== */
/* GLASS MORPHISM EFFECTS    */
/* ========================== */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(31, 38, 135, 0.4);
  background: rgba(255, 255, 255, 0.35);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ========================== */
/* BUTTON SYSTEM              */
/* ========================== */

.btn-primary-brand {
  background: linear-gradient(135deg, var(--primary-safety-blue), #1d4ed8);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
  white-space: nowrap;
  min-height: 48px;
  margin: auto 1rem;
}

.btn-primary-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8, var(--primary-safety-blue));
  color: var(--white);
  text-decoration: none;
}

.btn-secondary-brand {
  background: var(--secondary-aqua);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.3);
  white-space: nowrap;
  min-height: 48px;
  margin: auto 1rem;
}

.btn-secondary-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(6, 182, 212, 0.4);
  background: #0891b2;
  color: var(--white);
  text-decoration: none;
}

.btn-outline-brand {
  background: transparent;
  color: var(--primary-safety-blue);
  border: 2px solid var(--primary-safety-blue);
  border-radius: 12px;
  padding: 14px 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 48px;
  margin: auto 1rem;
}

.btn-outline-brand:hover {
  background: var(--primary-safety-blue);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.3);
}

.btn-accent-brand {
  background: var(--accent-electric-lime);
  color: var(--dark-charcoal);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px 0 rgba(132, 204, 22, 0.3);
  white-space: nowrap;
  min-height: 48px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-accent-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(132, 204, 22, 0.4);
  background: #65a30d;
  color: var(--dark-charcoal);
  text-decoration: none;
}

/* ========================== */
/* CARDS & CONTAINERS        */
/* ========================== */

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-strong);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-safety-blue), var(--secondary-aqua));
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.service-card .card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary-aqua), var(--primary-safety-blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-strong);
  position: relative;
  border-left: 4px solid var(--accent-electric-lime);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-electric-lime);
  font-family: Georgia, serif;
  line-height: 1;
}

/* ========================== */
/* LAYOUT & SPACING          */
/* ========================== */

.section-hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.section-light {
  padding: 5rem 0;
  background: var(--light-gray);
}

.section-dark {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--dark-charcoal) 0%, #1f2937 100%);
  color: var(--white);
}

.section-accent {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--accent-electric-lime) 0%, #65a30d 100%);
  color: var(--dark-charcoal);
}

/* ========================== */
/* MOBILE NAVIGATION         */
/* ========================== */

.navbar-burger {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.navbar-burger span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--dark-charcoal);
  transition: all 0.3s ease;
  transform-origin: center;
}

.navbar-burger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.navbar-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  margin-top: 1rem;
}

.navbar-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.navbar-item:hover {
  background: var(--light-gray);
  color: var(--primary-safety-blue);
}

.navbar-item.is-active {
  background: var(--primary-safety-blue);
  color: var(--white);
}

/* ========================== */
/* FORMS & INPUTS            */
/* ========================== */

.form-input {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  width: 100%;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--primary-safety-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--dark-charcoal);
  margin-bottom: 0.5rem;
  display: block;
}

/* Ensure white text in contact section for form labels */
.section-dark .form-label {
  color: var(--white);
}

/* Ensure white text for checkbox in contact section */
.section-dark .checkbox span {
  color: var(--white);
}

/* Contact section specific styles */
.section-dark {
  color: var(--white);
}

.section-dark .glass-card .title,
.section-dark .glass-card h3 {
  color: var(--white) !important;
}

.section-dark .glass-card p {
  color: var(--white) !important;
}

/* ========================== */
/* UTILITY CLASSES           */
/* ========================== */

.text-gradient {
  background: linear-gradient(135deg, var(--primary-safety-blue), var(--secondary-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-effect {
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
  }
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

/* Mobile First Approach */
@media (max-width: 768px) {
  .section-hero {
    padding: 4rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .btn-primary-brand,
  .btn-secondary-brand,
  .btn-outline-brand,
  .btn-accent-brand {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .navbar-menu {
    display: flex;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
  }
  
  .navbar-burger {
    display: none;
  }
}

@media (min-width: 1024px) {
  .section-hero {
    padding: 8rem 0;
  }
  
  .hero-title {
    font-size: 4rem;
  }
}
.section-dark strong,
.section-dark p {
  color: white;
}
.footer strong {
  color: white;
}
@media screen and (min-width: 769px), print {
  .column.is-three-quarters, .column.is-three-quarters-tablet {
    width: 100%;
  }
}