/* Modern CSS for Prestige Limousine Service */

/* Reset and base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Header and navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
}

/* Sidebar styling */
.leftbg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 600px;
    border-right: 1px solid #dee2e6;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info .fas {
    color: #0d6efd;
}

.certifications p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.certifications .fas {
    color: #198754;
}

/* Main content area */
.rightbg {
    background: #ffffff;
    min-height: 600px;
}

.rightbg .list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.rightbg .list-unstyled li:hover {
    background-color: #f8f9fa;
    padding-left: 1rem;
    border-radius: 5px;
}

.rightbg .list-unstyled li:last-child {
    border-bottom: none;
}

/* Image styling */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 10px !important;
}

.shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Footer styling */
.btm {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    color: #ffffff;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-nav a.btm2 {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.footer-nav a.btm2:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Legacy footer styles for compatibility */
a.btm2:link {
    text-decoration: none;
    color: #adb5bd;
}

a.btm2:visited {
    text-decoration: none;
    color: #adb5bd;
}

a.btm2:hover {
    text-decoration: underline;
    color: #ffffff;
}

a.btm2:active {
    text-decoration: none;
    color: #adb5bd;
}

/* Legacy table cell styles for compatibility */
td {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .leftbg, .rightbg {
        min-height: auto;
    }

    .leftbg {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .contact-info {
        margin: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .p-4 {
        padding: 1rem !important;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-nav span {
        display: none;
    }
}

/* Animation and effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
    animation: fadeIn 0.6s ease-out;
}

/* Button and link enhancements */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Card enhancements */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Text animation on load */
.text-animation {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image hover effects */
.img-hover-zoom {
    transition: transform 0.3s ease;
}

.img-hover-zoom:hover {
    transform: scale(1.05);
}

/* Loading animation for images */
.img-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
a:focus, button:focus, .btn:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container-fluid {
        margin: 0;
        padding: 0;
    }
}