/* Raymond Engineering & Fabrication - Custom Styles */

:root {
    --bs-primary: #1F497D;
    --bs-primary-rgb: 31, 73, 125;
    --bs-secondary: #4F81BD;
    --bs-secondary-rgb: 79, 129, 189;
    --bs-dark: #1a1a1a;
    --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Override Bootstrap primary color */
.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: #163a64;
    border-color: #163a64;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.text-primary {
    color: var(--bs-primary) !important;
}

/* Body styles */
body {
    font-family: var(--bs-font-sans-serif);
}

/* Hover lift effect for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Navbar brand text */
.navbar-brand {
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .navbar-brand span {
        font-size: 0.9rem;
    }
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--bs-secondary) 0%, #6a9fd4 100%);
}

.min-vh-50 {
    min-height: 50vh;
}

/* Service cards */
.service-icon {
    transition: transform 0.3s ease;
}

.card:hover .service-icon {
    transform: scale(1.1);
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(31, 73, 125, 0.25);
}

/* Footer */
footer {
    background-color: var(--bs-dark);
}

footer h5 {
    font-weight: 600;
}

/* Page headers */
section.bg-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #163a64 100%) !important;
}

/* Card shadows */
.card.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.card.shadow-sm {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

/* Contact items */
.contact-item {
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

/* Loading spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Image placeholders */
.hero-image-placeholder,
.about-image-placeholder,
.map-placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* Badge styles */
.badge {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
    }
}
