/* ==================================================== */
/* basic reset */
/* ==================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
/* ==================================================== */
/* general styles) */
/* ==================================================== */

/*   
Brand colors: 
Snow - ffffff 
true black - 000000

Cool mint - B1DCC2
Pine green - 165438 
Forrest shadow - 0D3425 

Peach sky - FFE8CC 
Hunters orange - F26838 
*/

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #0D3425;
    background-color: #165438;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 64px; 
    padding: 16px 0;
} 

h2 {
    font-size: 32px; 
    padding: 16px 0;
}

p {
    font-size: 16px; 
    padding: 4px 0;
}

/* ==================================================== */
/* universal components*/
/* ==================================================== */

/* global header --------------------------------------------------------- */

header {
    background-color: #ffffff;
    border-bottom: 2px solid #F26838;
    padding: 24px;
    height: 160px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#logo-container img {
    height: 48px; 
    max-width: 300px; 
}

.header-logo {
    width: 100%;    
    height: auto; 
    object-fit: contain; 
    vertical-align: bottom;
}

#cta-btn {
    background-color: #ffffff; 
    box-shadow: inset 0 0 0 4px #165438;
    color: #165438;
    display: inline-block;   
    padding: 12px 24px;       
    text-decoration: none;  
    border: none;  
    border-radius: 8px;         
    cursor: pointer;            
    font-size: 16px;            
    font-weight: bold;
    transition: background-color 0.25s ease-in-out;
} 

#cta-btn:hover {
    background-color: #0D3425;
    box-shadow: inset 0 0 0 3px #0D3425;
    color: #B1DCC2;
}

#sticky-contact {
    background-color: #F26838;
    color: #FFE8CC;
    height: 40px;
    text-align: center;
    border-bottom: 2px solid #0D3425;
    position: sticky;
    justify-content: space-between;
    top: 160px;
    z-index: 9;
}

#stickycontact-lrg {
    display: none; /* hidden at mobile screen sizes*/
}

.contact-name {
    font-size: 18px;
    font-weight: bold;
}


/* global footer --------------------------------------------------------- */


footer {
    background-color: #165438;
    padding: 0;
    font-size: 8px;
}

#businessinfocontainer {
    padding: 0px;
    background-color: hotpink;
    display: flex;
    flex-wrap: wrap;
}

#businessinfo {
    background-color: #f4f4f4;
    padding: 32px;
    flex: 40%;
}

.business-txt-bold {
    font-weight: bold;
    font-size: 16px;
    padding: 0 0 4px 0;
}

.business-txt-section {
    font-weight: bold;
    font-size: 12px;
    padding: 16px 0 4px 0;
}

#serviceareamap {
    background-color: #165438;
    background-image: url(../assets/servicemap.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 140%; 
    background: cover;
    width: 100%;
    height: 600px;
    flex: 60%;
    display: flex;
    justify-content: center; 
    align-items: center;     
    text-align: center;
}

.servicearea-txt {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    color: #F26838;
}

#friendly {
    background-color: #165438;
    margin: 0;
    padding: 0;
} 

.friendly-img {
    width: 100%; 
    height: auto; 
    max-height: 600px;
    object-fit: contain; 
    vertical-align: bottom;
}

#footer-details {
    background-color: #165438;
    color: white;
    text-align: center;
    padding: 15px 0;
    padding: 40px 0;
    font-size: 8px;
}


/* ==================================================== */
/* index.html page */
/* ==================================================== */

div {
    width: 100%;
} 

/* splash section --------------------------------------------------------- */

#splash {
    background-color: #bbbbbb;
} 

.splash-img {
    width: 100%;
    height: auto; 
    max-height: 800px;
    object-fit: contain; 
    vertical-align: bottom;
}

/* ticker --------------------------------------------------------- */

/* 1. Define the scrolling animation */
@keyframes ticker-scroll {
/* Start position: 0% horizontal translation */
from {
    transform: translateX(0);
}
/* End position: -50% horizontal translation (moves left/right-to-left) */
to {
    /* Move the full length of the original content block */
    transform: translateX(-50%); 
}
}

.stock-ticker-container {
    height: 60px;
    background-color: #B1DCC2; /* Dark background */
    /* Crucial: Hides the content that moves outside the container's boundaries */
    overflow: hidden; 
    display: flex; 
    align-items: center;
}

.stock-ticker-wrap {
    /* Crucial: Prevents items from wrapping to a new line */
    white-space: nowrap; 
    display: inline-block;
    animation: ticker-scroll 22s linear infinite;
    
    &:hover {
        animation-play-state: paused;
    }
}

.ticker-item {
    /* Make the text visible and readable */
    color: #0D3425;
    font-family: Arial, sans-serif;
    font-size: .8 rem;
    font-weight: bold;
    /* Add spacing between items */
    padding-right: 8px; 
}

.ticker-item-service {
    color: #F26838;
    font-family: Arial, sans-serif;
    font-size: .8 rem;
    font-weight: bold;
    padding-right: 8px; 
}

/* highlights --------------------------------------------------------- */

#highlight-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 16px;
    padding: 32px 16px 48px 16px;
}
  
.highlight {
    flex: 1 1 320px; 
    background-color: #0D3425;
    padding: 16px;
    border-radius: 8px;
} 

.highlight-txt {
    color: #B1DCC2;
}

.highlight-txt-bold {
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: .8 rem;
    font-weight: bold;
}

.highlight-img {
    background-color: #FFE8CC;
}

/* services --------------------------------------------------------- */

#services {
    padding: 16px 32px 100px;
    background-color: #0D3425;
    background-image: url("../assets/bhvac-pattern-01.png"); /* The image used */
    background-repeat: no-repeat;
    background-size: 80% auto; 
    background-position: bottom right;
}

.services-txt-header {
    color: #ffffff;
}

.services-txt {
    color: #B1DCC2; 
    max-width: 780px;
}

.servicebold {
    color: #ffffff;
    font-weight: 800;
    padding: 32px 0 8px 0;
}

.service {
    color: #B1DCC2;
    font-weight: 400;
    padding: 16px 0 0 0;
}

#servicescontainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 16px 0;
}

#servicesdiv1 {
    margin: 0 32px 0 0;
}

#servicesdiv2 {
    margin: 0 32px 0 0;
}

/* reviews --------------------------------------------------------- */

#customer-reviews {
    background-color: #FFE8CC;
    padding: 16px 32px 40px;
}

#revdemo-container {
    background-color: #FFE8CC;
    column-count: 1; /* For mobile, show 1 column */
    column-gap: 16px; 
    padding: 16px;
}
  
.revdemo-item {
    break-inside: avoid-column; /* Crucial: Prevents items from being cut off across a column break */
    display: block; /* Ensures the item takes up its full content width within the column */
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 16px;
}

#revdemo-spacer {
    height: 84px;
}

.customerrev-txt {
    max-width: 780px;
}

.review-txt {
    color: #0D3425;
}

.customername-txt {
    color: #F26838;
    padding: 16px 0 0 0;
}

/* about --------------------------------------------------------- */

#about {
    padding: 16px 32px 100px;
    background-image: url("../assets/bhvac-about.png"); /* The image used */
    background-color: #ffffff; /* Used if the image is unavailable */
    background-repeat: no-repeat;
    background-size: 80% auto; 
    background-position: top right;
} 

#aboutus-txt {
    max-width: 715px;
}

/* ==================================================== */
/* Service request form page */
/* ==================================================== */

/* form field  section --------------------------------------------------------- */

#servicerequestcontainer {
    padding: 16px 32px 100px;
    background-color: #ffffff;

}

#servicerequestform {
    background-color: #f4f4f4;
    border-radius: 16px;
} 

#formheaderimg {
    background-color: #B1DCC2;
    background-image: url(../assets/form-banners/bhvac-form-banners-04.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 120%; 
    width: 100%;
    height: 200px;
    border-radius: 16px 16px 0 0;
}

.iframe-container {
    width: 100%;
    height: 1600px; /* Adjust this height as needed to show the whole form */
    overflow: hidden;
    border-radius: 8px;
}

#formdetails-img1 {
    background-color: #B1DCC2;
    flex: 40%;
}

#formdetails-img2 {
    background-color: #bbbbbb;
    flex: 40%;
}
  

/* ==================================================== */
/* Responsive Styles / Breakpoints (Think Mobile-First) */
/* ==================================================== */

/* lrg size layout - larger than mobile */
@media (min-width: 728px) {

    header {
        background-color: #ffffff;
        color: #F26838;
        border-bottom: 2px solid #F26838;
        padding: 20px;
        height: 102px;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 1000;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    #sticky-contact {
        display: none;
    }
    
    #stickycontact-lrg {
        display: block;
        background-color: #F26838;
        color: #FFE8CC;
        height: 40px;
        text-align: center;
        border-bottom: 2px solid #0D3425;
        position: sticky;
        justify-content: space-between;
        top: 102px;
        z-index: 1001;
    }
    
    .contact-name {
        font-size: 18px;
        font-weight: bold;
    }

    #servicescontainer {
        display: flex;
        flex-direction: row;
        width: 80%;
        margin: 16px 0;
    }

    #revdemo-container {
        background-color: #FFE8CC;
        column-count: 3; /* For desktop, show 3 columns */
        column-gap: 16px; 
        padding: 16px;
    }
    
}

/* business details break point */
@media (max-width: 1000px) {
    #servicerequestform, #formdetails, #businessinfo, #serviceareamap {
      flex: 100%;
    }
}
