/* Ultimate Mechanicals Custom Styles */

:root {
    --primary-blue: #35589a;
    --accent-red: #ed1c24;
    --text-gray: #58595b;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-gray);
    padding-top: 76px;
}

/* Bootstrap color overrides */
.bg-primary {
    background-color: var(--primary-blue) !important;
}

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

.btn-primary:hover {
    background-color: #2a4578;
    border-color: #2a4578;
}

.btn-accent {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.btn-accent:hover {
    background-color: #c41820;
    border-color: #c41820;
    color: white;
}

.text-accent {
    color: var(--accent-red);
}

.text-primary {
    color: var(--primary-blue) !important;
}

/* Navigation */
.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-gray);
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent-red);
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Dropdown hover functionality */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    margin-top: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a4578 100%);
    color: white;
    padding: 100px 0;
    margin-top: -76px;
    padding-top: 176px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Section Styling */
.section-title {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

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

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

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: var(--primary-blue);
    color: white;
    font-weight: bold;
    border: none;
}

.service-card {
    text-align: center;
    padding: 2rem;
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Image Styling */
.img-placeholder {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
    min-height: 300px;
}

/* Contact Form */
.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(53, 88, 154, 0.25);
}

/* Footer */
footer a:hover {
    color: var(--accent-red) !important;
    transition: color 0.3s ease;
}

/* Utilities */
.bg-light-custom {
    background-color: var(--light-bg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}
