/* Kataria Tours & Travel - Custom Styles */

:root {
    --primary-blue: #1e40af;
    --primary-orange: #f97316;
    --dark-blue: #1e3a8a;
    --light-blue: #2563eb;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #93c5fd;
}

/* Navbar */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.logo-box {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand h5 {
    color: #1e40af;
    margin-bottom: 0;
    font-size: 1.25rem;
}

.navbar-brand small {
    color: #6b7280;
    font-size: 0.75rem;
}

.nav-link {
    color: #374151 !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2563eb !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.7) 100%), 
                url('https://images.unsplash.com/photo-1760229803660-fc5d996d9b79?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxhaXJwbGFuZSUyMHRyYXZlbCUyMGRlc3RpbmF0aW9ufGVufDF8fHx8MTc2NzcxMjg5OHww&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

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

.hero-section p {
    color: white;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    display: inline-block;
    color: white;
    font-weight: 500;
}

/* Booking Services Section */
.booking-services-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.booking-service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.booking-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.booking-service-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.booking-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.booking-service-card:hover .booking-service-image img {
    transform: scale(1.1);
}

.booking-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0.3), rgba(30, 58, 138, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.booking-service-card:hover .booking-overlay {
    opacity: 1;
}

.booking-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.booking-service-card:hover .booking-icon {
    transform: scale(1);
}

.booking-service-body {
    padding: 1.5rem;
}

.booking-service-body h4 {
    color: #1f2937;
    font-size: 1.25rem;
}

.booking-service-body p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

.booking-service-body .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s;
}

/* Button Styles */
.btn-primary-custom {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    border: none !important;
    color: white !important;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.btn-search {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.btn-search:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    color: white !important;
}

/* Search Section - Removed (keeping for reference if needed later) */
/* .search-section {
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
}

.search-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    padding: 2rem;
}

.tab-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    border: none !important;
    color: white !important;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.btn-search {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.btn-search:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    color: white !important;
}

.form-control, .form-select {
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.input-group-text {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    color: #6b7280;
}

.form-label {
    color: #374151;
    margin-bottom: 0.5rem;
} */

/* Services Section */
.bg-light-custom {
    background-color: #f9fafb !important;
}

.service-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    height: 100%;
    background: white;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.service-card h5 {
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Deals Section */
.deal-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    border-radius: 1rem;
    background: white;
}

.deal-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.deal-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover .card-img-top {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.badge.bg-primary {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    border: 1px solid #93c5fd;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

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

.deal-card .card-title {
    color: #1f2937;
    font-size: 1.1rem;
}

/* Destinations Section */
.destination-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.destination-card:hover img {
    transform: scale(1.15);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    padding: 2rem;
}

.destination-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.destination-overlay p, 
.destination-overlay h4 {
    color: white;
}

.destination-overlay .btn {
    transition: all 0.3s;
}

.destination-overlay .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255,255,255,0.5);
}

/* About Section */
.about-img {
    height: 450px;
    object-fit: cover;
    border-radius: 1rem;
    width: 100%;
}

.trusted-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.trusted-badge p, 
.trusted-badge h2 {
    color: white;
    margin: 0;
}

.stat-card {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    transform: translateY(-5px);
}

.stat-card h3 {
    color: #1e40af;
}

.stat-card p {
    color: #6b7280;
}

/* Contact Section */
.contact-card {
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 0.75rem;
    transition: all 0.3s;
    background: white;
}

.contact-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.contact-image {
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.9) 0%, rgba(30, 58, 138, 0.3) 70%, transparent 100%);
    color: white;
    padding: 2rem;
}

.contact-overlay h3, 
.contact-overlay p {
    color: white;
}

.contact-card h5 {
    color: #1f2937;
}

.contact-card a {
    transition: color 0.3s;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #111827 0%, #000000 100%);
    color: white;
}

.footer h5 {
    color: white;
    font-weight: 700;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.footer .text-muted {
    color: #9ca3af !important;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.social-icon i {
    color: white;
}

/* Text Colors */
.text-primary {
    color: #1e40af !important;
}

.text-muted {
    color: #6b7280 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .search-section {
        margin-top: -3rem;
    }
    
    .search-card {
        padding: 1.5rem;
    }
    
    .btn-search {
        width: 100%;
        padding: 1rem;
    }
    
    .tab-buttons .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .destination-card {
        height: 350px;
    }
    
    .about-img {
        height: 300px;
    }
    
    .trusted-badge {
        bottom: -1rem;
        left: -1rem;
        padding: 1rem;
    }
    
    .trusted-badge h2 {
        font-size: 1.5rem;
    }
    
    .contact-image {
        height: 400px;
        margin-top: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .service-card,
    .deal-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .search-card {
        padding: 1rem;
    }
    
    .deal-card .card-img-top {
        height: 180px;
    }
    
    .destination-card {
        height: 300px;
    }
    
    .destination-overlay h3 {
        font-size: 1.75rem;
    }
}

/* Additional Utility Classes */
.overflow-hidden {
    overflow: hidden;
}

.position-relative {
    position: relative;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Smooth Transitions */
a, button, .card, .btn {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .search-section {
        display: none;
    }
}