/* ===== TRAVEL PACKAGE CARDS (For Archive/Shortcodes) ===== */
body .related-travel-posts {
    margin-top: 50px;
    padding: 40px 0;
    border-top: 2px solid #eee;
}

body .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

body .travel-package-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

body .travel-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

body .package-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

body .package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body .travel-package-card:hover .package-image img {
    transform: scale(1.05);
}

body .nights-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3073e6;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

body .favorite-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

body .favorite-icon:hover {
    background: white;
    transform: scale(1.1);
}

body .package-content {
    padding: 12px 16px;
}

body .package-content h3 {
    text-align:left;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

body .package-content h3 a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

body .package-content h3 a:hover {
    color: #2563eb;
}

body .package-location {
    display: flex;
    align-items: center;
    color: #6b7280;
    margin-bottom: 15px;
    font-size: 14px;
}

body .location-icon {
    margin-right: 8px;
    font-size: 16px;
}

body .package-amenities {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

body .amenity-icon {
    font-size: 18px;
    padding: 6px;
    background: #f3f4f6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

body .amenity-icon:hover {
    background: #e5e7eb;
    transform: scale(1.1);
}

body .package-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

body .package-pricing {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: 20px;
}

body .pricing-info-card {
    display: flex;
    justify-content: space-between;
    align-items: left;
    margin-bottom: 15px;
}

body .nights-text {
    float:left;
    color: #ff3bab;
    font-size: 20px;
    font-weight: 600;
}

body .price {
    color: #ff3bab;
    font-weight: bold;
    font-size: 20px;
}

body .price-from {
    font-size: 14px;
    color: #3073e6;
    font-weight: 500;
}

body .pricing-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

body .price-option {
    flex: 1;
    padding: 8px;
    background: #f9fafb;
    border-radius: 6px;
    text-align: center;
}

body .price-option.economy {
    border-left: 3px solid #059669;
}

body .price-option.business {
    border-left: 3px solid #d97706;
}

body .price-label {
    font-size: 15px;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 600;
}

body .price-value {
    font-size: 19px;
    font-weight: bold;
    color: #374151;
}

body .package-actions {
    margin-top: 20px;
}

body .view-btn,
body .enquire-btn,
body .call-btn {
    display: block;
    width: 50%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

body .enquire-btn,
body .view-btn {
    background: #3073e6;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

body .enquire-btn:hover,
body .view-btn:hover {
    color:white;
    background: #ff3bab;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

body .call-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

body .call-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ===== SEARCH FORM STYLES ===== */
.custom-post-search {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 30px;
    max-width: 1000px;
    margin: 30px auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-post-search input[type="search"],
.custom-post-search select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    transition: all 0.3s ease;
    font-weight: 500;
}

.custom-post-search input[type="search"]:focus,
.custom-post-search select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    outline: none;
    background: white;
    transform: translateY(-2px);
}

.custom-post-search button[type="submit"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.custom-post-search button[type="submit"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.custom-post-search button[type="submit"]:active {
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN (Cards & Search) ===== */
@media (max-width: 768px) {
    body .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-post-search {
        grid-template-columns: 1fr;
        padding: 20px;
        margin: 20px 15px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    body .package-content {
        padding: 10px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    body .package-actions,
    body .favorite-icon,
    body .enquire-btn,
    body .call-btn {
        display: none !important;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators for keyboard navigation */
body .view-btn:focus,
body .enquire-btn:focus,
body .call-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body .travel-package-card {
        border: 2px solid #000;
    }
}