/* ==========================================================================
   GLOBAL RESET AND BASE THEME RULES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: #ffffff;
    line-height: 1.6;
    background-color: #070608;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    text-rendering: optimizeLegibility;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   HEADER NAVIGATION FIXED BAR
   ========================================================================== */
header {
    background-color: #05101e;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.header-placeholder-space {
    width: 40px;
    height: 40px;
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 25px;
}
nav ul li a {
    font-weight: 600;
    font-size: 16px;
    color: #b0bec5;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #00bcd4;
}

/* ==========================================================================
   HERO DISPLAY FRAME WITH HALIFAX TINT
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(5, 16, 30, 0.8), rgba(5, 16, 30, 0.85)), url('halifaxbg1.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

/* SOLID RECTANGULAR BOX LOGO BOUNDS */
.hero-logo-img {
    max-width: 680px;
    width: 95%;
    height: auto;
    margin-bottom: 30px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subheading {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #ffffff;
    width: 100%;
    max-width: 650px;
    border-top: 3px solid #ffffff;
    padding-top: 20px;
    text-wrap: balance;
}
.justified-lead {
    font-size: 21px;
    margin-bottom: 40px;
    max-width: 660px;
    font-weight: 300;
    color: #cfd8dc;
    text-align: center;
    line-height: 1.7;
    text-wrap: pretty;
}
.btn {
    display: inline-block;
    background-color: #ffffff;
    color: #05101e;
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.btn:hover {
    background-color: #00bcd4;
    color: #05101e;
    transform: translateY(-2px);
}

/* JOURNEYMAN ACCENT BADGE */
.badge-journeyman {
    display: inline-block;
    background-color: #00bcd4;
    color: #05101e;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* ==========================================================================
   HOMEPAGE SPECIALTIES PRESENTATION CARD GRID
   ========================================================================== */
.services {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.service-card {
    background: #0f1824;
    padding: 50px 30px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-bottom: 4px solid #05101e;
    transition: all 0.3s;
    color: #ffffff;
}
.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #00bcd4; /* REVERTED BACK TO BLUE */
    text-transform: uppercase;
}
.service-card p {
    color: #b0bec5;
    text-wrap: pretty;
}

/* ==========================================================================
   INTERACTIVE INQUIRY ESTIMATE FORM CONTAINER
   ========================================================================== */
.form-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #0f1824;
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid #102136;
    text-align: left;
}
.form-container h3 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-container p {
    font-size: 15px;
    color: #b0bec5;
    margin-bottom: 35px;
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.form-row .form-group {
    margin-bottom: 0;
}
.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: #070e17;
    border: 1px solid #1a2f4c;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 8px rgba(0, 188, 212, 0.2);
}
.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #4f6a8a;
}
.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%2300bcd4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}
.submit-btn {
    width: 100%;
    background-color: #ffffff;
    color: #05101e;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}
.submit-btn:hover {
    background-color: #00bcd4;
    color: #05101e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

/* ==========================================================================
   SERVICES SUBPAGE CONTAINER SPLIT LAYOUT RULES
   ========================================================================== */
.services-page-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.services-header-block {
    text-align: center;
    margin-bottom: 60px;
}
.services-header-block h1 {
    font-size: 38px;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-wrap: balance;
}
.services-columns-split {
    display: flex;
    gap: 40px;
}
.service-division-card {
    flex: 1;
    background-color: #0f1824;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 5px solid #ffffff;
}
.commercial-highlight {
    border-top-color: #00bcd4;
}
.service-division-card h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 1px solid #102136;
    padding-bottom: 10px;
}
.division-intro {
    font-size: 15px;
    color: #00bcd4;
    margin-bottom: 35px;
    font-weight: 600;
}
.bullet-feature-item {
    margin-bottom: 25px;
    text-align: left;
}
.bullet-feature-item strong {
    display: block;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 6px;
}
.bullet-feature-item p {
    color: #cfd8dc;
    font-size: 15px;
    line-height: 1.5;
    text-wrap: pretty;
}

/* ==========================================================================
   FOOTER BASE CONFIGURATIONS WITH HYPERLINK BLUE
   ========================================================================== */
footer {
    background-color: #05101e;
    color: #ffffff;
    padding: 60px 20px 30px 20px;
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid #102136;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.footer-info {
    color: #b0bec5;
    font-size: 14px;
}
/* SPECIFIC INTERACTIVE BLUE FOOTER LINKS */
.phone-link, .email-link {
    color: #3b82f6 !important; /* CLASSIC TRUSTED LINK BLUE */
    text-decoration: underline !important;
}
.phone-link:hover, .email-link:hover {
    color: #60a5fa !important; /* LIGHTER BLUE HIGHLIGHT ON HOVER */
    opacity: 0.8;
}

/* ==========================================================================
   RESPONSIVE DESIGN RESPONSES (MOBILE OPTIMIZATION)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .services-columns-split {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .hero-subheading {
        font-size: 20px;
        letter-spacing: 2px;
    }
    .justified-lead {
        font-size: 17px;
    }
}
