/**
 * Florida Sealcoating - PPC Landing Page Standalone CSS
 * =====================================================
 * Self-contained stylesheet for PPC/ads landing pages.
 * Replaces: bootstrap.min.css, style.css, responsive.css, hover-min.css, modern-redesign.css
 *
 * These pages should ONLY load:
 *   1. This file (css/ppc.css)
 *   2. Font Awesome CDN
 *   3. Google Fonts
 *   4. Their own inline <style> block
 */


/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  --color-primary: #fee900;
  --color-primary-hover: #e6d200;
  --color-dark: #1d1d1e;
  --color-dark-medium: #2c2c2e;
  --color-dark-light: #3a3a3c;
  --color-gray-light: #e8e8e8;
  --color-gray-medium: #6b6b6b;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}


/* ============================================
   Base Reset & Typography
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

ul {
  margin: 0;
  padding: 0;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}


/* ============================================
   Bootstrap 5 Grid (row-4 based)
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.row-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row-4 > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col { flex: 1 0 0; }

.row-cols-1 > * { flex: 0 0 auto; width: 100%; }
.row-cols-2 > * { flex: 0 0 auto; width: 50%; }
.row-cols-3 > * { flex: 0 0 auto; width: 33.33333%; }
.row-cols-4 > * { flex: 0 0 auto; width: 25%; }

.row-4 .col-auto { flex: 0 0 auto; width: auto; }

@media (min-width: 576px) {
  .row-4 .col-sm { flex: 1 0 0; }
  .row-4 .col-sm-auto { flex: 0 0 auto; width: auto; }
  .row-cols-sm-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-sm-3 > * { flex: 0 0 auto; width: 33.33333%; }
}

@media (min-width: 768px) {
  .row-4 .col-md { flex: 1 0 0; }
  .row-4 .col-md-auto { flex: 0 0 auto; width: auto; }
  .row-4 .col-md-6 { flex: 0 0 auto; width: 50%; }
  .row-4 .col-md-8 { flex: 0 0 auto; width: 66.66667%; }
  .row-cols-md-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-md-3 > * { flex: 0 0 auto; width: 33.33333%; }
  .row-cols-md-4 > * { flex: 0 0 auto; width: 25%; }
}

@media (min-width: 992px) {
  .row-4 .col-lg { flex: 1 0 0; }
  .row-4 .col-lg-7 { flex: 0 0 auto; width: 58.33333%; }
}

@media (min-width: 1200px) {
  .row-4 .col-xl { flex: 1 0 0; }
}


/* ============================================
   Bootstrap Utilities
   ============================================ */

/* Display */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }

/* Flexbox */
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.flex-wrap { flex-wrap: wrap !important; }

/* Spacing - Gutters */
.gy-4 { --bs-gutter-y: 1.5rem; }

/* Margins */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.ml-auto { margin-left: auto !important; }
.ms-auto { margin-left: auto !important; }

/* Padding */
.p-5 { padding: 3rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

@media (min-width: 576px) {
  .pb-sm-5 { padding-bottom: 3rem !important; }
  .py-sm-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 768px) {
  .py-md-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}

/* Text */
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-danger { color: #dc3545 !important; }
.text-black { color: #000 !important; }
.small, small { font-size: 0.875em; }
.lh-lg { line-height: 1.8; }
.opacity-75 { opacity: 0.75 !important; }

@media (min-width: 768px) {
  .text-md-start { text-align: left !important; }
}

/* Width / Height */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* Font */
.fw-bold { font-weight: bold; }
.h2 { font-size: 2rem; }
.h4 { font-size: 1.25rem; }

/* Object */
.object-fit-contain { object-fit: contain !important; }

/* Visibility */
.invisible { visibility: hidden !important; }


/* ============================================
   Site Color Utilities
   ============================================ */
.yellow { color: gold; }
.white { color: #fff; }
.red { color: #cd333c; }
.bold, strong { font-weight: 700; }
.fs-16 { font-size: 16px; }
.bg-grey { background-color: #636363; }
.bg-dgrey { background-color: #1d1d1e; }


/* icomoon not available on server - use Font Awesome icons instead */


/* ============================================
   Site Header (ads variant)
   ============================================ */
.site-header {
  background-color: #1d1d1e;
  padding: 0;
  overflow: hidden;
}

.site-header .rw {
  align-items: center;
}

.site-header .cntr {
  padding: 0;
  max-width: 1500px;
}

.site-header .logo-wrap {
  text-align: center;
  padding: 12px;
}

.site-header .navbar-brand {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 220px;
  height: auto;
}

.site-header .navbar-brand img {
  width: 100%;
}

.topcontact {
  position: relative;
  font-size: 0.8rem;
  text-align: center;
  padding: 15px;
}

.topcontact > strong {
  color: #fff;
  display: block;
  text-transform: uppercase;
  margin: 0 0 5px;
}

.topcontact .phone {
  font-size: 1.5em;
  display: block;
}

.topcontact .phone a {
  color: #fff !important;
  display: inline-block;
  font-weight: 900;
  padding: 0;
  line-height: 1.2em;
}

.topcontact .phone a:hover {
  color: gold !important;
}

.topcontact .phone a.phonenum {
  margin-left: 5px;
}

@media (min-width: 768px) {
  .site-header {
    background-color: rgba(29, 29, 30, 0.85);
    overflow: visible;
  }

  .site-header .cntr {
    padding: 0 15px;
  }

  .site-header.site-header--ads .logo-wrap {
    padding: 0;
    text-align: left;
    padding: 12px;
  }

  .site-header.site-header--ads .navbar-brand {
    max-width: 300px;
    width: 100%;
  }

  .topcontact {
    float: right;
    padding: 0;
  }
}

@media (min-width: 1200px) {
  .topcontact {
    font-size: 1.143rem;
  }

  .site-header .navbar-brand {
    width: 400px;
    height: auto;
    padding: 0;
    margin-top: 8px;
  }
}


/* ============================================
   Banner (Hero)
   ============================================ */
.banner {
  padding: 80px 0 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: #222;
}

.banner .banner-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.6;
  z-index: -1;
}

.banner .banner-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.banner .cntr {
  max-width: 1500px;
}

.banner .banner-caption {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  font-size: 16px;
  line-height: 2;
  padding: 0 0 2rem;
}

.banner .banner-caption h1,
.banner .banner-caption h2 {
  background-color: transparent;
  padding: 0;
  font-size: 2.2rem;
  font-weight: bold;
  color: gold;
  margin-bottom: 8px;
}

.banner-form {
  color: #fff;
  padding: 24px;
  background-color: rgba(29, 29, 30, 0.8);
  margin-bottom: 2rem;
}

.banner-form .form-control {
  background-color: #464646;
  color: #fff;
}

.banner-form .form-control:focus {
  box-shadow: none;
}

.banner-form .form-control::placeholder {
  color: #fff;
  opacity: 0.8;
}

/* Hide the banner form on mobile — let users see trust signals first;
   the sticky footer CTA handles conversions on small screens */
@media (max-width: 767px) {
  .banner-form {
    display: none;
  }
}

@media (min-width: 768px) {
  .banner .banner-caption {
    text-align: left;
  }

  .banner .banner-caption h1,
  .banner .banner-caption h2 {
    background-color: transparent;
    padding: 0;
    font-size: 2.2rem;
    font-weight: bold;
    color: gold;
    margin-bottom: 8px;
  }

  .banner-form {
    padding: 32px;
    width: 360px;
  }
}

@media (min-width: 992px) {
  .banner-form {
    width: 400px;
  }

  .banner-form .form-control {
    background-color: #464646;
    color: #fff;
  }
}

@media (min-width: 1200px) {
  .banner {
    padding: 103px 0 0;
  }

  .banner .cntr {
    max-width: 1500px;
  }

  .banner .banner-caption {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    font-size: 16px;
    line-height: 2;
    padding: 0 0 2rem;
  }
}


/* ============================================
   Content Sections (bg-1, bg-2)
   ============================================ */
.bg-1 {
  background-color: gold;
  position: relative;
  z-index: 1;
}

.bg-1:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80%;
  background: #1d1d1e;
  z-index: -1;
}

.bg-1:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80%;
  background: url(../img/bg/bg1.jpg) no-repeat center 20%;
  background-size: cover;
  z-index: -1;
  opacity: 0.5;
}

.bg-1.bg-1--v2:before,
.bg-1.bg-1--v2:after {
  height: 50%;
}

.bg-2 {
  background-color: #1d1d1e;
  position: relative;
  z-index: 1;
}

.bg-2:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url(../img/bg/bg1.jpg) no-repeat center 20%;
  background-size: cover;
  opacity: 0.5;
}

.img-blackened {
  filter: brightness(0%);
}


/* ============================================
   Accordion / Panel (Bootstrap 3 style)
   ============================================ */
.panel-group {
  margin-bottom: 20px;
}

.panel-group .panel {
  background-color: transparent;
  border: solid rgba(255, 255, 255, 0.5);
  border-width: 1px 0;
  border-radius: 0;
  margin-top: -1px !important;
  box-shadow: none;
}

.panel-group .panel .panel-heading {
  background-color: transparent;
  color: #fff;
  border-radius: 0;
  padding: 16px 0;
}

.panel-group .panel .panel-heading .panel-title {
  font-weight: bold;
  margin: 0;
  font-size: 1rem;
}

.panel-group .panel .panel-heading .panel-title a {
  display: block;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.panel-group .panel .panel-heading .panel-title a.collapsed {
  color: rgba(255, 255, 255, 0.8);
}

.panel-group .panel .panel-heading .panel-title a:hover {
  color: gold;
}

.panel-group .panel .panel-body {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.panel-collapse {
  overflow: hidden;
}

.panel-collapse.collapse {
  display: none;
}

.panel-collapse.collapse.in {
  display: block;
}


/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: gold;
  box-shadow: none;
  outline: 0;
}

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

.fg-msg {
  /* message textarea wrapper - no special base styles needed */
}

.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 0;
  font-size: 0.85em;
}


/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  max-width: 100%;
  background: gold !important;
  color: #2c2c2e;
  font-weight: 700;
  font-size: 1.1em;
  padding: 10px 32px;
  text-align: center;
  text-transform: uppercase;
  border-radius: 0;
  outline: none;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.btn:hover {
  opacity: 0.9;
}

.btn-yellow {
  background: gold !important;
  color: #2c2c2e;
}

.btn-yellow:hover {
  background: #e6d200 !important;
  color: #1d1d1e;
}


/* ============================================
   Modern Footer
   ============================================ */
.modern-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-top: var(--spacing-xl);
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem var(--spacing-lg);
}

.footer-brand .footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--color-gray-medium);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--color-dark-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-dark);
}

.footer-column h4 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
  color: var(--color-gray-medium);
}

.footer-column a {
  color: var(--color-gray-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-dark-medium);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--color-gray-medium);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--color-primary);
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-column {
    padding: 0;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .modern-footer {
    padding-bottom: 80px;
  }
}
