
/* ==========================================
   RAYMUNDO'S SERVICES LLC
   MAIN WEBSITE STYLESHEET
   ========================================== */

/* COLORS */

:root {
  --orange: #ff5000;
  --dark-orange: #cc4000;
  --dark: #232323;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --footer-bg: #3c3b55;
  --footer-text: #d5d5df;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1150px, 92%);
  margin: 0 auto;
}

/* ==========================================
   STICKY ORANGE HEADER
   ========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--orange);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  width: min(1250px, 95%);
  min-height: 90px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

/* ==========================================
   COMPANY LOGO
   ========================================== */

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 76px;
  height: 76px;
  min-width: 76px;

  padding: 6px;
  border-radius: 12px;
  background: white;

  text-decoration: none;
  overflow: hidden;
}

.logo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

/* ==========================================
   NAVIGATION LINKS
   ========================================== */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.nav-links a {
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.75;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

/* ==========================================
   HEADER PHONE BUTTON
   ========================================== */

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  border: 2px solid white;
  border-radius: 6px;

  color: white;
  background: transparent;

  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  transition: background 0.2s ease, color 0.2s ease;
}

.header-call:hover {
  background: white;
  color: var(--orange);
}

/* ==========================================
   MOBILE MENU BUTTON
   ========================================== */

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border: 2px solid white;
  border-radius: 6px;

  background: transparent;
  color: white;

  font-size: 25px;
  cursor: pointer;
}

/* ==========================================
   PAGE BANNERS
   ========================================== */

.page-banner {
  padding: 65px 20px;
  background: #1d1d1b;
  color: white;
  text-align: center;
}

.page-banner h1 {
  margin-bottom: 12px;
  color: white;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
}

.page-banner p {
  max-width: 750px;
  margin: 0 auto;
  color: #eeeeee;
  font-size: 18px;
  line-height: 1.7;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 13px 25px;

  border: 2px solid transparent;
  border-radius: 6px;

  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.btn-primary:hover {
  background: var(--dark-orange);
  border-color: var(--dark-orange);
  color: white;
}

.btn-secondary {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: #1d1d1b;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 42px;
  padding-top: 65px;
  padding-bottom: 65px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-column .footer-subheading {
  margin-top: 30px;
}

.footer-column a {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--footer-text);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-column p {
  margin-bottom: 12px;
  color: var(--footer-text);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================
   FOOTER COMPANY LOGO
   ========================================== */

.footer-company > a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100px;
  height: 100px;

  margin-bottom: 22px;
  padding: 8px;

  border-radius: 12px;
  background: white;
}

.footer-company-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-summary {
  max-width: 280px;
  margin-bottom: 20px;
}

/* ==========================================
   YELP LOGO
   ========================================== */

.footer-column .footer-yelp-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 5px;
  margin-bottom: 0;
  text-decoration: none;
}

.footer-yelp-logo {
  display: block;
  width: 90px;
  max-height: 55px;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.footer-yelp-link:hover .footer-yelp-logo {
  opacity: 0.8;
}

/* ==========================================
   FOOTER ESTIMATE LINK
   ========================================== */

.footer-column .footer-estimate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 17px;
  margin-top: 8px;

  border: 2px solid var(--orange);
  border-radius: 6px;

  background: var(--orange);
  color: white;

  font-weight: 700;
  text-align: center;
}

.footer-column .footer-estimate-link:hover {
  background: var(--dark-orange);
  border-color: var(--dark-orange);
  color: white;
}

/* ==========================================
   FOOTER COPYRIGHT
   ========================================== */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #c5c5cf;
  font-size: 14px;
}

/* ==========================================
   TABLET RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1100px) {
  .header-inner {
    gap: 15px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .header-call {
    padding: 10px 12px;
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

/* ==========================================
   MOBILE NAVIGATION
   ========================================== */

@media (max-width: 850px) {
  html {
    scroll-padding-top: 85px;
  }

  .header-inner {
    position: relative;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-placeholder {
    width: 65px;
    height: 65px;
    min-width: 65px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
    margin-left: auto;
  }

  .header-call {
    order: 2;
    margin-left: auto;
    font-size: 13px;
    padding: 9px 12px;
  }

  .nav-links {
    display: none;
    order: 4;
    flex-basis: 100%;
    width: 100%;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 10px 0 18px;
    background: var(--orange);
  }

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

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    text-align: center;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
  }

  .page-banner {
    padding: 50px 20px;
  }

  .page-banner p {
    font-size: 16px;
  }
}

/* ==========================================
   SMALL MOBILE SCREENS
   ========================================== */

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .footer-column .footer-subheading {
    margin-top: 22px;
  }

  .footer-company > a:first-child {
    width: 90px;
    height: 90px;
  }

  .footer-yelp-logo {
    width: 85px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 7px;
  }

  .header-call {
    font-size: 11px;
    padding: 8px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .logo-placeholder {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
