/* Main Styles for Prestige Limousine Service
-------------------------------------------------- */

/* General Styles */
:root {
    --primary-color: #0c2340;    /* Dark blue */
    --secondary-color: #b8a066;  /* Gold */
    --dark-color: #111;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

body {
    font-family: var(--font-primary);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    /* Adding a prominent background color as a visual indicator */
    background-color: #e9ecef;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary-color);
}

.btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #0a1c32;
    border-color: #0a1c32;
}

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

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

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Header & Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: var(--primary-color) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand span {
    margin-left: 10px;
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* Page Header */
.page-header {
    /* Replacing with a solid background color */
    background-color: var(--primary-color);
    padding: 5rem 0;
    color: var(--light-color);
    text-align: center;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

.breadcrumb {
    background: transparent;
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--light-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--light-color);
    overflow: hidden;
    background-color: #1a1a1a;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 35, 64, 0.6); /* Darker overlay to ensure text readability */
    z-index: 1;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    color: #fff;
}

/* Services Section */
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--secondary-color);
}

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

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 35, 64, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Fleet Section */
.vehicle-card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.vehicle-card img,
.service-details-card .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    /* Replace missing images with a colored placeholder */
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.vehicle-card .card-body {
    padding: 1.5rem;
}

.vehicle-card .card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Why Choose Us Section */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 4px;
    min-width: 16px;
    text-align: center;
}

.feature-list li strong {
    margin-right: 5px;
}

.feature-list li div {
    flex: 1;
}

.values-list li {
    border-left: 2px solid transparent;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.values-list li:hover {
    border-left-color: var(--secondary-color);
    padding-left: 10px;
}

.testimonial-card {
    background: #fff;
    height: 100%;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-rating i {
    color: #ffc107;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

/* CTA Section */
.cta-section {
    /* Replacing with a solid background color */
    background-color: var(--secondary-color);
    padding: 5rem 0;
    color: #fff;
}

/* Contact Page Styles */
.contact-info-card {
    background: #fff;
    border-radius: 5px;
    border-top: 4px solid var(--primary-color);
}

.contact-item .icon-box {
    width: 50px;
    height: 50px;
    margin: 0;
    font-size: 1.25rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

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

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

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

/* Booking Page Styles */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(12, 35, 64, 0.05);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(12, 35, 64, 0.25);
}

/* Footer */
footer {
    position: relative;
    background-color: var(--dark-color) !important;
    color: #fff;
}

footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50% !important;
    padding: 0;
}

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

/* Navbar scrolled effect */
.navbar-scrolled {
    background-color: var(--primary-color) !important;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Adding new stronger visual indicators */
.bg-light {
    background-color: #f0f4f8 !important;
}

.card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .navbar-collapse {
        background: var(--dark-color);
        padding: 1rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card, .vehicle-card {
        margin-bottom: 2rem;
    }
    
    .feature-list li {
        margin-bottom: 1rem;
    }
    
    .feature-list li i {
        font-size: 1.1rem;
        margin-top: 2px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        background-position: center center;
        background-attachment: scroll;
        background-size: cover;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .feature-list li {
        flex-direction: column;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 0.75rem;
    }
    
    .feature-list li:last-child {
        border-bottom: none;
    }
    
    .feature-list li i {
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
        color: var(--secondary-color);
    }
    
    .feature-list li strong {
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .values-list li:hover {
        padding-left: 5px;
        border-left-width: 4px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .feature-list li i {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
} 