
/* ================================
   HOME PAGE - LOCATIONS GRID
   ================================ */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.location-card {
  background: var(--themeLightBlue);
  padding: 10px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--themeBlue);
  text-decoration: none;
  border: 2px solid var(--themeTealBlue);
  transition: 0.3s ease;
}

.location-card:hover {
  background: var(--themeTealBlue);
  color: white;
  transform: translateY(-3px);
}


/* =================================
   PORT ROYAL SC PLUMBING - CSS
   ================================= */

html { 
    scroll-behavior: smooth; 
}

.container-fluid, .section {
    float: none;
    margin: 0 auto;
}

.container {
    max-width: 1080px !important;
    float: none;
    margin: 0 auto;
}

body, body div, body ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    line-height: 1.5em;
    font-weight: 400;
}

:root{
  --themeBlue: #2D2C80;
  --themeDarkBlue: #201F5B;
  --themeTealBlue: #55ABDE;
  --themeLightBlue: #EEF7FC;
  --themeYellow: #FFD800;
  --text: black;
  --themeFresh: #EEF7FC;
  --themeGuard:#CEC39A;
  --themeVita:#F6861F;
  --themeGuardBlue: #1D4A6E;
  --themeGuardLight : #F8F7F1;
  --themeWheat: #FFF7CC;
  --themeWheatLight: #FFFCEB;
}

/* Phone Animation */
.phone-vibrate{
  display:inline-block;
  animation: phonePulseColor 1.1s infinite;
}

@keyframes phonePulseColor{
  0%,100%{
    transform: scale(1);
    color: #ffd200;
  }
  50%{
    transform: scale(1.16);
    color: #ffffff;
  }
}

/* Call Button */
.call-btn{
    text-decoration:none;
    font-weight:700;
    border-radius:12px;
    background:#ffd200;
    color:#111;
    border:2px solid rgba(255,255,255,.35);
    box-shadow:0 10px 24px rgba(0,0,0,.18);
    cursor:pointer;
    user-select:none;
    text-align: center;
    margin: auto;
}

.call-btn:hover{ 
    transform: translateY(-1px); 
    text-decoration: none; 
}

.call-btn:active{ 
    transform: translateY(0); 
}

.call-btn:focus-visible{ 
    outline:3px solid #ffd200; 
    outline-offset:3px; 
}

/* Color Classes */
.themeBlue {color:var(--themeBlue) !important;}
.themeTealBlue {color:var(--themeTealBlue) !important;}
.themeYellow {color:var(--themeYellow) !important;}
.themeGuard {color:var(--themeGuard) !important;}
.themeVita {color:var(--themeVita) !important;}
.themeGuardBlue {color:var(--themeGuardBlue) !important;}

/* Background Color Classes */
.bg-themeBlue {background-color:var(--themeBlue) !important;}
.bg-themeDarkBlue {background-color:var(--themeDarkBlue) !important;}
.bg-themeTealBlue {background-color:var(--themeTealBlue) !important;}
.bg-themeLightBlue {background-color:var(--themeLightBlue) !important;}
.bg-themeYellow {background-color:var(--themeYellow) !important;}
.bg-themeFresh {background-color:var(--themeFresh) !important;}
.bg-themeGuard {background-color:var(--themeGuard) !important;}
.bg-themeVita {background-color:var(--themeVita) !important;}
.bg-themeWheat {background-color:var(--themeWheat) !important;}
.bg-themeWheatLight {background-color:var(--themeWheatLight) !important;}
.bg-themeGuardLight {background-color:var(--themeGuardLight) !important;}
.bg-themeGuardBlue {background-color:var(--themeGuardBlue) !important;}

/* Gradient Backgrounds */
.bg-gradient {
    background: linear-gradient(0deg, var(--themeTealBlue) 0%, rgba(85, 171, 222, 0) 100%) !important;
}

.bg-gradientHorizontal {
    background: linear-gradient(90deg, var(--themeBlue) 0%, var(--themeTealBlue) 100%);
}

.mark {
  background: linear-gradient(90deg, #2D2C80 0%, #55ABDE 341.81%);
  padding: 10px 15px;
  color:white;
  border-radius: 8px;
}

/* Typography */
body {
    color: var(--text);
    font-size: 24px;
    font-weight: 300;
    line-height: 1.3em;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  color: var(--themeBlue);
  font-weight:700;
}
    
.boldIt {
    font-weight:700 !important;
}

.semiBoldIt {
    font-weight:500 !important;
}

.fwNormal {
  font-weight: 400 !important;
  margin-bottom: 0 !important;
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e5ea;
    padding: 0 0;
    font-size: 14px !important;
}

.breadcrumb-container a {
    color: var(--themeBlue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 14px !important;	
}

.breadcrumb-container a:hover {
    color: var(--themeTealBlue);
    text-decoration: underline;
}

.breadcrumb-container .separator {
    margin: 0 10px;
    color: #999;
    font-weight: 300;
    font-size: 14px !important;
}

.breadcrumb-container .current {
    color: #666;
    font-weight: 500;
    font-size: 14px !important;	
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.round {
    border-radius: 10px !important;
}

ul li { 
    margin-bottom:.5em; 
}

.button {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 10px 20px;
    background-color: var(--themeBlue);
    border-radius: 6px;
    color:white;
}

.blue-border {
    border: 2px solid var(--themeBlue);
}

/* Service Images */
.ingredientBox > :first-child {
    background-size: cover !important;
    background-position: center !important;
    min-height: 200px !important;
}

.plumbing-icon {
    font-size: 5rem;
    margin: 20px 0;
}

.service-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

/* Custom Classes */
.cta-text-white {
    margin-top: 0 !important;
}

.container-down {
    padding-bottom: 0 !important;
}

.second-title {
    padding-bottom: 0 !important;
}

.third-title {
    padding-top: 1.5rem !important;
}

.intro {
    margin-bottom: 1.5rem !important;
}

.text-center .fa-phone {
  color: red;
}

/* Mobile Call Button */
.mobile-call-wrapper {
  display: none;
}

/* Footer */
.footer {
    font-size: 12px;
    padding: 20px !important;
    background-color: var(--themeBlue) !important;
    color: #ffffff;
}

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

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e0e5ea;
    border-left: 4px solid var(--themeBlue);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.faq-question-title {
    color: var(--themeBlue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* =================================
   MEDIA QUERIES - RESPONSIVE
   ================================= */

/* Large Screens */
@media screen and (min-width: 1100px) {
  .container {
      max-width: 1080px !important;
  }
}

@media screen and (min-width: 1501px) {
  h1.headerTitle {
    font-size: 1.8vw !important;
  }
}

@media screen and (min-width: 1261px) and (max-width: 1500px) {
  h1.headerTitle {
    font-size: 2.5vw !important;
  }
}

@media screen and (min-width: 993px) and (max-width: 1260px) {
  h1.headerTitle {
    font-size: 2.5vw !important;
  }
}

@media screen and (min-width:993px) {
  .bonusBox > div:first-child img {
      right: 0;
      max-width: 620px;
      top: -35px;
      position: absolute;
  }
  
  .fs40 {
    font-size:38px !important;
  }

  .fs48 {
    font-size:48px !important;
  }
  
  .fs32 {
    font-size:32px !important;
  }
  
  .fs68 {
    font-size:68px !important;
  }
}

@media screen and (max-width:992px) {
  h1.headerTitle {
    font-size: 6vw !important;
  }
}

/* Tablets */
@media screen and (min-width: 768px) {
  h1, .h1, h2, .h2 { 
      font-size: 36px !Important;
      line-height:1.4em !important;
  }
  
  .round-left {
      border-top-left-radius: 10px;
      border-bottom-left-radius: 10px;
  }
  
  .round-right {
      border-top-right-radius: 10px;
      border-bottom-right-radius: 10px;
  }
  
  .desktop-large { 
      font-size:150% !Important;
  }
}

@media screen and (max-width:767px) {
  body ul li, body p, body p *, body table, body table tr td {
      font-size: 18px !important;
      line-height: 1.5em !important;
  }
  
  h1, .h1, h2, .h2 { 
    font-size: 28px !Important;
    line-height:1.2em !important;
  }
  
  h3, .h3 { 
    font-size: 22px !Important;
    line-height:1.2em !important;
  }
}

/* Mobile - Max 720px */
@media (max-width: 720px) {
  .container-fluid, .section {
    padding-right: 0;
    padding-left: 0;
  }
  
  .headerphone h2 {
    font-size: 24px !important;
  }
  
  .fs32 {
    margin-top: 20px;
  }
  
  .fwNormal br {
    display: none;
  }
  
  /* Mobile Sticky Call Button */
  .mobile-call-wrapper {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    animation: slideUp 0.5s ease-out;
    background: #ffffff;	
    padding: 5px;
    border-radius: 10px;
  }
  
  .mobile-call-btn {
    display: block;
    width: 100%;
    background: #ca1a21;
    color: white;
    padding: 18px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
    border-radius: 10px;
  }
  
  .mobile-call-btn .fa-phone {
    display: inline-block;
    animation: phoneShake 1.5s infinite;
  }
}

/* =================================
   ANIMATIONS
   ================================= */

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 -5px 20px rgba(202, 26, 33, 0.5);
  }
}

@keyframes phoneShake {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 50% {
    transform: rotate(-15deg);
  }
  20%, 40% {
    transform: rotate(15deg);
  }
  60% {
    transform: rotate(0deg);
  }
}
