/* Joshua Tours - Main Stylesheet */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #25D366;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem !important;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 600px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.3;
}

/* Trip Planner Form */
.trip-planner-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.trip-planner-card .form-control,
.trip-planner-card .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

/* Section Styling */
.section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Destination Tabs */
.destination-tabs .nav-link {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    background: var(--light-color);
    color: var(--dark-color);
    border: none;
}

.destination-tabs .nav-link.active {
    background: var(--primary-color);
    color: white;
}

/* Package Cards */
.package-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.package-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.package-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.package-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Destination Cards */
.destination-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
}

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

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

.destination-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* Experience Cards */
.experience-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

/* Kerala Section */
.kerala-section {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.kerala-feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    color: white;
}

.kerala-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.testimonial-card .stars {
    color: #ffc107;
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Buttons */
.btn-primary {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-success {
    background: #25D366;
    border-color: #25D366;
}

.btn-success:hover {
    background: #1da851;
    border-color: #1da851;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
}

/* Breadcrumb */
.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Package Detail */
.package-gallery img {
    border-radius: 10px;
    cursor: pointer;
}

.itinerary-day {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.itinerary-day .day-number {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Sticky Inquiry Form */
.sticky-inquiry {
    position: sticky;
    top: 100px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
