/* 
============================
  Prime Time Plumbing - Main CSS
============================
*/

/* Base Styles and CSS Reset */
:root {
    --primary-color: #005cb9;
    --secondary-color: #ff7d00;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --dark-color: #343a40;
    --white: #ffffff;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    --forsyth-highlight: #0056b3;
    --grey-color: #5f6368;
    --light-grey: #e8eaed;
    
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 5px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

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

.btn-secondary {
    background-color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--grey-color);
}

.btn-large {
    font-size: 1.6rem;
    padding: 1.5rem 3rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--dark-color);
    font-size: 2.4rem;
    font-weight: 700;
}

.logo a h1 {
    margin-bottom: 0;
    font-size: 2.4rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.book-now-btn a {
    margin-left: 1rem;
    color: var(--white) !important;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 18rem 0 10rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.svg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.hero h1, .hero h2 {
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    color: var(--grey-color);
    font-size: 1.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.service-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.service-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--light-grey);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-cta {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    border-radius: var(--border-radius);
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cta-bg.svg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    position: relative;
}

.cta h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

.cta p {
    margin-bottom: 30px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* Local SEO Section Styling */
.local-seo {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.local-seo h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.local-seo h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin: 20px 0 10px;
}

.local-seo p {
    margin-bottom: 15px;
}

.local-seo ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.local-seo li {
    padding: 5px 0;
}

.local-seo a {
    color: var(--forsyth-highlight);
    text-decoration: underline;
}

.service-area {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.service-area h3 {

    color: white;
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* County Highlight */
.county-highlight {
    color: var(--forsyth-highlight);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 6rem 0 2rem;
}

.footer .social-links a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer .social-links a:hover {
    color: #c41200; /* Yelp red color */
}

.footer .social-links a i.fa-yelp {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer h2, .footer h3 {
    color: white;
    margin-bottom: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 991px) {
    html {
        font-size: 58%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        background-color: white;
        padding: 8rem 3rem 3rem;
        z-index: 1000;
        transition: var(--transition);
        align-items: flex-start;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
        width: 100%;
    }
    
    .book-now-btn {
        margin-top: 2rem;
        width: 100%;
    }
    
    .book-now-btn a {
        margin-left: 0;
        width: 100%;
    }
    
    .hero {
        padding: 15rem 0 8rem;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    .nav-links {
        width: 85%;
    }
    
    .cta h2 {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
