/*
 * BLW Web Solutions - Main Stylesheet
 *
 * This CSS file defines the core color palette, typography, and
 * foundational styles for the BLW website, based on the logo analysis.
 *
 * It is recommended to link this file in the <head> of your HTML,
 * e.g., <link rel="stylesheet" href="blw_styles.css">
 */

/* ==========================================================================
   1. CSS Custom Properties (Variables)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --blw-dark-blue: #0B2A65;
  --blw-mid-blue: #1F73C2;
  --blw-teal: #00A5D6;

  /* Background Colors */
  --blw-background-light: #F9F9F9;
  --blw-background-subtle: #EFEFEF;

  /* Text Colors */
  --blw-text-gray: #4D4D4D;
  --blw-text-on-dark: #FFFFFF;
}

/* ==========================================================================
   2. Base Styles
   ========================================================================== */

/* Apply the main background and text colors to the entire body */
body {
  font-family: Arial, sans-serif; /* Update with your chosen font */
  line-height: 1.6;
  background-color: var(--blw-background-light);
  color: var(--blw-text-gray);
  margin: 0;
  padding: 0;
}

/* Base font size for better accessibility and scaling */
html {
  font-size: 16px;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

/* Main headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--blw-dark-blue);
  font-family: 'Montserrat', sans-serif; /* Example font, replace as needed */
  font-weight: 700;
  margin-top: 0;
}

/* Main title (e.g., hero section) */
h1 {
  font-size: 2.5rem;
}

/* Main section headings */
h2 {
  font-size: 2rem;
}

/* Subheadings */
h3 {
  font-size: 1.5rem;
}

/* Paragraphs and list items use the main text color */
p, li {
  color: var(--blw-text-gray);
}

/* ==========================================================================
   4. Links and Buttons
   ========================================================================== */

/* Link styling */
a {
  color: var(--blw-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: var(--blw-dark-blue);
  text-decoration: underline;
}

/* Primary Call-to-Action (CTA) Buttons */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--blw-dark-blue);
  color: var(--blw-text-on-dark);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--blw-mid-blue);
  color: var(--blw-text-on-dark);
  text-decoration: none;
}

/* Secondary Buttons */
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--blw-teal);
  color: var(--blw-text-on-dark);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--blw-dark-blue);
}

/* ==========================================================================
   5. Layout and Structural Components
   ========================================================================== */

/* Basic container for content, centered on the page */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header section */
.header {
  background-color: var(--blw-dark-blue);
  color: var(--blw-text-on-dark);
  padding: 20px 0;
}

.header a {
  color: var(--blw-text-on-dark);
}

/* Footer section */
.footer {
  background-color: var(--blw-dark-blue);
  color: var(--blw-text-on-dark);
  padding: 40px 0;
  text-align: center;
}

/* Alternating background sections for visual separation */
.section-alternate {
  background-color: var(--blw-background-subtle);
  padding: 60px 0;
}

/* Hero section gradient example */
.hero-section {
  background: linear-gradient(135deg, var(--blw-dark-blue) 0%, var(--blw-teal) 100%);
  color: var(--blw-text-on-dark);
  padding: 100px 0;
  text-align: center;
}

.hero-section h1 {
  color: var(--blw-text-on-dark);
}

/* ==========================================================================
   6. Form Components
   ========================================================================== */

/* Contact form styling */
.contact-form {
  background-color: var(--blw-background-light);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--blw-background-subtle);
}

/* Form group styling */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  color: var(--blw-text-gray);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--blw-background-subtle);
  background-color: var(--blw-background-light);
  color: var(--blw-text-gray);
  border-radius: 0.25rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blw-teal);
  box-shadow: 0 0 0 2px rgba(0, 165, 214, 0.2);
}

/* ==========================================================================
   7. Service and Feature Cards
   ========================================================================== */

/* Service cards */
.service-card {
  background-color: var(--blw-background-subtle);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--blw-dark-blue);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--blw-text-gray);
}

/* Feature cards */
.feature-card {
  background-color: var(--blw-background-subtle);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  color: var(--blw-dark-blue);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--blw-text-gray);
}

/* Package cards */
.package-card {
  background-color: var(--blw-background-light);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--blw-background-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.package-card h4 {
  color: var(--blw-dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.package-card p {
  color: var(--blw-text-gray);
  margin-bottom: 1.5rem;
}

.package-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--blw-dark-blue);
  margin-bottom: 1.5rem;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--blw-text-gray);
}

.package-features li svg {
  color: var(--blw-teal);
  margin-right: 0.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.package-features li span {
  line-height: 1.4;
}

/* ==========================================================================
   8. CTA Section
   ========================================================================== */

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--blw-dark-blue) 0%, var(--blw-mid-blue) 100%);
  color: var(--blw-text-on-dark);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--blw-text-on-dark);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--blw-text-on-dark);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ==========================================================================
   9. Grid System
   ========================================================================== */

/* Grid system */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

       /* ==========================================================================
          10. Custom Logo Gradient (for recreating the text effect)
          ========================================================================== */

       /* Assuming you have a span or similar element around the text to be colored */
       .logo-gradient-text {
         font-size: 3em;
         font-weight: 900;
         background: linear-gradient(to right, var(--blw-dark-blue) 0%, var(--blw-mid-blue) 50%, var(--blw-teal) 100%);
         -webkit-background-clip: text;
         -webkit-text-fill-color: transparent;
         background-clip: text;
         color: transparent;
       }

       /* Logo text styling - using grey color as requested */
       .logo-text {
         color: var(--blw-text-gray);
         font-weight: bold;
         font-size: 1.5rem;
       } 