/* -----------------------------------------------------------
   GLOBAL STYLES
----------------------------------------------------------- */

:root {
  /* BRAND COLORS */
  --red-primary: #C41D1D;
  --red-hover: #A81818;
  --red-tint: rgba(196, 29, 29, 0.25); /* hero overlay tint */

  --navy-accent: #1A1F36;              /* footer + accents */
  --navy-accent-rgb: 26, 31, 54;       /* for rgba() use */

  /* TEXT COLORS */
  --text-dark: #111111;
  --text-light: #ffffff;
  --text-muted: #e6e6e6;

  /* BACKGROUND COLORS */
  --bg-light: #ffffff;
  --bg-gray: #f4f4f4;                  /* CTA background */
  --bg-navy: #1A1F36;                  /* footer background */

  /* LAYOUT */
  --max-width: 1150px;

  /* TYPOGRAPHY */
  --font-serif: "Playfair Display", serif;
  --font-sans: "Montserrat", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

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

/* -----------------------------------------------------------
   HEADER — UNIVERSAL STRUCTURE
----------------------------------------------------------- */

.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 1000;
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

.header-container {
  width: min(var(--max-width), 90%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left = Logo */
.header-logo {
  width: 14rem;
  height: auto;
  transition: transform 0.25s ease;
}

.logo-link:hover .header-logo {
  transform: scale(1.07);
}

/* Right = Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.25s ease;
  color: var(--text-light);
}

/* Underline accent (always red) */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--red-primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Phone CTA button */
.phone-cta {
  text-decoration: none;
  padding: 6px 12px;
  color: var(--red-primary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: 0.25s ease;
  background: var(--red-primary);
  color: var(--text-light);
  border: 2px solid var(--red-primary);
}

.phone-cta:hover{
  background: var(--red-hover);
  border-color: var(--red-hover);
}

/* -----------------------------------------------------------
   HOMEPAGE HEADER — TRANSPARENT + WHITE NAV
----------------------------------------------------------- */

body.home .site-header {
  background: transparent;
  border-bottom: none;
}

/* -----------------------------------------------------------
   INTERNAL HEADER — SOLID NAVY BACKGROUND
----------------------------------------------------------- */

body.internal .site-header {
  position: relative;
  background: var(--navy-accent);
  border-bottom: none;
}
/* -----------------------------------------------------------
   HERO SECTION WITH VIDEO/IMAGE BACKGROUND
----------------------------------------------------------- */

.hero {
  position: relative;
  height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  min-height: 500px;
}

/* Background image actually in HTML */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark + red overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.65)
    ),
    rgba(255, 49, 49, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 750px;
  padding: 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  margin-right: auto;
  margin-left: auto;
}


/* CTA Button */
.cta-primary {
  display: inline-block;
  padding: 14px 26px;
  font-weight: 700;
  background: var(--red-primary); 
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.25s ease;
}

.cta-primary:hover {
  background: var(--red-hover);
}

/* -----------------------------------------------------------
   SERVICES SECTION
----------------------------------------------------------- */

.services-preview {
  width: min(var(--max-width), 90%);
  margin: 6rem auto;
  text-align: center;
}

.services-preview h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;   /* THIS centers the icon, text, everything */
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(26, 31, 54, 0.15);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  width: 300px;
  text-align: left;
  transition: 
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.card p {
  text-align: center;
}

.card-icon {
  font-size: 2.4rem;
  color: var(--navy-accent);
  display: block;
  margin: 0 auto 1rem auto;
}

/* -----------------------------------------------------------
   CTA SECTION
----------------------------------------------------------- */

.cta-section {
  background: #f4f4f4;
  padding: 6rem 1.5rem;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0.5rem auto 2rem auto;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */

.site-footer {
  background: var(--bg-navy);
  color: #fff;
  padding: 4rem 1rem 0 1rem;
  margin-top: 0;
}

.footer-columns {
  width: min(1100px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: left;
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-col p {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 0.5;
  margin: 0.3 rem 0;
}

.footer-col a {
  color: #f5f5f5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffd2d2;
}

.footer-spacer {
  margin: 2rem 0; 
}

/* SOCIAL ICON ROW */
.footer-social {
  display: flex;
  gap: 1.1rem;
  margin-top: 0.75rem;
}

.footer-social a {
  color: #fff;
  font-size: 1.4rem;
  transition: 0.25s ease;
}

.footer-social a:hover {
  color: #ffd2d2;
}

/* FOOTER LINKS LIST */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.35rem 0; /* adjust for more/less spacing */
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ffd2d2;
}

/* COPYRIGHT BAR */
.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
}

.footer-bottom p {
  color: #eee;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}


/* -----------------------------------------------------------
  Contact Page
----------------------------------------------------------- */
.contact-section {
  width: min(var(--max-width), 90%);
  margin: 4rem auto 6rem auto;
}

.contact-section h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: var(--navy-accent);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro {
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dark);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Inputs */
.contact-form label {
  font-weight: 600;
  color: var(--navy-accent);
}

.contact-text-input {
  padding: 12px 14px;
  border-radius: 4px;
  border: 2px solid rgba(var(--navy-accent-rgb), 0.3);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.40s ease, background 0.40s ease;
}

.contact-text-input:focus {
  border-color: var(--red-primary);
  outline: none;
  background: #fffafa;
}

/* Submit Button */
.contact-submit {
  display: inline-block;
  padding: 14px 26px;
  font-weight: 700;
  background: var(--red-primary); 
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.25s ease;
  border: none;
  font-weight: 300;
}

.contact-submit:hover {
  background: var(--red-hover);
}

.page-section {
  padding: 4rem 0;
}

.page-container {
  width: min(var(--max-width), 90%);
  margin: 0 auto;
}


/* -----------------------------------------------------------
  About Section
----------------------------------------------------------- */
/* HERO */
.about-hero h1 {
  font-family: var(--font-serif);
  color: var(--navy-accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.about-hero .lead {
  max-width: 700px;
  line-height: 1.7;
  font-size: 1.1rem;
  margin: 0 auto;
  text-align: center;
}

/* SECTION CONTAINERS */
.page-section {
  padding: 4rem 0;
}

.page-container.narrow {
  width: min(800px, 90%);
  margin: 0 auto;
}

/* MEET PAUL SECTION */
.about-paul {
  background: #f9f4ee;
  padding: 4rem 0;
}

.about-paul h2 {
  font-family: var(--font-serif);
  color: var(--navy-accent);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Two-column grid for the Meet Paul section */
.about-paul-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

/* Image styling */
.about-headshot-grid {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Bio text */
.about-paul-text p {
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0;
}

.about-social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.about-social-icons a {
  font-size: 1.5rem;
  color: var(--navy-accent);
  transition: color 0.25s ease, transform 0.25s ease;
}

.about-social-icons a:hover {
  color: var(--red-primary);
  transform: translateY(-2px);
}

/* BRAND GUIDE EXTRA STYLES */
.brand-hero {
  text-align: center;
}

.brand-hero H1 {
  font-family: var(--font-serif);
}


.brand-section {
  background: #fff;
  padding: 1rem 0;
}

.brand-section-alt {
  background: #F4EEE6;
}

.brand-logo-block {
  text-align: center;
  margin: 2rem 0;
}

.brand-logo-large {
  width: 260px;
  max-width: 90%;
  height: auto;
}

.brand-list li {
  margin: 0.6rem 0;
}

/* Color grid */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.color-swatch {
  padding: 2rem;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.type-example {
  margin-top: 1.5rem;
}

.type-serif {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.type-sans {
  font-family: var(--font-sans);
  font-size: 1.1rem;
}

.icon-row {
  font-size: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* BRAND GUIDE TIGHTER SPACING */
.brand-section-pad {
  padding: 2.5rem 0;
}

.brand-lead-tight {
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.brand-tight {
  margin-bottom: 1.2rem;
}

/* LOGO ROW — 3 ACROSS */
.brand-logo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0 1rem;
  align-items: start;
  text-align: center;
}

/* Ensures all logo boxes align evenly */
.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Text labels above logos */
.logo-box h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-sans);
  font-size: 1.1rem;
}

/* MAIN LOGOS (wide) */
.brand-logo-display {
  width: 260px;
  max-width: 90%;
  height: auto;
}

/* ICON (square) — give it a bigger size so it visually matches */
.brand-icon-display {
  width: 90px;     /* made larger */
  height: auto;
  max-width: 100%;
  border-radius: 12px; /* ensures clean rounded-corners that match your icon design */
}

/* COLOR PALETTE TIGHTENING */
.brand-color-tight {
  margin-top: 1.6rem;
}

/* Section alt backgrounds */
.brand-section-alt {
  background: #F4EEE6;
}

/* BRAND DOWNLOAD SECTION */
.brand-download {
  text-align: center;
}

.brand-download h2, p{
  text-align: left;
}

.brand-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding: 12px 20px;
  background: var(--red-primary);
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
  border: 2px solid var(--red-primary);
}

.brand-download-btn:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.brand-download-btn i {
  font-size: 1.1rem;
}


/* -----------------------------------------------------------
   MOBILE RESPONSIVE STYLES
   For screens under 800px
----------------------------------------------------------- */

@media (max-width: 800px) {

  html {
    font-size: 20px; /* or 16px → 17px → 18px depending on taste */
  }

  /* HEADER */
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 1 rem;
    justify-content: center;
  }

  .phone-cta {
    padding: 6px 10px;
    font-size: 0.85rem;
  }


  /* HERO SECTION */

  .hero {
    padding-top: 5rem;
    
  }

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

  .hero p {
    font-size: 1rem !important;
    max-width: 90%;
  }

  .cta-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }


  /* SERVICES GRID */
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    width: 100%;
  }

  .card {
    width: 100% !important;
    margin: 0 auto;
  }


  /* CONTACT PAGE */
  .contact-form {
    width: 100%;
    align-items: center;
  }

  .contact-section h1,
  .contact-intro {
    text-align: center;
  }

  .contact-section {
    padding-top: 3rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 80%;
  }


  /* ABOUT PAGE */
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero .lead {
    font-size: 1rem;
  }

  /* Two-column Meet Paul collapses to one column */
  .about-paul-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    align-items: center;
  }

  .about-paul-photo {
    margin-bottom: 1.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about-paul-text p {
    text-align: center;
    padding: 0 1rem;
  }


  /* FOOTER */
  .footer-columns {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-col h3 {
    text-align: center;
  }

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

/* -----------------------------------------------------------
   TOUCH-ONLY DEVICES — OVERRIDE HOVER ENTIRELY
   (Prevents ghost hover states on iOS/Android)
----------------------------------------------------------- */
@media (hover: none) {

  .card:hover,
  a:hover,
  button:hover,
  .cta-primary:hover,
  .nav-link:hover,
  .phone-cta:hover {
    transform: none !important;
    background: inherit !important;
    color: inherit !important;
    box-shadow: none !important;
  }

  .nav-link::after {
    width: 0 !important; /* removes underline-on-hover */
  }
}

