/* Easy Pro Finder — Static Site Styles */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a3a5c;
  --color-accent: #2e86de;
  --color-light: #f5f7fa;
  --color-white: #ffffff;
  --color-dark: #1a1a2e;
  --color-gray: #969696;
  --color-text: #333333;
  --font-heading: 'Work Sans', sans-serif;
  --font-body: 'Source Sans Pro', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

/* --- Header / Nav --- */
.site-header {
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.72);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.92;
}

/* --- Services Section --- */
.services {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  z-index: 1;
}

.service-card .card-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  color: var(--color-white);
  width: 100%;
}

.service-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.92;
}

.service-card .phone-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition);
}

.service-card .phone-link:hover {
  background: #1e6db8;
  color: var(--color-white);
}

/* --- Disclaimer --- */
.disclaimer {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-gray);
  line-height: 1.55;
}

/* --- Contact Page --- */
.contact-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 24px;
}

.contact-section h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.contact-info {
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-info a {
  color: var(--color-accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.btn-submit {
  align-self: flex-start;
  padding: 12px 28px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-submit:hover {
  background: #1e6db8;
}

/* --- Content Pages (ToS, Privacy) --- */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.content-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.content-page p {
  margin-bottom: 16px;
  line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 40px 24px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  z-index: 200;
  font-size: 0.9rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  max-width: 600px;
}

.cookie-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-accept {
  background: var(--color-accent);
  color: var(--color-white);
}

.cookie-accept:hover {
  background: #1e6db8;
}

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.cookie-decline:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--color-white);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 320px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content {
    padding: 40px 16px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}