/* ==========================================
   RAJASTHAN TOUR PACKAGES CUSTOM STYLES
   ========================================== */

/* Brand Colors */
:root {
    --primary-color: #e04f67;
    --secondary-color: #1cbbb4;
    --accent-color: #f7941d;
    --dark-color: #333;
    --light-color: #f9f9f9;
    --border-color: #e0e0e0;
}

/* Package Category Section */
.package-category-section {
    margin-bottom: 40px;
    padding: 30px 0;
    border-bottom: 2px solid #f0f0f0;
}

.package-category-section:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.category-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -15px;
    left: 0;
    border-radius: 2px;
}

.category-subtitle {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-top: 25px;
    margin-bottom: 30px;
}

/* Hero Section Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.btn-tour-packages,
.btn-whatsapp-hero {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-tour-packages {
    background: linear-gradient(135deg, #e04f67, #d63a52);
    color: white;
    box-shadow: 0 4px 12px rgba(224, 79, 103, 0.3);
}

.btn-tour-packages:hover {
    background: linear-gradient(135deg, #d63a52, #c92844);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224, 79, 103, 0.4);
    color: white;
}

.btn-whatsapp-hero {
    background: linear-gradient(135deg, #25d366, #20ba58);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-hero:hover {
    background: linear-gradient(135deg, #20ba58, #1a9344);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Responsive Buttons */
@media (max-width: 1024px) {
    .hero-buttons {
        gap: 12px;
        margin-top: 28px;
        padding: 0 20px;
    }
    
    .btn-tour-packages,
    .btn-whatsapp-hero {
        padding: 11px 28px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        gap: 10px;
        margin-top: 25px;
        padding: 0 15px;
    }
    
    .btn-tour-packages,
    .btn-whatsapp-hero {
        padding: 9px 22px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: row;
        gap: 8px;
        margin-top: 20px;
        padding: 0 10px;
        justify-content: center;
    }
    
    .btn-tour-packages,
    .btn-whatsapp-hero {
        padding: 8px 16px;
        font-size: 12px;
        flex: 1;
        max-width: 45%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        gap: 6px;
        margin-top: 18px;
        padding: 0 8px;
    }
    
    .btn-tour-packages,
    .btn-whatsapp-hero {
        padding: 7px 14px;
        font-size: 11px;
        flex: 1;
        max-width: 48%;
    }
}

@media (max-width: 380px) {
    .hero-buttons {
        gap: 5px;
        margin-top: 15px;
        padding: 0 5px;
    }
    
    .btn-tour-packages,
    .btn-whatsapp-hero {
        padding: 6px 12px;
        font-size: 10px;
        flex: 1;
        max-width: 50%;
    }
}

/* Compact Package Card */
.package-card-compact {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 480px;
    max-height: 480px;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    border: 1px solid #f5f5f5;
}

.package-card-compact:hover {
    box-shadow: 0 12px 28px rgba(224, 79, 103, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.package-card-compact .img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.package-card-compact .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.package-card-compact:hover .img-wrapper img {
    transform: scale(1.15) rotate(2deg);
}

.package-card-compact .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.package-card-compact .badge.hot {
    background: linear-gradient(135deg, var(--primary-color), #d63851);
    color: #fff;
}

.package-card-compact .badge.popular {
    background: linear-gradient(135deg, var(--secondary-color), #16a9a0);
    color: #fff;
}

.package-card-compact .badge {
    background: linear-gradient(135deg, var(--accent-color), #f09a1a);
    color: #fff;
}

.package-card-compact .duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(51, 51, 51, 0.92);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-card-compact .duration:before {
    content: '📅';
}

.package-card-compact .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card-compact .card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--dark-color);
    line-height: 1.4;
}

.package-card-compact .card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.package-card-compact:hover .card-title a {
    color: var(--primary-color);
}

.package-card-compact .card-meta {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.package-card-compact .card-meta:before {
    content: '🏷️';
    font-size: 13px;
}

.package-card-compact .card-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
}

.package-card-compact .card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.package-card-compact .view-btn {
    display: inline-block;
    width: 100%;
    padding: 11px 0;
    background: linear-gradient(135deg, var(--primary-color), #d63851);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.package-card-compact .view-btn:hover {
    background: linear-gradient(135deg, #d63851, var(--primary-color));
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(224, 79, 103, 0.3);
}

/* Price Display */
.package-price {
    font-size: 15px;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.package-price:before {
    content: '💰';
    font-size: 14px;
}

/* Responsive Grid */
@media (max-width: 1199px) {
    .package-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .package-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .category-title {
        font-size: 26px;
    }
    
    .package-card-compact {
        min-height: 480px;
    }
    
    .package-card-compact .img-wrapper {
        height: 180px;
    }
    
    .package-card-compact .card-content {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .package-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-title {
        font-size: 22px;
    }
    
    .package-card-compact {
        margin-bottom: 15px;
        min-height: 420px;
    }
    
    .package-card-compact .img-wrapper {
        height: 150px;
    }
    
    .package-card-compact .card-content {
        padding: 12px;
    }
    
    .package-card-compact .card-title {
        font-size: 14px;
    }
    
    .package-card-compact .card-description {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .package-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .package-card-compact {
        margin-bottom: 10px;
        min-height: 380px;
    }
}

/* Standard Bootstrap Grid Fallback */
.col-package-4 {
    width: 25%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
}

.col-package-3 {
    width: 33.333%;
    float: left;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .col-package-4,
    .col-package-3 {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .col-package-4,
    .col-package-3 {
        width: 100%;
    }
}

/* Category Filter Tabs */
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tabs .tab-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background-color: #fff;
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 13px;
}

.category-tabs .tab-btn:hover,
.category-tabs .tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #d63851);
    color: #fff;
    box-shadow: 0 4px 12px rgba(224, 79, 103, 0.3);
}

/* Grid Clear */
.package-grid-row:after {
    content: " ";
    display: table;
    clear: both;
}

/* Special Offer Ribbon */
.special-offer-ribbon {
    position: absolute;
    top: 10px;
    left: -5px;
    background: linear-gradient(135deg, var(--primary-color), #d63851);
    color: #fff;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(224, 79, 103, 0.3);
    transform: rotate(-2deg);
    border-radius: 3px;
}

/* Trending Badge */
.trending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #27AE60, #229954);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

/* Package Grid Container */
.packages-container {
    width: 100%;
    margin-bottom: 30px;
}

/* Load more Button */
.loadmore-btn {
    display: block;
    margin: 50px auto;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color), #d63851);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(224, 79, 103, 0.2);
}

.loadmore-btn:hover {
    background: linear-gradient(135deg, #d63851, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(224, 79, 103, 0.4);
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

.no-results p {
    margin: 10px 0;
}

/* Duration Badge Small */
.duration-small {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #16a9a0);
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 5px;
}

/* Animation for cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Phone Button Overlay */
.phone-btn-overlay {
    position: absolute;
    bottom: 70px;
    right: 15px;
    background: linear-gradient(135deg, #25a0e8, #1e84d0);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 160, 232, 0.3);
    z-index: 1;
}

.phone-btn-overlay:hover {
    background: linear-gradient(135deg, #1e84d0, #1a6ab3);
    transform: scale(1.1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 160, 232, 0.5);
}

.package-card-compact {
    animation: slideInUp 0.6s ease-out forwards;
}

.package-card-compact:nth-child(1) { animation-delay: 0.1s; }
.package-card-compact:nth-child(2) { animation-delay: 0.2s; }
.package-card-compact:nth-child(3) { animation-delay: 0.3s; }
.package-card-compact:nth-child(4) { animation-delay: 0.4s; }

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

