/* Devi Travels - Custom CSS */

:root {
    /* Devi Travels Refined Theme */
    --primary-color: #7A2E2E;   /* Rich maroon */
    --secondary-color: #2B1A1A; /* Deep maroon/brown */
    --accent-color: #F2B01E;    /* Warm golden */
    --success-color: #1FA77A;
    --warning-color: #F2B01E;   /* Align warning with accent */
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #faf7f4;     /* Slight warm tint */
    --dark-color: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    padding-top: 76px; /* Account for fixed navbar */
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

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

.navbar-nav .nav-link:hover {
    color: var(--warning-color) !important;
}

/* Make Bootstrap bg-primary match our theme */
.navbar.bg-primary, .bg-primary {
    background-color: var(--primary-color) !important;
}

/* Navbar links active state with subtle underline */
.navbar-nav .nav-link {
    position: relative;
}
.navbar-nav .nav-link.active {
    color: var(--warning-color) !important;
}
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 2px;
    background: var(--warning-color);
    border-radius: 2px;
}

/* Enhanced Navbar Styling */
.navbar-branding {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.navbar-branding .navbar-brand {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.navbar-branding .nav-link {
    color: #3b2a2a !important;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
}
.navbar-branding .nav-link:hover {
    background: rgba(242,176,30,0.12);
    color: var(--primary-color) !important;
}
.navbar-branding .nav-link.active {
    background: rgba(242,176,30,0.18);
    color: var(--primary-color) !important;
}
.navbar-branding .navbar-toggler {
    border-color: rgba(0,0,0,0.15);
}
.navbar-branding .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(242,176,30,0.3);
}

/* Logo sizes */
.brand-logo {
    height: 75px; /* even bigger logo */
    width: auto;
}

.footer-logo {
    height: 48px;
    width: auto;
}

/* Brand slogan under logo */
.brand-slogan {
    font-size: 0.5rem; /* small but readable */
    letter-spacing: 0.8px;
    color: #6c757d; /* lighter gray */
    font-weight: 400;
    line-height: 1;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(1200px 400px at 10% 10%, rgba(242,176,30,0.25), transparent 60%),
                linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0 50px;
}

/* Cards */
.service-card, .vehicle-card, .package-card, .testimonial-card, 
.feature-item, .value-card, .contact-item, .booking-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.service-card:hover, .vehicle-card:hover, .package-card:hover,
.testimonial-card:hover, .feature-item:hover, .value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* Vehicle Cards */
.vehicle-card .vehicle-image {
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.vehicle-card .placeholder-image {
    height: 220px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.vehicle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover img {
    transform: scale(1.05);
}

/* Vehicle Badge */
.vehicle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.vehicle-badge .badge {
    margin-left: 4px;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Enhanced Vehicle Details */
.vehicle-details .badge {
    font-size: 0.7rem;
    padding: 6px 10px;
    border-radius: 15px;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    background: rgba(var(--primary-color), 0.05);
    border-radius: 10px;
    padding: 12px;
    margin: 15px 0;
}

.pricing .text-primary {
    font-size: 1.1rem;
    font-weight: 600;
}

.pricing .text-success {
    font-size: 1.1rem;
    font-weight: 600;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--success-color);
}

/* Package Cards */
.package-card {
    border-left: 4px solid var(--warning-color);
}

.package-card .price {
    font-size: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    border-top: 4px solid var(--warning-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.stars i {
    font-size: 1.2rem;
}

/* Forms */
.booking-form-card, .booking-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
}

/* Book Now button emphasis in navbar */
.btn-book-now {
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 6px 14px rgba(242,176,30,0.35);
    border: 2px solid rgba(255,255,255,0.0);
}
.btn-book-now:hover {
    box-shadow: 0 10px 22px rgba(242,176,30,0.45);
    transform: translateY(-3px);
}

/* Outline variant for secondary actions */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(45deg, var(--warning-color), #ffbf2a);
    border: none;
    color: var(--dark-color);
}

.btn-warning:hover {
    background: linear-gradient(45deg, #fd7e14, var(--warning-color));
    transform: translateY(-2px);
}

/* Sections */
.services-section, .vehicles-section, .features-section,
.packages-section, .testimonials-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Stats */
.stats-row .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Items */
.contact-item i {
    color: var(--primary-color);
}

.working-hours-card {
    border: 2px solid var(--primary-color);
}

/* Section titles underline accent */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: "";
    display: block;
    height: 4px;
    width: 60px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--warning-color), var(--primary-color));
    border-radius: 3px;
}

/* Map */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Global links hover color */
a { color: inherit; }
a:hover { color: var(--warning-color); }

/* Destinations */
.destination-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 2rem;
}

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

/* Category Headers */
.category-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Vehicle Features */
.vehicle-features ul li {
    padding: 0.25rem 0;
}

/* Enhanced Vehicle Card Styling */
.vehicle-card {
    overflow: hidden;
    position: relative;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--warning-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicle-card:hover::before {
    opacity: 1;
}

.vehicle-card .vehicle-info h5 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.vehicle-card .btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.vehicle-card .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Category Section Styling */
.category-section {
    margin-bottom: 4rem;
}

.category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments for vehicle cards */
@media (max-width: 768px) {
    .vehicle-card .vehicle-image {
        height: 180px;
    }
    
    .category-header h2 {
        font-size: 1.5rem;
    }
    
    .vehicle-card .vehicle-info {
        padding: 1rem !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .stats-row .stat-item {
        margin-bottom: 1rem;
    }
    
    .package-card, .vehicle-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .service-card, .feature-item, .value-card {
        margin-bottom: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .vehicle-card, .package-card, .testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Messages */
.alert {
    border-radius: 10px;
    margin-top: 76px;
}

/* Footer */
footer {
    margin-top: auto;
}

footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--warning-color);
    color: var(--dark-color) !important;
    transform: translateY(-2px);
}

/* Footer gradient overlay for bg-dark */
footer.bg-dark {
    background: linear-gradient(180deg, #1d0f0f, var(--secondary-color)) !important;
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.border-primary-left {
    border-left: 4px solid var(--primary-color);
}

.border-warning-top {
    border-top: 4px solid var(--warning-color);
}
