/* Main CSS for Birmingham Breakdown Recovery */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #009933;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #007722;
}

/* Color Scheme */
.primary-color {
    color: #009933; /* Green */
}

.secondary-color {
    color: #000000; /* Black */
}

.accent-color {
    color: #ffffff; /* White */
}

.bg-primary {
    background-color: #009933;
    color: #ffffff;
}

.bg-secondary {
    background-color: #000000;
    color: #ffffff;
}

.bg-light {
    background-color: #ffffff;
    color: #333;
}

.bg-dark {
    background-color: #222;
    color: #ffffff;
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #009933;
}

.phone-number {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #009933;
}

.phone-number i {
    margin-right: 8px;
    font-size: 1.4rem;
}

/* Navigation */
.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.nav-menu.active {
    display: block;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
    color: #009933;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #009933;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: #f2f2f2;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/services/tow_truck_roadside.jpeg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    margin-top: 80px;
}

.hero-content {
    padding: 100px 0;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #009933;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #007722;
    color: #ffffff;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #009933;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
}

.btn-small {
    display: inline-block;
    background-color: #009933;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: #007722;
    color: #ffffff;
}

/* Areas Section */
.areas {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.area-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.area-item h3 {
    color: #009933;
    margin-bottom: 10px;
}

.area-item ul {
    list-style: none;
    margin-left: 20px;
}

.area-item ul li {
    margin-bottom: 8px;
    position: relative;
}

.area-item ul li::before {
    content: '✓';
    color: #009933;
    position: absolute;
    left: -20px;
}

/* Motorways Section */
.motorways {
    padding: 80px 0;
}

.motorway-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.motorway-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.motorway-image {
    height: 200px;
    overflow: hidden;
}

.motorway-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.motorway-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.motorway-content h3 {
    color: #009933;
    margin-bottom: 15px;
}

.motorway-content p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    font-size: 5rem;
    color: #009933;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: #009933;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: #009933;
    color: #ffffff;
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-button-white {
    display: inline-block;
    background-color: #ffffff;
    color: #009933;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.cta-button-white:hover {
    background-color: #f2f2f2;
    color: #007722;
}

/* Footer */
footer {
    background-color: #222;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #009933;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #cccccc;
}

.footer-contact p i {
    color: #009933;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #ffffff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #009933;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Page Banner */
.page-banner {
    background-color: #f2f2f2;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/services/tow_truck_roadside.jpeg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    margin-top: 80px;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #cccccc;
    margin: 0 10px;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.breadcrumbs span {
    margin: 0 10px;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    margin-bottom: 30px;
}

.content-section p {
    margin-bottom: 20px;
}

.content-section ul {
    margin-bottom: 20px;
    margin-left: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-icon {
    font-size: 3rem;
    color: #009933;
    margin-bottom: 20px;
}

.info-item h3 {
    margin-bottom: 15px;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.location-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-content {
    flex: 1;
}

.location-map {
    flex: 1;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    background-color: #ffffff;
    color: #333;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question.active {
    background-color: #009933;
    color: #ffffff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #009933;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #007722;
}

/* Contact Info */
.contact-info {
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: #009933;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.contact-info-content h4 {
    margin-bottom: 5px;
}

.contact-info-content p {
    color: #666;
    margin-bottom: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.pt-1 {
    padding-top: 1rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.pt-3 {
    padding-top: 3rem;
}

.pb-3 {
    padding-bottom: 3rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
