/* ============================================================
   Alex Freddi Construction — Static Site Stylesheet
   Extracted from live WordPress/Elementor site
   ============================================================ */

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

:root {
  --contrast: #222222;
  --contrast-2: #575760;
  --contrast-3: #b2b2be;
  --base: #f0f0f0;
  --base-2: #f7f8f9;
  --base-3: #ffffff;
  --accent: #1e73be;
  --red: #e52910;
  --body-text: rgb(86, 86, 86);
  --warm-bg: rgb(255, 250, 243);
  --hero-overlay: rgba(24, 32, 37, 0.33);
  --font-body: 'Rubik', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--body-text);
  background-color: var(--base-3);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--body-text);
  line-height: 1.3;
}

h1 {
  font-size: 43px;
  line-height: 1.3;
  text-transform: lowercase;
}

h2 {
  font-size: 34px;
  line-height: 1.3;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 17px;
}

p {
  margin-bottom: 15px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  background-color: var(--red);
  color: #fff;
  padding: 15px 25px;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: #c22210;
  color: #fff;
  transform: translateY(-1px);
}

.btn-small {
  padding: 12px 20px;
  font-size: 15px;
}

/* --- Header --- */
.site-header {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 20px;
  min-height: 80px;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-logo a {
  display: inline-block;
}

/* --- Navigation --- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 400;
  padding: 10px 12px;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--red);
}

.nav-cta {
  margin-left: 10px;
}

.nav-cta .btn {
  padding: 12px 20px;
  font-size: 15px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--contrast);
  margin: 5px 0;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px;
  max-width: 600px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero-content p {
  color: #fff;
  font-size: 18px;
}

.hero-content-right {
  margin-left: auto;
  text-align: right;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.page-hero .hero-overlay {
  background-color: rgba(24, 32, 37, 0.5);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 36px;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-warm {
  background-color: var(--warm-bg);
}

.section-white {
  background-color: var(--base-3);
}

.section-dark {
  background-color: var(--contrast);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* --- Two Column Layout --- */
.two-col {
  display: flex;
  align-items: center;
  gap: 60px;
}

.two-col > * {
  flex: 1;
}

.two-col-reverse {
  flex-direction: row-reverse;
}

.two-col img {
  border-radius: 0;
  width: 100%;
  object-fit: cover;
}

/* --- Service Cards (What We Do page) --- */
.service-section {
  padding: 60px 0;
}

.service-section:nth-child(even) {
  background-color: var(--warm-bg);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.service-item-reverse {
  flex-direction: row-reverse;
}

.service-item .service-image {
  flex: 1;
  min-width: 0;
}

.service-item .service-content {
  flex: 1;
  min-width: 0;
}

.service-item .service-image img {
  width: 100%;
  object-fit: cover;
}

.service-content h3 {
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 24px;
}

.service-content p {
  margin-bottom: 15px;
}

/* --- Testimonials --- */
.testimonial-card {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(0,0,0,0.08);
}

.testimonial-stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 10px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--contrast);
}

/* --- FAQ Accordion --- */
.faq-section {
  margin-bottom: 40px;
}

.faq-section-title {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
  font-size: 29px;
}

.faq-section-subtitle {
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--body-text);
  text-transform: uppercase;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--body-text);
  line-height: 1.7;
}

/* --- Contact Form --- */
.form-section {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.form-info {
  flex: 1;
}

.form-info .label-text {
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.form-info h2 {
  font-size: 29px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.form-container {
  flex: 1.2;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row > * {
  flex: 1;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--body-text);
}

.form-group label .required {
  color: var(--red);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--contrast);
  background-color: #fff;
  transition: border-color 0.2s;
}

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

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

.form-submit {
  margin-top: 10px;
}

.form-submit .btn {
  width: 100%;
  text-align: center;
  font-size: 17px;
  padding: 15px;
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--red);
  padding: 50px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.cta-banner p {
  color: #fff;
  max-width: 700px;
  margin: 0 auto 25px;
}

.cta-banner .btn {
  background-color: #fff;
  color: var(--red);
}

.cta-banner .btn:hover {
  background-color: var(--contrast);
  color: #fff;
}

/* --- Areas We Serve --- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.areas-grid span {
  font-size: 15px;
}

/* --- Team --- */
.team-list {
  margin-top: 20px;
}

.team-member {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.team-member .name {
  font-weight: 600;
  color: var(--red);
}

.team-member .role {
  color: var(--body-text);
  font-size: 15px;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}

.footer-top {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about {
  flex: 1.5;
}

.footer-about p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-about .license-btn {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.footer-column {
  flex: 1;
}

.footer-column h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.8);
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-badges {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

.footer-badges img {
  height: 80px;
  width: auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

/* --- Other Services List --- */
.other-services-list {
  columns: 2;
  column-gap: 40px;
}

.other-services-list li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
  font-size: 16px;
}

.other-services-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* --- Utility Classes --- */
.uppercase {
  text-transform: uppercase;
}

/* --- Logo --- */
.logo-link {
  display: inline-block;
}

.logo {
  height: 50px;
  width: auto;
}

/* --- Active Nav Link --- */
.nav-link.active {
  color: var(--red);
}

/* --- Button Variants --- */
.btn-red {
  background-color: var(--red);
  color: #fff;
}

.btn-red:hover {
  background-color: #c22210;
  color: #fff;
}

.btn-white {
  background-color: #fff;
  color: var(--red);
}

.btn-white:hover {
  background-color: var(--contrast);
  color: #fff;
}

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--contrast);
  transition: all 0.3s;
}

/* --- Section Padding --- */
.section-about,
.section-team,
.section-areas,
.section-testimonials,
.section-cta {
  padding: 80px 0;
}

.section-cta {
  background-color: var(--red);
  text-align: center;
}

.section-cta h2 {
  color: #fff;
}

.section-cta p {
  color: #fff;
  max-width: 700px;
  margin: 0 auto 25px;
}

/* --- About Grid --- */
.about-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about-col {
  flex: 1;
}

.about-col h2 {
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-image-wrap {
  margin-top: 40px;
}

.about-family-img {
  width: 100%;
  object-fit: cover;
}

/* --- Section Heading --- */
.section-heading {
  margin-bottom: 30px;
}

/* --- Footer Grid --- */
.footer-inner {
  position: relative;
  z-index: 1;
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-col {
  flex: 1;
}

.footer-col h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
}

.footer-col p a {
  color: rgba(255,255,255,0.8);
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  transition: color 0.2s;
}

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

/* --- Page Title Section --- */
.page-title-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--base-3);
}

.page-title {
  text-transform: uppercase;
  font-size: 36px;
}

/* --- Testimonial Grid (homepage) --- */
.testimonial-grid {
  display: flex;
  gap: 30px;
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* --- Testimonials Page --- */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

/* --- Form Grid (contact page) --- */
.form-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.form-grid .form-info {
  flex: 1;
}

.form-grid .form-container {
  flex: 1.2;
}

@media (max-width: 1024px) {
  .form-grid {
    flex-direction: column;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .two-col,
  .two-col-reverse,
  .service-item,
  .service-item-reverse,
  .about-grid {
    flex-direction: column;
    gap: 30px;
  }

  .form-section {
    flex-direction: column;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .footer-about {
    flex-basis: 100%;
  }

  .footer-grid {
    flex-wrap: wrap;
  }

  .footer-col {
    flex-basis: 45%;
  }

  .testimonial-grid {
    flex-direction: column;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .hero-content {
    padding: 40px;
  }

  .section-about,
  .section-team,
  .section-areas,
  .section-testimonials,
  .section-cta {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    gap: 0;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list a {
    padding: 12px 20px;
    font-size: 16px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }

  .nav-cta .btn {
    display: block;
    text-align: center;
    width: 100%;
  }

  .menu-toggle,
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
  }

  .main-nav.active {
    display: flex;
  }

  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col {
    flex-basis: 100%;
  }

  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .hero {
    min-height: 350px;
  }

  .hero-content {
    padding: 30px 20px;
  }

  .section {
    padding: 50px 0;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .other-services-list {
    columns: 1;
  }

  .testimonial-card {
    padding: 20px;
  }
}
