/* NW Paintsmith Custom Styles */

:root {
  --dark-navy: #002551;
  --dark-slate: #3d4f5f;
  --dark-gray: #333333;
  --slate-blue: #2d5972;
  --green: #13923b;
  --light-gray: #c4c6c5;
  --white: #ffffff;
}

/* Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark-gray);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-slate);
  line-height: 1.15;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-slate);
  line-height: 1.15;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-blue);
  line-height: 1.15;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-blue);
  line-height: 1.15;
}

/* Buttons */
.btn-primary {
  background-color: var(--green);
  border-color: var(--green);
  border-radius: 50px;
}

.btn-primary:hover {
  background-color: #0f7a31;
  border-color: #0f7a31;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--slate-blue);
  color: var(--slate-blue);
  border-radius: 50px;
}

.btn-secondary:hover {
  background-color: var(--slate-blue);
  border-color: var(--slate-blue);
  color: white;
}

/* Prevent buttons from getting underlines on hover */
.btn:hover {
  text-decoration: none !important;
}

/* Mobile phone button override */
.btn-outline-success {
  border-color: var(--green) !important;
  color: var(--green) !important;
}

.btn-outline-success:hover {
  background-color: var(--green) !important;
  border-color: var(--green) !important;
  color: white !important;
}

/* Navigation spacing - better balance */
@media (min-width: 992px) {
  .navbar-nav {
    margin-left: 3rem;
    margin-right: 1rem;
  }
  
  /* Ensure CTAs don't get squished */
  .navbar .order-lg-2,
  .navbar .order-lg-3 {
    flex-shrink: 0;
  }
}

/* Links */
a {
  color: var(--green);
}

a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Navigation */
.navbar-brand {
  color: var(--dark-navy) !important;
  font-weight: 700;
}

.nav-link {
  color: var(--dark-gray) !important;
}

.nav-link:hover {
  color: var(--green) !important;
}

/* Hero section */
.hero {
  background: linear-gradient(rgba(0, 37, 81, 0.2), rgba(0, 37, 81, 0.2)), url('/images/hp_hero.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: white;
}

.hero h1 {
  color: white;
}

.hero .lead {
  font-size: 1.25rem;
}

/* Service cards */
.service-card {
  transition: all 0.3s ease;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Service card images */
.service-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* Background images for each service */
.interior-bg {
  background-image: url('/images/interior-painting2.jpeg');
}

.exterior-bg {
  background-image: url('/images/team.jpg');
}

.commercial-bg {
  background-image: url('/images/commercial-painting2.jpeg');
}

.specialty-bg {
  background-image: url('/images/specialty-finishes.jpg');
}

.leadpaint-bg {
  background-image: url('/images/lead-paint-renovation.jpg');
}

.service-card .card-body {
  padding: 2rem 1.5rem;
}

/* Why Choose Us Section */
.why-choose-section {
  background: linear-gradient(135deg, var(--dark-navy), var(--slate-blue));
}

.why-card {
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: none;
  transition: all 0.4s ease;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  position: relative;
  overflow: hidden;
}


.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.why-card .card-body {
  padding: 2.5rem;
}

.why-icon {
  font-size: 3.5rem;
  min-width: 70px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.why-card h5 {
  color: var(--dark-slate);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.why-card p {
  color: var(--dark-gray);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Service Area Map */
.service-area-map {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.service-area-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, var(--slate-blue), var(--dark-navy));
}

.testimonial-card {
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: none;
  transition: all 0.4s ease;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  position: relative;
  overflow: hidden;
}


.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-card .card-body {
  padding: 2.5rem;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--dark-gray);
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
}

.testimonial-card footer cite {
  color: var(--dark-slate);
  font-style: normal;
  font-size: 1.1rem;
}

/* CTA section */
.cta-section {
  background-color: rgba(196, 198, 197, 0.5) !important;
}

.cta-section h2 {
  color: var(--dark-navy);
}

.cta-section .lead {
  color: var(--dark-gray);
}

/* Contact Page */
.contact-section {
  background: linear-gradient(135deg, var(--dark-navy), var(--slate-blue));
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(19, 146, 59, 0.25);
}

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

.contact-info-card {
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: none;
  position: sticky;
  top: 2rem;
}

.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-emoji {
  font-size: 2rem;
  min-width: 40px;
}

.contact-link {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--dark-navy);
  text-decoration: underline;
}

.contact-info-card h6 {
  color: var(--dark-slate);
  font-weight: 600;
}

/* Service Pages */
.service-hero {
  background: linear-gradient(rgba(0, 37, 81, 0.2), rgba(0, 37, 81, 0.2)), url('/images/interior-painting2.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.exterior-service-hero {
  background: linear-gradient(rgba(0, 37, 81, 0.2), rgba(0, 37, 81, 0.2)), url('/images/team.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.commercial-service-hero {
  background: linear-gradient(rgba(0, 37, 81, 0.2), rgba(0, 37, 81, 0.2)), url('/images/commercial-painting2.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.specialty-service-hero {
  background: linear-gradient(rgba(0, 37, 81, 0.2), rgba(0, 37, 81, 0.2)), url('/images/specialty-finishes.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.leadpaint-service-hero {
  background: linear-gradient(rgba(0, 37, 81, 0.2), rgba(0, 37, 81, 0.2)), url('/images/lead-paint-renovation.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.what-we-paint-card {
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: none;
  transition: transform 0.3s ease;
}

.what-we-paint-card:hover {
  transform: translateY(-5px);
}

.what-we-paint-card .card-body {
  padding: 2rem 1.5rem;
}

.service-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Icon style variations */
.icon-colored {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--green);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--slate-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem auto;
  flex-shrink: 0;
}

.icon-gradient {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--dark-navy), var(--slate-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon-accent {
  position: relative;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--dark-slate);
}

.icon-accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.what-we-paint-card h5 {
  color: var(--dark-slate);
  margin-bottom: 1rem;
  font-weight: 600;
}

.what-we-paint-card p {
  color: var(--dark-gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

.process-section {
  background: linear-gradient(135deg, var(--dark-navy), var(--slate-blue));
}

.process-step {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-number {
  background: linear-gradient(135deg, var(--green), #0f7a31);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.process-content h5 {
  color: var(--dark-slate);
  margin-bottom: 0.75rem;
}

.process-content p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

.faq-item {
  padding: 2rem 0;
  border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h5 {
  color: var(--dark-slate);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* Footer adjustments */
footer {
  background-color: #f8f9fa !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: 400px;
    text-align: center;
  }
  
  /* Mobile hero text shadow for better contrast */
  .hero h1, .hero .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
}