/* 
* Tru Blu Towing - Main Stylesheet
* Created: March 2025
*/

:root {
    --primary-blue: #1e5bae;
    --dark-blue: #0d3b7d;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.section-title {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-blue);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Navigation */
.navbar {
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark {
    background-color: var(--dark-gray) !important;
}

.logo {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    padding: 1rem 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
    position: relative;
}

.hero-section h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-image {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.call-now-btn {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.call-now-btn:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

.call-now-btn i {
    margin-right: 0.5rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

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

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-section img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
    padding-top: 10px;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: var(--primary-blue);
    opacity: 0.2;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 1rem;
    text-align: right;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-info ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info ul li i {
    color: var(--primary-blue);
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
}

.map-container {
    height: 100%;
    min-height: 300px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-blue);
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
}

.social-link i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #4267B2; /* Facebook blue */
}

.social-link:hover {
    color: #4267B2; /* Facebook blue */
}

/* Mobile Call Button */
.mobile-call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.mobile-call-button .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    animation: pulse 2s infinite;
}

.mobile-call-button i {
    font-size: 1.5rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 91, 174, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(30, 91, 174, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 91, 174, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .call-now-btn {
        width: 100%;
    }
}
