/* 
* Essential Mechanical Services - Styles
* Author: Sourcegraph
* Version: 1.0
*/

/* ===== VARIABLES ===== */
:root {
    --primary-color: #FE7301;
    --primary-dark: #e66800;
    --blue-accent: #00AEEF;
    --dark-color: #1C1C1C;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    min-width: 200px;
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 8px 15px;
}

.dropdown-menu a {
    color: var(--text-color);
    display: block;
}

.dropdown-menu a:hover, .dropdown-menu a.active {
    color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    color: var(--light-color);
    padding: 150px 0;
    text-align: center;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.subheading {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin-right: 10px;
}

.inner-hero {
    padding: 100px 0;
}

/* ===== CONTENT SECTIONS ===== */
.content-section, .location-content {
    padding: 80px 0;
}

.content-wrapper, .location-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.lead {
    font-size: 18px;
    margin-bottom: 25px;
    color: #444;
    line-height: 1.7;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.small-heading {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.step-list {
    margin: 20px 0;
    padding-left: 20px;
}

.step-list li {
    margin-bottom: 15px;
    position: relative;
}

.step {
    font-weight: 600;
    color: var(--primary-color);
}

.phone-link {
    font-weight: 600;
    color: var(--primary-color);
}

.phone-link-light {
    font-weight: 600;
    color: var(--light-color);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    text-align: center;
}

.blue-bg {
    background-color: var(--blue-accent);
    color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.service-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.service-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
}

.bottom-line {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
}

/* ===== CALLOUT SECTION ===== */
.callout-section {
    padding: 80px 0;
    text-align: center;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 500;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 80px 0;
}

.map-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.map-container {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-areas-list {
    margin-top: 40px;
}

.service-areas-list h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.area-column ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.area-column ul li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* ===== LOCATION PAGES ===== */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.services-overview {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
}

.services-overview h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.services-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.services-list li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.location-map {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.contact-form h2 {
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.contact-info {
    padding: 30px;
    background-color: var(--dark-color);
    color: var(--light-color);
    border-radius: var(--border-radius);
}

.contact-info h2 {
    margin-bottom: 25px;
    font-size: 24px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-item a {
    color: var(--light-color);
}

.info-item a:hover {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--light-color);
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-item {
        margin: 10px 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .call-btn {
        margin-right: 50px;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .services-grid, .service-cards {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .subheading {
        font-size: 12px;
    }
    
    .call-btn {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
}
